code: def _evaluatelinearForces(Pot,x,t=0.):
      
      if isinstance(Pot,list):
          sum= 0.
          for pot in Pot:
              sum+= pot._force_nodecorator(x,t=t)
          return sum
      elif isinstance(Pot,linearPotential):
          return Pot._force_nodecorator(x,t=t)
      else: #pragma: no cover
          raise PotentialError("Input to 'evaluateForces' is neither a linearPotential-instance or a list of such instances")
docs: Raw, undecorated function for internal use