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

Go to the source code of this file.

Classes

class  RampIC
 Makes initial condition which creates a linear ramp of the given variable on the x-axis with specified side values. More...
 

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 }