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
AuxFunctionAlgorithm.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 AuxFunctionAlgorithm_h
9 #define AuxFunctionAlgorithm_h
10 
11 #include <Algorithm.h>
12 
13 #include <vector>
14 #include <stk_mesh/base/Types.hpp>
15 
16 namespace stk{
17 namespace mesh{
18 class Part;
19 class FieldBase;
20 class Selector;
21 
22 typedef std::vector< Part * > PartVector;
23 }
24 }
25 
26 namespace sierra{
27 namespace nalu{
28 
29 class AuxFunction;
30 
32 {
33 public:
34 
36  Realm & realm,
37  stk::mesh::Part * part,
38  stk::mesh::FieldBase * field,
39  AuxFunction * auxFunction,
40  stk::mesh::EntityRank entityRank);
41 
42  virtual ~AuxFunctionAlgorithm();
43  virtual void execute();
44 
45 private:
46  stk::mesh::FieldBase * field_;
48  stk::mesh::EntityRank entityRank_;
49 
50 private:
51  // make this non-copyable
53  AuxFunctionAlgorithm & operator=(const AuxFunctionAlgorithm & other);
54 };
55 
56 } // namespace nalu
57 } // namespace Sierra
58 
59 #endif
std::vector< Part * > PartVector
Definition: Algorithm.h:16
Definition: ABLForcingAlgorithm.C:26
stk::mesh::FieldBase * field_
Definition: AuxFunctionAlgorithm.h:46
Definition: AuxFunctionAlgorithm.h:31
Definition: Algorithm.h:14
stk::mesh::EntityRank entityRank_
Definition: AuxFunctionAlgorithm.h:48
Definition: Algorithm.h:28
Definition: Realm.h:82
AuxFunction * auxFunction_
Definition: AuxFunctionAlgorithm.h:47
Definition: AuxFunction.h:15