mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
Hadrons: code cleaning
This commit is contained in:
parent
3ce68a751a
commit
a8a15dd9d0
@ -102,7 +102,7 @@ std::vector<std::string> TWilson<FImpl>::getOutput(void)
|
|||||||
template <typename FImpl>
|
template <typename FImpl>
|
||||||
void TWilson<FImpl>::setup(void)
|
void TWilson<FImpl>::setup(void)
|
||||||
{
|
{
|
||||||
LOG(Message) << "Setting up TWilson fermion matrix with m= " << par().mass
|
LOG(Message) << "Setting up Wilson fermion matrix with m= " << par().mass
|
||||||
<< " using gauge field '" << par().gauge << "'" << std::endl;
|
<< " using gauge field '" << par().gauge << "'" << std::endl;
|
||||||
LOG(Message) << "Fermion boundary conditions: " << par().boundary
|
LOG(Message) << "Fermion boundary conditions: " << par().boundary
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
|
@ -38,7 +38,7 @@ See the full license in the file "LICENSE" in the top level distribution directo
|
|||||||
BEGIN_HADRONS_NAMESPACE
|
BEGIN_HADRONS_NAMESPACE
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* TWilson quark action *
|
* Wilson clover quark action *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
BEGIN_MODULE_NAMESPACE(MAction)
|
BEGIN_MODULE_NAMESPACE(MAction)
|
||||||
|
|
||||||
@ -106,13 +106,7 @@ std::vector<std::string> TWilsonClover<FImpl>::getOutput(void)
|
|||||||
template <typename FImpl>
|
template <typename FImpl>
|
||||||
void TWilsonClover<FImpl>::setup(void)
|
void TWilsonClover<FImpl>::setup(void)
|
||||||
{
|
{
|
||||||
//unsigned int size;
|
LOG(Message) << "Setting up Wilson clover fermion matrix with m= " << par().mass
|
||||||
|
|
||||||
// size = 2*env().template lattice4dSize<typename FImpl::DoubledGaugeField>();
|
|
||||||
// env().registerObject(getName(), size);
|
|
||||||
|
|
||||||
|
|
||||||
LOG(Message) << "Setting up TWilsonClover fermion matrix with m= " << par().mass
|
|
||||||
<< " using gauge field '" << par().gauge << "'" << std::endl;
|
<< " using gauge field '" << par().gauge << "'" << std::endl;
|
||||||
LOG(Message) << "Fermion boundary conditions: " << par().boundary
|
LOG(Message) << "Fermion boundary conditions: " << par().boundary
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
@ -129,23 +123,12 @@ void TWilsonClover<FImpl>::setup(void)
|
|||||||
par().csw_t,
|
par().csw_t,
|
||||||
par().clover_anisotropy,
|
par().clover_anisotropy,
|
||||||
implParams);
|
implParams);
|
||||||
|
|
||||||
|
|
||||||
//FMat *fMatPt = new WilsonCloverFermion<FImpl>(U, grid, gridRb, par().mass,
|
|
||||||
// par().csw_r,
|
|
||||||
// par().csw_t,
|
|
||||||
// par().clover_anisotropy,
|
|
||||||
// implParams);
|
|
||||||
//env().setObject(getName(), fMatPt);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// execution ///////////////////////////////////////////////////////////////////
|
// execution ///////////////////////////////////////////////////////////////////
|
||||||
template <typename FImpl>
|
template <typename FImpl>
|
||||||
void TWilsonClover<FImpl>::execute()
|
void TWilsonClover<FImpl>::execute()
|
||||||
{
|
{}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
END_MODULE_NAMESPACE
|
END_MODULE_NAMESPACE
|
||||||
|
|
||||||
|
@ -81,6 +81,7 @@ template <typename GImpl>
|
|||||||
void TStoutSmearing<GImpl>::execute(void)
|
void TStoutSmearing<GImpl>::execute(void)
|
||||||
{
|
{
|
||||||
LOG(Message) << "Smearing '" << par().gauge << "' with " << par().steps
|
LOG(Message) << "Smearing '" << par().gauge << "' with " << par().steps
|
||||||
|
<< " step" << ((par().steps > 1) ? "s" : "")
|
||||||
<< " of stout smearing and rho= " << par().rho << std::endl;
|
<< " of stout smearing and rho= " << par().rho << std::endl;
|
||||||
|
|
||||||
Smear_Stout<GImpl> smearer(par().rho);
|
Smear_Stout<GImpl> smearer(par().rho);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user