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
PstabErrorIndicatorElemAlgorithm.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 PstabErrorIndicatorElemAlgorithm_h
10 #define PstabErrorIndicatorElemAlgorithm_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,
30  ScalarFieldType *pressure,
31  VectorFieldType *Gpdx,
32  const bool simpleGradApproach = false);
34 
35  void execute();
36 
37  // extract fields; nodal
42 
44 
45 };
46 
47 } // namespace nalu
48 } // namespace Sierra
49 
50 #endif
~PstabErrorIndicatorElemAlgorithm()
Definition: PstabErrorIndicatorElemAlgorithm.C:206
Definition: ABLForcingAlgorithm.C:26
ScalarFieldType * pressure_
Definition: PstabErrorIndicatorElemAlgorithm.h:38
stk::mesh::Field< double, stk::mesh::SimpleArrayTag > GenericFieldType
Definition: FieldTypeDef.h:27
VectorFieldType * coordinates_
Definition: PstabErrorIndicatorElemAlgorithm.h:40
stk::mesh::Field< double, stk::mesh::Cartesian > VectorFieldType
Definition: FieldTypeDef.h:24
PstabErrorIndicatorElemAlgorithm(Realm &realm, stk::mesh::Part *part, ScalarFieldType *pressure, VectorFieldType *Gpdx, const bool simpleGradApproach=false)
Definition: PstabErrorIndicatorElemAlgorithm.C:35
void execute()
Definition: PstabErrorIndicatorElemAlgorithm.C:58
stk::mesh::Field< double > ScalarFieldType
Definition: FieldTypeDef.h:19
Definition: PstabErrorIndicatorElemAlgorithm.h:23
Definition: Algorithm.h:28
Definition: Realm.h:82
GenericFieldType * pstabEI_
Definition: PstabErrorIndicatorElemAlgorithm.h:41
const double simpleGradApproachScale_
Definition: PstabErrorIndicatorElemAlgorithm.h:43
VectorFieldType * Gpdx_
Definition: PstabErrorIndicatorElemAlgorithm.h:39