1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01:00

Hadrons: code cleaning

This commit is contained in:
Antonin Portelli 2016-12-05 17:26:36 +09:00
parent d292657ef7
commit d42a1b73c4
2 changed files with 3 additions and 6 deletions

View File

@ -117,8 +117,6 @@ void Application::parseParameterFile(void)
} while (reader.nextElement("module"));
pop(reader);
pop(reader);
env_.setSeed(strToVec<int>(par_.seed));
env_.printContent();
}
// schedule computation ////////////////////////////////////////////////////////

View File

@ -54,7 +54,6 @@ class TMeson: public Module<MesonPar>
public:
TYPE_ALIASES(FImpl1, 1);
TYPE_ALIASES(FImpl2, 2);
public:
class Result: Serializable
{
public:
@ -103,9 +102,9 @@ std::vector<std::string> TMeson<FImpl1, FImpl2>::getOutput(void)
template <typename FImpl1, typename FImpl2>
void TMeson<FImpl1, FImpl2>::execute(void)
{
LOG(Message) << "Computing meson contraction '" << getName() << "' using"
<< " quarks '" << par().q1 << "' and '" << par().q2 << "'"
<< std::endl;
LOG(Message) << "Computing meson contractions '" << getName() << "' using"
<< " quarks '" << par().q1 << "' and '" << par().q2 << "'"
<< std::endl;
XmlWriter writer(par().output);
PropagatorField1 &q1 = *env().template getObject<PropagatorField1>(par().q1);