1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-07 04:35:56 +01:00

Hadrons: removed useless gauge global parameters

This commit is contained in:
Antonin Portelli 2016-05-11 15:01:52 +01:00
parent 328d213c9e
commit 835003b3c5
2 changed files with 2 additions and 14 deletions

View File

@ -181,7 +181,7 @@ void Application::schedule(void)
// loop on configurations //////////////////////////////////////////////////////
void Application::configLoop(void)
{
auto range = par_.configs.range;
auto range = par_.trajCounter;
for (unsigned int t = range.start; t < range.end; t += range.step)
{

View File

@ -32,10 +32,6 @@ directory.
#include <Hadrons/Environment.hpp>
#include <Hadrons/ModuleFactory.hpp>
namespace Grid {
GRID_SERIALIZABLE_ENUM(ConfigType, undef, load, 1, unit, 2, gen, 3);
}
BEGIN_HADRONS_NAMESPACE
class TrajRange: Serializable
@ -47,19 +43,11 @@ public:
unsigned int, step);
};
class ConfigPar: Serializable
{
public:
GRID_SERIALIZABLE_CLASS_MEMBERS(ConfigPar,
std::string, ioStem,
TrajRange, range);
};
class GlobalPar: Serializable
{
public:
GRID_SERIALIZABLE_CLASS_MEMBERS(GlobalPar,
ConfigPar, configs,
TrajRange, trajCounter,
std::string, seed);
};