www.mooseframework.org
Public Member Functions | Protected Attributes | List of all members
ParsedMaterialBase Class Reference

Helper class for ParsedMaterial and DerivativeParsedMaterial to declare and read the input parameters. More...

#include <ParsedMaterialBase.h>

Inheritance diagram for ParsedMaterialBase:
[legend]

Public Member Functions

 ParsedMaterialBase (const InputParameters &parameters)
 

Protected Attributes

std::string _function
 function expression More...
 
std::vector< std::string > _constant_names
 constant vectors More...
 
std::vector< std::string > _constant_expressions
 
std::vector< std::string > _tol_names
 tolerance vectors More...
 
std::vector< Real > _tol_values
 

Detailed Description

Helper class for ParsedMaterial and DerivativeParsedMaterial to declare and read the input parameters.

Definition at line 22 of file ParsedMaterialBase.h.

Constructor & Destructor Documentation

ParsedMaterialBase::ParsedMaterialBase ( const InputParameters &  parameters)

Definition at line 49 of file ParsedMaterialBase.C.

50 {
51  // get function expression
52  _function = parameters.get<std::string>("function");
53 
54  // get constant vectors
55  _constant_names = parameters.get<std::vector<std::string>>("constant_names");
56  _constant_expressions = parameters.get<std::vector<std::string>>("constant_expressions");
57 
58  // get tolerance vectors
59  _tol_names = parameters.get<std::vector<std::string>>("tol_names");
60  _tol_values = parameters.get<std::vector<Real>>("tol_values");
61 }
std::vector< std::string > _constant_expressions
std::vector< std::string > _constant_names
constant vectors
std::string _function
function expression
std::vector< std::string > _tol_names
tolerance vectors
std::vector< Real > _tol_values

Member Data Documentation

std::vector<std::string> ParsedMaterialBase::_constant_expressions
protected
std::vector<std::string> ParsedMaterialBase::_constant_names
protected
std::string ParsedMaterialBase::_function
protected
std::vector<std::string> ParsedMaterialBase::_tol_names
protected
std::vector<Real> ParsedMaterialBase::_tol_values
protected

The documentation for this class was generated from the following files: