Skip to content
Permalink
Browse files

Merge pull request #13135 from tophmatthews/ad_gravity_13134

Made value param required in Gravity and ADGravity
  • Loading branch information...
permcody committed Mar 27, 2019
2 parents be4f69d + e2bf9f4 commit 5dc558bfb13014a049a167c200860fb271397a61
@@ -19,9 +19,8 @@ defineADValidParams(
ADKernelValue,
params.addClassDescription("Apply gravity. Value is in units of acceleration.");
params.addParam<bool>("use_displaced_mesh", true, "Displaced mesh defaults to true");
params.addParam<Real>("value",
-9.8,
"Value multiplied against the residual, e.g. gravitational acceleration");
params.addRequiredParam<Real>(
"value", "Value multiplied against the residual, e.g. gravitational acceleration");
params.addParam<Real>("alpha",
0.0,
"alpha parameter required for HHT time integration scheme"););
@@ -19,8 +19,8 @@ validParams<Gravity>()
InputParameters params = validParams<Kernel>();
params.addClassDescription("Apply gravity. Value is in units of acceleration.");
params.addParam<bool>("use_displaced_mesh", true, "Displaced mesh defaults to true");
params.addParam<Real>(
"value", 0.0, "Value multiplied against the residual, e.g. gravitational acceleration");
params.addRequiredParam<Real>(
"value", "Value multiplied against the residual, e.g. gravitational acceleration");
params.addParam<FunctionName>(
"function", "1", "A function that describes the gravitational force");
params.addParam<Real>("alpha", 0.0, "alpha parameter required for HHT time integration scheme");

0 comments on commit 5dc558b

Please sign in to comment.
You can’t perform that action at this time.