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
Classes | Namespaces | Typedefs | Functions | Variables
UnitTestUtils.h File Reference
#include <string>
#include <ostream>
#include <SimdInterface.h>
#include <stk_mesh/base/BulkData.hpp>
#include <stk_topology/topology.hpp>
#include <stk_mesh/base/FieldBLAS.hpp>
#include <stk_mesh/base/Field.hpp>
#include <stk_mesh/base/CoordinateSystems.hpp>
#include <Kokkos_Core.hpp>
#include <master_element/Hex8CVFEM.h>

Go to the source code of this file.

Classes

class  Hex8Mesh
 
class  Hex8MeshWithNSOFields
 

Namespaces

 stk
 
 stk::mesh
 
 unit_test_utils
 

Typedefs

typedef stk::mesh::Field< double > ScalarFieldType
 
typedef stk::mesh::Field< double, stk::mesh::Cartesian > VectorFieldType
 
typedef stk::mesh::Field< double, stk::mesh::Cartesian, stk::mesh::Cartesian > TensorFieldType
 
typedef stk::mesh::Field< double, stk::mesh::SimpleArrayTag > GenericFieldType
 
typedef sierra::nalu::DoubleType DoubleType
 

Functions

void unit_test_utils::fill_mesh_1_elem_per_proc_hex8 (stk::mesh::BulkData &bulk)
 
void unit_test_utils::fill_hex8_mesh (const std::string &meshSpec, stk::mesh::BulkData &bulk)
 
void unit_test_utils::perturb_coord_hex_8 (stk::mesh::BulkData &bulk, double perturbSize)
 
void unit_test_utils::fill_and_promote_hex_mesh (const std::string &meshSpec, stk::mesh::BulkData &bulk, int polyOrder)
 
void unit_test_utils::dump_mesh (stk::mesh::BulkData &bulk, std::vector< stk::mesh::FieldBase * > fields)
 
void unit_test_utils::dump_promoted_mesh_file (stk::mesh::BulkData &bulk, int polyOrder)
 
std::ostream & unit_test_utils::nalu_out ()
 
stk::mesh::Entity unit_test_utils::create_one_reference_element (stk::mesh::BulkData &bulk, stk::topology topo)
 
stk::mesh::Entity unit_test_utils::create_one_perturbed_element (stk::mesh::BulkData &bulk, stk::topology topo)
 
double unit_test_utils::quadratic (double a, const double *b, const double *H, const double *x)
 
double unit_test_utils::vector_norm (const std::vector< double > &vec, const stk::ParallelMachine &comm)
 
double unit_test_utils::global_norm (const double &norm, const size_t &N, const stk::ParallelMachine &comm)
 
double unit_test_utils::initialize_quadratic_scalar_field (const stk::mesh::BulkData &bulk, const VectorFieldType &coordField, const ScalarFieldType &qField)
 

Variables

const double tol = 1.e-10
 

Typedef Documentation

typedef stk::mesh::Field<double, stk::mesh::SimpleArrayTag> GenericFieldType
typedef stk::mesh::Field<double> ScalarFieldType
typedef stk::mesh::Field<double,stk::mesh::Cartesian,stk::mesh::Cartesian> TensorFieldType
typedef stk::mesh::Field<double,stk::mesh::Cartesian> VectorFieldType

Variable Documentation

const double tol = 1.e-10