11 #include "AuxiliarySystem.h"
13 #include "MooseVariable.h"
20 params.addClassDescription(
"Base class for computing value for nodal AuxVariable from elemental "
21 "information in a peridynamic model");
23 params.addRequiredCoupledVar(
"variable",
"Name of AuxVariable this userobject is acting on");
29 const InputParameters & parameters)
37 std::vector<std::string> zero_vars;
38 zero_vars.push_back(
_var->name());
39 _aux.zeroVariables(zero_vars);
45 for (
unsigned int i = 0; i < 2; ++i)
47 dof_id_type dof = _current_elem->node_ptr(i)->dof_number(
_aux.number(),
_var->number(), 0);