Skip to content

Commit

Permalink
Problem is that DPA is computed after PP executes - Why is dependency…
Browse files Browse the repository at this point in the history
… not resolved? This PR fixes it but fix may not be right (idaholab#410)
  • Loading branch information
Sebastian Schunert committed Feb 26, 2020
1 parent d4e0769 commit 49b6479
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/postprocessors/DPAPostprocessor.C
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ validParams<DPAPostprocessor>()
{
InputParameters params = validParams<GeneralPostprocessor>();
params.addRequiredParam<UserObjectName>("dpa_object", "The neutronics damage object.");
params.addClassDescription("Retrieves the dpa from a neutronics damage object. The neutronics "
"damage object must inherit from NeutronDamageInterface.");
params.addClassDescription("Retrieves the value of the dpa from a DPAUserObjectBase.");
return params;
}

Expand Down
2 changes: 2 additions & 0 deletions src/userobjects/DPAUserObjectBase.C
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ validParams<DPAUserObjectBase>()
"isotopes. Each vector must be number of groups long");
params.addParam<std::vector<std::vector<Real>>>(
"Q", "The Q values by reaction type and then isotope. Assumed zero if not provided.");
params.set<ExecFlagEnum>("execute_on") = EXEC_TIMESTEP_BEGIN;
params.suppressParameter<ExecFlagEnum>("execute_on");
return params;
}

Expand Down
2 changes: 0 additions & 2 deletions src/userobjects/FunctionDPAUserObject.C
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ validParams<FunctionDPAUserObject>()
"max_energy_step_size",
100,
"The maximum energy step size used for integration and interpolation. Default is 100 eV.");
params.set<ExecFlagEnum>("execute_on") = EXEC_TIMESTEP_END;
params.suppressParameter<ExecFlagEnum>("execute_on");
params.addClassDescription("Computes the dose in dpa from composition, cross section, damage "
"type, and neutron flux. The damage functions are provided as MOOSE "
"functions where energy is provided via the time arg slot.");
Expand Down
2 changes: 0 additions & 2 deletions src/userobjects/ParkinCoulterDPAUserObject.C
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ validParams<ParkinCoulterDPAUserObject>()
{
InputParameters params = validParams<DPAUserObjectBase>();
params += ParkinCoulterInterface::validParams();
params.set<ExecFlagEnum>("execute_on") = EXEC_TIMESTEP_END;
params.suppressParameter<ExecFlagEnum>("execute_on");
params.addClassDescription(
"Computes the dose in dpa from composition, cross section, damage type, and neutron flux for "
"polyatomic materials using Parkin-Coulter's method.");
Expand Down

0 comments on commit 49b6479

Please sign in to comment.