21 params.
addClassDescription(
"Retrieves a field value from the closest node on the paired boundary "
22 "and stores it on this boundary or block.");
23 params.
set<
bool>(
"_dual_restrictable") =
true;
24 params.
addRequiredParam<BoundaryName>(
"paired_boundary",
"The boundary to get the value from.");
31 _penetration_locator(getPenetrationLocator(
32 parameters.get<BoundaryName>(
"paired_boundary"), boundaryNames()[0], Order(FIRST))),
33 _nearest_node(_penetration_locator._nearest_node),
34 _serialized_solution(_nl_sys.currentSolution()),
35 _paired_variable(coupled(
"paired_variable"))
47 mooseAssert(nearest != NULL,
"I do not have the nearest node for you");
registerMooseObject("ThermalHydraulicsApp", VariableValueTransferAux)
const Node *const & _current_node
static InputParameters validParams()
const std::vector< BoundaryName > & boundaryNames() const
const std::string & name() const
void mooseError(Args &&... args) const
const Node * nearestNode(dof_id_type node_id)
void setCheckWhetherReasonable(bool state)
unsigned int number() const
Transfer variable values from a surface of a 2D mesh onto 1D mesh.
NearestNodeLocator & _nearest_node
virtual Real computeValue() override
const NumericVector< Number > *const & _serialized_solution
unsigned int _paired_variable
VariableValueTransferAux(const InputParameters ¶meters)
PenetrationLocator & _penetration_locator
static InputParameters validParams()