46 template<
class ... Clouds>
50 template<
class Cloud,
class ... Clouds>
58 template<
unsigned Size>
61 result[Size -
sizeof...(Clouds) - 1] = Cloud::typeName;
74 string result =
'\'' + Cloud::typeName +
'\'';
75 if (
sizeof...(Clouds))
79 for (
label i = 1; i < types.size() - 1; ++ i)
81 result +=
", '" + types[i] +
'\'';
83 result +=
' ' + conjunction +
" '" + types.last() +
'\'';
98 template<
unsigned Size>
Base cloud calls templated on particle type.
A 1D vector of objects of type <T> with a fixed size <Size>.
Base class for clouds. Provides a basic evolution algorithm, models, and a database for caching deriv...
A class for handling words, derived from string.
const dimensionedScalar c
Speed of light in a vacuum.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool isA(const Type &t)
Check if a dynamic_cast to typeid is possible.
static FixedList< word, sizeof...(Clouds)+1 > types()
static bool isA(const class cloud &c)
static string typesString(const word &conjunction)
static void types(FixedList< word, Size > &result)
static bool isA(const class cloud &c)
static void types(FixedList< word, Size > &result)