DynamicsUtils

NQCDynamics.DynamicsUtilsModule
DynamicsUtils

Utilities for dynamics simulations. Includes:

  • Basic dynamics variables functions
  • Density matrix dynamics functions
  • Standard callbacks to use during dynamics
  • Plotting recipes for outputs
source
NQCDynamics.DynamicsUtils.apply_interbead_coupling!Method
apply_interbead_coupling!(du::DynamicalVariables, u::DynamicalVariables,
                          sim::RingPolymerSimulation)

Applies the force that arises from the harmonic springs between adjacent beads.

Only applies the force for atoms labelled as quantum within the RingPolymerParameters.

source
NQCDynamics.DynamicsUtils.divide_by_mass!Method
divide_by_mass!(dv, masses)

Divide the contents of dv by the masses. Assumes dv is an array of size (dofs, atoms) or (dofs, atoms, beads). masses is the vector of masses for each atom that matches length with the second dimension.

source