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 25 of file ParsedMaterialBase.h.

Constructor & Destructor Documentation

◆ ParsedMaterialBase()

ParsedMaterialBase::ParsedMaterialBase ( const InputParameters parameters)

Definition at line 52 of file ParsedMaterialBase.C.

53 {
54  // get function expression
55  _function = parameters.get<std::string>("function");
56 
57  // get constant vectors
58  _constant_names = parameters.get<std::vector<std::string>>("constant_names");
59  _constant_expressions = parameters.get<std::vector<std::string>>("constant_expressions");
60 
61  // get tolerance vectors
62  _tol_names = parameters.get<std::vector<std::string>>("tol_names");
63  _tol_values = parameters.get<std::vector<Real>>("tol_values");
64 }
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

◆ _constant_expressions

std::vector<std::string> ParsedMaterialBase::_constant_expressions
protected

◆ _constant_names

std::vector<std::string> ParsedMaterialBase::_constant_names
protected

◆ _function

std::string ParsedMaterialBase::_function
protected

◆ _tol_names

std::vector<std::string> ParsedMaterialBase::_tol_names
protected

◆ _tol_values

std::vector<Real> ParsedMaterialBase::_tol_values
protected

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