CHROMA
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
i
k
l
m
n
o
p
q
r
s
t
u
z
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
c
e
f
g
h
m
o
p
q
r
s
t
v
w
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
q
r
s
t
u
w
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
e
h
i
k
r
s
t
v
Related Functions
:
a
g
h
i
l
o
p
r
s
t
u
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
q
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
e
l
m
p
q
s
t
u
Enumerations
Enumerator
c
e
f
g
h
l
n
o
s
t
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
lib
actions
ferm
invert
multi_syssolver_cg_params.cc
Go to the documentation of this file.
1
/*! \file
2
* \brief Params of CG inverter
3
*/
4
5
#include "
actions/ferm/invert/multi_syssolver_cg_params.h
"
6
7
namespace
Chroma
8
{
9
10
// Read parameters
11
void
read
(XMLReader& xml,
const
std::string
& path,
MultiSysSolverCGParams
& param)
12
{
13
XMLReader paramtop(xml, path);
14
15
read
(paramtop,
"RsdCG"
, param.
RsdCG
);
16
read
(paramtop,
"MaxCG"
, param.
MaxCG
);
17
}
18
19
// Writer parameters
20
void
write
(XMLWriter& xml,
const
std::string
& path,
const
MultiSysSolverCGParams
& param)
21
{
22
push
(xml, path);
23
24
// int version = 1;
25
// write(xml, "version", version);
26
write
(xml,
"invType"
,
"CG_INVERTER"
);
27
write
(xml,
"RsdCG"
, param.
RsdCG
);
28
write
(xml,
"MaxCG"
, param.
MaxCG
);
29
30
pop
(xml);
31
}
32
33
//! Default constructor
34
MultiSysSolverCGParams::MultiSysSolverCGParams
()
35
{
36
RsdCG
=
zero
;
37
MaxCG
= 0;
38
}
39
40
//! Read parameters
41
MultiSysSolverCGParams::MultiSysSolverCGParams
(XMLReader& xml,
const
std::string
& path)
42
{
43
read
(xml, path, *
this
);
44
}
45
46
}
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
multi_syssolver_cg_params.h
Params of CG inverter.
Chroma
Asqtad Staggered-Dirac operator.
Definition:
klein_gord.cc:10
Chroma::push
push(xml_out,"Condensates")
Chroma::pop
pop(xml_out)
Chroma::zero
Double zero
Definition:
invbicg.cc:106
testing::internal::string
::std::string string
Definition:
gtest.h:1979
Chroma::MultiSysSolverCGParams
Params for CG inverter.
Definition:
multi_syssolver_cg_params.h:18
Chroma::MultiSysSolverCGParams::MultiSysSolverCGParams
MultiSysSolverCGParams()
Default constructor.
Definition:
multi_syssolver_cg_params.cc:34
Chroma::MultiSysSolverCGParams::RsdCG
multi1d< Real > RsdCG
Definition:
multi_syssolver_cg_params.h:22
Chroma::MultiSysSolverCGParams::MaxCG
int MaxCG
Definition:
multi_syssolver_cg_params.h:23
Generated by
1.9.1