![]() |
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_io/StkMeshIoBroker.hpp>#include <stk_util/parallel/Parallel.hpp>#include <stk_mesh/base/FieldParallel.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 <stk_unit_tests/stk_mesh_fixtures/QuadFixture.hpp>#include <stk_mesh/base/SkinMesh.hpp>#include <master_element/MasterElementHO.h>#include <element_promotion/PromotedPartHelper.h>#include <element_promotion/PromoteElement.h>#include <element_promotion/PromotedElementIO.h>#include <nalu_make_unique.h>#include <NaluEnv.h>#include <BucketLoop.h>#include <random>#include "../include/element_promotion/ElementDescription.h"#include "UnitTestUtils.h"Classes | |
| class | PromoteElementQuadTestV2 |
Namespaces | |
| anonymous_namespace{UnitTestQuadElementPromotion.C} | |
Typedefs | |
| typedef stk::mesh::Field< double > | anonymous_namespace{UnitTestQuadElementPromotion.C}::ScalarFieldType |
| typedef stk::mesh::Field< int > | anonymous_namespace{UnitTestQuadElementPromotion.C}::ScalarIntFieldType |
| typedef stk::mesh::Field< double, stk::mesh::Cartesian > | anonymous_namespace{UnitTestQuadElementPromotion.C}::VectorFieldType |
Functions | |
| size_t | anonymous_namespace{UnitTestQuadElementPromotion.C}::count_nodes (const stk::mesh::BulkData &bulk, const stk::mesh::Selector &selector) |
| double | anonymous_namespace{UnitTestQuadElementPromotion.C}::linear (double a, const double *b, const double *coords) |
| TEST_F (PromoteElementQuadTestV2, node_count) | |
| TEST_F (PromoteElementQuadTestV2, node_sharing) | |
| TEST_F (PromoteElementQuadTestV2, coordinate_check) | |
| TEST_F (PromoteElementQuadTestV2, p1_promotion) | |
| TEST_F (PromoteElementQuadTestV2, png) | |
| TEST_F | ( | PromoteElementQuadTestV2 | , |
| node_count | |||
| ) |
References PromoteElementQuadTestV2::baseParts, PromoteElementQuadTestV2::bulk, PromoteElementQuadTestV2::coordField, anonymous_namespace{UnitTestQuadElementPromotion.C}::count_nodes(), PromoteElementQuadTestV2::edgePart, PromoteElementQuadTestV2::elemDesc, PromoteElementQuadTestV2::expected_node_count(), PromoteElementQuadTestV2::meta, PromoteElementQuadTestV2::output_mesh(), sierra::nalu::promotion::promote_elements(), and PromoteElementQuadTestV2::SetUp().
| TEST_F | ( | PromoteElementQuadTestV2 | , |
| node_sharing | |||
| ) |
References PromoteElementQuadTestV2::baseParts, PromoteElementQuadTestV2::bulk, PromoteElementQuadTestV2::coordField, PromoteElementQuadTestV2::edgePart, PromoteElementQuadTestV2::elemDesc, PromoteElementQuadTestV2::intField, sierra::nalu::promotion::promote_elements(), and PromoteElementQuadTestV2::SetUp().
| TEST_F | ( | PromoteElementQuadTestV2 | , |
| coordinate_check | |||
| ) |
References PromoteElementQuadTestV2::baseParts, PromoteElementQuadTestV2::bulk, PromoteElementQuadTestV2::coordField, PromoteElementQuadTestV2::edgePart, PromoteElementQuadTestV2::elemDesc, PromoteElementQuadTestV2::fixture, sierra::nalu::promotion::promote_elements(), PromoteElementQuadTestV2::SetUp(), sierra::nalu::super_elem_part(), and tol.
| TEST_F | ( | PromoteElementQuadTestV2 | , |
| p1_promotion | |||
| ) |
References PromoteElementQuadTestV2::baseParts, PromoteElementQuadTestV2::bulk, PromoteElementQuadTestV2::coordField, anonymous_namespace{UnitTestQuadElementPromotion.C}::count_nodes(), PromoteElementQuadTestV2::edgePart, PromoteElementQuadTestV2::elemDesc, PromoteElementQuadTestV2::meta, sierra::nalu::promotion::promote_elements(), and PromoteElementQuadTestV2::SetUp().
| TEST_F | ( | PromoteElementQuadTestV2 | , |
| png | |||
| ) |
References PromoteElementQuadTestV2::baseParts, sierra::nalu::bucket_loop(), PromoteElementQuadTestV2::bulk, PromoteElementQuadTestV2::compute_dual_nodal_volume(), PromoteElementQuadTestV2::compute_projected_nodal_gradient_boundary(), PromoteElementQuadTestV2::compute_projected_nodal_gradient_interior(), PromoteElementQuadTestV2::coordField, PromoteElementQuadTestV2::dnvField, PromoteElementQuadTestV2::dqdxField, PromoteElementQuadTestV2::edgePart, PromoteElementQuadTestV2::elemDesc, PromoteElementQuadTestV2::initialize_linear_scalar_field(), PromoteElementQuadTestV2::output_mesh(), sierra::nalu::promotion::promote_elements(), PromoteElementQuadTestV2::SetUp(), PromoteElementQuadTestV2::superParts, and tol.
1.8.11