www.mooseframework.org
Functions
PresetDisplacement.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< PresetDisplacement > ()
 

Function Documentation

template<>
InputParameters validParams< PresetDisplacement > ( )

Definition at line 12 of file PresetDisplacement.C.

13 {
14  InputParameters params = validParams<NodalBC>();
15  params.addClassDescription(
16  "Prescribe the displacement on a given boundary in a given direction.");
17  params.addParam<Real>("scale_factor", 1, "Scale factor if function is given.");
18  params.addParam<FunctionName>("function", "1", "Function describing the displacement.");
19  params.addRequiredCoupledVar("velocity", "The velocity variable.");
20  params.addRequiredCoupledVar("acceleration", "The acceleration variable.");
21  params.addRequiredParam<Real>("beta", "beta parameter for Newmark time integration.");
22  return params;
23 }