Commit 95f86a3f authored by Hal Finkel's avatar Hal Finkel
Browse files

drop gio topology column tags when not preserving topology

parent 7ff84e05
......@@ -79,8 +79,15 @@ int main(int argc, char *argv[]) {
NewGIO.setPhysScale(PhysScale[d], d);
}
for (size_t i = 0; i < VI.size(); ++i)
for (size_t i = 0; i < VI.size(); ++i) {
if (NR != NRanks) {
// When dropping topology information, also drop the related column tags.
VI[i].IsPhysCoordX = VI[i].IsPhysCoordY = VI[i].IsPhysCoordZ =
VI[i].MaybePhysGhost = false;
}
NewGIO.addVariable(VI[i], &Vars[i][0], GenericIO::VarHasExtraSpace);
}
NewGIO.write();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment