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

cps::FermionVector Class Reference

#include <w_ferm_vec.h>

Inherits cps::WspectGinfo.

List of all members.

Public Member Functions

 FermionVector ()
 FermionVector (Float *)
 ~FermionVector ()
 FermionVector (const FermionVector &fv)
FermionVectoroperator= (const FermionVector &rhs)
FermionVectoroperator+= (const FermionVector &f1)
Floatdata (void) const
void print (char *file) const
void printWaveFunc (char *file) const
void setPointSrc (int color, int spin, const int *point_global_coord) const
void setPointSrc (const int *point_global_coord) const
void setSource (int color, int spin, IFloat rs_fac, const IFloat *src_matrix, int src_plane_dir, const int *src_local_origin, const int *src_local_end) const
void setSmearedSrc (int color, int spin, const IFloat *src_matrix, int src_plane_dir, const int *src_local_origin=0, const int *src_local_end=0) const
void setSmearedSrc (const IFloat *src_matrix, int src_plane_dir, const int *src_local_origin=0, const int *src_local_end=0) const
void setJacobiSrc (const int *point_global_coord, const Lattice &lat, Float epsi, int n_iter) const
const VectorGetFermion (const int *site, int dirac) const
void projectSource (const int Cpick, const int Dpick) const
void gaugeFixSink (Lattice &lat, int dir) const
void sumOverHyperPlane (int dir, int box_b[], int box_e[])
void sumOverHyperPlane (int dir, int hp, int box_b[], int box_e[])
void sumOverHyperPlaneStride (int dir, int box_b[], int box_e[])
void sumOverHyperPlaneStride (int dir, int hp, int box_b[], int box_e[])
void sumOverHyperPlaneZeroMom (int dir, int box_b[], int box_e[])


Constructor & Destructor Documentation

cps::FermionVector::FermionVector  ) 
 

Definition at line 33 of file w_ferm_vec.C.

References cps::ERR, cps::Verbose::Func(), cps::GJP, cps::IFloat, cps::Error::Pointer(), cps::MPISCU::printf(), cps::Verbose::Smalloc(), cps::smalloc(), and cps::VRB.

cps::FermionVector::FermionVector Float  ) 
 

Definition at line 60 of file w_ferm_vec.C.

References cps::ERR, cps::Verbose::Func(), cps::Error::General(), cps::GJP, and cps::VRB.

cps::FermionVector::~FermionVector  ) 
 

Definition at line 87 of file w_ferm_vec.C.

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

cps::FermionVector::FermionVector const FermionVector fv  )  [inline]
 

Definition at line 41 of file w_ferm_vec.h.


Member Function Documentation

Float* cps::FermionVector::data void   )  const [inline]
 

Definition at line 49 of file w_ferm_vec.h.

References cps::Float.

Referenced by cps::WspectQuark::dumpSource(), and cps::WspectQuark::WspectQuark().

void cps::FermionVector::gaugeFixSink Lattice lat,
int  dir
const
 

Definition at line 458 of file w_ferm_vec.C.

References cps::Vector::CopyVec(), cps::dir, cps::ERR, cps::Lattice::FixGaugeKind(), cps::Lattice::FixGaugePtr(), cps::Float, cps::Verbose::Func(), cps::Error::General(), cps::IFloat, cps::MPISCU::printf(), cps::WspectGinfo::siteOffset(), cps::uDotXEqual(), and cps::VRB.

Referenced by cps::WspectQuark::WspectQuark().

const Vector * cps::FermionVector::GetFermion const int *  site,
int  dirac
const
 

Definition at line 320 of file w_ferm_vec.C.

References cps::getMinusData(), cps::getPlusData(), cps::GJP, cps::IFloat, cps::GlobalJobParameter::TnodeSites(), cps::GlobalJobParameter::XnodeSites(), cps::GlobalJobParameter::YnodeSites(), and cps::GlobalJobParameter::ZnodeSites().

FermionVector & cps::FermionVector::operator+= const FermionVector f1  ) 
 

Definition at line 78 of file w_ferm_vec.C.

References d_fermion_p.

FermionVector & cps::FermionVector::operator= const FermionVector rhs  ) 
 

Definition at line 71 of file w_ferm_vec.C.

References d_fermion_p, and cps::p().

void cps::FermionVector::print char *  file  )  const
 

Definition at line 114 of file w_ferm_vec.C.

References cps::ERR, cps::Fclose(), cps::Error::FileA(), cps::Float, cps::Fopen(), cps::WspectGinfo::glb2lcl(), cps::glb_sum(), cps::IFloat, cps::WspectGinfo::printSite(), cps::WspectGinfo::printSpinor(), and cps::WspectGinfo::siteOffset().

