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

cps::AlgEig Class Reference
[Algorithms]

A class implementing a Ritz eigenvalue solver for the fermion matrix. More...

#include <alg_eig.h>

Inherits cps::Alg.

List of all members.

Public Member Functions

 AlgEig (Lattice &latt, CommonArg *c_arg, EigArg *arg)
virtual ~AlgEig ()
 Overloaded for backwards compatibility.
void run (void)
void run (Float **lambda)
 Performs the computation.


Detailed Description

A class implementing a Ritz eigenvalue solver for the fermion matrix.

Definition at line 26 of file alg_eig.h.


Constructor & Destructor Documentation

cps::AlgEig::AlgEig Lattice latt,
CommonArg c_arg,
EigArg arg
 

Parameters:
latt The lattice on which to compute the condensate.
c_arg The common argument structure for all algorithms.
arg The algorithm parameters.

Definition at line 82 of file alg_eig.C.

References cps::ARRAY, cps::ERR, cps::Float, cps::Verbose::Flow(), cps::Lattice::FsiteSize(), cps::Verbose::Func(), cps::Verbose::FuncEnd(), cps::Error::General(), cps::GJP, cps::IFloat, cps::Verbose::Input(), cps::LIN, cps::LOG, cps::EigArg::Mass, cps::EigArg::Mass_final, cps::EigArg::Mass_init, cps::EigArg::Mass_len, cps::EigArg::Mass_step, cps::EigArg::MaxCG, cps::EigArg::N_eig, cps::NumChkb(), cps::EigArg::pattern_kind, cps::Error::Pointer(), cps::smalloc(), cps::GlobalJobParameter::VolNodeSites(), and cps::VRB.

cps::AlgEig::~AlgEig  )  [virtual]
 

Overloaded for backwards compatibility.

Definition at line 165 of file alg_eig.C.

References cps::Verbose::Func(), cps::EigArg::N_eig, cps::sfree(), and cps::VRB.


Member Function Documentation

void cps::AlgEig::run Float **  evalues  ) 
 

Performs the computation.

Postcondition:
The results are written to the file specified in the common_arg structure.

< Copy over eigenvalues to return them

Definition at line 201 of file alg_eig.C.

References cps::Alg::AlgLattice(), cps::ARRAY, cps::CNV_FRM_NO, cps::CNV_FRM_YES, cps::Vector::CompDotProductGlbSum(), cps::Complex, cps::Vector::CopyVec(), cps::dclock(), cps::ERR, cps::Lattice::Fclass(), cps::Fclose(), cps::Lattice::FeigSolv(), cps::Float, cps::EigArg::fname, cps::Fopen(), cps::Fprintf(), cps::Lattice::FsiteSize(), cps::Verbose::Func(), cps::gamma_5(), cps::Error::General(), cps::GJP, cps::EigArg::hsum_dir, cps::Rcomplex::imag(), cps::LIN, cps::LOG, cps::EigArg::Mass, cps::EigArg::mass, cps::EigArg::Mass_final, cps::EigArg::Mass_init, cps::EigArg::Mass_step, cps::EigArg::Mass_val, cps::EigArg::N_eig, cps::EigArg::ncorr, cps::EigArg::pattern_kind, cps::print_flops(), cps::EigArg::print_hsum, cps::Lattice::RandGaussVector(), cps::Rcomplex::real(), cps::Verbose::Result(), cps::sfree(), cps::smalloc(), cps::GlobalJobParameter::Snodes(), cps::GlobalJobParameter::SnodeSites(), cps::GlobalJobParameter::Tnodes(), cps::GlobalJobParameter::TnodeSites(), cps::GlobalJobParameter::VolNodeSites(), cps::VRB, cps::GlobalJobParameter::Xnodes(), cps::GlobalJobParameter::XnodeSites(), cps::GlobalJobParameter::Ynodes(), cps::GlobalJobParameter::YnodeSites(), cps::GlobalJobParameter::Znodes(), and cps::GlobalJobParameter::ZnodeSites().

void cps::AlgEig::run void   ) 
 

Definition at line 188 of file alg_eig.C.

References cps::Float.

Referenced by cps::AlgMeas::RunTask().


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