Go to the source code of this file.
|
| class | RampIC |
| | Makes initial condition which creates a linear ramp of the given variable on the x-axis with specified side values. More...
|
| |
◆ validParams< RampIC >()
Definition at line 18 of file RampIC.C.
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.");