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
PolynomialPropertyEvaluator.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 PolynomialPropertyEvaluator_h
10 #define PolynomialPropertyEvaluator_h
11 
13 #include <FieldTypeDef.h>
14 
15 #include <string>
16 #include <map>
17 #include <vector>
18 
19 namespace stk {
20 namespace mesh {
21 struct Entity;
22 }
23 }
24 
25 namespace sierra{
26 namespace nalu{
27 
28 class ReferencePropertyData;
29 
31 {
32 public:
33 
35  const std::map<std::string, ReferencePropertyData*> &referencePropertyDataMap,
36  const std::map<std::string, std::vector<double> > &lowPolynomialCoeffsMap,
37  const std::map<std::string, std::vector<double> > &highPolynomialCoeffsMap,
38  double universalR);
39  virtual ~PolynomialPropertyEvaluator();
40 
41  virtual double execute(
42  double *indVarList,
43  stk::mesh::Entity node) = 0;
44 
45  const double universalR_;
46  const size_t ykVecSize_;
47  const double TlowHigh_;
48 
49  std::vector<double> mw_;
50  std::vector<std::vector<double> > lowPolynomialCoeffs_;
51  std::vector<std::vector<double> > highPolynomialCoeffs_;
52 
53 };
54 
55 } // namespace nalu
56 } // namespace Sierra
57 
58 #endif
std::vector< std::vector< double > > highPolynomialCoeffs_
Definition: PolynomialPropertyEvaluator.h:51
Definition: ABLForcingAlgorithm.C:26
std::vector< std::vector< double > > lowPolynomialCoeffs_
Definition: PolynomialPropertyEvaluator.h:50
std::vector< double > mw_
Definition: PolynomialPropertyEvaluator.h:49
Definition: Algorithm.h:14
const double universalR_
Definition: PolynomialPropertyEvaluator.h:45
Definition: PolynomialPropertyEvaluator.h:30
const size_t ykVecSize_
Definition: PolynomialPropertyEvaluator.h:46
Definition: PropertyEvaluator.h:19
const double TlowHigh_
Definition: PolynomialPropertyEvaluator.h:47