Ignore:
Timestamp:
09/22/16 10:59:17 (8 years ago)
Author:
mhnguyen
Message:

Finishing the implementation of expand domain transformation

+) Make use of updated new functions of class Mesh to compute neighboring cells
+) Make change to some minor stuffs

Test
+) On Curie
+) The transformation works correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/expand_domain.cpp

    r939 r941  
    3838  void CExpandDomain::checkValid(CDomain* domainDst) 
    3939  { 
     40    if (CDomain::type_attr::unstructured != domainDst->type) 
     41    { 
     42      ERROR("CExpandDomain::checkValid(CDomain* domainDst)", 
     43            << "Domain extension is only supported for unstructured" << std::endl 
     44            << "Check type of domain destination, id = " << domainDst->getId()); 
     45    } 
     46 
     47    if (this->type.isEmpty()) this->type.setValue(CExpandDomain::type_attr::edge); 
    4048  } 
    4149 
Note: See TracChangeset for help on using the changeset viewer.