29 #error "This is a C++ include file and cannot be used from plain C"
52 Opacity(
double opacity,
const std::string &units);
63 inline double get(
const std::string &units)
const {
return sget(
valueIS_, units); }
103 static double sget(
double value,
const std::string &units);
104 static double sput(
double value,
const std::string &units);
#define ATM_NAMESPACE_END
bool operator!=(const Opacity &rhs) const
Operator "comparator != for two opacities".
Opacity operator+(const Opacity &rhs)
Operator "addition of opacities".
bool operator==(const Opacity &rhs) const
Operator "comparator == for two opacities".
Opacity & operator=(const Opacity &rhs)
Operator "equal to a Opacity".
Opacity & operator=(const double &rhs)
Operator "equal to a double converted to Opacity in m".
Opacity operator*(double scf)
Operator "multiplication of an opacity by a double".
virtual ~Opacity()
Destructor.
bool operator>(const Opacity &rhs) const
Operator "comparator > for two opacities".
static double sput(double value, const std::string &units)
Opacity operator/(float scf)
Operator "division of a opacity by a float".
Opacity operator*(int scf)
Operator "multiplication of an opacity by an int".
bool operator<=(const Opacity &rhs) const
Operator "comparator <= for two opacities".
Opacity operator*(unsigned int scf)
Operator "multiplication of an opacity by an unsigned int".
#define ATM_NAMESPACE_BEGIN
Opacity()
Default constructor: Opacity value set to 0 np.
bool operator>=(const Opacity &rhs) const
Operator "comparator >= for two opacities".
Opacity operator/(int scf)
Operator "division of a opacity by an int".
static double sget(double value, const std::string &units)
bool operator<(const Opacity &rhs) const
Operator "comparator < for two opacities".
Class for opacities [no dimensions].
Opacity operator-(const Opacity &rhs)
Operator "substraction of opacities".
double get() const
Accessor to get the numerical value of opacity (in np)
Opacity operator/(double scf)
Operator "division of a opacity by an int".
Opacity operator/(unsigned int scf)
Operator "division of a opacity by an unsigned int".
Opacity operator*(float scf)
Operator "multiplication of an opacity by a float".
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.