33 #include "libmesh/getpot.h"
41 "Materials/"+material+
"/Viscosity/value",
42 "Materials/Viscosity/mu" );
45 if( input.have_section(
"Materials/"+material+
"/Viscosity") &&
46 !input.have_variable(
"Materials/"+material+
"/Viscosity/value") )
48 libmesh_error_msg(
"Error: Found section Materials/"+material+
"/Viscosity, but not variable value.");
56 std::string warning =
"WARNING: Use of Materials/Viscosity/mu is DEPRECATED.\n";
57 warning +=
" Please update to use Materials/MATERIAL_NAME/Viscosity/value,\n";
58 warning +=
" where MATERIAL_NAME is given by Physics/PHYSICS_CLASS/material.\n";
void old_mu_warning() const
#define grins_warning(message)
static void duplicate_input_test(const GetPot &input, const std::string &option1, const std::string &option2)
Helper function for parsing/maintaing backward compatibility.
void check_input_consistency(const GetPot &input, const std::string &material) const