18 params.
set<
bool>(
"nodal_material") =
true;
26 _nearest_qp(declareProperty<unsigned>(
"PorousFlow_nearestqp_nodal"))
28 if (getParam<bool>(
"nodal_material") ==
false)
29 paramError(
"nodal_material",
"This must be a nodal material!");
registerMooseObject("PorousFlowApp", PorousFlowNearestQp)
void paramError(const std::string ¶m, Args... args) const
PorousFlowMaterial is the base class for all PorousFlow Materials It allows users to specify that the...
static InputParameters validParams()
unsigned nearestQP(unsigned nodenum) const
Find the nearest quadpoint to the node labelled by nodenum in the current element.
Material designed to provide the nearest quadpoint to each node in the element.
virtual void computeQpProperties() override
PorousFlowNearestQp(const InputParameters ¶meters)
static InputParameters validParams()
MaterialProperty< unsigned int > & _nearest_qp
The nearest quadpoint.