Ignore:
Timestamp:
11/02/15 11:46:25 (8 years ago)
Author:
mhnguyen
Message:

Implementing the reading of attributes of an axis from a file

+) 3d grid can be read directly from a file
+) Clean some redundant codes
+) Add new attribute declaration that allows to output only desired attributes

Test
+) On Curie
+) test_remap passes and result is correct

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/utils.hpp

    r687 r775  
    225225    return std::numeric_limits<Scalar>::max(); 
    226226  } 
     227  static inline Scalar sflowest() { 
     228    return -(std::numeric_limits<Scalar>::max()); 
     229  } 
     230  static inline Scalar epsilon() { 
     231    return std::numeric_limits<Scalar>::epsilon(); 
     232  } 
    227233}; 
    228234 
     
    238244  static inline Scalar sfmax() { 
    239245    return std::numeric_limits<Scalar>::max(); 
     246  } 
     247  static inline Scalar sflowest() { 
     248    return -(std::numeric_limits<Scalar>::max()); 
     249  } 
     250  static inline Scalar epsilon() { 
     251    return std::numeric_limits<Scalar>::epsilon(); 
    240252  } 
    241253}; 
Note: See TracChangeset for help on using the changeset viewer.