Go to the source code of this file.
◆ STOKHOS_STORAGE_HELPER_STRINGNAME_DYNAMIC
#define STOKHOS_STORAGE_HELPER_STRINGNAME_DYNAMIC |
( |
| __storagename__ | ) |
|
Value:
{ \
template <typename ordinal_t, typename value_t, typename device_t> \
struct StringName<
Stokhos::__storagename__<ordinal_t, \
value_t, \
device_t>> \
{ \
static std::string eval() \
{ \
std::stringstream ss; \
ss << "Stokhos::" #__storagename__ "<" \
<< StringName<ordinal_t>::eval() << "," \
<< StringName<value_t>::eval() << "," \
<< StringName<device_t>::eval() << ">"; \
return ss.str(); \
} \
}; \
}
Top-level namespace for Stokhos classes and functions.
Definition at line 4 of file Stokhos_StorageHelpers.hpp.
◆ STOKHOS_STORAGE_HELPER_STRINGNAME_STATIC
#define STOKHOS_STORAGE_HELPER_STRINGNAME_STATIC |
( |
| __storagename__ | ) |
|
Value:
{ \
template <typename ordinal_t, typename value_t, int Num, typename device_t> \
struct StringName<
Stokhos::__storagename__<ordinal_t, \
value_t, \
Num, \
device_t>> \
{ \
static std::string eval() \
{ \
std::stringstream ss; \
ss << "Stokhos::" #__storagename__ "<" \
<< StringName<ordinal_t>::eval() << "," \
<< StringName<value_t>::eval() << "," \
<< Num << "," \
<< StringName<device_t>::eval() << ">"; \
return ss.str(); \
} \
}; \
}
Definition at line 24 of file Stokhos_StorageHelpers.hpp.