Minor changes.

This commit is contained in:
Ye Luo 2017-08-16 16:56:00 -05:00
parent 02c69af978
commit ca31fad686
1 changed files with 8 additions and 8 deletions

View File

@ -57,44 +57,44 @@ public:
/** read in parallel or serial
* @param fname file name
* @param comm communicator so that everyone reads its own data
* @param comm communicator
*/
static void read(const std::string& fname, Communicate* comm);
/** write in parallel or serial
* @param fname file name
* @param comm communicator so that everyone writes its own data
* @param comm communicator
*/
static void write(const std::string& fname, Communicate* comm);
/** read random state from a hdf file in parallel
* @param hdf_archive set to parallel
* @param comm communicator so that everyone reads its own data
* @param comm communicator
*/
static void read_parallel(hdf_archive& hin, Communicate* comm);
/** write random state to a hdf file in parallel
* @param hdf_archive set to parallel
* @param comm communicator so that everyone writes its own data
* @param comm communicator
*/
static void write_parallel(hdf_archive& hout, Communicate* comm);
/** rank 0 reads random states from a hdf file
* and distributes them to all the other ranks
* @param hdf_archive set to serial
* @param comm communicator so that everyone reads its own data
* @param comm communicator
*/
static void read_rank_0(hdf_archive& hin, Communicate* comm);
/** rank 0 gathers the random states from all the other ranks
* and write them to a hdf file
* @param hin hdf_archive object set to serial
* @param comm communicator so that everyone writes its own data
* @param comm communicator
*/
static void write_rank_0(hdf_archive& hout, Communicate* comm);
/** read random state from a xml file
* @param fname file name
* @param comm communicator so that everyone reads its own data
* @param comm communicator
*/
static void read_old(const std::string& fname, Communicate* comm);
/** write random state to a xml file
* @param fname file name
* @param comm communicator so that everyone writes its own data
* @param comm communicator
*/
static void write_old(const std::string& fname, Communicate* comm);
private: