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