18 params.
addClassDescription(
"Returns the second order time derivative of the specified variable " 19 "as an auxiliary variable.");
23 "factor", 1,
"Factor to multiply the second time derivative by");
30 _v(coupledDotDot(
"v")),
31 _factor(getFunctor<
Real>(
"factor")),
40 mooseWarning(
"'variable' argument is a finite element variable but 'v' is not.");
43 mooseWarning(
"'v' argument is a finite element variable but 'variable' is not.");
46 paramError(
"variable",
"This AuxKernel only supports Elemental fields");
virtual Real computeValue() override
Compute and return the value of the aux variable.
Second time derivative of a variable.
Class for stuff related to variables.
VariableName coupledName(const std::string &var_name, unsigned int comp=0) const
Names of the variable in the Coupleable interface.
const Moose::Functor< Real > & _factor
Factor to multiply the second time derivative with.
Moose::StateArg determineState() const
Create a functor state argument that corresponds to the implicit state of this object.
void mooseWarning(Args &&... args) const
Emits a warning prefixed with object name and type.
Moose::ElemArg makeElemArg(const Elem *elem, bool correct_skewnewss=false) const
Helper method to create an elemental argument for a functor that includes whether to perform skewness...
registerMooseObject("MooseApp", SecondTimeDerivativeAux)
const VariableValue & _v
Variable we're computing the second time derivative of.
const bool _use_qp_arg
Whether to use a quadrature-based functor argument, appropriate for finite element evaluations...
Argument for requesting functor evaluation at a quadrature point location in an element.
void paramError(const std::string ¶m, Args... args) const
Emits an error prefixed with the file and line number of the given param (from the input file) along ...
virtual const MooseVariableFieldBase & getVariable(const THREAD_ID tid, const std::string &var_name, Moose::VarKindType expected_var_type=Moose::VarKindType::VAR_ANY, Moose::VarFieldType expected_var_field_type=Moose::VarFieldType::VAR_FIELD_ANY) const =0
Returns the variable reference for requested variable which must be of the expected_var_type (Nonline...
SecondTimeDerivativeAux(const InputParameters ¶meters)
virtual bool hasVariable(const std::string &var_name) const =0
Whether or not this problem has the variable.
MooseVariableField< Real > & _var
This is a regular kernel so we cast to a regular MooseVariable.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const QBase *const & _qrule
Quadrature rule being used.
SubProblem & _subproblem
Subproblem this kernel is part of.
const Elem *const & _current_elem
Current element (valid only for elemental kernels)
unsigned int _qp
Quadrature point index.
static InputParameters validParams()
const MooseArray< Point > & _q_point
Active quadrature points.
static InputParameters validParams()
bool isNodal() const
Nodal or elemental kernel?