Public Member Functions | Protected Member Functions | Protected Attributes
constMetric Class Reference

#include <constMetric.h>

Inheritance diagram for constMetric:
baseHamiltonian denseConstMetric diagConstMetric flatFunnel

List of all members.

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.

Detailed Description

Author:
Michael Betancourt

Abstract base class defining the interface for a Hamiltonian defined on a Euclidean manifold,

\[ H = \frac{1}{2} p_{i} p_{j} \left(M^{-1}\right)^{ij} + V \! \left( \mathbf{q} \right) \]

The Hamiltonian operators are defined as

\[ \hat{T} = p_{i} \left(M^{-1}\right)^{ij} \frac{ \partial }{ \partial q_{j} } \]

and

\[ \hat{V} = - \frac{ \partial V }{ \partial q_{i} } \frac{ \partial }{ \partial p_{i} }, \]

yielding the usual leapfrog evolution.


Constructor & Destructor Documentation

constMetric::constMetric ( int  dim) [explicit]

Constructor

Parameters:
dimDimension of the target space

The documentation for this class was generated from the following files:
 All Classes Functions Variables