34 #include "libmesh/getpot.h" 
   46       std::string warning = 
"WARNING: Use of this constructor is DEPRECATED.\n";
 
   47       warning += 
"         Please update to use constructor with input material name.\n";
 
   51     if( !input.have_variable(
"Materials/Viscosity/mu") )
 
   53         libmesh_warning(
"No Materials/Viscosity/mu specified!\n");
 
   61           (
_mu, input, 
"Materials/Viscosity/mu", 
_mu);
 
   72     if( input.have_variable(
"Materials/"+material+
"/Viscosity/value") &&
 
   79     if( input.have_variable(
"Materials/"+material+
"/Viscosity/value") )
 
   82           (
_mu, input, 
"Materials/"+material+
"/Viscosity/value", 
_mu);
 
   85     else if( input.have_variable(
"Materials/Viscosity/mu") )
 
   90           (
_mu, input, 
"Materials/Viscosity/mu", 
_mu);
 
   95     else if( !input.have_variable(
"Materials/Viscosity/mu") &&
 
   96              !input.have_variable(
"Materials/"+material+
"/Viscosity/value") )
 
   98         std::string warning = 
"WARNING: No Materials/Viscosity/mu or\n";
 
   99         warning += 
"       Materials/"+material+
"/Viscosity/value specified!\n";
 
  100         warning += 
"       We are assuming then that you want to specify through\n";
 
  102         warning += 
"       This is DEPRECATED. Please updated to use Materials/"+material+
"/Viscosity/value.\n";
 
  116     libmesh_assert_greater( 
_mu, 0.0 );
 
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. 
 
void old_mu_warning() const 
 
#define grins_warning(message)
 
virtual ~ConstantViscosity()
 
Base class for viscosity models. 
 
ParameterUser base class. Utility methods for subclasses. 
 
static PhysicsName incompressible_navier_stokes()
 
void check_input_consistency(const GetPot &input, const std::string &material) const