Go to the documentation of this file.
19 params.set<
bool>(
"nodal_material") =
true;
20 params.addPrivateParam<std::string>(
"pf_material_type",
"nearest_qp");
21 params.addClassDescription(
"Provides the nearest quadpoint to a node in each element");
27 _nearest_qp(declareProperty<unsigned>(
"PorousFlow_nearestqp_nodal"))
29 if (getParam<bool>(
"nodal_material") ==
false)
30 paramError(
"nodal_material",
"This must be a nodal material!");
InputParameters validParams< PorousFlowMaterial >()
registerMooseObject("PorousFlowApp", PorousFlowNearestQp)
unsigned nearestQP(unsigned nodenum) const
Find the nearest quadpoint to the node labelled by nodenum in the current element.
virtual void computeQpProperties() override
InputParameters validParams< PorousFlowNearestQp >()
PorousFlowMaterial is the base class for all PorousFlow Materials It allows users to specify that the...
PorousFlowNearestQp(const InputParameters ¶meters)
Material designed to provide the nearest quadpoint to each node in the element.
MaterialProperty< unsigned int > & _nearest_qp
The nearest quadpoint.