|
AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
Classes | |
| struct | FalseType |
| Variable of a type that evaluates as false. More... | |
Functions | |
| template<typename T > | |
| void | printArray (std::ostream &os, const std::string &name, const T *data, axom::IndexType n) |
| Print an array to a stream, moving the data to the host, if needed. More... | |
| template<typename ContainerType > | |
| void | printContainer (std::ostream &os, const std::string &name, const ContainerType &container) |
| Print a container to a stream, moving the data to the host, if needed. More... | |
Variables | |
| static const FalseType | false_value |
| void axom::slic::detail::printArray | ( | std::ostream & | os, |
| const std::string & | name, | ||
| const T * | data, | ||
| axom::IndexType | n | ||
| ) |
Print an array to a stream, moving the data to the host, if needed.
| T | The element type for the data array. |
| os | The stream to which the data will be written. |
| name | The name of the data. |
| data | A pointer to the data. |
| n | The number of elements in the array. |
References axom::copy(), and axom::deallocate().
| void axom::slic::detail::printContainer | ( | std::ostream & | os, |
| const std::string & | name, | ||
| const ContainerType & | container | ||
| ) |
Print a container to a stream, moving the data to the host, if needed.
| ContainerType | A container template type that supplies data() and size() methods. |
| os | The stream to which the data will be written. |
| name | The name of the view. |
| container | The container to print. |
References printArray().
|
static |