Ignore:
Timestamp:
04/08/16 15:00:29 (8 years ago)
Author:
mhnguyen
Message:

Exposing some functions to Fortran interface

+) Allow add axis and domain into grid with Fortran interface
+) Remove some redundant code

Test
+) On Curie
+) test_client passes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/grid.hpp

    r834 r835  
    148148         void solveDomainAxisBaseRef(); 
    149149 
     150         CDomain* addDomain(const std::string& id=StdString()); 
     151         CAxis* addAxis(const std::string& id=StdString()); 
    150152         void sendAddDomain(const std::string& id=""); 
    151153         void sendAddAxis(const std::string& id=""); 
     
    236238        void setDomainList(const std::vector<CDomain*> domains = std::vector<CDomain*>()); 
    237239 
    238         CDomain* addDomain(const std::string& id); 
    239         CAxis* addAxis(const std::string& id); 
    240  
    241240        CAxisGroup* getVirtualAxisGroup() const; 
    242241        CDomainGroup* getVirtualDomainGroup() const; 
     
    275274        std::map<CGrid*, std::pair<bool,StdString> > gridSrc_; 
    276275        bool hasTransform_; 
     276            // List order of axis and domain in a grid, if there is a domain, it will take value 1 (true), axis 0 (false) 
     277        std::vector<bool> order_; 
    277278   }; // class CGrid 
    278279 
Note: See TracChangeset for help on using the changeset viewer.