CHROMA
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme Class Reference

Dilution scheme constructed by propagator solutions over diluted MAKE_SOURCE calls. More...

#include <dilution_quark_source_const_w.h>

Inheritance diagram for Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme:
Chroma::DilutionScheme< LatticeFermion >

Public Member Functions

 ~ConstDilutionScheme ()
 Virtual destructor to help with cleanup;. More...
 
 ConstDilutionScheme (const Params &p)
 Default constructor. More...
 
int getDecayDir () const
 The decay direction. More...
 
const Seed & getSeed () const
 The seed identifies this quark. More...
 
int getT0 (int t0) const
 The actual t0 corresponding to this time dilution element. More...
 
int getDilSize (int t0) const
 The number of dilutions per timeslice fo timeslice t0. More...
 
int getNumTimeSlices () const
 The number of dilution timeslices included
More...
 
Real getKappa () const
 The kappa parameter in the wilson action. More...
 
std::string getCfgInfo () const
 The info from the cfg on which the inversions were performed. More...
 
std::string getPropHeader (int t0, int dil) const
 returns the prop header for a given dilution More...
 
std::string getSourceHeader (int t0, int dil) const
 returns the source header for a given dilution More...
 
LatticeFermion dilutedSource (int t0, int dil) const
 Return the diluted source std::vector. More...
 
LatticeFermion dilutedSolution (int t0, int dil) const
 Return the solution std::vector corresponding to the diluted source. More...
 
- Public Member Functions inherited from Chroma::DilutionScheme< LatticeFermion >
virtual ~DilutionScheme ()
 Virtual destructor to help with cleanup;. More...
 

Protected Member Functions

void init ()
 Initialize the object. More...
 
 ConstDilutionScheme ()
 Hide partial constructor. More...
 

Private Attributes

Params params
 
QuarkSourceSolutions_t quark
 
std::string cfgInfo
 

Detailed Description

Dilution scheme constructed by propagator solutions over diluted MAKE_SOURCE calls.

Definition at line 77 of file dilution_quark_source_const_w.h.

Constructor & Destructor Documentation

◆ ~ConstDilutionScheme()

Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme::~ConstDilutionScheme ( )
inline

Virtual destructor to help with cleanup;.

Definition at line 82 of file dilution_quark_source_const_w.h.

◆ ConstDilutionScheme() [1/2]

Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme::ConstDilutionScheme ( const Params p)
inline

Default constructor.

Definition at line 85 of file dilution_quark_source_const_w.h.

References init(), Chroma::p, and params.

◆ ConstDilutionScheme() [2/2]

Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme::ConstDilutionScheme ( )
inlineprotected

Hide partial constructor.

Definition at line 157 of file dilution_quark_source_const_w.h.

Member Function Documentation

◆ dilutedSolution()

LatticeFermion Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme::dilutedSolution ( int  t0,
int  dil 
) const
virtual

Return the solution std::vector corresponding to the diluted source.

Implements Chroma::DilutionScheme< LatticeFermion >.

Definition at line 542 of file dilution_quark_source_const_w.cc.

References quark, Chroma::DilutionQuarkSourceConstEnv::read(), t0, and Chroma::DilutionQuarkSourceConstEnv::QuarkSourceSolutions_t::time_slices.

◆ dilutedSource()

LatticeFermion Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme::dilutedSource ( int  t0,
int  dil 
) const
virtual

◆ getCfgInfo()

std::string Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme::getCfgInfo ( ) const
inlinevirtual

The info from the cfg on which the inversions were performed.

Implements Chroma::DilutionScheme< LatticeFermion >.

Definition at line 129 of file dilution_quark_source_const_w.h.

References cfgInfo.

◆ getDecayDir()

int Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme::getDecayDir ( ) const
inlinevirtual

◆ getDilSize()

int Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme::getDilSize ( int  t0) const
inlinevirtual

The number of dilutions per timeslice fo timeslice t0.

Implements Chroma::DilutionScheme< LatticeFermion >.

Definition at line 101 of file dilution_quark_source_const_w.h.

References quark, t0, and Chroma::DilutionQuarkSourceConstEnv::QuarkSourceSolutions_t::time_slices.

◆ getKappa()

Real Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme::getKappa ( ) const
inlinevirtual

◆ getNumTimeSlices()

int Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme::getNumTimeSlices ( ) const
inlinevirtual

The number of dilution timeslices included

Implements Chroma::DilutionScheme< LatticeFermion >.

Definition at line 104 of file dilution_quark_source_const_w.h.

References quark, and Chroma::DilutionQuarkSourceConstEnv::QuarkSourceSolutions_t::time_slices.

◆ getPropHeader()

std::string Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme::getPropHeader ( int  t0,
int  dil 
) const
inlinevirtual

returns the prop header for a given dilution

Implements Chroma::DilutionScheme< LatticeFermion >.

Definition at line 135 of file dilution_quark_source_const_w.h.

References quark, t0, and Chroma::DilutionQuarkSourceConstEnv::QuarkSourceSolutions_t::time_slices.

◆ getSeed()

const Seed& Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme::getSeed ( ) const
inlinevirtual

◆ getSourceHeader()

std::string Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme::getSourceHeader ( int  t0,
int  dil 
) const
inlinevirtual

returns the source header for a given dilution

Implements Chroma::DilutionScheme< LatticeFermion >.

Definition at line 141 of file dilution_quark_source_const_w.h.

References quark, t0, and Chroma::DilutionQuarkSourceConstEnv::QuarkSourceSolutions_t::time_slices.

◆ getT0()

int Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme::getT0 ( int  t0) const
inlinevirtual

The actual t0 corresponding to this time dilution element.

Implements Chroma::DilutionScheme< LatticeFermion >.

Definition at line 98 of file dilution_quark_source_const_w.h.

References quark, t0, and Chroma::DilutionQuarkSourceConstEnv::QuarkSourceSolutions_t::time_slices.

◆ init()

void Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme::init ( void  )
protected

Member Data Documentation

◆ cfgInfo

std::string Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme::cfgInfo
private

Definition at line 162 of file dilution_quark_source_const_w.h.

Referenced by getCfgInfo(), and init().

◆ params

Params Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme::params
private

Definition at line 160 of file dilution_quark_source_const_w.h.

Referenced by ConstDilutionScheme(), dilutedSource(), and init().

◆ quark

QuarkSourceSolutions_t Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme::quark
private

The documentation for this class was generated from the following files: