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

creating the necessary caches for the FFT EM scalar propagator

This commit is contained in:
2017-01-11 18:40:43 +00:00
parent fc760016b3
commit ad98b6193d
2 changed files with 74 additions and 4 deletions

View File

@ -16,11 +16,16 @@ class ChargedPropPar: Serializable
{
public:
GRID_SERIALIZABLE_CLASS_MEMBERS(ChargedPropPar,
unsigned int, i);
std::string, emField,
std::string, source,
double, mass,
std::string, output);
};
class TChargedProp: public Module<ChargedPropPar>
{
public:
SCALAR_TYPE_ALIASES(SIMPL,);
public:
// constructor
TChargedProp(const std::string name);
@ -33,6 +38,9 @@ public:
virtual void setup(void);
// execution
virtual void execute(void);
private:
std::string freeMomPropName_;
std::vector<std::string> shiftedMomPropName_;
};
MODULE_REGISTER_NS(ChargedProp, TChargedProp, MScalar);