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