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

Go to the source code of this file.

Classes

class  BarrierFunctionMaterial
 Material class to provide the double well function \( g(\eta) \) for the KKS system. More...
 

Functions

template<>
InputParameters validParams< BarrierFunctionMaterial > ()
 

Function Documentation

◆ validParams< BarrierFunctionMaterial >()

template<>
InputParameters validParams< BarrierFunctionMaterial > ( )

Definition at line 16 of file BarrierFunctionMaterial.C.

17 {
18  InputParameters params = validParams<OrderParameterFunctionMaterial>();
19  params.addClassDescription("Helper material to provide g(eta) and its derivative in a "
20  "polynomial.\nSIMPLE: eta^2*(1-eta)^2\nLOW: eta*(1-eta)"
21  "\nHIGH: eta^2*(1-eta^2)^2");
22  MooseEnum g_order("SIMPLE=0 LOW HIGH", "SIMPLE");
23  params.addParam<MooseEnum>("g_order", g_order, "Polynomial order of the barrier function g(eta)");
24  params.addParam<bool>("well_only",
25  false,
26  "Make the g zero in [0:1] so it only contributes to "
27  "enforcing the eta range and not to the phase "
28  "transformation barrier.");
29  params.set<std::string>("function_name") = std::string("g");
30  return params;
31 }
validParams< OrderParameterFunctionMaterial >
InputParameters validParams< OrderParameterFunctionMaterial >()
Definition: OrderParameterFunctionMaterial.C:14