mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
Hadrons: code cleaning
This commit is contained in:
parent
d292657ef7
commit
d42a1b73c4
@ -117,8 +117,6 @@ void Application::parseParameterFile(void)
|
|||||||
} while (reader.nextElement("module"));
|
} while (reader.nextElement("module"));
|
||||||
pop(reader);
|
pop(reader);
|
||||||
pop(reader);
|
pop(reader);
|
||||||
env_.setSeed(strToVec<int>(par_.seed));
|
|
||||||
env_.printContent();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// schedule computation ////////////////////////////////////////////////////////
|
// schedule computation ////////////////////////////////////////////////////////
|
||||||
|
@ -54,7 +54,6 @@ class TMeson: public Module<MesonPar>
|
|||||||
public:
|
public:
|
||||||
TYPE_ALIASES(FImpl1, 1);
|
TYPE_ALIASES(FImpl1, 1);
|
||||||
TYPE_ALIASES(FImpl2, 2);
|
TYPE_ALIASES(FImpl2, 2);
|
||||||
public:
|
|
||||||
class Result: Serializable
|
class Result: Serializable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@ -103,9 +102,9 @@ std::vector<std::string> TMeson<FImpl1, FImpl2>::getOutput(void)
|
|||||||
template <typename FImpl1, typename FImpl2>
|
template <typename FImpl1, typename FImpl2>
|
||||||
void TMeson<FImpl1, FImpl2>::execute(void)
|
void TMeson<FImpl1, FImpl2>::execute(void)
|
||||||
{
|
{
|
||||||
LOG(Message) << "Computing meson contraction '" << getName() << "' using"
|
LOG(Message) << "Computing meson contractions '" << getName() << "' using"
|
||||||
<< " quarks '" << par().q1 << "' and '" << par().q2 << "'"
|
<< " quarks '" << par().q1 << "' and '" << par().q2 << "'"
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
|
|
||||||
XmlWriter writer(par().output);
|
XmlWriter writer(par().output);
|
||||||
PropagatorField1 &q1 = *env().template getObject<PropagatorField1>(par().q1);
|
PropagatorField1 &q1 = *env().template getObject<PropagatorField1>(par().q1);
|
||||||
|
Loading…
Reference in New Issue
Block a user