Changeset 1114 for XIOS/trunk/src
- Timestamp:
- 05/03/17 15:07:53 (7 years ago)
- Location:
- XIOS/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/config/interpolate_domain_attribute.conf
r1014 r1114 2 2 DECLARE_ATTRIBUTE(int, order) 3 3 DECLARE_ATTRIBUTE(bool, renormalize) 4 DECLARE_ATTRIBUTE(bool, quantity) 4 5 5 6 /* Write interpolation weights into file */ -
XIOS/trunk/src/transformation/domain_algorithm_interpolate.cpp
r1046 r1114 100 100 int orderInterp = interpDomain_->order.getValue(); 101 101 bool renormalize ; 102 bool quantity ; 102 103 103 104 if (interpDomain_->renormalize.isEmpty()) renormalize=true; 104 105 else renormalize = interpDomain_->renormalize; 106 107 if (interpDomain_->quantity.isEmpty()) quantity=false; 108 else quantity = interpDomain_->quantity; 105 109 106 110 const double poleValue = 90.0; … … 342 346 mapper.setTargetMesh(boundsLonDestUnmasked.dataFirst(), boundsLatDestUnmasked.dataFirst(), nVertexDest, nDstLocalUnmasked, &dstPole[0], globalDstUnmasked); 343 347 344 std::vector<double> timings = mapper.computeWeights(orderInterp,renormalize );348 std::vector<double> timings = mapper.computeWeights(orderInterp,renormalize,quantity); 345 349 346 350 std::map<int,std::vector<std::pair<int,double> > > interpMapValue;
Note: See TracChangeset
for help on using the changeset viewer.