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
AssembleScalarElemDiffSolverAlgorithm.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 
10 #ifndef AssembleScalarElemDiffSolverAlgorithm_h
11 #define AssembleScalarElemDiffSolverAlgorithm_h
12 
13 #include<SolverAlgorithm.h>
14 #include<FieldTypeDef.h>
15 
16 namespace stk {
17 namespace mesh {
18 class Part;
19 }
20 }
21 
22 namespace sierra{
23 namespace nalu{
24 
25 class Realm;
26 
28 {
29 public:
30 
32  Realm &realm,
33  stk::mesh::Part *part,
34  EquationSystem *eqSystem,
35  ScalarFieldType *scalarQ,
36  VectorFieldType *dqdx,
37  ScalarFieldType *diffFluxCoeff);
39  virtual void initialize_connectivity();
40  virtual void execute();
41 
42 private:
43 
47 
48  const bool shiftedGradOp_;
49 };
50 
51 } // namespace nalu
52 } // namespace Sierra
53 
54 #endif
ScalarFieldType * scalarQ_
Definition: AssembleScalarElemDiffSolverAlgorithm.h:44
Definition: ABLForcingAlgorithm.C:26
Definition: SolverAlgorithm.h:24
Definition: Algorithm.h:14
stk::mesh::Field< double, stk::mesh::Cartesian > VectorFieldType
Definition: FieldTypeDef.h:24
ScalarFieldType * diffFluxCoeff_
Definition: AssembleScalarElemDiffSolverAlgorithm.h:45
virtual ~AssembleScalarElemDiffSolverAlgorithm()
Definition: AssembleScalarElemDiffSolverAlgorithm.h:38
Base class representation of a PDE.
Definition: EquationSystem.h:46
stk::mesh::Field< double > ScalarFieldType
Definition: FieldTypeDef.h:19
Definition: AssembleScalarElemDiffSolverAlgorithm.h:27
Definition: Realm.h:82
const bool shiftedGradOp_
Definition: AssembleScalarElemDiffSolverAlgorithm.h:48
VectorFieldType * coordinates_
Definition: AssembleScalarElemDiffSolverAlgorithm.h:46