Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

cps::AlgMomentum Class Reference

#include <alg_int.h>

Inherits cps::AlgHamiltonian.

List of all members.

Public Member Functions

 AlgMomentum ()
virtual ~AlgMomentum ()
 Heat Bath for the conjugate momentum.
void heatbath ()
 Calculate gauge contribution to the Hamiltonian.
Float energy ()
 evolve method evolves the gauge field due to the momentum
void evolve (Float dt, int steps)
 method to calculate energy (if necessary)
void cost (CgStats *)
 method to reverse the direction of evolution (i.e. flip momenta)
MatrixgetMom ()
void reverse ()
 Dummy method.
void init ()


Constructor & Destructor Documentation

cps::AlgMomentum::AlgMomentum  ) 
 

Definition at line 23 of file alg_momentum.C.

References cps::Float, and cps::smalloc().

cps::AlgMomentum::~AlgMomentum  )  [virtual]
 

Heat Bath for the conjugate momentum.

Definition at line 34 of file alg_momentum.C.

References cps::sfree().


Member Function Documentation

void cps::AlgMomentum::cost CgStats  )  [virtual]
 

method to reverse the direction of evolution (i.e. flip momenta)

Implements cps::AlgHamiltonian.

Definition at line 78 of file alg_momentum.C.

Float cps::AlgMomentum::energy  )  [virtual]
 

evolve method evolves the gauge field due to the momentum

Implements cps::AlgHamiltonian.

Definition at line 55 of file alg_momentum.C.

References cps::F_CLASS_NONE, cps::Float, cps::G_CLASS_NONE, and cps::Lattice::MomHamiltonNode().

void cps::AlgMomentum::evolve Float  dt,
int  steps
[virtual]
 

method to calculate energy (if necessary)

Implements cps::AlgHamiltonian.

Definition at line 66 of file alg_momentum.C.

References cps::Lattice::EvolveGfield(), cps::F_CLASS_NONE, cps::Verbose::Flow(), cps::G_CLASS_NONE, cps::IFloat, cps::Lattice::MdTime(), cps::Lattice::MdTimeInc(), and cps::VRB.

Matrix * cps::AlgMomentum::getMom  ) 
 

Definition at line 82 of file alg_momentum.C.

Referenced by cps::AlgAction::AlgAction().

void cps::AlgMomentum::heatbath  )  [virtual]
 

Calculate gauge contribution to the Hamiltonian.

Implements cps::AlgHamiltonian.

Definition at line 40 of file alg_momentum.C.

References cps::F_CLASS_NONE, cps::Verbose::Flow(), cps::G_CLASS_NONE, cps::IFloat, cps::Lattice::MdTime(), cps::Lattice::RandGaussAntiHermMatrix(), and cps::VRB.

void cps::AlgMomentum::init  )  [virtual]
 

Implements cps::AlgInt.

Definition at line 90 of file alg_momentum.C.

void cps::AlgMomentum::reverse  )  [virtual]
 

Dummy method.

Implements cps::AlgInt.

Definition at line 86 of file alg_momentum.C.


The documentation for this class was generated from the following files:
Generated on Sat Oct 10 14:11:55 2009 for Columbia Physics System by  doxygen 1.3.9.1