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

Moved the creation and resizing of the v and w high modes from the A2A class to the A2A module and made them an output of the module. This means that they have to be inputs of the contration modules and they will freed from memory if they are no longer needed.

This commit is contained in:
fionnoh
2018-07-22 14:40:31 +01:00
parent c995788259
commit 34e9d3f0ca
4 changed files with 34 additions and 27 deletions

View File

@ -77,9 +77,9 @@ TA2AMeson<FImpl>::TA2AMeson(const std::string name)
template <typename FImpl>
std::vector<std::string> TA2AMeson<FImpl>::getInput(void)
{
std::vector<std::string> in = {par().A2A1, par().A2A2};
in.push_back(par().A2A1 + "_class");
in.push_back(par().A2A2 + "_class");
std::vector<std::string> in = {par().A2A1 + "_class", par().A2A2 + "_class"};
in.push_back(par().A2A1 + "_w_high_4d");
in.push_back(par().A2A2 + "_v_high_4d");
return in;
}

View File

@ -82,6 +82,8 @@ template <typename FImpl>
std::vector<std::string> TMesonFieldGamma<FImpl>::getInput(void)
{
std::vector<std::string> in = {par().A2A1 + "_class", par().A2A2 + "_class"};
in.push_back(par().A2A1 + "_w_high_4d");
in.push_back(par().A2A2 + "_v_high_4d");
return in;
}