diff --git a/modules/tensor_mechanics/include/auxkernels/ProjectedStatefulMaterialAux.h b/modules/tensor_mechanics/include/auxkernels/ProjectedStatefulMaterialAux.h index 2e66edffb826..f9ce0549697c 100644 --- a/modules/tensor_mechanics/include/auxkernels/ProjectedStatefulMaterialAux.h +++ b/modules/tensor_mechanics/include/auxkernels/ProjectedStatefulMaterialAux.h @@ -12,6 +12,8 @@ #include "AuxKernel.h" #include "IndexableProperty.h" +class MaterialBase; + template class ProjectedStatefulMaterialAuxTempl : public AuxKernel { diff --git a/modules/tensor_mechanics/include/userobjects/ProjectedStatefulMaterialNodalPatchRecovery.h b/modules/tensor_mechanics/include/userobjects/ProjectedStatefulMaterialNodalPatchRecovery.h index 11375001b063..4f61d7aa0e40 100644 --- a/modules/tensor_mechanics/include/userobjects/ProjectedStatefulMaterialNodalPatchRecovery.h +++ b/modules/tensor_mechanics/include/userobjects/ProjectedStatefulMaterialNodalPatchRecovery.h @@ -12,6 +12,8 @@ // MOOSE includes #include "NodalPatchRecoveryMaterialProperty.h" +class MaterialBase; + /** * Nodal patch recovery for material property components for projected stateful properties */ diff --git a/modules/tensor_mechanics/src/actions/ProjectedStatefulMaterialStorageAction.C b/modules/tensor_mechanics/src/actions/ProjectedStatefulMaterialStorageAction.C index e4daff50bb76..a551cfe75a57 100644 --- a/modules/tensor_mechanics/src/actions/ProjectedStatefulMaterialStorageAction.C +++ b/modules/tensor_mechanics/src/actions/ProjectedStatefulMaterialStorageAction.C @@ -20,7 +20,7 @@ #include "libmesh/string_to_enum.h" // we need to add these variables after the material property types are known -registerMooseAction("MooseApp", +registerMooseAction("TensorMechanicsApp", ProjectedStatefulMaterialStorageAction, "setup_projected_properties"); diff --git a/modules/tensor_mechanics/src/auxkernels/ProjectedStatefulMaterialAux.C b/modules/tensor_mechanics/src/auxkernels/ProjectedStatefulMaterialAux.C index 8480785d4f56..5e5b842fff71 100644 --- a/modules/tensor_mechanics/src/auxkernels/ProjectedStatefulMaterialAux.C +++ b/modules/tensor_mechanics/src/auxkernels/ProjectedStatefulMaterialAux.C @@ -10,6 +10,7 @@ #include "ProjectedStatefulMaterialAux.h" #include "NodalPatchRecoveryBase.h" #include "MaterialBase.h" +#include "Assembly.h" registerMooseObject("TensorMechanicsApp", ProjectedStatefulMaterialAux); registerMooseObject("TensorMechanicsApp", ADProjectedStatefulMaterialAux); diff --git a/modules/tensor_mechanics/src/userobjects/ProjectedStatefulMaterialNodalPatchRecovery.C b/modules/tensor_mechanics/src/userobjects/ProjectedStatefulMaterialNodalPatchRecovery.C index e8d286bbab3d..5fbd72bb6350 100644 --- a/modules/tensor_mechanics/src/userobjects/ProjectedStatefulMaterialNodalPatchRecovery.C +++ b/modules/tensor_mechanics/src/userobjects/ProjectedStatefulMaterialNodalPatchRecovery.C @@ -8,6 +8,8 @@ //* https://www.gnu.org/licenses/lgpl-2.1.html #include "ProjectedStatefulMaterialNodalPatchRecovery.h" +#include "MaterialBase.h" +#include "Assembly.h" registerMooseObject("TensorMechanicsApp", ProjectedStatefulMaterialNodalPatchRecovery);