Changeset 593 for XIOS/trunk/src/node/field_impl.hpp
- Timestamp:
- 05/26/15 16:13:45 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/field_impl.hpp
r591 r593 179 179 } 180 180 181 template <int N> 182 void CField::getData(CArray<double, N>& _data) const 183 { 184 if (!read_access.isEmpty() && read_access.getValue() && hasInstantData) 185 { 186 grid->outputField(instantData, _data); 187 } 188 else 189 { 190 ERROR("void CField::getData(CArray<double, N>& _data) const", 191 << "Impossible to access field data, the field [ id = " << getId() << " ] does not have read access."); 192 } 193 } 181 194 } // namespace xios 182 195
Note: See TracChangeset
for help on using the changeset viewer.