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

Go to the source code of this file.

Classes

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

Functions

template<>
InputParameters validParams< MixedSwitchingFunctionMaterial > ()
 

Function Documentation

template<>
InputParameters validParams< MixedSwitchingFunctionMaterial > ( )

Definition at line 11 of file MixedSwitchingFunctionMaterial.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. MIX234 and MIX246");
16  MooseEnum h_order("MIX234=0 MIX246", "MIX234");
17  params.addParam<MooseEnum>(
18  "h_order", h_order, "Polynomial order of the switching function h(eta)");
19  params.set<std::string>("function_name") = std::string("h");
20 
21  params.addRangeCheckedParam<Real>(
22  "weight", 1.0, "weight <= 1 & weight >= 0", "Weight parameter for MIX type h(eta)");
23 
24  return params;
25 }
InputParameters validParams< OrderParameterFunctionMaterial >()