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
LimiterErrorIndicatorElemAlgorithm.h
Go to the documentation of this file.
1 /*------------------------------------------------------------------------*/
2 /* Copyright 2014 Sandia Corporation. */
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 
9 #ifndef LimiterErrorIndicatorElemAlgorithm_h
10 #define LimiterErrorIndicatorElemAlgorithm_h
11 
12 #include<Algorithm.h>
13 #include<FieldTypeDef.h>
14 
15 // stk
16 #include <stk_mesh/base/Part.hpp>
17 
18 namespace sierra{
19 namespace nalu{
20 
21 class Realm;
22 
24 {
25 public:
26 
28  Realm &realm,
29  stk::mesh::Part *part);
31 
32  void execute();
33  double van_leer(
34  const double &dqm,
35  const double &dqp,
36  const double &small);
37 
38  // extract fields; nodal
43 
44 };
45 
46 } // namespace nalu
47 } // namespace Sierra
48 
49 #endif
Definition: ABLForcingAlgorithm.C:26
VectorFieldType * coordinates_
Definition: LimiterErrorIndicatorElemAlgorithm.h:40
stk::mesh::Field< double, stk::mesh::SimpleArrayTag > GenericFieldType
Definition: FieldTypeDef.h:27
stk::mesh::Field< double, stk::mesh::Cartesian > VectorFieldType
Definition: FieldTypeDef.h:24
LimiterErrorIndicatorElemAlgorithm(Realm &realm, stk::mesh::Part *part)
Definition: LimiterErrorIndicatorElemAlgorithm.C:36
~LimiterErrorIndicatorElemAlgorithm()
Definition: LimiterErrorIndicatorElemAlgorithm.C:193
VectorFieldType * velocity_
Definition: LimiterErrorIndicatorElemAlgorithm.h:39
Definition: LimiterErrorIndicatorElemAlgorithm.h:23
Definition: Algorithm.h:28
GenericFieldType * dudx_
Definition: LimiterErrorIndicatorElemAlgorithm.h:41
double van_leer(const double &dqm, const double &dqp, const double &small)
Definition: LimiterErrorIndicatorElemAlgorithm.C:202
Definition: Realm.h:82
GenericFieldType * LimiterEI_
Definition: LimiterErrorIndicatorElemAlgorithm.h:42
void execute()
Definition: LimiterErrorIndicatorElemAlgorithm.C:53