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

Hadrons: module template update

This commit is contained in:
2016-05-12 18:33:08 +01:00
parent 07f0b69784
commit 7ae667c767
2 changed files with 9 additions and 18 deletions

View File

@ -1,4 +1,4 @@
#include <Hadrons/Modules/___FILEBASENAME___.hpp>
#include <Hadrons/___FILEBASENAME___.hpp>
using namespace Grid;
using namespace Hadrons;
@ -8,15 +8,9 @@ using namespace Hadrons;
******************************************************************************/
// constructor /////////////////////////////////////////////////////////////////
___FILEBASENAME___::___FILEBASENAME___(const std::string name)
: Module(name)
: Module<___FILEBASENAME___Par>(name)
{}
// parse parameters ////////////////////////////////////////////////////////////
void ___FILEBASENAME___::parseParameters(XmlReader &reader, const std::string name)
{
read(reader, name, par_);
}
// dependencies/products ///////////////////////////////////////////////////////
std::vector<std::string> ___FILEBASENAME___::getInput(void)
{