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 13:57:34 +09:00
parent dd6fb140c5
commit 320268fe93
7 changed files with 9 additions and 10 deletions

View File

@ -32,7 +32,7 @@ using namespace Hadrons;
using namespace MAction;
/******************************************************************************
* DWF implementation *
* DWF implementation *
******************************************************************************/
// constructor /////////////////////////////////////////////////////////////////
DWF::DWF(const std::string name)

View File

@ -32,7 +32,7 @@ using namespace Hadrons;
using namespace MAction;
/******************************************************************************
* Wilson implementation *
* Wilson implementation *
******************************************************************************/
// constructor /////////////////////////////////////////////////////////////////
Wilson::Wilson(const std::string name)

View File

@ -33,7 +33,7 @@ using namespace Hadrons;
using namespace MContraction;
/******************************************************************************
* Meson implementation *
* Meson implementation *
******************************************************************************/
// constructor /////////////////////////////////////////////////////////////////
Meson::Meson(const std::string name)
@ -63,13 +63,12 @@ void Meson::execute(void)
<< std::endl;
XmlWriter writer(par().output);
PropagatorField &q1 = *env().getObject<PropagatorField>(par().q1);
PropagatorField &q2 = *env().getObject<PropagatorField>(par().q2);
PropagatorField &q1 = *env().getObject<PropagatorField>(par().q1);
PropagatorField &q2 = *env().getObject<PropagatorField>(par().q2);
LatticeComplex c(env().getGrid());
SpinMatrix g[Ns*Ns], g5;
std::vector<TComplex> buf;
Result result;
unsigned int nt = env().getGrid()->GlobalDimensions()[Tp];
g5 = makeGammaProd(Ns*Ns - 1);
result.corr.resize(Ns*Ns);

View File

@ -32,7 +32,7 @@ using namespace Hadrons;
using namespace MGauge;
/******************************************************************************
* Load implementation *
* Load implementation *
******************************************************************************/
// constructor /////////////////////////////////////////////////////////////////
Load::Load(const std::string name)

View File

@ -32,7 +32,7 @@ using namespace Hadrons;
using namespace MGauge;
/******************************************************************************
* Random implementation *
* Random implementation *
******************************************************************************/
// constructor /////////////////////////////////////////////////////////////////
Random::Random(const std::string name)

View File

@ -32,7 +32,7 @@ using namespace Hadrons;
using namespace MGauge;
/******************************************************************************
* Unit implementation *
* Unit implementation *
******************************************************************************/
// constructor /////////////////////////////////////////////////////////////////
Unit::Unit(const std::string name)

View File

@ -33,7 +33,7 @@ using namespace Hadrons;
using namespace MSolver;
/******************************************************************************
* RBPrecCG implementation *
* RBPrecCG implementation *
******************************************************************************/
// constructor /////////////////////////////////////////////////////////////////
RBPrecCG::RBPrecCG(const std::string name)