/dports/science/axom/axom-0.6.1/src/axom/primal/tests/ |
H A D | primal_zip.cpp | 20 using namespace axom; 30 axom::setDefaultAllocator(axom::execution_space<ExecSpace>::allocatorID()); in check_zip_points_3d() 63 axom::deallocate(x); in check_zip_points_3d() 64 axom::deallocate(y); in check_zip_points_3d() 65 axom::deallocate(z); in check_zip_points_3d() 77 axom::setDefaultAllocator(axom::execution_space<ExecSpace>::allocatorID()); in check_zip_points_2d_from_3d() 109 axom::deallocate(x); in check_zip_points_2d_from_3d() 110 axom::deallocate(y); in check_zip_points_2d_from_3d() 122 axom::setDefaultAllocator(axom::execution_space<ExecSpace>::allocatorID()); in check_zip_vectors_2d_from_3d() 154 axom::deallocate(x); in check_zip_vectors_2d_from_3d() [all …]
|
/dports/science/axom/axom-0.6.1/src/axom/spin/tests/ |
H A D | spin_morton.cpp | 168 testMortonizer<axom::int8, axom::uint8, DIM>(); in testIntegralTypes() 169 testMortonizer<axom::int8, axom::uint16, DIM>(); in testIntegralTypes() 170 testMortonizer<axom::int8, axom::uint32, DIM>(); in testIntegralTypes() 171 testMortonizer<axom::int8, axom::uint64, DIM>(); in testIntegralTypes() 174 testMortonizer<axom::uint8, axom::uint8, DIM>(); in testIntegralTypes() 175 testMortonizer<axom::uint8, axom::uint16, DIM>(); in testIntegralTypes() 176 testMortonizer<axom::uint8, axom::uint32, DIM>(); in testIntegralTypes() 177 testMortonizer<axom::uint8, axom::uint64, DIM>(); in testIntegralTypes() 181 testMortonizer<axom::int16, axom::uint8, DIM>(); in testIntegralTypes() 194 testMortonizer<axom::int32, axom::uint8, DIM>(); in testIntegralTypes() [all …]
|
H A D | spin_bvh.cpp | 34 using namespace axom; 245 axom::setDefaultAllocator(axom::execution_space<ExecSpace>::allocatorID()); in check_build_bvh2d() 287 axom::setDefaultAllocator(axom::execution_space<ExecSpace>::allocatorID()); in check_build_bvh3d() 324 axom::setDefaultAllocator(axom::execution_space<ExecSpace>::allocatorID()); in check_find_bounding_boxes3d() 446 axom::setDefaultAllocator(axom::execution_space<ExecSpace>::allocatorID()); in check_find_bounding_boxes2d() 552 axom::setDefaultAllocator(axom::execution_space<ExecSpace>::allocatorID()); in check_find_rays3d() 678 axom::setDefaultAllocator(axom::execution_space<ExecSpace>::allocatorID()); in check_find_rays2d() 808 axom::setDefaultAllocator(axom::execution_space<ExecSpace>::allocatorID()); in check_find_points3d() 1259 axom::deallocate(xs); in check_find_points_zip3d() 1662 axom::for_all<exec>( in AXOM_CUDA_TEST() [all …]
|
/dports/science/axom/axom-0.6.1/src/axom/sidre/interface/c_fortran/ |
H A D | wrapView.cpp | 44 axom::sidre::View *SH_this = static_cast<axom::sidre::View *>(self->addr); in SIDRE_View_get_index() 117 axom::sidre::View *SH_this = static_cast<axom::sidre::View *>(self->addr); in SIDRE_View_get_owning_group() 321 axom::sidre::TypeID SHCXX_type = axom::sidre::getTypeID(type); in SIDRE_View_allocate_from_type() 351 axom::sidre::TypeID SHCXX_type = axom::sidre::getTypeID(type); in SIDRE_View_attach_buffer_type() 366 axom::sidre::TypeID SHCXX_type = axom::sidre::getTypeID(type); in SIDRE_View_attach_buffer_shape() 424 axom::sidre::TypeID SHCXX_type = axom::sidre::getTypeID(type); in SIDRE_View_apply_type_nelems() 436 axom::sidre::TypeID SHCXX_type = axom::sidre::getTypeID(type); in SIDRE_View_apply_type_nelems_offset() 449 axom::sidre::TypeID SHCXX_type = axom::sidre::getTypeID(type); in SIDRE_View_apply_type_nelems_offset_stride() 461 axom::sidre::TypeID SHCXX_type = axom::sidre::getTypeID(type); in SIDRE_View_apply_type_shape() 531 axom::sidre::TypeID SHCXX_type = axom::sidre::getTypeID(type); in SIDRE_View_set_external_data_ptr_type() [all …]
|
H A D | wrapGroup.cpp | 407 axom::sidre::TypeID SHCXX_type = axom::sidre::getTypeID(type); in SIDRE_Group_create_view_from_type() 434 axom::sidre::TypeID SHCXX_type = axom::sidre::getTypeID(type); in SIDRE_Group_create_view_from_type_bufferify() 453 axom::sidre::TypeID SHCXX_type = axom::sidre::getTypeID(type); in SIDRE_Group_create_view_from_shape() 481 axom::sidre::TypeID SHCXX_type = axom::sidre::getTypeID(type); in SIDRE_Group_create_view_from_shape_bufferify() 543 axom::sidre::TypeID SHCXX_type = axom::sidre::getTypeID(type); in SIDRE_Group_create_view_from_type_and_buffer() 574 axom::sidre::TypeID SHCXX_type = axom::sidre::getTypeID(type); in SIDRE_Group_create_view_from_type_and_buffer_bufferify() 596 axom::sidre::TypeID SHCXX_type = axom::sidre::getTypeID(type); in SIDRE_Group_create_view_from_shape_and_buffer() 628 axom::sidre::TypeID SHCXX_type = axom::sidre::getTypeID(type); in SIDRE_Group_create_view_from_shape_and_buffer_bufferify() 688 axom::sidre::TypeID SHCXX_type = axom::sidre::getTypeID(type); in SIDRE_Group_create_view_from_type_external() 717 axom::sidre::TypeID SHCXX_type = axom::sidre::getTypeID(type); in SIDRE_Group_create_view_from_type_external_bufferify() [all …]
|
H A D | wrapBuffer.cpp | 21 const axom::sidre::Buffer *SH_this = in SIDRE_Buffer_get_index() 31 const axom::sidre::Buffer *SH_this = in SIDRE_Buffer_get_num_views() 41 axom::sidre::Buffer *SH_this = static_cast<axom::sidre::Buffer *>(self->addr); in SIDRE_Buffer_get_void_ptr() 50 const axom::sidre::Buffer *SH_this = in SIDRE_Buffer_get_type_id() 61 const axom::sidre::Buffer *SH_this = in SIDRE_Buffer_get_num_elements() 91 axom::sidre::Buffer *SH_this = static_cast<axom::sidre::Buffer *>(self->addr); in SIDRE_Buffer_describe() 93 axom::sidre::TypeID SHCXX_type = axom::sidre::getTypeID(type); in SIDRE_Buffer_describe() 100 axom::sidre::Buffer *SH_this = static_cast<axom::sidre::Buffer *>(self->addr); in SIDRE_Buffer_allocate_existing() 110 axom::sidre::Buffer *SH_this = static_cast<axom::sidre::Buffer *>(self->addr); in SIDRE_Buffer_allocate_from_type() 112 axom::sidre::TypeID SHCXX_type = axom::sidre::getTypeID(type); in SIDRE_Buffer_allocate_from_type() [all …]
|
/dports/science/axom/axom-0.6.1/src/axom/quest/tests/ |
H A D | quest_inout_interface.cpp | 52 namespace fs = axom::utilities::filesystem; in SetUp() 101 EXPECT_EQ(0, axom::quest::inout_finalize()); in TYPED_TEST() 119 EXPECT_TRUE(axom::slic::isInitialized()); in TYPED_TEST() 122 EXPECT_EQ(0, axom::quest::inout_finalize()); in TYPED_TEST() 140 axom::mint::Mesh* mesh = nullptr; in TYPED_TEST() 208 axom::quest::inout_init(this->meshfile); in TYPED_TEST() 222 axom::quest::inout_finalize(); in TYPED_TEST() 247 axom::quest::inout_init(this->meshfile); in TYPED_TEST() 265 axom::quest::inout_finalize(); in TYPED_TEST() 276 axom::quest::inout_init(this->meshfile); in TYPED_TEST() [all …]
|
/dports/science/axom/axom-0.6.1/src/axom/core/tests/ |
H A D | utils_endianness.hpp | 63 axom::int16 v2 = axom::utilities::swapEndian(v1); in TEST() 64 axom::int16 v3 = axom::utilities::swapEndian(v2); in TEST() 74 axom::uint16 v2 = axom::utilities::swapEndian(v1); in TEST() 75 axom::uint16 v3 = axom::utilities::swapEndian(v2); in TEST() 123 axom::int32 v2 = axom::utilities::swapEndian(v1); in TEST() 124 axom::int32 v3 = axom::utilities::swapEndian(v2); in TEST() 134 axom::uint32 v2 = axom::utilities::swapEndian(v1); in TEST() 135 axom::uint32 v3 = axom::utilities::swapEndian(v2); in TEST() 173 axom::int64 v2 = axom::utilities::swapEndian(v1); in TEST() 174 axom::int64 v3 = axom::utilities::swapEndian(v2); in TEST() [all …]
|
H A D | numerics_matvecops.hpp | 35 axom::numerics::Matrix<int> A(2, 2); in TEST() 36 axom::numerics::Matrix<int> B(3, 3); in TEST() 55 axom::numerics::Matrix<int> I1 = axom::numerics::Matrix<int>::identity(N); in TEST() 56 axom::numerics::Matrix<int> I2 = axom::numerics::Matrix<int>::identity(N); in TEST() 96 axom::numerics::Matrix<int> I1 = axom::numerics::Matrix<int>::identity(N); in TEST() 97 axom::numerics::Matrix<int> I2 = axom::numerics::Matrix<int>::identity(N); in TEST() 158 axom::numerics::Matrix<int> I2 = axom::numerics::Matrix<int>::identity(2); in TEST() 174 axom::numerics::Matrix<int> A = axom::numerics::Matrix<int>::identity(N); in TEST() 268 double p1norm = axom::numerics::matrix_norm(A, axom::numerics::P1_NORM); in TEST() 272 double inftynorm = axom::numerics::matrix_norm(A, axom::numerics::INF_NORM); in TEST() [all …]
|
H A D | core_execution_space.hpp | 51 axom::INVALID_ALLOCATOR_ID); in check_invalid() 103 check_valid<axom::SEQ_EXEC>(); in TEST() 106 check_valid<axom::OMP_EXEC>(); in TEST() 110 check_valid<axom::CUDA_EXEC<256>>(); in TEST() 111 check_valid<axom::CUDA_EXEC<256, axom::ASYNC>>(); in TEST() 130 check_valid<axom::SEQ_EXEC>(); in TEST() 136 check_execution_mappings<axom::SEQ_EXEC, in TEST() 147 check_valid<axom::OMP_EXEC>(); in TEST() 153 check_execution_mappings<axom::OMP_EXEC, in TEST() 191 check_valid<axom::CUDA_EXEC<BLOCK_SIZE, axom::ASYNC>>(); in TEST() [all …]
|
H A D | numerics_lu.hpp | 12 using IndexType = axom::IndexType; 21 axom::numerics::Matrix<double> A = axom::numerics::Matrix<double>::ones(M, N); in TEST() 32 axom::numerics::Matrix<double> A = axom::numerics::Matrix<double>::zeros(N, N); in TEST() 44 axom::numerics::Matrix<double> A(N, N); in TEST() 54 EXPECT_EQ(axom::numerics::LU_SUCCESS, rc); in TEST() 57 axom::numerics::Matrix<double> L = in TEST() 59 axom::numerics::Matrix<double> U = in TEST() 63 axom::numerics::Matrix<double> P = axom::numerics::Matrix<double>::identity(N); in TEST() 72 axom::numerics::Matrix<double> PA(N, N); in TEST() 75 axom::numerics::Matrix<double> LU(N, N); in TEST() [all …]
|
H A D | core_Path.hpp | 13 axom::Path path(path_str); in TEST() 20 axom::Path path(path_str); in TEST() 33 axom::Path first("foo"); in TEST() 34 axom::Path second("bar"); in TEST() 41 axom::Path first("foo"); in TEST() 42 axom::Path second("bar"); in TEST() 49 axom::Path first("foo/bar"); in TEST() 65 axom::Path path("foo/bar"); in TEST() 132 axom::Path first(""); in TEST() 133 axom::Path second("/"); in TEST() [all …]
|
H A D | core_memory_management.hpp | 147 int* buffer = axom::allocate<int>(size); in check_alloc_and_free() 163 axom::deallocate(buffer); in check_alloc_and_free() 251 axom::deallocate(buffer); in check_alloc_realloc_free() 301 axom::setDefaultAllocator(HostAllocatorID); in TEST() 459 buf = axom::allocate<int>(N); in TEST() 463 axom::deallocate<int>(buf); in TEST() 467 buf = axom::reallocate<int>(buf, 0); in TEST() 471 buf = axom::reallocate<int>(buf, N); in TEST() 475 buf = axom::reallocate<int>(buf, 0); in TEST() 479 buf = axom::reallocate<int>(buf, 0); in TEST() [all …]
|
H A D | core_execution_for_all.hpp | 37 axom::setDefaultAllocator(axom::execution_space<ExecSpace>::allocatorID()); in check_for_all() 40 int* a = axom::allocate<int>(N); in check_for_all() 43 axom::for_all<ExecSpace>( in check_for_all() 47 if(axom::execution_space<ExecSpace>::async()) in check_for_all() 49 axom::synchronize<ExecSpace>(); in check_for_all() 59 axom::for_all<ExecSpace>( in check_for_all() 64 if(axom::execution_space<ExecSpace>::async()) in check_for_all() 66 axom::synchronize<ExecSpace>(); in check_for_all() 76 axom::deallocate(a); in check_for_all() 103 check_for_all<axom::CUDA_EXEC<BLOCK_SIZE>>(); in TEST() [all …]
|
H A D | numerics_jacobi_eigensolve.hpp | 18 using IndexType = axom::IndexType; 87 axom::numerics::Matrix<double> tmp(N, N); in check_eigen_decomposition() 88 axom::numerics::Matrix<double> test(N, N); in check_eigen_decomposition() 89 axom::numerics::matrix_multiply(A, V, tmp); in check_eigen_decomposition() 104 double p1norm = axom::numerics::matrix_norm(test, axom::numerics::P1_NORM); in check_eigen_decomposition() 105 double inftynorm = axom::numerics::matrix_norm(test, axom::numerics::INF_NORM); in check_eigen_decomposition() 107 axom::numerics::matrix_norm(test, axom::numerics::FROBENIUS_NORM); in check_eigen_decomposition() 141 axom::numerics::Matrix<double> V(N, N); in TEST() 144 axom::numerics::Matrix<double> A(N, N); in TEST() 174 axom::numerics::Matrix<double> V(N, N); in TEST() [all …]
|
/dports/science/axom/axom-0.6.1/src/axom/sidre/spio/interface/c_fortran/ |
H A D | wrapIOManager.cpp | 25 axom::sidre::IOManager *SHCXX_rv = new axom::sidre::IOManager(SHCXX_com); in SPIO_IOManager_ctor_default() 38 axom::sidre::IOManager *SHCXX_rv = in SPIO_IOManager_ctor_usescr() 48 axom::sidre::IOManager *SH_this = in SPIO_IOManager_delete() 62 axom::sidre::IOManager *SH_this = in SPIO_IOManager_write_0() 65 axom::sidre::Group *SHCXX_group = in SPIO_IOManager_write_0() 81 axom::sidre::IOManager *SH_this = in SPIO_IOManager_write_0_bufferify() 84 axom::sidre::Group *SHCXX_group = in SPIO_IOManager_write_0_bufferify() 99 axom::sidre::IOManager *SH_this = in SPIO_IOManager_write_1() 102 axom::sidre::Group *SHCXX_group = in SPIO_IOManager_write_1() 125 axom::sidre::IOManager *SH_this = in SPIO_IOManager_write_1_bufferify() [all …]
|
/dports/science/axom/axom-0.6.1/src/axom/quest/ |
H A D | IntersectionShaper.hpp | 63 namespace axom namespace 209 axom::fmt::format( in prepareShapeQueryImpl() 242 axom::fmt::format( in prepareShapeQueryImpl() 480 axom::fmt::format( in runShapeQueryImpl() 596 axom::IndexType* offsets = axom::allocate<axom::IndexType>(NE); in runShapeQueryImpl() 597 axom::IndexType* counts = axom::allocate<axom::IndexType>(NE); in runShapeQueryImpl() 619 axom::allocate<axom::IndexType>(totalCandidates.get() * NUM_TETS_PER_HEX); in runShapeQueryImpl() 621 axom::allocate<axom::IndexType>(totalCandidates.get() * NUM_TETS_PER_HEX); in runShapeQueryImpl() 629 axom::allocate<axom::IndexType>(totalCandidates.get() * NUM_TETS_PER_HEX); in runShapeQueryImpl() 747 axom::deallocate(ZERO); in runShapeQueryImpl() [all …]
|
H A D | MeshTester.hpp | 44 namespace axom namespace 188 axom::allocate<int>(ncells, in findTriMeshIntersectionsBVH() 225 axom::deallocate(aabbs); in findTriMeshIntersectionsBVH() 227 axom::deallocate(degenerate); in findTriMeshIntersectionsBVH() 300 axom::deallocate(tris); in findTriMeshIntersectionsBVH() 302 axom::deallocate(offsets); in findTriMeshIntersectionsBVH() 303 axom::deallocate(counts); in findTriMeshIntersectionsBVH() 304 axom::deallocate(candidates); in findTriMeshIntersectionsBVH() 305 axom::deallocate(indices); in findTriMeshIntersectionsBVH() 311 axom::deallocate(counter); in findTriMeshIntersectionsBVH() [all …]
|
/dports/science/axom/axom-0.6.1/src/thirdparty/axom/ |
H A D | sol.namespace.patch | 1 diff --git a/src/thirdparty/axom/sol.hpp b/src/thirdparty/axom/sol.hpp 9 +namespace axom { 18 +} // namespace axom 26 +namespace axom { 34 +} // namespace axom 42 +namespace axom { 56 +namespace axom { 72 +namespace axom { 88 +namespace axom { 104 +namespace axom { [all …]
|
/dports/science/axom/axom-0.6.1/src/axom/sidre/tests/ |
H A D | sidre_mcarray.cpp | 19 namespace axom namespace 35 axom::IndexType calc_new_capacity(MCArray<T>& v, axom::IndexType increase) in calc_new_capacity() 340 axom::IndexType size = capacity; in check_resize() 539 axom::IndexType size = capacity; in check_insert() 604 axom::IndexType n_insert_front = 2; in check_insert() 659 axom::IndexType size = capacity; in check_emplace() 855 axom::IndexType size = capacity; in check_move() 913 constexpr axom::IndexType ZERO = 0; in TEST() 998 constexpr axom::IndexType ZERO = 0; in TEST() 1198 axom::IndexType num_values; in TEST() [all …]
|
H A D | sidre_types_C.cpp | 16 using axom::sidre::DataType; 17 using axom::sidre::getTypeID; 18 using axom::sidre::TypeID; 55 testTypesForEquality<axom::int8, conduit_int8>(); in TEST() 56 testTypesForEquality<axom::uint8, conduit_uint8>(); in TEST() 58 testTypesForEquality<axom::int16, conduit_int16>(); in TEST() 59 testTypesForEquality<axom::uint16, conduit_uint16>(); in TEST() 61 testTypesForEquality<axom::int32, conduit_int32>(); in TEST() 62 testTypesForEquality<axom::uint32, conduit_uint32>(); in TEST() 65 testTypesForEquality<axom::int64, conduit_int64>(); in TEST() [all …]
|
/dports/science/axom/axom-0.6.1/src/axom/core/examples/ |
H A D | core_containers.cpp | 73 axom::Array<int> a(3); in demoArrayBasic() 185 using DeviceIntArrayView = axom::ArrayView<int, 1, axom::MemorySpace::Device>; 213 axom::Array<int, 1, axom::MemorySpace::Device> device_array_template(N); in demoArrayDevice() 222 axom::ArrayView<int, 1, axom::MemorySpace::Device> view_of_dynamic_array( in demoArrayDevice() 225 axom::ArrayView<int, 1, axom::MemorySpace::Device> view_of_template_array( in demoArrayDevice() 243 axom::Array<int, 1, axom::MemorySpace::Unified> B_unified(N); in demoArrayDevice() 253 axom::Array<int, 1, axom::MemorySpace::Device> C_device(N); in demoArrayDevice() 268 axom::Array<int, 1, axom::MemorySpace::Host> C_host = C_device; in demoArrayDevice() 282 axom::Array<int, 1, axom::MemorySpace::Device> C_device_raja(N); in demoArrayDevice() 286 axom::for_all<axom::CUDA_EXEC<1>>( in demoArrayDevice() [all …]
|
/dports/science/axom/axom-0.6.1/src/thirdparty/axom/sparsehash/ |
H A D | sparse_hash.header_path.patch | 1 diff --git a/src/thirdparty/axom/sparsehash/dense_hash_map b/src/thirdparty/axom/sparsehash/dense_h… 3 --- a/src/thirdparty/axom/sparsehash/dense_hash_map 4 +++ b/src/thirdparty/axom/sparsehash/dense_hash_map 22 diff --git a/src/thirdparty/axom/sparsehash/dense_hash_set b/src/thirdparty/axom/sparsehash/dense_h… 65 +#include <axom/sparsehash/type_traits.h> 119 diff --git a/src/thirdparty/axom/sparsehash/sparse_hash_map b/src/thirdparty/axom/sparsehash/sparse… 140 diff --git a/src/thirdparty/axom/sparsehash/sparse_hash_set b/src/thirdparty/axom/sparsehash/sparse… 161 diff --git a/src/thirdparty/axom/sparsehash/sparsetable b/src/thirdparty/axom/sparsehash/sparsetable 181 +#include <axom/sparsehash/type_traits.h> 187 diff --git a/src/thirdparty/axom/sparsehash/template_util.h b/src/thirdparty/axom/sparsehash/templa… [all …]
|
/dports/science/axom/axom-0.6.1/src/axom/slic/interface/ |
H A D | slic_macros.hpp | 38 } while(axom::slic::detail::false_value) 63 } while(axom::slic::detail::false_value) 88 } while(axom::slic::detail::false_value) 112 } while(axom::slic::detail::false_value) 280 axom::slic::logMessage(axom::slic::message::Info, \ 284 } while(axom::slic::detail::false_value) 306 axom::slic::logMessage(axom::slic::message::Info, \ 311 } while(axom::slic::detail::false_value) 332 axom::slic::logMessage(axom::slic::message::Debug, \ 358 axom::slic::logMessage(axom::slic::message::Debug, \ [all …]
|
/dports/science/axom/axom-0.6.1/src/axom/quest/interface/c_fortran/ |
H A D | wrapQUEST.cpp | 54 int SHC_rv = axom::quest::inout_init(SHCXX_fileName); in QUEST_inout_init_serial() 74 bool SHC_rv = axom::quest::inout_initialized(); in QUEST_inout_initialized() 82 int SHC_rv = axom::quest::inout_set_dimension(dim); in QUEST_inout_set_dimension() 114 bool SHC_rv = axom::quest::inout_evaluate(x, y); in QUEST_inout_evaluate_0() 122 bool SHC_rv = axom::quest::inout_evaluate(x, y, z); in QUEST_inout_evaluate_1() 154 int SHC_rv = axom::quest::inout_get_dimension(); in QUEST_inout_get_dimension() 162 int SHC_rv = axom::quest::inout_finalize(); in QUEST_inout_finalize() 233 axom::quest::signed_distance_set_dimension(dim); in QUEST_signed_distance_set_dimension() 261 axom::quest::signed_distance_set_verbose(status); in QUEST_signed_distance_set_verbose() 275 axom::quest::SignedDistExec SHCXX_execSpace = in QUEST_signed_distance_set_execution_space() [all …]
|