|
libMesh
|
Classes | |
| struct | tensor_dim_case |
Typedefs | |
| using | oracle_vector = libMesh::TypeVector< Real > |
| using | oracle_tensor = libMesh::TypeTensor< Real > |
Functions | |
| oracle_vector | make_host_vector (const Real x, const Real y=0, const Real z=0) |
| oracle_tensor | make_host_tensor (const Real xx, const Real xy=0, const Real xz=0, const Real yx=0, const Real yy=0, const Real yz=0, const Real zx=0, const Real zy=0, const Real zz=0) |
| oracle_tensor | build_identity_tensor (const unsigned int dim) |
| Real | host_leading_determinant (const oracle_tensor &J, const unsigned int dim) |
| oracle_tensor | host_leading_inverse (const oracle_tensor &J, const unsigned int dim) |
| template<typename StoragePolicy > | |
| static int | test_dim_ops () |
| template<typename StoragePolicy > | |
| static int | test_tensor_ops () |
| int | test_tensor_host_only_ops () |
| template<typename StoragePolicy > | |
| static int | test_linalg_foundation_storage_roundtrip () |
| template<typename StoragePolicy > | |
| static int | test_mixed_representation_ops () |
| int | run_all_oracles () |
Variables | |
| static constexpr double | tol = 2.0e-13 |
| static const tensor_dim_case | dim_cases [] |
| using libMeshTest::KokkosTensorOracle::oracle_tensor = typedef libMesh::TypeTensor<Real> |
Definition at line 34 of file kokkos_tensor_ops_oracle_fixtures.h.
| using libMeshTest::KokkosTensorOracle::oracle_vector = typedef libMesh::TypeVector<Real> |
Definition at line 33 of file kokkos_tensor_ops_oracle_fixtures.h.
|
inline |
Definition at line 119 of file kokkos_tensor_ops_oracle_fixtures.h.
References dim, and libMesh::TypeTensor< T >::zero().
Referenced by test_dim_ops().
|
inline |
Definition at line 134 of file kokkos_tensor_ops_oracle_fixtures.h.
References libMesh::TypeTensor< T >::det(), and dim.
Referenced by host_leading_inverse(), test_dim_ops(), and test_mixed_representation_ops().
|
inline |
Definition at line 150 of file kokkos_tensor_ops_oracle_fixtures.h.
References dim, host_leading_determinant(), libMesh::TypeTensor< T >::inverse(), and libMesh::TypeTensor< T >::zero().
Referenced by test_dim_ops(), and test_mixed_representation_ops().
|
inline |
Definition at line 56 of file kokkos_tensor_ops_oracle_fixtures.h.
References libMesh::TypeTensor< T >::zero().
Referenced by test_mixed_representation_ops(), and test_tensor_ops().
|
inline |
Definition at line 41 of file kokkos_tensor_ops_oracle_fixtures.h.
References libMesh::TypeVector< T >::zero().
Referenced by test_mixed_representation_ops(), and test_tensor_ops().
|
inline |
Definition at line 463 of file kokkos_tensor_ops_oracle_runners.h.
References test_tensor_host_only_ops().
|
static |
Definition at line 28 of file kokkos_tensor_ops_oracle_runners.h.
References build_identity_tensor(), libMeshTest::KokkosOracle::compare_device_scalars(), libMeshTest::KokkosOracle::compare_device_tensors(), dim, dim_cases, host_leading_determinant(), host_leading_inverse(), libMesh::Kokkos::make_tensor_ref(), libMesh::Kokkos::store_tensor(), tol, and libMeshTest::KokkosOracle::upload_objects().
|
static |
Definition at line 264 of file kokkos_tensor_ops_oracle_runners.h.
References libMesh::Kokkos::make_tensor_ref(), libMesh::Kokkos::make_vector_ref(), and tol.
|
static |
Definition at line 373 of file kokkos_tensor_ops_oracle_runners.h.
References b, libMeshTest::KokkosOracle::compare_device_scalars(), libMeshTest::KokkosOracle::compare_device_tensors(), libMeshTest::KokkosOracle::compare_device_vectors(), host_leading_determinant(), host_leading_inverse(), make_host_tensor(), make_host_vector(), libMesh::Kokkos::make_tensor_ref(), libMesh::Kokkos::make_vector_ref(), libMesh::outer_product(), libMesh::Kokkos::store_tensor(), libMesh::Kokkos::store_vector(), and tol.
|
inline |
Definition at line 191 of file kokkos_tensor_ops_oracle_runners.h.
References libMesh::TensorValue< T >::extrinsic_rotation_matrix(), libMesh::TensorValue< T >::inverse_extrinsic_rotation_matrix(), libMesh::TypeTensor< T >::is_hpd(), tol, and value.
Referenced by run_all_oracles().
|
static |
Definition at line 94 of file kokkos_tensor_ops_oracle_runners.h.
References b, libMeshTest::KokkosOracle::compare_device_scalars(), libMeshTest::KokkosOracle::compare_device_tensors(), libMeshTest::KokkosOracle::compare_device_vectors(), libMesh::TypeTensor< T >::is_zero(), make_host_tensor(), make_host_vector(), libMesh::Kokkos::make_tensor_ref(), libMesh::Kokkos::make_vector_ref(), libMesh::outer_product(), libMesh::Kokkos::store_tensor(), libMesh::Kokkos::store_vector(), and tol.
|
static |
Definition at line 96 of file kokkos_tensor_ops_oracle_fixtures.h.
Referenced by test_dim_ops().
|
staticconstexpr |
Definition at line 31 of file kokkos_tensor_ops_oracle_fixtures.h.
Referenced by test_dim_ops(), test_linalg_foundation_storage_roundtrip(), test_mixed_representation_ops(), test_tensor_host_only_ops(), and test_tensor_ops().