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
UpdateOversetFringeAlgorithmDriver.h
Go to the documentation of this file.
1 /*------------------------------------------------------------------------*/
2 /* Copyright 2014 National Renewable Energy Laboratory. */
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 UPDATEOVERSETFRINGEALGORITHMDRIVER_H
9 #define UPDATEOVERSETFRINGEALGORITHMDRIVER_H
10 
11 #include "AlgorithmDriver.h"
12 
13 
14 #include <memory>
15 #include <vector>
16 
17 namespace stk {
18 namespace mesh {
19 class FieldBase;
20 }
21 }
22 
23 namespace sierra {
24 namespace nalu {
25 
26 class Realm;
27 
29 {
30  OversetFieldData(stk::mesh::FieldBase* field, int sizeRow=1, int sizeCol=1)
31  : field_(field),
32  sizeRow_(sizeRow),
33  sizeCol_(sizeCol)
34  {}
35 
36  stk::mesh::FieldBase* field_;
37  int sizeRow_;
38  int sizeCol_;
39 };
40 
42 {
43 public:
45 
47 
48  virtual void pre_work();
49 
50  std::vector<std::unique_ptr<OversetFieldData>> fields_;
51 };
52 
53 } // nalu
54 } // sierra
55 
56 #endif /* UPDATEOVERSETFRINGEALGORITHMDRIVER_H */
int sizeRow_
Definition: UpdateOversetFringeAlgorithmDriver.h:37
Definition: ABLForcingAlgorithm.C:26
Definition: UpdateOversetFringeAlgorithmDriver.h:41
OversetFieldData(stk::mesh::FieldBase *field, int sizeRow=1, int sizeCol=1)
Definition: UpdateOversetFringeAlgorithmDriver.h:30
Definition: Algorithm.h:14
Definition: UpdateOversetFringeAlgorithmDriver.h:28
Definition: AlgorithmDriver.h:22
std::vector< std::unique_ptr< OversetFieldData > > fields_
Definition: UpdateOversetFringeAlgorithmDriver.h:50
Definition: Realm.h:82
stk::mesh::FieldBase * field_
Definition: UpdateOversetFringeAlgorithmDriver.h:36
int sizeCol_
Definition: UpdateOversetFringeAlgorithmDriver.h:38