www.mooseframework.org
Functions
RampIC.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("PhaseFieldApp", RampIC)
 
template<>
InputParameters validParams< RampIC > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PhaseFieldApp"  ,
RampIC   
)

◆ validParams< RampIC >()

template<>
InputParameters validParams< RampIC > ( )

Definition at line 18 of file RampIC.C.

19 {
20  InputParameters params = validParams<InitialCondition>();
21  params.addClassDescription(
22  "Linear ramp along the x-axis with given values at the left and right extreme points.");
23  params.addRequiredParam<Real>("value_left", "The value on left (xmin) boundary.");
24  params.addRequiredParam<Real>("value_right", "The value on right (xmax) boundary.");
25  return params;
26 }