Changeset 821 for XIOS/trunk/src/node/grid.hpp
- Timestamp:
- 02/10/16 14:35:03 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/grid.hpp
r775 r821 206 206 map<int, CArray<size_t, 1> > outIndexFromClient, compressedOutIndexFromClient; 207 207 void checkMask(void); 208 void createMask(void); 208 209 void modifyMask(const CArray<int,1>& indexToModify); 209 210 … … 217 218 const std::vector<CArray<bool,1>* >& domainMasks, 218 219 const std::vector<CArray<bool,1>* >& axisMasks, 219 const CArray<bool,1>& axisDomainOrder); 220 const CArray<bool,1>& axisDomainOrder, 221 bool createMask = false); 220 222 template<int N> 221 223 void modifyGridMask(CArray<bool,N>& gridMask, const CArray<int,1>& indexToModify); … … 295 297 const std::vector<CArray<bool,1>* >& domainMasks, 296 298 const std::vector<CArray<bool,1>* >& axisMasks, 297 const CArray<bool,1>& axisDomainOrder) 299 const CArray<bool,1>& axisDomainOrder, 300 bool createMask) 298 301 { 299 302 int idx = 0; … … 319 322 } 320 323 321 if (!gridMask.isEmpty() )324 if (!gridMask.isEmpty() && !createMask) 322 325 { 323 326 for (int i = 0; i < dim; ++i)
Note: See TracChangeset
for help on using the changeset viewer.