mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-18 09:45:55 +01:00
Hadrons: code cleaning
This commit is contained in:
parent
dd6fb140c5
commit
320268fe93
@ -32,7 +32,7 @@ using namespace Hadrons;
|
|||||||
using namespace MAction;
|
using namespace MAction;
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* DWF implementation *
|
* DWF implementation *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
// constructor /////////////////////////////////////////////////////////////////
|
// constructor /////////////////////////////////////////////////////////////////
|
||||||
DWF::DWF(const std::string name)
|
DWF::DWF(const std::string name)
|
||||||
|
@ -32,7 +32,7 @@ using namespace Hadrons;
|
|||||||
using namespace MAction;
|
using namespace MAction;
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Wilson implementation *
|
* Wilson implementation *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
// constructor /////////////////////////////////////////////////////////////////
|
// constructor /////////////////////////////////////////////////////////////////
|
||||||
Wilson::Wilson(const std::string name)
|
Wilson::Wilson(const std::string name)
|
||||||
|
@ -33,7 +33,7 @@ using namespace Hadrons;
|
|||||||
using namespace MContraction;
|
using namespace MContraction;
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Meson implementation *
|
* Meson implementation *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
// constructor /////////////////////////////////////////////////////////////////
|
// constructor /////////////////////////////////////////////////////////////////
|
||||||
Meson::Meson(const std::string name)
|
Meson::Meson(const std::string name)
|
||||||
@ -63,13 +63,12 @@ void Meson::execute(void)
|
|||||||
<< std::endl;
|
<< std::endl;
|
||||||
|
|
||||||
XmlWriter writer(par().output);
|
XmlWriter writer(par().output);
|
||||||
PropagatorField &q1 = *env().getObject<PropagatorField>(par().q1);
|
PropagatorField &q1 = *env().getObject<PropagatorField>(par().q1);
|
||||||
PropagatorField &q2 = *env().getObject<PropagatorField>(par().q2);
|
PropagatorField &q2 = *env().getObject<PropagatorField>(par().q2);
|
||||||
LatticeComplex c(env().getGrid());
|
LatticeComplex c(env().getGrid());
|
||||||
SpinMatrix g[Ns*Ns], g5;
|
SpinMatrix g[Ns*Ns], g5;
|
||||||
std::vector<TComplex> buf;
|
std::vector<TComplex> buf;
|
||||||
Result result;
|
Result result;
|
||||||
unsigned int nt = env().getGrid()->GlobalDimensions()[Tp];
|
|
||||||
|
|
||||||
g5 = makeGammaProd(Ns*Ns - 1);
|
g5 = makeGammaProd(Ns*Ns - 1);
|
||||||
result.corr.resize(Ns*Ns);
|
result.corr.resize(Ns*Ns);
|
||||||
|
@ -32,7 +32,7 @@ using namespace Hadrons;
|
|||||||
using namespace MGauge;
|
using namespace MGauge;
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Load implementation *
|
* Load implementation *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
// constructor /////////////////////////////////////////////////////////////////
|
// constructor /////////////////////////////////////////////////////////////////
|
||||||
Load::Load(const std::string name)
|
Load::Load(const std::string name)
|
||||||
|
@ -32,7 +32,7 @@ using namespace Hadrons;
|
|||||||
using namespace MGauge;
|
using namespace MGauge;
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Random implementation *
|
* Random implementation *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
// constructor /////////////////////////////////////////////////////////////////
|
// constructor /////////////////////////////////////////////////////////////////
|
||||||
Random::Random(const std::string name)
|
Random::Random(const std::string name)
|
||||||
|
@ -32,7 +32,7 @@ using namespace Hadrons;
|
|||||||
using namespace MGauge;
|
using namespace MGauge;
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Unit implementation *
|
* Unit implementation *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
// constructor /////////////////////////////////////////////////////////////////
|
// constructor /////////////////////////////////////////////////////////////////
|
||||||
Unit::Unit(const std::string name)
|
Unit::Unit(const std::string name)
|
||||||
|
@ -33,7 +33,7 @@ using namespace Hadrons;
|
|||||||
using namespace MSolver;
|
using namespace MSolver;
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* RBPrecCG implementation *
|
* RBPrecCG implementation *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
// constructor /////////////////////////////////////////////////////////////////
|
// constructor /////////////////////////////////////////////////////////////////
|
||||||
RBPrecCG::RBPrecCG(const std::string name)
|
RBPrecCG::RBPrecCG(const std::string name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user