35 #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/Conductivity/k") )
53 libmesh_warning(
"No Materials/Conductivity/k specified!\n");
61 (
_k, input,
"Materials/Conductivity/k",
_k);
70 "Materials/"+material+
"/ThermalConductivity/value",
71 "Materials/Conductivity/k");
74 if( input.have_variable(
"Materials/"+material+
"/ThermalConductivity/value") )
77 (
_k, input,
"Materials/"+material+
"/ThermalConductivity/value",
_k);
80 else if( input.have_variable(
"Materials/Conductivity/k") )
83 "ThermalConductivity/value" );
86 (
_k, input,
"Materials/Conductivity/k",
_k);
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.
#define grins_warning(message)
ParameterUser base class. Utility methods for subclasses.
static void dep_input_warning(const std::string &old_option, const std::string &property)
Helper function for parsing/maintaing backward compatibility.
static PhysicsName incompressible_navier_stokes()
static void duplicate_input_test(const GetPot &input, const std::string &option1, const std::string &option2)
Helper function for parsing/maintaing backward compatibility.