![]() |
Nalu
Nalu: a generalized unstructured massively parallel low Mach flow code designed to support a variety of energy applications of interest (most notably Wind ECP) built on the Sierra Toolkit and Trilinos solver Tpetra/Epetra stack. The open source BSD, clause 3 license model has been chosen for the code base. See LICENSE for more information. http://NaluCFD.org
|
#include <gtest/gtest.h>#include <limits>#include <stk_util/parallel/Parallel.hpp>#include <stk_mesh/base/MetaData.hpp>#include <stk_mesh/base/BulkData.hpp>#include <stk_mesh/base/Bucket.hpp>#include <stk_mesh/base/CoordinateSystems.hpp>#include <stk_mesh/base/FieldBase.hpp>#include <stk_mesh/base/Field.hpp>#include <stk_mesh/base/GetEntities.hpp>#include <master_element/MasterElement.h>#include <master_element/Hex27CVFEM.h>#include <AlgTraits.h>#include <memory>#include <random>#include <chrono>#include <UnitTestUtils.h>Namespaces | |
| anonymous_namespace{UnitTestNGPMasterElements.C} | |
Typedefs | |
| using | clock_type = std::chrono::steady_clock |
| using | VectorFieldType = stk::mesh::Field< double, stk::mesh::Cartesian > |
Functions | |
| double | anonymous_namespace{UnitTestNGPMasterElements.C}::linear_scalar_value (int dim, double a, const double *b, const double *x) |
| TEST (MasterElementFunctions, generic_grad_op_3d_hex_27) | |
| TEST (Hex27SCV, detj) | |
| TEST (Hex27SCS, area_vec) | |
| using clock_type = std::chrono::steady_clock |
| using VectorFieldType = stk::mesh::Field<double, stk::mesh::Cartesian> |
| TEST | ( | MasterElementFunctions | , |
| generic_grad_op_3d_hex_27 | |||
| ) |
References sierra::nalu::HexahedralP2Element::copy_deriv_weights_to_view(), unit_test_utils::create_one_reference_element(), anonymous_namespace{UnitTestNGPMasterElements.C}::linear_scalar_value(), sierra::nalu::MasterElement::nDim_, sierra::nalu::MasterElement::nodesPerElement_, sierra::nalu::MasterElement::numIntPoints_, and tol.
| TEST | ( | Hex27SCV | , |
| detj | |||
| ) |
References sierra::nalu::HexahedralP2Element::copy_deriv_weights_to_view(), unit_test_utils::create_one_reference_element(), sierra::nalu::MasterElement::nDim_, sierra::nalu::MasterElement::nodesPerElement_, sierra::nalu::MasterElement::numIntPoints_, tol, and sierra::nalu::Hex27SCV::weighted_volumes().
| TEST | ( | Hex27SCS | , |
| area_vec | |||
| ) |
References sierra::nalu::HexahedralP2Element::copy_deriv_weights_to_view(), unit_test_utils::create_one_reference_element(), sierra::nalu::MasterElement::nDim_, sierra::nalu::MasterElement::nodesPerElement_, sierra::nalu::MasterElement::numIntPoints_, tol, and sierra::nalu::Hex27SCS::weighted_area_vectors().
1.8.11