1 #ifndef _ATM_INVERSELENGTH_H
2 #define _ATM_INVERSELENGTH_H
29 #error "This is a C++ include file and cannot be used from plain C"
51 InverseLength(
double inverseLength,
const std::string &units);
62 inline double get(
const std::string &units)
const {
return sget(
valueIS_, units); }
102 static double sget(
double value,
const std::string &units);
103 static double sput(
double value,
const std::string &units);
#define ATM_NAMESPACE_END
InverseLength operator*(unsigned int scf)
Operator "multiplication of a inverse length by an unsigned int".
bool operator!=(const InverseLength &rhs) const
Operator "comparator != for two inverse lengths".
bool operator>(const InverseLength &rhs) const
Operator "comparator > for two inverse lengths".
bool operator>=(const InverseLength &rhs) const
Operator "comparator >= for two inverse lengths".
InverseLength()
Default constructor: Length value set to 0 m^-1.
InverseLength & operator=(double rhs)
Operator "equal to a double converted to InverseLength in m-1".
InverseLength operator/(float scf)
Operator "division of a inverse length by a float".
InverseLength operator*(float scf)
Operator "multiplication of a inverse length by a float".
InverseLength operator-(const InverseLength &rhs)
Operator "substraction of inverse lengths".
bool operator<=(const InverseLength &rhs) const
Operator "comparator <= for two inverse lengths".
bool operator<(const InverseLength &rhs) const
Operator "comparator < for two inverse lengths".
bool operator==(const InverseLength &rhs) const
Operator "comparator == for two inverse lengths".
InverseLength operator+(const InverseLength &rhs)
Operator "addition of inverse lengths".
Class for those physical parameters having dimensions of Inverse Length [L^-1].
InverseLength operator*(double scf)
Operator "multiplication of a inverse length by a double".
#define ATM_NAMESPACE_BEGIN
InverseLength & operator=(const InverseLength &rhs)
Operator "equal to a InverseLength".
double get() const
Accessor to get the numerical value of inverse length (in International System units: m^-1) ...
virtual ~InverseLength()
Destructor.
static double sget(double value, const std::string &units)
InverseLength operator/(double scf)
Operator "division of a inverse length by a double".
static double sput(double value, const std::string &units)
InverseLength operator*(int scf)
Operator "multiplication of a inverse length by an int".
InverseLength operator/(int scf)
Operator "division of a inverse length by an int".
InverseLength operator/(unsigned int scf)
Operator "division of a inverse length by an unsigned int".
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.