Go to the source code of this file.
|
| | Foam |
| | Namespace for OpenFOAM.
|
| |
|
| template<class Type > |
| static void | putType (Ostream &os, const Type &val) |
| |
| template<> |
| void | putType< bool > (Ostream &os, const bool &val) |
| | Specialized for bool. Write as (true/false) via Switch to avoid bool/label ambiguity. More...
|
| |
| template<> |
| void | putType< scalar > (Ostream &os, const scalar &val) |
| | Specialized for scalar. Write with '.' to avoid scalar/label ambiguity. More...
|
| |
Original source file exprValue.C
Definition in file exprValue.C.
◆ doLocalCode [1/4]
| #define doLocalCode |
( |
|
Type, |
|
|
|
UnusedParam |
|
) |
| |
◆ doLocalCode [2/4]
| #define doLocalCode |
( |
|
Type, |
|
|
|
UnusedParam |
|
) |
| |
Value:\
case expressions::valueTypeCode::type_##Type : \
{ \
data_.set<Type>(pTraits<Type>(is)); \
typeCode_ = whichCode; \
return true; \
}
◆ doLocalCode [3/4]
| #define doLocalCode |
( |
|
Type, |
|
|
|
UnusedParam |
|
) |
| |
Value:\
case expressions::valueTypeCode::type_##Type : \
{ \
const Type* a = data_.get<Type>(); \
const Type*
b = rhs.data_.get<Type>(); \
return \
( \
? ((*a < *
b) ? -1 : (*
b < *a) ? 1 : 0) \
: 0 \
); \
break; \
}
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
◆ doLocalCode [4/4]
| #define doLocalCode |
( |
|
Type, |
|
|
|
UnusedParam |
|
) |
| |
Value:\
case expressions::valueTypeCode::type_##Type : \
{ \
const Type* a = data_.get<Type>(); \
const Type*
b = rhs.data_.get<Type>(); \
return (a &&
b && (*a == *
b)); \
break; \
}
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].