timflow.transient.invlapnumba.invlapcomp#

timflow.transient.invlapnumba.invlapcomp(time, pot, npint, M, tintervals, enumber, etstart, ebc, nlayers)#

Compute time domain solution for given laplace domain solution.

Parameters:
  • time (array, must be ordered) – times for which time domain solution is computed, must start at 0

  • pot (array) – laplace domain solution conform the timflow.transient shape

  • npint (int) – number of p values per interval (=2M + 1)

  • M (int) – order of the approximation

  • tintervals – time intervals

  • enumber (array) – number of element

  • etstart (array) – starting time of bc in element

  • ebc (array) – boundary condition value of element

  • nlayers (integer, optional) – number of layers, default is None

Notes

enumber, etstart, and ebc are used because numba cannot deal with a list of arrays of different lengths (makes sense, actually)

Returns:

  • pot[naq, ntimes] if layers=None,

  • otherwise pot[len(layers) ,ntimes]

  • t must be ordered