www.mooseframework.org
Functions
DisplacementGradientsAction.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< DisplacementGradientsAction > ()
 

Function Documentation

template<>
InputParameters validParams< DisplacementGradientsAction > ( )

Definition at line 15 of file DisplacementGradientsAction.C.

16 {
17  InputParameters params = validParams<Action>();
18  params.addClassDescription("Set up variables, kernels, and materials for a the displacement "
19  "gradients and their elastic free energy derivatives for non-split "
20  "Cahn-Hilliard problems.");
21  params.addRequiredParam<std::vector<VariableName>>("displacements",
22  "Vector of displacement variables");
23  params.addRequiredParam<std::vector<VariableName>>("displacement_gradients",
24  "Vector of displacement gradient variables");
25  params.addParam<Real>(
26  "scaling", 1.0, "Specifies a scaling factor to apply to the displacement gradient variables");
27  return params;
28 }