1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

making public same serializable parameters in HMC Module

RNGModuleParameters
GridModuleParameters
This commit is contained in:
Francesco Sanfilippo 2017-02-21 23:02:47 +01:00
parent bafb101e4f
commit 93cc270016
2 changed files with 5 additions and 5 deletions

View File

@ -39,10 +39,10 @@ namespace QCD {
////////////////////////////////////////////////////////////////////
class RNGModuleParameters: Serializable {
public:
GRID_SERIALIZABLE_CLASS_MEMBERS(RNGModuleParameters,
std::string, serial_seeds,
std::string, parallel_seeds,);
public:
std::vector<int> SerialSeed;
std::vector<int> ParallelSeed;
@ -112,4 +112,4 @@ class StoutSmearingModule: public SmearingModule<ImplementationPolicy>{
} // namespace QCD
} // namespace Grid
#endif // GRID_HMC_MODULES
#endif // GRID_HMC_MODULES

View File

@ -38,11 +38,11 @@ namespace QCD {
class GridModuleParameters: Serializable{
public:
GRID_SERIALIZABLE_CLASS_MEMBERS(GridModuleParameters,
std::string, lattice,
std::string, mpi);
public:
// these namings are ugly
// also ugly the distinction between the serializable members
// and this
@ -118,4 +118,4 @@ class GridFourDimModule : public GridModule {
} // namespace QCD
} // namespace Grid
#endif // HMC_GRID_MODULES
#endif // HMC_GRID_MODULES