1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-09 21:50:45 +01: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 { class RNGModuleParameters: Serializable {
public:
GRID_SERIALIZABLE_CLASS_MEMBERS(RNGModuleParameters, GRID_SERIALIZABLE_CLASS_MEMBERS(RNGModuleParameters,
std::string, serial_seeds, std::string, serial_seeds,
std::string, parallel_seeds,); std::string, parallel_seeds,);
public:
std::vector<int> SerialSeed; std::vector<int> SerialSeed;
std::vector<int> ParallelSeed; std::vector<int> ParallelSeed;
@ -112,4 +112,4 @@ class StoutSmearingModule: public SmearingModule<ImplementationPolicy>{
} // namespace QCD } // namespace QCD
} // namespace Grid } // namespace Grid
#endif // GRID_HMC_MODULES #endif // GRID_HMC_MODULES

View File

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