GRINS-0.8.0
|
#include <parsed_viscosity.h>
Public Member Functions | |
ParsedViscosity (const GetPot &input, const std::string &material) | |
Constructor with specified material. More... | |
ParsedViscosity (const GetPot &input) | |
Deprecated constructor. More... | |
virtual | ~ParsedViscosity () |
Public Member Functions inherited from GRINS::ParsedPropertyBase | |
ParsedPropertyBase () | |
virtual | ~ParsedPropertyBase () |
libMesh::Real | operator() (AssemblyContext &context, unsigned int qp) const |
libMesh::Real | operator() (const libMesh::Point &p, const libMesh::Real time) |
virtual void | init (libMesh::FEMSystem *) |
Public Member Functions inherited from GRINS::ParameterUser | |
ParameterUser (const std::string &user_name) | |
virtual | ~ParameterUser () |
virtual void | set_parameter (libMesh::Number ¶m_variable, const GetPot &input, const std::string ¶m_name, libMesh::Number param_default) |
Each subclass can simultaneously read a parameter value from. More... | |
virtual void | set_parameter (libMesh::ParsedFunction< libMesh::Number, libMesh::Gradient > &func, const GetPot &input, const std::string &func_param_name, const std::string ¶m_default) |
Each subclass can simultaneously read a parsed function from. More... | |
virtual void | set_parameter (libMesh::ParsedFEMFunction< libMesh::Number > &func, const GetPot &input, const std::string &func_param_name, const std::string ¶m_default) |
Each subclass can simultaneously read a parsed function from. More... | |
virtual void | move_parameter (const libMesh::Number &old_parameter, libMesh::Number &new_parameter) |
When cloning an object, we need to update parameter pointers. More... | |
virtual void | move_parameter (const libMesh::ParsedFunction< libMesh::Number, libMesh::Gradient > &old_func, libMesh::ParsedFunction< libMesh::Number, libMesh::Gradient > &new_func) |
When cloning an object, we need to update parameter pointers. More... | |
virtual void | move_parameter (const libMesh::ParsedFEMFunction< libMesh::Number > &old_func, libMesh::ParsedFEMFunction< libMesh::Number > &new_func) |
When cloning an object, we need to update parameter pointers. More... | |
virtual void | register_parameter (const std::string ¶m_name, libMesh::ParameterMultiAccessor< libMesh::Number > ¶m_pointer) const |
Each subclass will register its copy of an independent. More... | |
Public Member Functions inherited from GRINS::ViscosityBase | |
ViscosityBase () | |
virtual | ~ViscosityBase () |
Private Member Functions | |
ParsedViscosity () | |
Additional Inherited Members | |
Static Public Attributes inherited from GRINS::ParameterUser | |
static std::string | zero_vector_function = std::string("{0}") |
A parseable function string with LIBMESH_DIM components, all 0. More... | |
Protected Member Functions inherited from GRINS::ParsedPropertyBase | |
bool | check_func_nonzero (const std::string &function) const |
Returns true if function string is nonzero. More... | |
Protected Member Functions inherited from GRINS::ViscosityBase | |
void | check_input_consistency (const GetPot &input, const std::string &material) const |
void | old_mu_warning () const |
Protected Attributes inherited from GRINS::ParsedPropertyBase | |
libMesh::ParsedFunction< libMesh::Number > | _func |
Definition at line 39 of file parsed_viscosity.h.
GRINS::ParsedViscosity::ParsedViscosity | ( | const GetPot & | input, |
const std::string & | material | ||
) |
Constructor with specified material.
Will look in the input file for [Materials/material/Viscosity/value] for the value of viscosity.
Definition at line 64 of file parsed_viscosity.C.
References GRINS::ParsedPropertyBase::_func, GRINS::ParsedPropertyBase::check_func_nonzero(), GRINS::ViscosityBase::check_input_consistency(), GRINS::ViscosityBase::old_mu_warning(), and GRINS::ParameterUser::set_parameter().
GRINS::ParsedViscosity::ParsedViscosity | ( | const GetPot & | input | ) |
Deprecated constructor.
Definition at line 39 of file parsed_viscosity.C.
References GRINS::ParsedPropertyBase::_func, GRINS::ParsedPropertyBase::check_func_nonzero(), grins_warning, and GRINS::ParameterUser::set_parameter().
|
virtual |
Definition at line 104 of file parsed_viscosity.C.
|
private |