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

Namespace

This commit is contained in:
paboyle 2018-01-14 22:13:02 +00:00
parent e2c39945b3
commit 34a788331f

View File

@ -25,25 +25,23 @@ with this program; if not, write to the Free Software Foundation, Inc.,
See the full license in the file "LICENSE" in the top level distribution
directory
*************************************************************************************/
/* END LEGAL */
/*!
/* END LEGAL */
/*!
@brief Declaration of Smear_APE class for APE smearing
*/
*/
#ifndef APE_SMEAR_
#define APE_SMEAR_
namespace Grid {
namespace QCD {
NAMESPACE_BEGIN(Grid);
/*! @brief APE type smearing of link variables. */
template <class Gimpl>
class Smear_APE: public Smear<Gimpl>{
private:
/*! @brief APE type smearing of link variables. */
template <class Gimpl>
class Smear_APE: public Smear<Gimpl>{
private:
const std::vector<double> rho;/*!< Array of weights */
//This member must be private - we do not want to control from outside
//This member must be private - we do not want to control from outside
std::vector<double> set_rho(const double common_rho) const {
std::vector<double> res;
@ -52,7 +50,7 @@ directory
return res;
}
public:
public:
// Defines the gauge field types
INHERIT_GIMPL_TYPES(Gimpl)
@ -84,7 +82,7 @@ directory
}
}
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
void derivative(GaugeField& SigmaTerm,
const GaugeField& iLambda,
const GaugeField& U)const{
@ -149,10 +147,8 @@ directory
}
}
}
};
};
NAMESPACE_END(Grid);
}// namespace QCD
}//namespace Grid
#endif