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:
parent
bafb101e4f
commit
93cc270016
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user