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

cps::AlgActionFermion Class Reference

#include <alg_int.h>

Inherits cps::AlgActionBilinear.

List of all members.

Public Member Functions

 AlgActionFermion (AlgMomentum &mom, ActionFermionArg &frm_arg)
virtual ~AlgActionFermion ()
 Heat Bath for fermions.
void heatbath ()
 Calculate fermion contribution to the Hamiltonian.
Float energy ()
 run method evolves the momentum due to the fermion force
void evolve (Float dt, int steps)
void init ()


Constructor & Destructor Documentation

cps::AlgActionFermion::AlgActionFermion AlgMomentum mom,
ActionFermionArg f_arg
 

< First check n_masses bilinear = n_masses fermion

< Allocate memory for the fermion CG arguments.

< Copy over chronological parameters

< Vectors used to store solution history

Definition at line 23 of file alg_action_fermion.C.

References cps::ActionFermionArg::bi_arg, cps::ActionBilinearArg::bilinears, cps::ActionBilinearArg::bilinears_len, cps::FermionDescr::chrono, cps::FermionDescr::epsilon, cps::CgArg::epsilon, cps::ERR, cps::ActionFermionArg::fermions, cps::ActionFermionArg::fermions_len, cps::ActionFermionArg::fermions_val, cps::Float, cps::Error::General(), init(), cps::CgArg::mass, cps::CgArg::max_num_iter, cps::smalloc(), cps::CgArg::stop_rsd, cps::FermionDescr::stop_rsd_mc, and cps::FermionDescr::stop_rsd_md.

cps::AlgActionFermion::~AlgActionFermion  )  [virtual]
 

Heat Bath for fermions.

Definition at line 115 of file alg_action_fermion.C.


Member Function Documentation

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

run method evolves the momentum due to the fermion force

Implements cps::AlgActionBilinear.

Definition at line 185 of file alg_action_fermion.C.

References cps::CNV_FRM_NO, cps::Lattice::FhamiltonNode(), cps::Float, cps::Lattice::FmatEvlInv(), cps::G_CLASS_NONE, cps::sfree(), cps::smalloc(), and cps::AlgActionBilinear::updateCgStats().

void cps::AlgActionFermion::evolve Float  dt,
int  nsteps
[virtual]
 

< Perform pointer arithmetic to avoid unnecessary copying

Implements cps::AlgActionBilinear.

Definition at line 219 of file alg_action_fermion.C.

References cps::CNV_FRM_NO, cps::Lattice::EvolveMomFforce(), cps::Lattice::Fclass(), cps::Lattice::FmatEvlInv(), cps::Lattice::FminResExt(), cps::G_CLASS_NONE, cps::ForceArg::print(), and cps::AlgActionBilinear::updateCgStats().

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

Calculate fermion contribution to the Hamiltonian.

Implements cps::AlgActionBilinear.

Definition at line 152 of file alg_action_fermion.C.

References cps::DAG_YES, cps::Lattice::Fclass(), cps::Float, cps::G_CLASS_NONE, cps::Lattice::RandGaussVector(), cps::Lattice::SetPhi(), cps::sfree(), and cps::smalloc().

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

Reimplemented from cps::AlgActionBilinear.

Definition at line 107 of file alg_action_fermion.C.

Referenced by AlgActionFermion().


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