Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Macros
Stokhos_StorageHelpers.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define STOKHOS_STORAGE_HELPER_STRINGNAME_DYNAMIC(__storagename__)
 
#define STOKHOS_STORAGE_HELPER_STRINGNAME_STATIC(__storagename__)
 

Macro Definition Documentation

◆ STOKHOS_STORAGE_HELPER_STRINGNAME_DYNAMIC

#define STOKHOS_STORAGE_HELPER_STRINGNAME_DYNAMIC (   __storagename__)
Value:
namespace Sacado \
{ \
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:
namespace Sacado \
{ \
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.