1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-15 02:05:37 +00:00
Grid/extras/Hadrons/Modules/templates/Module_in_NS.cc.template

41 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2016-12-05 04:53:31 +00:00
#include <Grid/Hadrons/Modules/___NAMESPACE___/___FILEBASENAME___.hpp>
using namespace Grid;
using namespace Hadrons;
2016-12-05 04:53:31 +00:00
using namespace ___NAMESPACE___;
/******************************************************************************
2016-12-14 18:19:46 +00:00
* T___FILEBASENAME___ implementation *
******************************************************************************/
// constructor /////////////////////////////////////////////////////////////////
2016-12-14 18:19:46 +00:00
T___FILEBASENAME___::T___FILEBASENAME___(const std::string name)
2016-05-12 18:33:08 +01:00
: Module<___FILEBASENAME___Par>(name)
{}
// dependencies/products ///////////////////////////////////////////////////////
2016-12-14 18:19:46 +00:00
std::vector<std::string> T___FILEBASENAME___::getInput(void)
{
std::vector<std::string> in;
return in;
}
2016-12-14 18:19:46 +00:00
std::vector<std::string> T___FILEBASENAME___::getOutput(void)
{
std::vector<std::string> out = {getName()};
return out;
}
// setup ///////////////////////////////////////////////////////////////////////
2016-12-14 18:19:46 +00:00
void T___FILEBASENAME___::setup(void)
{
}
// execution ///////////////////////////////////////////////////////////////////
2016-12-14 18:19:46 +00:00
void T___FILEBASENAME___::execute(void)
{
}