mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
Merge pull request #91 from sunpho84/public_modules_memebers
making public same serializable parameters in HMC Module
This commit is contained in:
commit
f8b9ad7d50
@ -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;
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user