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
ScalarGclNodeSuppAlg.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 ScalarGclNodeSuppAlg_h
10 #define ScalarGclNodeSuppAlg_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  ScalarFieldType *scalarQNp1,
28  Realm &realm);
29 
30  virtual ~ScalarGclNodeSuppAlg() {}
31 
32  virtual void setup();
33 
34  virtual void node_execute(
35  double *lhs,
36  double *rhs,
37  stk::mesh::Entity node);
38 
43 
44 };
45 
46 } // namespace nalu
47 } // namespace Sierra
48 
49 #endif
ScalarFieldType * densityNp1_
Definition: ScalarGclNodeSuppAlg.h:40
Definition: ABLForcingAlgorithm.C:26
ScalarGclNodeSuppAlg(ScalarFieldType *scalarQNp1, Realm &realm)
Definition: ScalarGclNodeSuppAlg.C:32
Definition: ScalarGclNodeSuppAlg.h:22
virtual ~ScalarGclNodeSuppAlg()
Definition: ScalarGclNodeSuppAlg.h:30
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
ScalarFieldType * scalarQNp1_
Definition: ScalarGclNodeSuppAlg.h:39
virtual void node_execute(double *lhs, double *rhs, stk::mesh::Entity node)
Definition: ScalarGclNodeSuppAlg.C:62
ScalarFieldType * divV_
Definition: ScalarGclNodeSuppAlg.h:41
Definition: Realm.h:82
Definition: SupplementalAlgorithm.h:24
virtual void setup()
Definition: ScalarGclNodeSuppAlg.C:53
ScalarFieldType * dualNodalVolume_
Definition: ScalarGclNodeSuppAlg.h:42