Ignore:
Timestamp:
10/21/15 11:50:10 (9 years ago)
Author:
rlacroix
Message:

Grid: Don't recreate a temporary grid if an existing temporary grid can be reused.

File:
1 edited

Legend:

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

    r742 r745  
    121121         static CGrid* createGrid(CDomain* domain); 
    122122         static CGrid* createGrid(CDomain* domain, CAxis* axis); 
    123          static CGrid* createGrid(std::vector<CDomain*> domains, std::vector<CAxis*> axis, CArray<bool,1> axisDomainOrder = CArray<bool,1>()); 
     123         static CGrid* createGrid(const std::vector<CDomain*>& domains, const std::vector<CAxis*>& axis, 
     124                                  const CArray<bool,1>& axisDomainOrder = CArray<bool,1>()); 
     125         static CGrid* createGrid(StdString id, const std::vector<CDomain*>& domains, const std::vector<CAxis*>& axis, 
     126                                  const CArray<bool,1>& axisDomainOrder = CArray<bool,1>()); 
     127         static StdString generateId(const std::vector<CDomain*>& domains, const std::vector<CAxis*>& axis, 
     128                                     const CArray<bool,1>& axisDomainOrder = CArray<bool,1>()); 
    124129 
    125130      public: 
Note: See TracChangeset for help on using the changeset viewer.