quTARANG.univ package
Submodules
quTARANG.univ.fns module
- quTARANG.univ.fns.gradient(params, arr, G)
- Calculates the gradient using spectral method along different axes depending on dimensionality.
The result is stored in the Vx, Vy, Vz arrays inside U. U is an attrubite of the GPE object.
Parameters
arr : Array G : GPE object
quTARANG.univ.grid module
quTARANG.univ.my_fft module
quTARANG.univ.params module
- class quTARANG.univ.params.Params(N: list = [128, 1, 1], L: float = [32, 1, 1], g: float = 0, dt: float = 0.001, tmax: float = 1, scheme: str = 'TSSP', imgtime: bool = False, rms: list = [False, 0, 100], ektk: list = [False, 0, 100], energy: list = [False, 0, 100], wfc: list = [False, 0, 100], gpu: bool = False, gpu_rank: int = 0, path: str = '/home/docs/checkouts/readthedocs.org/user_builds/qutarang/checkouts/latest/docs/source/output', **kwargs)
Bases:
objectClass to store all necessary parameters of the simulation.