Changeset 95f86a3


Ignore:
Timestamp:
08/26/16 20:03:18 (8 years ago)
Author:
Hal Finkel <hfinkel@…>
Branches:
master, pympi
Children:
bd84570
Parents:
7ff84e0
git-author:
Hal Finkel <hfinkel@…> (08/26/16 20:03:18)
git-committer:
Hal Finkel <hfinkel@…> (08/26/16 20:03:18)
Message:

drop gio topology column tags when not preserving topology

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GenericIORewrite.cxx

    r7ff84e0 r95f86a3  
    8080    } 
    8181 
    82     for (size_t i = 0; i < VI.size(); ++i) 
     82    for (size_t i = 0; i < VI.size(); ++i) { 
     83      if (NR != NRanks) { 
     84        // When dropping topology information, also drop the related column tags. 
     85        VI[i].IsPhysCoordX = VI[i].IsPhysCoordY = VI[i].IsPhysCoordZ = 
     86          VI[i].MaybePhysGhost = false; 
     87      } 
     88 
    8389      NewGIO.addVariable(VI[i], &Vars[i][0], GenericIO::VarHasExtraSpace); 
     90    } 
    8491 
    8592    NewGIO.write(); 
Note: See TracChangeset for help on using the changeset viewer.