Mathematical Particle Tracing
The Mathematical Particle Tracing Interface gives access to the underlying mathematical formalism on which the Charged Particle Tracing and Particle Tracing for Fluid Flow interfaces are built. The Mathematical Particle Tracing interface allows for specification of particle motion in terms of either a Lagrangian or Hamiltonian. Often it is easier to write down an expression for the Lagrangian or Hamiltonian for particles rather than deriving the equations of motion. The Hamiltonian formulation solves for both the particle position and the particle momentum, so the number of degrees of freedom is doubled when the Hamiltonian formulation is activated.