|
AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
Namespaces | |
| detail | |
| internal | |
Classes | |
| struct | cpp2conduit |
| This class provides type traits that let us map C++ types to types / values useful in Conduit. More... | |
| struct | cpp2conduit< conduit::int8 > |
| struct | cpp2conduit< conduit::int16 > |
| struct | cpp2conduit< conduit::int32 > |
| struct | cpp2conduit< conduit::int64 > |
| struct | cpp2conduit< conduit::uint8 > |
| struct | cpp2conduit< conduit::uint16 > |
| struct | cpp2conduit< conduit::uint32 > |
| struct | cpp2conduit< conduit::uint64 > |
| struct | cpp2conduit< conduit::float32 > |
| struct | cpp2conduit< conduit::float64 > |
| struct | mask_traits |
| Determines best mask type to use for an ExecSpace. More... | |
| struct | accumulation_traits |
| This class and its specializations provide a type trait that lets us determine the type that should be used to accumulate values when we do floating point math. More... | |
| struct | accumulation_traits< double > |
| struct | accumulation_traits< long > |
| struct | accumulation_traits< unsigned long > |
| struct | ComputeShapeAmount |
| Base template for computing a shape's area or volume. More... | |
| struct | ComputeShapeAmount< 2 > |
| 2D specialization for shapes to compute area. More... | |
| struct | ComputeShapeAmount< 3 > |
| 3D specialization for shapes to compute volume. More... | |
Functions | |
| std::vector< std::string > | coordsetAxes (const conduit::Node &n_input) |
| Return the names of the axes for a coordset. More... | |
| bool | isDeviceAllocated (const conduit::Node &n) |
| Returns whether the data pointer in the Conduit node appears to be allocated on a device. More... | |
| template<typename ExecSpace > | |
| void | copy (conduit::Node &dest, const conduit::Node &src, int destAllocatorID=axom::execution_space< ExecSpace >::allocatorID()) |
| Copies a Conduit tree in the src node to a new Conduit dest node, making sure to allocate array data in the appropriate memory space for the execution space. More... | |
| template<typename ArrayType > | |
| bool | fillFromNode (const conduit::Node &n, const std::string &key, ArrayType &arr, bool moveToHost=false) |
| Fill an array with int values from a Conduit node. More... | |
| template<typename T > | |
| axom::ArrayView< T > | make_array_view (conduit::Node &n) |
| Make an axom::ArrayView from a Conduit node. More... | |
| template<typename T > | |
| axom::ArrayView< T > | make_array_view (const conduit::Node &n) |
| std::vector<std::string> axom::bump::utilities::coordsetAxes | ( | const conduit::Node & | n_input | ) |
Return the names of the axes for a coordset.
| n_input | A Conduit node containing a coordset. |
|
inline |
Make an axom::ArrayView from a Conduit node.
| T | The type for the array view elements. |
| n | The conduit node for which we want an array view. |
|
inline |
| bool axom::bump::utilities::isDeviceAllocated | ( | const conduit::Node & | n | ) |
Returns whether the data pointer in the Conduit node appears to be allocated on a device.
| n | The node whose data we're checking for device allocation. |
| void axom::bump::utilities::copy | ( | conduit::Node & | dest, |
| const conduit::Node & | src, | ||
| int | destAllocatorID = axom::execution_space<ExecSpace>::allocatorID() |
||
| ) |
Copies a Conduit tree in the src node to a new Conduit dest node, making sure to allocate array data in the appropriate memory space for the execution space.
| ExecSpace | The destination execution space (e.g. axom::SEQ_EXEC). |
| dest | The conduit node that will receive the copied data. |
| src | The source data to be copied. |
| destAllocatorID | The allocator for the destination. It defaults to the allocator for ExecSpace. |
References axom::isDeviceAllocator().
| bool axom::bump::utilities::fillFromNode | ( | const conduit::Node & | n, |
| const std::string & | key, | ||
| ArrayType & | arr, | ||
| bool | moveToHost = false |
||
| ) |
Fill an array with int values from a Conduit node.
| ArrayType | The array type being filled. It must supply size(), operator[]. |
| n | The node that contains the data. | |
| key | The name of the node that contains the data in n. | |
| [out] | arr | The array being filled. |
| moveToHost | Sometimes data are on device and need to be moved to host first. |