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
UnitTestRealm.h
Go to the documentation of this file.
1 /*------------------------------------------------------------------------*/
2 /* Copyright 2014 National Renewable Energy Laboratory. */
3 /* This software is released under the license detailed */
4 /* in the file, LICENSE, which is located in the top-level Nalu */
5 /* directory structure */
6 /*------------------------------------------------------------------------*/
7 
8 #ifndef UNITTESTREALM_H
9 #define UNITTESTREALM_H
10 
11 #include "Simulation.h"
12 #include "Realm.h"
13 
14 #include <stk_mesh/base/BulkData.hpp>
15 #include <stk_mesh/base/MetaData.hpp>
16 
17 #include "yaml-cpp/yaml.h"
18 
19 namespace unit_test_utils {
20 
22 
24 
25 class NaluTest
26 {
27 public:
29 
31  const YAML::Node&,
32  const std::string realm_type="multi_physics");
33 
35  stk::ParallelMachine comm_;
36  unsigned spatialDim_;
38 
40 
41 private:
42  NaluTest() = delete;
43  NaluTest(const NaluTest&) = delete;
44 };
45 
46 } // unit_test_utils
47 
48 #endif /* UNITTESTREALM_H */
stk::mesh::PartVector partVec_
Definition: UnitTestRealm.h:39
std::vector< Part * > PartVector
Definition: Algorithm.h:16
Definition: Simulation.h:28
YAML::Node get_realm_default_node()
Definition: UnitTestRealm.C:101
Definition: UnitTestFieldUtils.C:10
unsigned spatialDim_
Definition: UnitTestRealm.h:36
sierra::nalu::Realm & create_realm(const YAML::Node &, const std::string realm_type="multi_physics")
Definition: UnitTestRealm.C:131
YAML::Node doc_
Definition: UnitTestRealm.h:34
Tpetra::Map< LocalOrdinal, GlobalOrdinal >::node_type Node
Definition: LinearSolver.h:32
Definition: UnitTestRealm.h:25
YAML::Node get_default_inputs()
Definition: UnitTestRealm.C:95
Definition: Realm.h:82
stk::ParallelMachine comm_
Definition: UnitTestRealm.h:35
sierra::nalu::Simulation sim_
Definition: UnitTestRealm.h:37