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
Namespaces | Typedefs | Functions
UnitTestMetricTensor.C File Reference
#include <gtest/gtest.h>
#include <limits>
#include <stdexcept>
#include <random>
#include <tuple>
#include <ostream>
#include <memory>
#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/GetEntities.hpp>
#include <stk_mesh/base/Field.hpp>
#include <stk_mesh/base/FieldBase.hpp>
#include <stk_mesh/base/CoordinateSystems.hpp>
#include <master_element/MasterElement.h>
#include <master_element/MasterElementFunctions.h>
#include <master_element/Hex27CVFEM.h>
#include <master_element/TensorOps.h>
#include <NaluEnv.h>
#include <AlgTraits.h>
#include "UnitTestUtils.h"

Namespaces

 anonymous_namespace{UnitTestMetricTensor.C}
 

Typedefs

using anonymous_namespace{UnitTestMetricTensor.C}::VectorFieldType = stk::mesh::Field< double, stk::mesh::Cartesian >
 

Functions

std::pair< std::vector< double >, std::vector< double > > anonymous_namespace{UnitTestMetricTensor.C}::calculate_metric_tensor (sierra::nalu::MasterElement &me, const std::vector< double > &ws_coords)
 
void anonymous_namespace{UnitTestMetricTensor.C}::test_metric_for_topo_2D (stk::topology topo, double tol)
 
void anonymous_namespace{UnitTestMetricTensor.C}::test_metric_for_topo_3D (stk::topology topo, double tol)
 
 TEST (MetricTensor, tri3)
 
 TEST (MetricTensor, quad4)
 
 TEST (MetricTensor, quad9)
 
 TEST (MetricTensor, tet4)
 
 TEST (MetricTensor, wedge6)
 
 TEST (MetricTensor, hex8)
 
 TEST (MetricTensor, hex27)
 
 TEST (MetricTensorNGP, hex27)
 

Function Documentation

TEST ( MetricTensor  ,
tri3   
)
TEST ( MetricTensor  ,
quad4   
)
TEST ( MetricTensor  ,
quad9   
)
TEST ( MetricTensor  ,
tet4   
)
TEST ( MetricTensor  ,
wedge6   
)
TEST ( MetricTensor  ,
hex8   
)
TEST ( MetricTensor  ,
hex27   
)
TEST ( MetricTensorNGP  ,
hex27   
)