mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-09 23:45:36 +00:00
Naming the scalar action
This commit is contained in:
parent
3834feb4b7
commit
62749d05a6
@ -51,6 +51,8 @@ class ScalarAction : public Action<typename Impl::Field> {
|
|||||||
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 action_name(){return "ScalarAction";}
|
||||||
|
|
||||||
virtual void refresh(const Field &U,
|
virtual void refresh(const Field &U,
|
||||||
GridParallelRNG &pRNG){}; // noop as no pseudoferms
|
GridParallelRNG &pRNG){}; // noop as no pseudoferms
|
||||||
|
|
||||||
@ -74,4 +76,4 @@ class ScalarAction : public Action<typename Impl::Field> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user