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
EnthalpyPmrSrcNodeSuppAlg.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 EnthalpyPmrSrcNodeSuppAlg_h
10 #define EnthalpyPmrSrcNodeSuppAlg_h
11 
12 #include <SupplementalAlgorithm.h>
13 #include <FieldTypeDef.h>
14 
15 #include <stk_mesh/base/Entity.hpp>
16 
17 namespace sierra{
18 namespace nalu{
19 
20 class Realm;
21 
23 {
24 public:
25 
27  Realm &realm);
28 
30 
31  virtual void setup() {}
32 
33  virtual void node_execute(
34  double *lhs,
35  double *rhs,
36  stk::mesh::Entity node);
37 
40 
41 };
42 
43 } // namespace nalu
44 } // namespace Sierra
45 
46 #endif
Definition: ABLForcingAlgorithm.C:26
ScalarFieldType * dualNodalVolume_
Definition: EnthalpyPmrSrcNodeSuppAlg.h:39
static constexpr double lhs[8][8]
Definition: UnitTestContinuityAdvElem.C:25
stk::mesh::Field< double > ScalarFieldType
Definition: FieldTypeDef.h:19
static constexpr double rhs[8]
Definition: UnitTestContinuityAdvElem.C:18
EnthalpyPmrSrcNodeSuppAlg(Realm &realm)
Definition: EnthalpyPmrSrcNodeSuppAlg.C:31
virtual void setup()
Definition: EnthalpyPmrSrcNodeSuppAlg.h:31
Definition: EnthalpyPmrSrcNodeSuppAlg.h:22
ScalarFieldType * divRadFlux_
Definition: EnthalpyPmrSrcNodeSuppAlg.h:38
virtual ~EnthalpyPmrSrcNodeSuppAlg()
Definition: EnthalpyPmrSrcNodeSuppAlg.h:29
virtual void node_execute(double *lhs, double *rhs, stk::mesh::Entity node)
Definition: EnthalpyPmrSrcNodeSuppAlg.C:47
Definition: Realm.h:82
Definition: SupplementalAlgorithm.h:24