#include <constMetric.h>
Public Member Functions | |
constMetric (int dim) | |
void | beginEvolveP (const double epsilon) |
Evolve the momenta through an initial half step of time epsilon. | |
void | finishEvolveP (const double epsilon) |
Evolve the momenta through a final half step of time epsilon. | |
Protected Member Functions | |
void | fEvolveP (const double epsilon) |
Unified evolution for both intital and final steps. | |
Protected Attributes | |
VectorXd | mAuxVector |
Auxiliary vector for efficient matrix computations. |
Abstract base class defining the interface for a Hamiltonian defined on a Euclidean manifold,
The Hamiltonian operators are defined as
and
yielding the usual leapfrog evolution.
constMetric::constMetric | ( | int | dim | ) | [explicit] |
Constructor
dim | Dimension of the target space |