20 params.addRequiredParam<AuxVariableName>(
21 "variable",
"The name of the aux variable that this AuxRayKernel applies to");
32 _fe_problem.getAuxiliarySystem()
33 .getVariable(_tid, params.
get<AuxVariableName>(
"variable"))
38 _aux(_fe_problem.getAuxiliarySystem()),
39 _var(*mooseVariable())
42 paramError(
"variable",
"Only CONSTANT MONOMIAL variables are supported");
void addValue(const Real value)
Use to accumulate a value into the corresponding AuxVariable from this AuxRayKernel.
const libMesh::FEType & feType() const
AuxRayKernel(const InputParameters ¶ms)
NumericVector< Number > & solution()
virtual void setNodalValue(const Real &value, unsigned int idx=0) override
MooseVariableFE< Real > & _var
The AuxVariable this AuxRayKernel contributes to.
Base object for the RayKernel syntax.
static InputParameters validParams()
MooseVariableFE< Real > * mooseVariable() const
AuxiliarySystem & _aux
The aux system.
static InputParameters validParams()
virtual const OutputTools< Real >::VariableValue & value()
void paramError(const std::string ¶m, Args... args) const
virtual void add(libMesh::NumericVector< libMesh::Number > &vector) override
static Threads::spin_mutex _add_value_mutex
Spin mutex object for adding values.
void addMooseVariableDependency(MooseVariableFieldBase *var)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Elem & get(const ElemType type_in)