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
SimpleErrorIndicatorElemAlgorithm.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 SimpleErrorIndicatorElemAlgorithm_h
10 #define SimpleErrorIndicatorElemAlgorithm_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 
34  // extract fields; nodal
39 
40 };
41 
42 } // namespace nalu
43 } // namespace Sierra
44 
45 #endif
Definition: ABLForcingAlgorithm.C:26
stk::mesh::Field< double, stk::mesh::SimpleArrayTag > GenericFieldType
Definition: FieldTypeDef.h:27
Definition: SimpleErrorIndicatorElemAlgorithm.h:23
VectorFieldType * coordinates_
Definition: SimpleErrorIndicatorElemAlgorithm.h:36
stk::mesh::Field< double, stk::mesh::Cartesian > VectorFieldType
Definition: FieldTypeDef.h:24
VectorFieldType * velocity_
Definition: SimpleErrorIndicatorElemAlgorithm.h:35
SimpleErrorIndicatorElemAlgorithm(Realm &realm, stk::mesh::Part *part)
Definition: SimpleErrorIndicatorElemAlgorithm.C:41
void execute()
Definition: SimpleErrorIndicatorElemAlgorithm.C:58
Definition: Algorithm.h:28
~SimpleErrorIndicatorElemAlgorithm()
Definition: SimpleErrorIndicatorElemAlgorithm.C:218
GenericFieldType * dudx_
Definition: SimpleErrorIndicatorElemAlgorithm.h:37
Definition: Realm.h:82
GenericFieldType * errorIndicatorField_
Definition: SimpleErrorIndicatorElemAlgorithm.h:38