www.mooseframework.org
ParsedMaterialBase.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef PARSEDMATERIALBASE_H
8 #define PARSEDMATERIALBASE_H
9 
10 #include "InputParameters.h"
11 
12 // Forward Declarations
13 class ParsedMaterialBase;
14 
15 template <>
16 InputParameters validParams<ParsedMaterialBase>();
17 
23 {
24 public:
25  ParsedMaterialBase(const InputParameters & parameters);
26 
27 protected:
29  std::string _function;
30 
32  std::vector<std::string> _constant_names;
33  std::vector<std::string> _constant_expressions;
34 
36  std::vector<std::string> _tol_names;
37  std::vector<Real> _tol_values;
38 };
39 
40 #endif // PARSEDMATERIALBASE_H
std::vector< std::string > _constant_expressions
std::vector< std::string > _constant_names
constant vectors
std::string _function
function expression
InputParameters validParams< ParsedMaterialBase >()
Helper class for ParsedMaterial and DerivativeParsedMaterial to declare and read the input parameters...
std::vector< std::string > _tol_names
tolerance vectors
ParsedMaterialBase(const InputParameters &parameters)
std::vector< Real > _tol_values