CHROMA
lib
actions
ferm
fermacts
clover_fermact_params_w.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
/*! \file
3
* \brief Parameters for Clover fermion action
4
*/
5
6
#ifndef __clover_fermact_params_w_h__
7
#define __clover_fermact_params_w_h__
8
9
#include "
io/aniso_io.h
"
10
11
namespace
Chroma
12
{
13
//! Params for clover ferm acts
14
/*! \ingroup fermacts */
15
struct
CloverFermActParams
16
{
17
CloverFermActParams
();
18
CloverFermActParams
(XMLReader&
in
,
const
std::string
& path);
19
20
Real
Mass
;
21
Real
clovCoeffR
;
22
Real
clovCoeffT
;
23
Real
u0
;
24
25
// Optional Anisotropy
26
AnisoParam_t
anisoParam
;
27
Real
max_norm
;
28
bool
max_norm_usedP
;
29
30
31
// Optional mass twist...
32
Real
twisted_m
;
33
bool
twisted_m_usedP
;
34
35
};
36
37
38
// Reader/writers
39
/*! \ingroup fermacts */
40
void
read
(XMLReader& xml,
const
std::string
& path,
CloverFermActParams
& param);
41
42
/*! \ingroup fermacts */
43
void
write
(XMLWriter& xml,
const
std::string
& path,
const
CloverFermActParams
& param);
44
}
45
46
#endif
aniso_io.h
Anisotropy parameters.
Chroma::read
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams ¶m)
Read parameters.
Definition:
asqtad_fermact_params_s.cc:33
Chroma::write
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
Definition:
asqtad_fermact_params_s.cc:40
Chroma
Asqtad Staggered-Dirac operator.
Definition:
klein_gord.cc:10
Chroma::in
static QDP_ColorVector * in
Definition:
asqtad_cps_wrapper_qprop.cc:332
testing::internal::string
::std::string string
Definition:
gtest.h:1979
Chroma::AnisoParam_t
Parameters for anisotropy.
Definition:
aniso_io.h:24
Chroma::CloverFermActParams
Params for clover ferm acts.
Definition:
clover_fermact_params_w.h:16
Chroma::CloverFermActParams::u0
Real u0
Definition:
clover_fermact_params_w.h:23
Chroma::CloverFermActParams::CloverFermActParams
CloverFermActParams()
Default constructor.
Definition:
clover_fermact_params_w.cc:14
Chroma::CloverFermActParams::max_norm_usedP
bool max_norm_usedP
Definition:
clover_fermact_params_w.h:28
Chroma::CloverFermActParams::anisoParam
AnisoParam_t anisoParam
Definition:
clover_fermact_params_w.h:26
Chroma::CloverFermActParams::twisted_m
Real twisted_m
Definition:
clover_fermact_params_w.h:32
Chroma::CloverFermActParams::Mass
Real Mass
Definition:
clover_fermact_params_w.h:20
Chroma::CloverFermActParams::twisted_m_usedP
bool twisted_m_usedP
Definition:
clover_fermact_params_w.h:33
Chroma::CloverFermActParams::clovCoeffT
Real clovCoeffT
Definition:
clover_fermact_params_w.h:22
Chroma::CloverFermActParams::clovCoeffR
Real clovCoeffR
Definition:
clover_fermact_params_w.h:21
Chroma::CloverFermActParams::max_norm
Real max_norm
Definition:
clover_fermact_params_w.h:27
Generated by
1.9.1