www.mooseframework.org
Classes | Functions
SwitchingFunctionMaterial.h File Reference

Go to the source code of this file.

Classes

class  SwitchingFunctionMaterial
 Material class to provide the switching function \( h(\eta) \) for the KKS system. More...
 

Functions

template<>
InputParameters validParams< SwitchingFunctionMaterial > ()
 

Function Documentation

template<>
InputParameters validParams< SwitchingFunctionMaterial > ( )

Definition at line 11 of file SwitchingFunctionMaterial.C.

12 {
13  InputParameters params = validParams<OrderParameterFunctionMaterial>();
14  params.addClassDescription("Helper material to provide h(eta) and its derivative in one of two "
15  "polynomial forms.\nSIMPLE: 3*eta^2-2*eta^3\nHIGH: "
16  "eta^3*(6*eta^2-15*eta+10)");
17  MooseEnum h_order("SIMPLE=0 HIGH", "SIMPLE");
18  params.addParam<MooseEnum>(
19  "h_order", h_order, "Polynomial order of the switching function h(eta)");
20  params.set<std::string>("function_name") = std::string("h");
21  return params;
22 }
InputParameters validParams< OrderParameterFunctionMaterial >()