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...
|
|
◆ validParams< DisplacementGradientsAction >()
Definition at line 24 of file DisplacementGradientsAction.C.
26 InputParameters params = validParams<Action>();
27 params.addClassDescription(
"Set up variables, kernels, and materials for a the displacement "
28 "gradients and their elastic free energy derivatives for non-split "
29 "Cahn-Hilliard problems.");
30 params.addRequiredParam<std::vector<VariableName>>(
"displacements",
31 "Vector of displacement variables");
32 params.addRequiredParam<std::vector<VariableName>>(
"displacement_gradients",
33 "Vector of displacement gradient variables");
34 params.addParam<Real>(
35 "scaling", 1.0,
"Specifies a scaling factor to apply to the displacement gradient variables");