Menu

Reference.Variables.space

Burkhard Schmidt

Variable "space" in MATLAB/Octave version of WavePacket

This global, structured(!) variable contains all information about the spatial discretization and related issues.

Field name type description
space.dof Cell vector Grid class objects, each of which describes the grid (DVR/FBR) type for the respective degree of freedom
space.n_dim Integer Number of degrees of freedom of the grid
space.n_tot Integer Total number of grid points
space.dvr Cell vector Grid points of the DVR along each dimension
space.fbr Cell vector Grid points of the FBR along each dimension of the DVR
space.weight Numerical array Weights of the DVR grid points. Expectation values of observables which are multiplicative in position representation are obtained by elementwise multiplying this grid with abs(psi.dvr).^2

Only the first field (space.dof) contains settable properties whereas the other fields are automatically assigned their values by WavePacket.


Related

Wiki: Reference.Programs.qm_bound
Wiki: Reference.Programs.qm_propa
Wiki: Reference.Variables.Main
Wiki: Reference.Variables.space.dof

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.