46 template<
class ... Clouds>
50 template<
class Cloud,
class ... Clouds>
54 static bool isA(
const Type&
c)
59 template<
unsigned Size>
76 if (
sizeof...(Clouds))
80 for (
label i = 1; i < types.size() - 1; ++ i)
82 result +=
", '" + types[i] +
'\'';
84 result +=
' ' + conjunction +
" '" + types.last() +
'\'';
95 static bool isA(
const Type&
c)
100 template<
unsigned Size>
Base cloud calls templated on particle type.
A 1D vector of objects of type <T> with a fixed size <Size>.
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.
String typeName(const std::type_info &info)
Return the un-mangled name given the standard type info.
bool isA(const Type &t)
Check if a dynamic_cast to typeid is possible.
static bool isA(const Type &c)
static FixedList< word, sizeof...(Clouds)+1 > types()
static string typesString(const word &conjunction)
static void types(FixedList< word, Size > &result)
static bool isA(const Type &c)
static void types(FixedList< word, Size > &result)