16 template <
typename ComputeValueType>
26 template <
typename ComputeValueType>
37 virtual void compute()
override;
61 template <
typename T,
bool is_ad>
80 unsigned int comp = 0)
const override;
83 unsigned int comp = 0)
const override;
172 template <
typename ComputeValueType>
173 template <
typename T>
180 "' attempted to reference material property '",
182 "'\nConsider using an elemental auxiliary variable for '",
186 return MaterialPropertyInterface::getMaterialProperty<T>(
name);
189 template <
typename ComputeValueType>
190 template <
typename T,
bool is_ad>
197 "' attempted to reference material property '",
199 "'\nConsider using an elemental auxiliary variable for '",
203 return MaterialPropertyInterface::getGenericMaterialProperty<T, is_ad>(
name);
206 template <
typename ComputeValueType>
207 template <
typename T>
214 "' attempted to reference material property '",
216 "'\nConsider using an elemental auxiliary variable for '",
220 return MaterialPropertyInterface::getMaterialPropertyOld<T>(
name);
223 template <
typename ComputeValueType>
224 template <
typename T>
231 "' attempted to reference material property '",
233 "'\nConsider using an elemental auxiliary variable for '",
237 return MaterialPropertyInterface::getMaterialPropertyOlder<T>(
name);
std::string name(const ElemQuality q)
const OutputTools< ComputeValueType >::VariableValue & _u
Holds the solution at current quadrature points.
AuxKernelTempl< RealVectorValue > VectorAuxKernel
Base class for auxiliary kernels.
const MooseArray< Real > & _coord
const unsigned int & _current_side
current side of the current element
MooseVariableField< ComputeValueType > & variable()
Get a reference to a variable this kernel is action on.
const OutputTools< ComputeValueType >::VariableValue & uOlder() const
Retrieves the older value of the variable that this AuxKernel operates on.
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application...
const Real & _current_side_volume
Volume of the current side.
const Node *const & _current_node
Current node (valid only for nodal kernels)
const InputParameters & parameters() const
Get the parameters of the object.
virtual void compute() override
Computes the value and stores it in the solution vector.
const BoundaryID & _current_boundary_id
The current boundary ID.
DenseVector< OutputData > _local_sol
for holding local solution
AuxKernelTempl< Real > AuxKernel
const MooseArray< Real > & _JxW
Transformed Jacobian weights.
const std::string & name() const
Get the name of the class.
virtual ComputeValueType computeValue()=0
Compute and return the value of the aux variable.
DenseVector< OutputData > _local_re
for holding local load
virtual void precalculateValue()
This callback is used for AuxKernelTempls that need to perform a per-element calculation.
boundary_id_type BoundaryID
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
AuxKernelTempl(const InputParameters ¶meters)
const Real & _current_elem_volume
Volume of the current element.
virtual const VariableValue & coupledDot(const std::string &var_name, unsigned int comp=0) const override
Time derivative of a coupled variable.
const Elem *const & _current_lower_d_elem
The current lower dimensional element.
OutputTools< Real >::VariableValue VariableValue
NumericVector< Number > & _solution
reference to the solution vector of auxiliary system
const MaterialProperty< T > & getMaterialPropertyOld(const std::string &name)
const OutputTools< ComputeValueType >::VariableValue & uOld() const
Retrieves the old value of the variable that this AuxKernel operates on.
void insert()
Insert the just computed values into the auxiliary solution vector.
MooseVariableField< ComputeValueType > & _var
This is a regular kernel so we cast to a regular MooseVariable, hides base _var.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const QBase *const & _qrule
Quadrature rule being used.
const bool _nodal
Flag indicating if the AuxKernel is nodal.
const MaterialProperty< T > & getMaterialPropertyOlder(const std::string &name)
Moose::DOFType< ComputeValueType >::type OutputData
Interface for objects that need to get values of MooseVariables.
const MaterialProperty< T > & getMaterialProperty(const std::string &name)
Override functions from MaterialPropertyInterface for error checking.
const Elem *const & _current_elem
Current element (valid only for elemental kernels)
unsigned int _qp
Quadrature point index.
DenseMatrix< Number > _local_ke
for holding local mass matrix
const OutputTools< ComputeValueType >::VariableTestValue & _test
Holds the the test functions.
static InputParameters validParams()
Base class for creating new auxiliary kernels and auxiliary boundary conditions.
virtual const VariableValue & coupledDotDu(const std::string &var_name, unsigned int comp=0) const override
Time derivative of a coupled variable with respect to the coefficients.
void setDofValueHelper(const ComputeValueType &dof_value)
Currently only used when the auxiliary variable is a finite volume variable, this helps call through ...
const MooseArray< Point > & _q_point
Active quadrature points.
AuxKernelTempl< RealEigenVector > ArrayAuxKernel
bool isNodal() const
Nodal or elemental kernel?
unsigned int _n_local_dofs
number of local dofs for elemental variables
const GenericMaterialProperty< T, is_ad > & getGenericMaterialProperty(const std::string &name)