From 93cc27001699a220ae60dc3e23d44ee9e5bf7acf Mon Sep 17 00:00:00 2001 From: Francesco Sanfilippo Date: Tue, 21 Feb 2017 23:02:47 +0100 Subject: [PATCH] making public same serializable parameters in HMC Module RNGModuleParameters GridModuleParameters --- lib/qcd/hmc/HMCModules.h | 4 ++-- lib/qcd/hmc/HMC_GridModules.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/qcd/hmc/HMCModules.h b/lib/qcd/hmc/HMCModules.h index 768e8a47..0742efc6 100644 --- a/lib/qcd/hmc/HMCModules.h +++ b/lib/qcd/hmc/HMCModules.h @@ -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 SerialSeed; std::vector ParallelSeed; @@ -112,4 +112,4 @@ class StoutSmearingModule: public SmearingModule{ } // namespace QCD } // namespace Grid -#endif // GRID_HMC_MODULES \ No newline at end of file +#endif // GRID_HMC_MODULES diff --git a/lib/qcd/hmc/HMC_GridModules.h b/lib/qcd/hmc/HMC_GridModules.h index 6e8d6195..d8156905 100644 --- a/lib/qcd/hmc/HMC_GridModules.h +++ b/lib/qcd/hmc/HMC_GridModules.h @@ -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 \ No newline at end of file +#endif // HMC_GRID_MODULES