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!");
PorousFlowMaterial is the base class for all PorousFlow Materials It allows users to specify that the...
registerMooseObject("PorousFlowApp", PorousFlowNearestQp)
virtual void computeQpProperties() override
void paramError(const std::string ¶m, Args... args) const
MaterialProperty< unsigned int > & _nearest_qp
The nearest quadpoint.
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.
PorousFlowNearestQp(const InputParameters ¶meters)
static InputParameters validParams()