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
io
enum_io
enum_proptype_io.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
/*! \file
3
* \brief PropType enum
4
*/
5
#include "
enum_proptype_io.h
"
6
7
#include <string>
8
9
namespace
Chroma
{
10
11
namespace
PropTypeEnv {
12
13
bool
registerAll
(
void
)
14
{
15
bool
success;
16
success =
thePropTypeMap::Instance
().registerPair(
std::string
(
"SCIDAC"
),
PROP_TYPE_SCIDAC
);
17
success &=
thePropTypeMap::Instance
().registerPair(
std::string
(
"SZIN"
),
PROP_TYPE_SZIN
);
18
success &=
thePropTypeMap::Instance
().registerPair(
std::string
(
"KYU"
),
PROP_TYPE_KYU
);
19
20
return
success;
21
}
22
const
std::string
typeIDString
=
"PropType"
;
23
bool
registered
=
registerAll
();
24
}
25
using namespace
PropTypeEnv;
26
27
//! Read a propagator type enum
28
void
read
(XMLReader& xml_in,
const
std::string
& path,
PropType
&
t
) {
29
thePropTypeMap::Instance
().read(
typeIDString
,xml_in, path,
t
);
30
}
31
32
//! Write a propagator type enum
33
void
write
(XMLWriter& xml_out,
const
std::string
& path,
const
PropType
&
t
) {
34
thePropTypeMap::Instance
().write(
typeIDString
,xml_out, path,
t
);
35
}
36
}
Chroma::SingletonHolder::Instance
static T & Instance()
Definition:
singleton.h:432
enum_proptype_io.h
PropType enum.
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::PropType
PropType
Propagator type.
Definition:
enum_proptype_io.h:25
Chroma::PROP_TYPE_KYU
@ PROP_TYPE_KYU
Definition:
enum_proptype_io.h:28
Chroma::PROP_TYPE_SZIN
@ PROP_TYPE_SZIN
Definition:
enum_proptype_io.h:27
Chroma::PROP_TYPE_SCIDAC
@ PROP_TYPE_SCIDAC
Definition:
enum_proptype_io.h:26
t
int t
Definition:
meslate.cc:37
Chroma::PropTypeEnv::typeIDString
const std::string typeIDString
Definition:
enum_proptype_io.cc:22
Chroma::PropTypeEnv::registerAll
bool registerAll(void)
Definition:
enum_proptype_io.cc:13
Chroma::PropTypeEnv::registered
bool registered
Definition:
enum_proptype_io.cc:23
Chroma
Asqtad Staggered-Dirac operator.
Definition:
klein_gord.cc:10
testing::internal::string
::std::string string
Definition:
gtest.h:1979
Generated by
1.9.1