Classes | Functions
DisplacementGradientsAction.h File Reference

Go to the source code of this file.


class  DisplacementGradientsAction
 Automatically generates all variables, Kernels, and Materials to ensure the correct derivatives of the elastic free energy in a non-split Cahn-Hilliard simulation are assembled. More...


InputParameters validParams< DisplacementGradientsAction > ()

Function Documentation

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 }