quTARANG package
Subpackages
Submodules
quTARANG.IO module
- quTARANG.IO.compute_ektk(G, t)
- quTARANG.IO.compute_energy(G, t)
- quTARANG.IO.compute_rms(G, t)
- quTARANG.IO.gen_path(file_loc)
- quTARANG.IO.save_ektk(G)
- quTARANG.IO.save_energy(G)
- quTARANG.IO.save_rms(G)
- quTARANG.IO.save_wfc(G, t)
quTARANG.evolution module
- quTARANG.evolution.compute_rhs(G, psik)
- quTARANG.evolution.set_scheme(G)
- quTARANG.evolution.time_adv_irk4(G)
RK4 scheme for imaginary time evolution
Parameters
G : GPE class
- quTARANG.evolution.time_adv_istrang(G)
- quTARANG.evolution.time_adv_strang(G)
- quTARANG.evolution.time_advance(G)
- quTARANG.evolution.time_advance_ms(G)
quTARANG.gpe module
- class quTARANG.gpe.GPE(params: Params)
Bases:
objectMain class for the simulation.
- KE_decomp()
This function calculates the kinetic energy decomposition
Returns
- arrays
arrays containing the kinetic energy decomposition
- binning(quantity)
- comp_KEcomp_spectrum()
- compute_chempot()
- compute_energy()
- compute_internal_energy()
- compute_kinetic_energy()
- compute_norm()
Computes the normalisation constant for the current wavefunction.
Returns
- float
Normalisation constant
- compute_potential_energy()
- compute_quantum_energy()
- compute_rrms()
- compute_velocity()
- compute_xrms()
- compute_yrms()
- compute_zrms()
- evolve()
- evolve_ms()
- omegak()
- renormalize(normFact: float = 1.0)
Renormalisation of the wavefunction.
Parameters
- normFactfloat, optional
The new normalisation constant of the wavefunction, by default 1.0
- set_arrays()
Setup numpy/cupy arrays for wfc, wfck and pot for the simulation.