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

Hadrons: module templates update

This commit is contained in:
2016-12-14 18:19:46 +00:00
parent decbb61ec1
commit f3e49e4b73
6 changed files with 23 additions and 27 deletions

View File

@ -5,22 +5,22 @@ using namespace Hadrons;
using namespace ___NAMESPACE___;
/******************************************************************************
* ___FILEBASENAME___ implementation *
* T___FILEBASENAME___ implementation *
******************************************************************************/
// constructor /////////////////////////////////////////////////////////////////
___FILEBASENAME___::___FILEBASENAME___(const std::string name)
T___FILEBASENAME___::T___FILEBASENAME___(const std::string name)
: Module<___FILEBASENAME___Par>(name)
{}
// dependencies/products ///////////////////////////////////////////////////////
std::vector<std::string> ___FILEBASENAME___::getInput(void)
std::vector<std::string> T___FILEBASENAME___::getInput(void)
{
std::vector<std::string> in;
return in;
}
std::vector<std::string> ___FILEBASENAME___::getOutput(void)
std::vector<std::string> T___FILEBASENAME___::getOutput(void)
{
std::vector<std::string> out = {getName()};
@ -28,13 +28,13 @@ std::vector<std::string> ___FILEBASENAME___::getOutput(void)
}
// setup ///////////////////////////////////////////////////////////////////////
void ___FILEBASENAME___::setup(void)
void T___FILEBASENAME___::setup(void)
{
}
// execution ///////////////////////////////////////////////////////////////////
void ___FILEBASENAME___::execute(void)
void T___FILEBASENAME___::execute(void)
{
}