diff --git a/extras/Hadrons/Modules/MScalar/ScalarFV.cc b/extras/Hadrons/Modules/MScalar/ScalarFV.cc index e7a72abe..2a50a62f 100644 --- a/extras/Hadrons/Modules/MScalar/ScalarFV.cc +++ b/extras/Hadrons/Modules/MScalar/ScalarFV.cc @@ -15,7 +15,12 @@ TScalarFV::TScalarFV(const std::string name) // dependencies/products /////////////////////////////////////////////////////// std::vector TScalarFV::getInput(void) { - std::vector in = {par().source, par().emField}; + std::string prop0Name = par().scalarProp + "_0"; + std::string propD1Name = par().scalarProp + "_D1"; + std::string propD1D1Name = par().scalarProp + "_D1D1"; + std::string propD2Name = par().scalarProp + "_D2"; + std::vector in = {par().source, par().emField, par().scalarProp, + prop0Name, propD1Name, propD1D1Name, propD2Name}; return in; } diff --git a/extras/Hadrons/Modules/MScalar/ScalarFV.hpp b/extras/Hadrons/Modules/MScalar/ScalarFV.hpp index f7802bda..fda174db 100644 --- a/extras/Hadrons/Modules/MScalar/ScalarFV.hpp +++ b/extras/Hadrons/Modules/MScalar/ScalarFV.hpp @@ -18,14 +18,17 @@ public: GRID_SERIALIZABLE_CLASS_MEMBERS(ScalarFVPar, std::string, emField, std::string, source, - double, mass, + std::string, scalarProp, double, charge, - std::string, output, - unsigned int, i); + std::string, output); }; class TScalarFV: public Module { +public: + SCALAR_TYPE_ALIASES(SIMPL,); + typedef PhotonR::GaugeField EmField; + typedef PhotonR::GaugeLinkField EmComp; public: // constructor TScalarFV(const std::string name);