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:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user