42 void reinit(
bool reinit_for_derivative_reordering =
false);
std::set< TagID > _required_vector_tags
The set of vector tags we need to evaluate.
const VariableValue & uDotOld() const
const VariableValue & uDotDot() const
const ADVariableValue & adUDot() const
Return the first derivative of the solution with derivative information.
Base class template for functor objects.
void computeAD(bool nodal_ordering)
Adds derivative information to the scalar variable value arrays.
ADVariableValue _ad_u_dot
The first derivative of the scalar solution with derivative information.
Keeps track of stuff related to assembling.
void reinit(bool reinit_for_derivative_reordering=false)
Fill out the VariableValue arrays from the system solution vector.
bool _need_u_older
Whether or not the older solution is needed.
VariableValue _u
The value of scalar variable.
MooseVariableScalar(const InputParameters ¶meters)
VariableValue _du_dotdot_du
const VariableValue & slnOlder() const
const InputParameters & parameters() const
Get the parameters of the object.
bool _need_ad_u
whether ad_u is needed
ADVariableValue _ad_u
The scalar solution with derivative information.
virtual void sizeMatrixTagData() override
Size data structures related to matrix tagging.
const VariableValue & duDotDotDu() const
VariableValue _u_older
The older value of scalar variable.
VariableValue _u_dotdot_old
A structure that is used to evaluate Moose functors at an arbitrary physical point contained within a...
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
const VariableValue & uDotDotOld() const
void setActiveTags(const std::set< TagID > &vtags) override
Set the active vector tags.
typename FunctorReturnType< T, FunctorEvaluationKind::Gradient >::type GradientType
This rigmarole makes it so that a user can create functors that return containers (std::vector...
std::vector< VariableValue > _vector_tag_u
Tagged vectors.
GradientType evaluateGradient(const ElemArg &elem, const Moose::StateArg &state) const override final
Evaluate the functor gradient with a given element.
std::vector< bool > _need_vector_tag_u
Only cache data when need it.
const VariableValue & slnOld() const
const VariableValue & uDot() const
const VariableValue & vectorTagSln(TagID tag) const
bool _need_ad
Whether any AD calculations are needed.
A structure defining a "face" evaluation calling argument for Moose functors.
unsigned int oldestSolutionStateRequested() const
The oldest solution state that is requested for this variable (0 = current, 1 = old, 2 = older, etc).
virtual ~MooseVariableScalar()
static InputParameters validParams()
void setValue(unsigned int i, Number value)
Set the nodal value for this variable (to keep everything up to date.
A structure that is used to evaluate Moose functors logically at an element/cell center.
void setValues(Number value)
Set all of the values of this scalar variable to the same value.
Argument for requesting functor evaluation at a quadrature point location in an element.
std::vector< bool > _need_matrix_tag_u
Only cache data when need it.
bool supportsFaceArg() const override final
Whether this functor supports evaluation with FaceArg.
const VariableValue & matrixTagSln(TagID tag) const
std::vector< VariableValue > _matrix_tag_u
Tagged matrices.
OutputTools< Real >::VariableValue VariableValue
bool _need_ad_u_dot
whether ad_u_dot is needed
Base class for time integrators.
const VariableValue & duDotDu() const
bool _need_u_old
Whether or not the old solution is needed.
Class for scalar variables (they are different).
void insert(NumericVector< Number > &soln)
State argument for evaluating functors.
const ADVariableValue & adSln() const
Return the solution with derivative information.
bool supportsElemSideQpArg() const override final
Whether this functor supports evaluation with ElemSideQpArg.
const VariableValue & sln() const
Argument for requesting functor evaluation at quadrature point locations on an element side...
ValueType evaluate(const ElemArg &elem, const Moose::StateArg &state) const override final
Evaluate the functor with a given element.
VariableValue _u_old
The old value of scalar variable.