CHROMA
lib
actions
gauge
gaugeacts
wilson_gaugeact_params.cc
Go to the documentation of this file.
1
#include "
chromabase.h
"
2
#include "
actions/gauge/gaugeacts/wilson_gaugeact_params.h
"
3
4
namespace
Chroma
{
5
6
7
WilsonGaugeActParams::WilsonGaugeActParams
(XMLReader& xml_in,
const
std::string
& path) {
8
XMLReader paramtop(xml_in, path);
9
10
try
{
11
read
(paramtop,
"./beta"
,
beta
);
12
13
// Read optional anisoParam.
14
if
(paramtop.count(
"AnisoParam"
) != 0)
15
read
(paramtop,
"AnisoParam"
,
aniso
);
16
}
17
catch
(
const
std::string
& e ) {
18
QDPIO::cerr <<
"Error reading XML: "
<< e << std::endl;
19
QDP_abort(1);
20
}
21
}
22
23
void
read
(XMLReader& xml,
const
std::string
& path,
WilsonGaugeActParams
&
p
) {
24
WilsonGaugeActParams
tmp
(xml, path);
25
p
=
tmp
;
26
}
27
}
chromabase.h
Primary include file for CHROMA library code.
Chroma::read
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams ¶m)
Read parameters.
Definition:
asqtad_fermact_params_s.cc:33
Chroma
Asqtad Staggered-Dirac operator.
Definition:
klein_gord.cc:10
Chroma::p
p
Definition:
invbicg.cc:157
Chroma::tmp
LatticeFermion tmp
Definition:
mespbg5p_w.cc:36
testing::internal::string
::std::string string
Definition:
gtest.h:1979
Chroma::WilsonGaugeActParams
Parameter structure.
Definition:
wilson_gaugeact_params.h:14
Chroma::WilsonGaugeActParams::aniso
AnisoParam_t aniso
Definition:
wilson_gaugeact_params.h:22
Chroma::WilsonGaugeActParams::WilsonGaugeActParams
WilsonGaugeActParams()
Definition:
wilson_gaugeact_params.h:16
Chroma::WilsonGaugeActParams::beta
Real beta
Definition:
wilson_gaugeact_params.h:21
wilson_gaugeact_params.h
Params for Wilson gauge action.
Generated by
1.9.1