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
ErrorIndicatorAlgorithmDriver.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 #ifndef ErrorIndicatorAlgorithmDriver_h
9 #define ErrorIndicatorAlgorithmDriver_h
10 
11 #include <AlgorithmDriver.h>
12 #include <FieldTypeDef.h>
13 
14 #if defined (NALU_USES_PERCEPT)
15 #include <percept/FieldTypes.hpp>
16 #endif
17 
18 namespace sierra{
19 namespace nalu{
20 
21 class Realm;
22 
24 {
25 public:
26 
28  Realm &realm);
30 
31  void pre_work();
32  void post_work();
33 
34 public:
35 
36 #if defined (NALU_USES_PERCEPT)
38  percept::RefineFieldType *refineField_;
39  percept::RefineFieldType *refineFieldOrig_;
40  percept::RefineLevelType *refineLevelField_;
41 #else
46 #endif
47 
49 };
50 
51 } // namespace nalu
52 } // namespace Sierra
53 
54 #endif
55 
~ErrorIndicatorAlgorithmDriver()
Definition: ErrorIndicatorAlgorithmDriver.C:71
Definition: ABLForcingAlgorithm.C:26
void post_work()
Definition: ErrorIndicatorAlgorithmDriver.C:90
ScalarFieldType * refineLevelField_
Definition: ErrorIndicatorAlgorithmDriver.h:45
stk::mesh::Field< double, stk::mesh::SimpleArrayTag > GenericFieldType
Definition: FieldTypeDef.h:27
ScalarFieldType * refineField_
Definition: ErrorIndicatorAlgorithmDriver.h:43
double maxErrorIndicator_
Definition: ErrorIndicatorAlgorithmDriver.h:48
stk::mesh::Field< double > ScalarFieldType
Definition: FieldTypeDef.h:19
GenericFieldType * errorIndicator_
Definition: ErrorIndicatorAlgorithmDriver.h:42
Definition: AlgorithmDriver.h:22
void pre_work()
Definition: ErrorIndicatorAlgorithmDriver.C:80
Definition: Realm.h:82
ErrorIndicatorAlgorithmDriver(Realm &realm)
Definition: ErrorIndicatorAlgorithmDriver.C:50
ScalarFieldType * refineFieldOrig_
Definition: ErrorIndicatorAlgorithmDriver.h:44
Definition: ErrorIndicatorAlgorithmDriver.h:23