- Timestamp:
- 01/10/17 14:36:29 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/transformation/domain_algorithm_interpolate.hpp
r933 r1021 12 12 #include "domain_algorithm_transformation.hpp" 13 13 #include "transformation.hpp" 14 #include "nc4_data_output.hpp" 14 15 15 16 namespace xios { … … 17 18 class CDomain; 18 19 class CInterpolateDomain; 20 19 21 20 22 /*! … … 35 37 private: 36 38 void readInterpolationInfo(std::string& filename, std::map<int,std::vector<std::pair<int,double> > >& interpMapValue); 39 void writeInterpolationInfo(std::string& filename, std::map<int,std::vector<std::pair<int,double> > >& interpMapValue); 37 40 void processPole(std::map<int,std::vector<std::pair<int,double> > >& interMapValuePole, 38 41 int nbGlobalPointOnPole); 39 42 void computeRemap(); 40 43 void readRemapInfo(); 44 void writeRemapInfo(std::map<int,std::vector<std::pair<int,double> > >&); 41 45 void exchangeRemapInfo(std::map<int,std::vector<std::pair<int,double> > >& interpMapValue); 46 42 47 private: 43 48 CInterpolateDomain* interpDomain_; 49 bool writeToFile_; 50 bool readFromFile_; 51 StdString fileToReadWrite_; 52 53 // class WriteNetCdf; 54 class WriteNetCdf : public CNc4DataOutput 55 { 56 public: 57 WriteNetCdf(const StdString& filename, const MPI_Comm comm); 58 int addDimensionWrite(const StdString& name, const StdSize size = UNLIMITED_DIM); 59 int addVariableWrite(const StdString& name, nc_type type, 60 const std::vector<StdString>& dim); 61 void writeDataIndex(const CArray<int,1>& data, const StdString& name, 62 bool collective, StdSize record, 63 const std::vector<StdSize>* start = NULL, 64 const std::vector<StdSize>* count = NULL); 65 void writeDataIndex(const CArray<double,1>& data, const StdString& name, 66 bool collective, StdSize record, 67 const std::vector<StdSize>* start = NULL, 68 const std::vector<StdSize>* count = NULL); 69 }; 70 44 71 45 72 private:
Note: See TracChangeset
for help on using the changeset viewer.