Changeset 2337
- Timestamp:
- 06/23/22 11:54:18 (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/node/context.cpp
r2326 r2337 894 894 solveDescInheritance(true); 895 895 896 // Solve inheritance for field to know if enabled or not.897 for (auto field : CField::getAll()) field->solveRefInheritance();898 899 896 // Check if some axis, domains or grids are eligible to for compressed indexed output. 900 897 // Warning: This must be done after solving the inheritance and before the rest of post-processing … … 909 906 //Initialisation du vecteur 'enabledFiles' contenant la liste des fichiers à sortir. 910 907 findEnabledFiles(); 908 909 // Solve inheritance for field to know if enabled or not. 910 for (auto field : CField::getAll()) field->solveRefInheritance(); 911 911 912 findEnabledWriteModeFiles(); 912 913 findEnabledReadModeFiles(); … … 923 924 vector<CField*>& fieldWithReadAccess = fieldsWithReadAccess_ ; 924 925 vector<CField*> fieldModelIn ; // fields potentially from model 925 926 926 927 // define if files are on clientSied or serverSide 927 928 if (serviceType_==CServicesManager::CLIENT) … … 1341 1342 enabledFiles.push_back(allFiles[i]); 1342 1343 } 1344 else // Si l'attribut 'enabled' est fixé à faux. 1345 { 1346 // disabled all fields contained in file (used in findFieldsWithReadAccess through field_ref dependencies) 1347 const vector<CField*>&& fieldList=allFiles[i]->getEnabledFields() ; 1348 for(auto field : fieldList) field->enabled.setValue(false); 1349 } 1343 1350 } 1344 1351 else
Note: See TracChangeset
for help on using the changeset viewer.