AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
#include "axom/config.hpp"
#include <cassert>
Macros | |
#define | AXOM_DEVICE |
#define | AXOM_HOST_DEVICE |
CUDA host/device macros for decorating functions/lambdas. More... | |
#define | AXOM_HOST |
#define | AXOM_STRINGIFY(x) AXOM_DO_STRINGIFY(x) |
#define | AXOM_DO_STRINGIFY(x) #x |
#define | AXOM_PRAGMA(x) _Pragma(AXOM_STRINGIFY(x)) |
#define | AXOM_SUPPRESS_HD_WARN |
#define | AXOM_LAMBDA [=] |
Convenience macro used for lambda capture by value. More... | |
#define | AXOM_DEVICE_LAMBDA [=] |
#define | AXOM_HOST_LAMBDA [=] |
#define | AXOM_CUDA_TEST(X, Y) TEST(X, Y) |
Convenience macro used for a gtest that uses cuda. More... | |
#define | AXOM_NOT_USED(x) |
Macro used to silence compiler warnings in methods with unused arguments. More... | |
#define | AXOM_STATIC_ASSERT(cond) static_assert(cond, #cond) |
#define | AXOM_STATIC_ASSERT_MSG(cond, MSG) static_assert(cond, MSG) |
This macro wraps the compile time static_assert functionality so you don't have to provide a message. More... | |
#define | AXOM_DEBUG_VAR(_x) static_cast<void>(_x) |
Macro used to silence compiler warnings about variables that are defined but not used. More... | |
#define | AXOM_DEBUG_PARAM(_x) |
Macro used to silence compiler warnings about parameters that are used in debug code but not in release code. More... | |
#define | DISABLE_DEFAULT_CTOR(className) className() = delete |
Macro to disable default constructor for the given class. More... | |
#define | DISABLE_COPY_AND_ASSIGNMENT(className) |
Macro to disable copy and assignment operations for the given class. More... | |
#define | DISABLE_MOVE_AND_ASSIGNMENT(className) |
Macro to disable move constructor and move assignment operations for the given class. More... | |
#define AXOM_DEVICE |
#define AXOM_HOST_DEVICE |
CUDA host/device macros for decorating functions/lambdas.
Referenced by axom::primal::Point< IndexType, NDIMS >::array(), axom::primal::Vector< SpaceCoordType, NDIMS >::array(), axom::primal::Triangle< T, NDIMS >::baryToPhysical(), axom::primal::BoundingBox< double, DIM >::BoundingBox(), axom::primal::Point< IndexType, NDIMS >::data(), axom::primal::Vector< SpaceCoordType, NDIMS >::data(), axom::primal::Point< IndexType, NDIMS >::dimension(), axom::primal::Vector< SpaceCoordType, NDIMS >::dimension(), axom::slic::detail::FalseType::FalseType(), axom::numerics::Matrix< T >::getDiagonalSize(), axom::primal::BoundingBox< double, DIM >::getMin(), axom::numerics::floating_point_limits< float >::lowest(), axom::numerics::floating_point_limits< double >::lowest(), axom::numerics::floating_point_limits< long double >::lowest(), axom::numerics::floating_point_limits< float >::max(), axom::numerics::floating_point_limits< double >::max(), axom::numerics::floating_point_limits< long double >::max(), axom::numerics::floating_point_limits< float >::min(), axom::numerics::floating_point_limits< double >::min(), axom::numerics::floating_point_limits< long double >::min(), axom::primal::Triangle< T, NDIMS >::normal(), axom::primal::NumericArray< IndexType, NDIMS >::NumericArray(), axom::numerics::Matrix< T >::ones(), axom::StackArray< T, N >::operator T*(), axom::primal::operator!=(), axom::primal::Point< IndexType, NDIMS >::operator=(), axom::StackArray< int64, 6 >::operator[](), axom::primal::Triangle< T, NDIMS >::operator[](), axom::primal::Point< IndexType, NDIMS >::operator[](), axom::primal::Vector< SpaceCoordType, NDIMS >::operator[](), axom::primal::Point< IndexType, NDIMS >::Point(), axom::primal::BoundingBox< double, DIM >::range(), axom::primal::NumericArray< IndexType, NDIMS >::size(), axom::primal::Vector< SpaceCoordType, NDIMS >::Vector(), axom::primal::BoundingBox< double, DIM >::~BoundingBox(), axom::primal::Triangle< T, NDIMS >::~Triangle(), and axom::primal::Vector< SpaceCoordType, NDIMS >::~Vector().
#define AXOM_HOST |
#define AXOM_STRINGIFY | ( | x | ) | AXOM_DO_STRINGIFY(x) |
#define AXOM_DO_STRINGIFY | ( | x | ) | #x |
#define AXOM_PRAGMA | ( | x | ) | _Pragma(AXOM_STRINGIFY(x)) |
#define AXOM_SUPPRESS_HD_WARN |
#define AXOM_LAMBDA [=] |
Convenience macro used for lambda capture by value.
Referenced by axom::quest::getMeshTriangle().
#define AXOM_DEVICE_LAMBDA [=] |
#define AXOM_HOST_LAMBDA [=] |
#define AXOM_CUDA_TEST | ( | X, | |
Y | |||
) | TEST(X, Y) |
Convenience macro used for a gtest that uses cuda.
#define AXOM_NOT_USED | ( | x | ) |
Macro used to silence compiler warnings in methods with unused arguments.
Referenced by axom::slam::Map< slam::Set< CoordType, CoordType >, OctreeLevelType * >::data(), axom::mint::Mesh::getCellCapacity(), axom::mint::Mesh::getFaceCapacity(), axom::quest::getMeshTriangle(), and axom::spin::BVHTree< T, NDIMS >::writeVtkFile().
#define AXOM_STATIC_ASSERT | ( | cond | ) | static_assert(cond, #cond) |
Referenced by axom::mint::Lagrange< CELLTYPE >::computeDerivatives(), axom::mint::Lagrange< CELLTYPE >::computeShape(), axom::mint::for_all_cells(), axom::mint::for_all_faces(), axom::mint::for_all_nodes(), axom::mint::Lagrange< CELLTYPE >::getCellType(), axom::mint::Lagrange< CELLTYPE >::getCenter(), axom::mint::Lagrange< CELLTYPE >::getCoords(), axom::mint::Lagrange< CELLTYPE >::getDimension(), axom::mint::Lagrange< CELLTYPE >::getMax(), axom::mint::Lagrange< CELLTYPE >::getMaxNewtonIters(), axom::mint::Lagrange< CELLTYPE >::getMin(), axom::mint::Lagrange< CELLTYPE >::getNumDofs(), axom::mint::Lagrange< CELLTYPE >::getType(), and axom::utilities::random_real().
#define AXOM_STATIC_ASSERT_MSG | ( | cond, | |
MSG | |||
) | static_assert(cond, MSG) |
This macro wraps the compile time static_assert functionality so you don't have to provide a message.
Referenced by axom::numerics::eigen_solve(), axom::numerics::jacobi_eigensolve(), axom::numerics::linspace(), axom::numerics::make_orthogonal(), axom::numerics::normalize(), axom::numerics::orthonormalize(), axom::primal::Plane< T, NDIMS >::Plane(), axom::primal::Sphere< T, NDIMS >::Sphere(), axom::utilities::swapEndian(), and axom::mint::UnstructuredMesh< TOPO >::UnstructuredMesh().
#define AXOM_DEBUG_VAR | ( | _x | ) | static_cast<void>(_x) |
Macro used to silence compiler warnings about variables that are defined but not used.
Referenced by axom::quest::detail::InOutOctreeValidator< DIM >::checkEachVertexIsIndexed(), axom::slam::policies::CompileTimeOffset< IntType, INT_VAL >::CompileTimeOffset(), axom::slam::policies::CompileTimeSize< IntType, INT_VAL >::CompileTimeSize(), axom::quest::InOutOctree< DIM >::generateIndex(), axom::slam::policies::VirtualParentSubset::isValid(), axom::slam::policies::ArrayIndirection< PositionType, ElementType >::isValid(), axom::slam::policies::ConcreteParentSubset< TheParentSetType >::isValid(), axom::slam::policies::STLVectorIndirection< SetPosition, SetElement >::isValid(), axom::primal::OrientedBoundingBox< T, NDIMS >::OrientedBoundingBox(), axom::slam::BitSet::test(), axom::quest::InOutOctree< DIM >::within(), axom::slam::policies::ZeroOffset< SetPosition >::ZeroOffset(), and axom::slam::policies::ZeroSize< IntType >::ZeroSize().
#define AXOM_DEBUG_PARAM | ( | _x | ) |
Macro used to silence compiler warnings about parameters that are used in debug code but not in release code.
Referenced by axom::quest::SignedDistance< NDIMS >::computeDistance(), axom::slam::BivariateMap< SetType, DataType, StridePolicy >::copy(), axom::slam::DynamicVariableRelation< PosType, ElemType >::data(), axom::slam::Map< slam::Set< CoordType, CoordType >, OctreeLevelType * >::data(), axom::slam::DynamicConstantRelation< PosType, ElemType, CardinalityPolicy >::data(), axom::slam::NullSet< RelationType::SetPosition, RelationType::SetElement >::empty(), axom::slam::NullBivariateSet< SetPosition, SetElement >::getElements(), axom::slam::FieldRegistry< slam::Set< VertexIndex >, VertexIndex >::getScalar(), axom::slam::ProductSet< PosType, ElemType >::isValid(), axom::slam::RelationSet< RelationType >::isValid(), axom::slam::SubMap< SetType, DataType, SuperMapType, StridePolicy >::isValid(), axom::slam::DynamicMap< SetType, DataType >::isValidEntry(), axom::slam::OrderedSet< IndexType, IndexType, SizePolicy >::positions(), axom::slam::DynamicSet< PosType, ElemType, SizePolicy, OffsetPolicy, StridePolicy >::remove(), axom::quest::InOutOctree< DIM >::setVertexWeldThreshold(), axom::primal::NumericArray< IndexType, NDIMS >::size(), and axom::quest::InOutOctree< DIM >::within().
#define DISABLE_DEFAULT_CTOR | ( | className | ) | className() = delete |
Macro to disable default constructor for the given class.
Referenced by axom::sidre::View::getNextValidAttrValueIndex(), axom::sidre::Attribute::getTypeID(), axom::sidre::Buffer::isDescribed(), and axom::sidre::Group::isUsingList().
#define DISABLE_COPY_AND_ASSIGNMENT | ( | className | ) |
Macro to disable copy and assignment operations for the given class.
Referenced by axom::spin::DenseOctreeLevel< DIM, BlockDataType, MortonIndexType >::blockStatus(), axom::spin::SparseOctreeLevel< DIM, BlockDataType, PointRepresenationType >::blockStatus(), axom::spin::OctreeBase< DIM, InOutBlockData >::blockStatus(), axom::spin::BVHTree< T, NDIMS >::empty(), axom::quest::SignedDistance< NDIMS >::getBVHTree(), axom::mint::MeshCoordinates::getCoordinateArray(), axom::mint::UnstructuredMesh< TOPO >::getFaceCellsArray(), axom::spin::BVH< NDIMS, ExecSpace, FloatType >::getTolerance(), axom::mint::ParticleMesh::isInSidre(), axom::sidre::Group::isUsingList(), and axom::quest::InOutOctree< DIM >::setVertexWeldThreshold().
#define DISABLE_MOVE_AND_ASSIGNMENT | ( | className | ) |
Macro to disable move constructor and move assignment operations for the given class.
Referenced by axom::spin::DenseOctreeLevel< DIM, BlockDataType, MortonIndexType >::blockStatus(), axom::spin::SparseOctreeLevel< DIM, BlockDataType, PointRepresenationType >::blockStatus(), axom::spin::OctreeBase< DIM, InOutBlockData >::blockStatus(), axom::spin::BVHTree< T, NDIMS >::empty(), axom::mint::MeshCoordinates::getCoordinateArray(), axom::mint::UnstructuredMesh< TOPO >::getFaceCellsArray(), axom::sidre::View::getNextValidAttrValueIndex(), axom::spin::BVH< NDIMS, ExecSpace, FloatType >::getTolerance(), axom::sidre::Attribute::getTypeID(), axom::sidre::Buffer::isDescribed(), axom::mint::ParticleMesh::isInSidre(), axom::sidre::Group::isUsingList(), and axom::quest::InOutOctree< DIM >::setVertexWeldThreshold().