CHROMA
Public Member Functions | Public Attributes | List of all members
Chroma::ShellZnGridQuarkSourceConstEnv::Params Struct Reference

Point source parameters. More...

#include <sh_zN_grid_source_const.h>

Public Member Functions

 Params ()
 Read parameters. More...
 
 Params (XMLReader &in, const std::string &path)
 Read parameters. More...
 
void writeXML (XMLWriter &out, const std::string &path) const
 

Public Attributes

bool quark_smear_lastP
 
GroupXML_t quark_smearing
 
GroupXML_t quark_displacement
 
GroupXML_t link_smearing
 
int j_decay
 
multi1d< int > t_srce
 
multi1d< int > grd
 
multi1d< multi1d< int > > moms
 
Seed ran_seed
 

Detailed Description

Point source parameters.

Definition at line 33 of file sh_zN_grid_source_const.h.

Constructor & Destructor Documentation

◆ Params() [1/2]

Chroma::ShellZnGridQuarkSourceConstEnv::Params::Params ( )

Read parameters.

Definition at line 92 of file sh_zN_grid_source_const.cc.

References j_decay, Nd, quark_smear_lastP, and t_srce.

◆ Params() [2/2]

Chroma::ShellZnGridQuarkSourceConstEnv::Params::Params ( XMLReader &  in,
const std::string &  path 
)

Member Function Documentation

◆ writeXML()

void Chroma::ShellZnGridQuarkSourceConstEnv::Params::writeXML ( XMLWriter &  out,
const std::string &  path 
) const

Member Data Documentation

◆ grd

multi1d<int> Chroma::ShellZnGridQuarkSourceConstEnv::Params::grd

grid spacing negative means no grid in this direction.

Definition at line 48 of file sh_zN_grid_source_const.h.

Referenced by Chroma::ShellZnGridQuarkSourceConstEnv::SourceConst< T >::operator()(), Params(), and writeXML().

◆ j_decay

int Chroma::ShellZnGridQuarkSourceConstEnv::Params::j_decay

◆ link_smearing

GroupXML_t Chroma::ShellZnGridQuarkSourceConstEnv::Params::link_smearing

◆ moms

multi1d<multi1d<int> > Chroma::ShellZnGridQuarkSourceConstEnv::Params::moms

If not empty add a linear combination of momenta to the source

Definition at line 49 of file sh_zN_grid_source_const.h.

Referenced by Chroma::ShellZnGridQuarkSourceConstEnv::SourceConst< T >::operator()(), Params(), and writeXML().

◆ quark_displacement

GroupXML_t Chroma::ShellZnGridQuarkSourceConstEnv::Params::quark_displacement

◆ quark_smear_lastP

bool Chroma::ShellZnGridQuarkSourceConstEnv::Params::quark_smear_lastP

Flag controlling order of smearing

Definition at line 39 of file sh_zN_grid_source_const.h.

Referenced by Chroma::ShellZnGridQuarkSourceConstEnv::SourceConst< T >::operator()(), Params(), and writeXML().

◆ quark_smearing

GroupXML_t Chroma::ShellZnGridQuarkSourceConstEnv::Params::quark_smearing

xml std::string holding smearing params

Definition at line 41 of file sh_zN_grid_source_const.h.

Referenced by Chroma::ShellZnGridQuarkSourceConstEnv::SourceConst< T >::operator()(), Params(), and writeXML().

◆ ran_seed

Seed Chroma::ShellZnGridQuarkSourceConstEnv::Params::ran_seed

Set the seed to this value

Definition at line 50 of file sh_zN_grid_source_const.h.

Referenced by Chroma::ShellZnGridQuarkSourceConstEnv::SourceConst< T >::operator()(), Params(), and writeXML().

◆ t_srce

multi1d<int> Chroma::ShellZnGridQuarkSourceConstEnv::Params::t_srce

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