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");
PenetrationLocator & _penetration_locator
const Node *const & _current_node
static InputParameters validParams()
virtual const std::string & name() const
VariableValueTransferAux(const InputParameters ¶meters)
unsigned int _paired_variable
unsigned int number() const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Transfer variable values from a surface of a 2D mesh onto 1D mesh.
const Node * nearestNode(dof_id_type node_id)
void mooseError(Args &&... args) const
const NumericVector< Number > *const & _serialized_solution
static InputParameters validParams()
const std::vector< BoundaryName > & boundaryNames() const
NearestNodeLocator & _nearest_node
void setCheckWhetherReasonable(bool state)
const Elem & get(const ElemType type_in)
registerMooseObject("ThermalHydraulicsApp", VariableValueTransferAux)
virtual Real computeValue() override