mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-27 22:25:56 +01:00
Namespace
This commit is contained in:
parent
5d3b574325
commit
a60f6d353e
@ -27,25 +27,24 @@
|
|||||||
|
|
||||||
See the full license in the file "LICENSE" in the top level distribution
|
See the full license in the file "LICENSE" in the top level distribution
|
||||||
directory
|
directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
|
|
||||||
#ifndef SCALAR_ACTION_H
|
#ifndef SCALAR_ACTION_H
|
||||||
#define SCALAR_ACTION_H
|
#define SCALAR_ACTION_H
|
||||||
|
|
||||||
namespace Grid {
|
NAMESPACE_BEGIN(Grid);
|
||||||
// FIXME drop the QCD namespace everywhere here
|
|
||||||
|
|
||||||
template <class Impl>
|
template <class Impl>
|
||||||
class ScalarAction : public QCD::Action<typename Impl::Field> {
|
class ScalarAction : public QCD::Action<typename Impl::Field> {
|
||||||
public:
|
public:
|
||||||
INHERIT_FIELD_TYPES(Impl);
|
INHERIT_FIELD_TYPES(Impl);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
RealD mass_square;
|
RealD mass_square;
|
||||||
RealD lambda;
|
RealD lambda;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ScalarAction(RealD ms, RealD l) : mass_square(ms), lambda(l) {}
|
ScalarAction(RealD ms, RealD l) : mass_square(ms), lambda(l) {}
|
||||||
|
|
||||||
virtual std::string LogParameters() {
|
virtual std::string LogParameters() {
|
||||||
@ -76,8 +75,6 @@ class ScalarAction : public QCD::Action<typename Impl::Field> {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
NAMESPACE_END(Grid);
|
||||||
|
|
||||||
} // namespace Grid
|
|
||||||
|
|
||||||
#endif // SCALAR_ACTION_H
|
#endif // SCALAR_ACTION_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user