Changeset 789 for XIOS/trunk/src/node
- Timestamp:
- 11/16/15 16:21:45 (9 years ago)
- Location:
- XIOS/trunk/src/node
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/domain.cpp
r785 r789 35 35 , isClientAfterTransformationChecked(false), hasLonLat(false) 36 36 , lonvalue_client(), latvalue_client(), bounds_lon_client(), bounds_lat_client() 37 , srcObject_(0),isRedistributed_(false)37 , isRedistributed_(false) 38 38 { /* Ne rien faire de plus */ } 39 39 … … 45 45 , isClientAfterTransformationChecked(false), hasLonLat(false) 46 46 , lonvalue_client(), latvalue_client(), bounds_lon_client(), bounds_lat_client() 47 , srcObject_(0),isRedistributed_(false)47 , isRedistributed_(false) 48 48 { /* Ne rien faire de plus */ } 49 49 … … 1925 1925 } 1926 1926 1927 void CDomain::solveSrcInheritance()1928 {1929 if (!domain_src.isEmpty())1930 {1931 if (!CDomain::has(this->domain_src.getValue())) \1932 ERROR("CDomain::solveSrcInheritance()", \1933 << "[ src_name = " << this->domain_src.getValue() << "]" \1934 << " invalid domain name !");1935 1936 srcObject_ = CDomain::get(this->domain_src.getValue());1937 }1938 }1939 1940 CDomain* CDomain::getDomainSrc()1941 {1942 return srcObject_;1943 }1944 1945 1927 /*! 1946 1928 Parse children nodes of a domain in xml file. -
XIOS/trunk/src/node/domain.hpp
r775 r789 77 77 bool hasTransformation(); 78 78 void solveInheritanceTransformation(); 79 void solveSrcInheritance();80 CDomain* getDomainSrc();81 79 TransMapTypes getAllTransformations(); 82 80 void redistribute(int nbLocalDomain); … … 197 195 std::vector<int> nGlobDomain_; 198 196 bool isUnstructed_; 199 CDomain* srcObject_;200 197 201 198 DECLARE_REF_FUNC(Domain,domain) -
XIOS/trunk/src/node/grid.cpp
r777 r789 1240 1240 { 1241 1241 pDom->solveRefInheritance(apply); 1242 pDom->solveSrcInheritance();1243 1242 pDom->solveInheritanceTransformation(); 1244 1243 }
Note: See TracChangeset
for help on using the changeset viewer.