void cps::FermionVector::printWaveFunc char *  file  )  const
 

Definition at line 154 of file w_ferm_vec.C.

References cps::abs(), cps::ERR, cps::Fclose(), cps::Error::FileA(), cps::Float, cps::Fopen(), cps::Fprintf(), cps::WspectGinfo::glb2lcl(), cps::glb_sum(), cps::IFloat, and cps::WspectGinfo::siteOffset().

Referenced by cps::WspectQuark::WspectQuark().

void cps::FermionVector::projectSource const int  Cpick,
const int  Dpick
const
 

void cps::FermionVector::setJacobiSrc const int *  point_global_coord,
const Lattice lat,
Float  epsi,
int  n_iter
const
 

Definition at line 303 of file w_ferm_vec.C.

References cps::Verbose::Func(), and cps::VRB.

void cps::FermionVector::setPointSrc const int *  point_global_coord  )  const
 

void cps::FermionVector::setPointSrc int  color,
int  spin,
const int *  point_global_coord
const
 

Definition at line 225 of file w_ferm_vec.C.

References cps::Verbose::Func(), cps::WspectGinfo::siteOffset(), and cps::VRB.

void cps::FermionVector::setSmearedSrc const IFloat src_matrix,
int  src_plane_dir,
const int *  src_local_origin = 0,
const int *  src_local_end = 0
const
 

void cps::FermionVector::setSmearedSrc int  color,
int  spin,
const IFloat src_matrix,
int  src_plane_dir,
const int *  src_local_origin = 0,
const int *  src_local_end = 0
const
 

Definition at line 252 of file w_ferm_vec.C.

References cps::dir, cps::Verbose::Func(), cps::WspectGinfo::siteOffset(), and cps::VRB.

void cps::FermionVector::setSource int  color,
int  spin,
IFloat  rs_fac,
const IFloat src_matrix,
int  src_plane_dir,
const int *  src_local_origin,
const int *  src_local_end
const
 

Definition at line 416 of file w_ferm_vec.C.

References cps::dir, cps::Verbose::Func(), cps::WspectGinfo::siteOffset(), and cps::VRB.

Referenced by cps::WspectQuark::WspectQuark().

void cps::FermionVector::sumOverHyperPlane int  dir,
int  hp,
int  box_b[],
int  box_e[]
 

Definition at line 601 of file w_ferm_vec.C.

References cps::Vector::CopyVec(), cps::dclock(), cps::dir, cps::Float, cps::Verbose::Func(), cps::WspectGinfo::lcl2glb(), cps::print_flops(), cps::sfree(), cps::WspectGinfo::siteOffset(), cps::slice_sum(), cps::smalloc(), cps::Vector::VecAddEquVec(), cps::Vector::VecZero(), and cps::VRB.

void cps::FermionVector::sumOverHyperPlane int  dir,
int  box_b[],
int  box_e[]
 

Definition at line 576 of file w_ferm_vec.C.

References cps::dclock(), cps::dir, cps::Float, cps::Verbose::Func(), cps::GJP, cps::GlobalJobParameter::NodeSites(), cps::print_flops(), and cps::VRB.

Referenced by cps::WspectQuark::WspectQuark().

void cps::FermionVector::sumOverHyperPlaneStride int  dir,
int  hp,
int  box_b[],
int  box_e[]
 

Definition at line 777 of file w_ferm_vec.C.

References cps::Vector::CopyVec(), cps::dclock(), cps::dir, cps::Float, cps::Verbose::Func(), cps::WspectGinfo::glb2lcl(), cps::WspectGinfo::lcl2glb(), cps::print_flops(), cps::sfree(), cps::WspectGinfo::siteOffset(), cps::slice_sum(), cps::smalloc(), cps::Vector::VecAddEquVec(), cps::Vector::VecZero(), and cps::VRB.

void cps::FermionVector::sumOverHyperPlaneStride int  dir,
int  box_b[],
int  box_e[]
 

Definition at line 752 of file w_ferm_vec.C.

References cps::dclock(), cps::dir, cps::Float, cps::Verbose::Func(), cps::GJP, cps::GlobalJobParameter::NodeSites(), cps::print_flops(), and cps::VRB.

Referenced by sumOverHyperPlaneZeroMom().

void cps::FermionVector::sumOverHyperPlaneZeroMom int  dir,
int  box_b[],
int  box_e[]
 

Definition at line 895 of file w_ferm_vec.C.

References cps::dclock(), cps::dir, cps::Float, cps::print_flops(), and sumOverHyperPlaneStride().

Referenced by cps::WspectQuark::WspectQuark().


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