Ignore:
Timestamp:
06/18/18 20:32:55 (6 years ago)
Author:
yushan
Message:

branch_openmp merged with trunk r1544

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/src/parse_expr/operator_expr.hpp

    r1482 r1545  
    254254    static inline double div_ss(double x, double y)   { return x / y; } 
    255255    static inline double pow_ss(double x, double y)   { return std::pow(x,y); } 
     256 
    256257    static inline double eq_ss(double x, double y) // specific check for NaN 
    257258    { 
     
    350351      else return Array<double,1>(x == y);  
    351352    } 
    352  
    353353    static inline CArray<double,1> lt_sf(double x, const CArray<double,1>& y)    { return Array<double,1>(x < y); } 
    354354    static inline CArray<double,1> gt_sf(double x, const CArray<double,1>& y)    { return Array<double,1>(x > y); } 
     
    367367      else return Array<double,1>(x != y); 
    368368    } 
    369  
    370  
    371  
    372369    static inline double cond_sss(double x, double y, double z)   { return (x==0) ? z : y ; } 
    373370 
Note: See TracChangeset for help on using the changeset viewer.