www.mooseframework.org
Functions
RampIC.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< RampIC > ()
 

Function Documentation

template<>
InputParameters validParams< RampIC > ( )

Definition at line 14 of file RampIC.C.

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