Skip to content
Snippets Groups Projects
Commit 14184e25 authored by cmaffeo2's avatar cmaffeo2
Browse files

Made copyReplicaCoordinates <= 0 expect a combined restart file

parent 61752d1b
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,9 @@ Configuration::Configuration(const char* config_file, int simNum, bool debug) :
// Read them from the restart file.
// printf("restart file.\n");
num = countRestart(restartCoordinates.val());
if (copyReplicaCoordinates <= 0) {
num /= simNum;
}
} else {
if (readPartsFromFile) readAtoms();
if (numPartsFromFile > 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment