read/write from/to file for grid data

This commit is contained in:
Steve Plimpton
2022-10-20 17:18:48 -06:00
parent 45c1c1e53b
commit ec5b344a9f
8 changed files with 300 additions and 209 deletions

View File

@ -399,7 +399,7 @@ void WriteRestart::write(const std::string &file)
}
}
// Check for I/O error status
// check for I/O error status
int io_all = 0;
MPI_Allreduce(&io_error,&io_all,1,MPI_INT,MPI_MAX,world);