1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-12 12:17:05 +01:00

Namespace

This commit is contained in:
paboyle
2018-01-14 22:40:29 +00:00
parent 5d3b574325
commit a60f6d353e

View File

@ -27,25 +27,24 @@
See the full license in the file "LICENSE" in the top level distribution
directory
*************************************************************************************/
*************************************************************************************/
/* END LEGAL */
#ifndef SCALAR_ACTION_H
#define SCALAR_ACTION_H
namespace Grid {
// FIXME drop the QCD namespace everywhere here
NAMESPACE_BEGIN(Grid);
template <class Impl>
class ScalarAction : public QCD::Action<typename Impl::Field> {
public:
public:
INHERIT_FIELD_TYPES(Impl);
private:
private:
RealD mass_square;
RealD lambda;
public:
public:
ScalarAction(RealD ms, RealD l) : mass_square(ms), lambda(l) {}
virtual std::string LogParameters() {
@ -76,8 +75,6 @@ class ScalarAction : public QCD::Action<typename Impl::Field> {
}
};
} // namespace Grid
NAMESPACE_END(Grid);
#endif // SCALAR_ACTION_H