The classdef "traj" deals with classical densities and numerical solution of the classical Liouville equation. To this end, densities are representation in terms of bundles of trajectories (point particles in phase space). Using such a sampling technique, the transport of a density governed by a classical Liouville equation is approximated by the transport of (typically many!) independent trajectories governed by Newton equations. The low computational costs make such simulations appealing for high-dimensional problems provided the classical approximation to quantum dynamics can be justified.
In order to reach compatibility with wavepacket propagation using objects of class "wave", the initial wavefunction is Wigner transformed and then sampled by points in phase space which serve to initialize the trajectory propagations. So far (summer 2019), only the sampling of Gaussians in phase space (Wigner transforms of Gaussian wavefunctions) is available which is realized by using normally distributed initial values for positions and momenta. Generalization to other initial distributions will be implemented soon. However, then the trajectories should carry statistical weights which can also be negative.
First implemented during the object-oriented rewrite that led to the development of version 6.0 in late 2018, the classdef "traj" represents one of the younger layers of the Matlab/Octave version of WavePacket. For the source codes of the classdef "traj" see here.
In addition to the methods that are required for each and every of the WavePacket main classes, the classdef "traj" contains the following public methods:
method | explanation | to be used when/where |
---|---|---|
eval_ham | evaluate Hamiltonian matrices to trajectories | all surface hopping methods (except lz_2!) |
eval_V_F | evaluate potential energy and forces for trajectories | all trajectory propagators |
Furthermore, the classdef "traj" contains the following public properties containing the trajectories themselves, along with related information
property | description |
---|---|
n_p | number of phase space points/particles |
pos | positions of particles (cell vector) |
mom | momenta of particles (cell vector) |
frc | forces acting on particles (cell vector) |
pot | potential energy |
kin | kinetic energy |
pot_mat | diabatic potential matrices |
frc_mat | diabatic forces |
cha | Assigning channel indices to each trajectory |
rnd_seed | Toggle use of a predictable sequence of random numbers |
Wiki: FAQ.Main
Wiki: Reference.Classes.Main
Wiki: Reference.Classes.sht
Wiki: Reference.Classes.wave
Wiki: Reference.Files.Main
Wiki: Reference.Programs.qm_movie
Wiki: Reference.Programs.qm_propa
Wiki: Reference.Programs.qm_setup
Wiki: Reference.Variables.plots
Wiki: Reference.Variables.space.dof
Wiki: Reference.Variables.state
Wiki: Reference.Variables.time.propa.traj
Wiki: Reference.Variables.time
Wiki: Users.Basics.Main
Wiki: Users.E-Fields.Main
Wiki: Users.Graphics.Main
Wiki: Users.Graphics.Movies
Wiki: Users.Grids.Main
Wiki: Users.Matlab.Main
Wiki: Users.Saving.Main
Wiki: Users.Truncation.Main