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
SteadyTaylorVortexPressureAuxFunction.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 SteadyTaylorVortexPressureAuxFunction_h
9 #define SteadyTaylorVortexPressureAuxFunction_h
10 
11 #include <AuxFunction.h>
12 
13 #include <vector>
14 
15 namespace sierra{
16 namespace nalu{
17 
19 {
20 public:
21 
23 
25 
26  virtual void do_evaluate(
27  const double * coords,
28  const double time,
29  const unsigned spatialDimension,
30  const unsigned numPoints,
31  double * fieldPtr,
32  const unsigned fieldSize,
33  const unsigned beginPos,
34  const unsigned endPos) const;
35 
36 private:
37  const double pnot_;
38  const double a_;
39  const double pi_;
40 };
41 
42 } // namespace nalu
43 } // namespace Sierra
44 
45 #endif
const double pnot_
Definition: SteadyTaylorVortexPressureAuxFunction.h:37
Definition: ABLForcingAlgorithm.C:26
virtual ~SteadyTaylorVortexPressureAuxFunction()
Definition: SteadyTaylorVortexPressureAuxFunction.h:24
SteadyTaylorVortexPressureAuxFunction()
Definition: SteadyTaylorVortexPressureAuxFunction.C:20
virtual void do_evaluate(const double *coords, const double time, const unsigned spatialDimension, const unsigned numPoints, double *fieldPtr, const unsigned fieldSize, const unsigned beginPos, const unsigned endPos) const
Definition: SteadyTaylorVortexPressureAuxFunction.C:30
const double pi_
Definition: SteadyTaylorVortexPressureAuxFunction.h:39
const double a_
Definition: SteadyTaylorVortexPressureAuxFunction.h:38
Definition: SteadyTaylorVortexPressureAuxFunction.h:18
Definition: AuxFunction.h:15