https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
MooseVariableConstMonomial Class Reference

#include <MooseVariableConstMonomial.h>

Inheritance diagram for MooseVariableConstMonomial:
[legend]

Public Types

using OutputGradient = typename MooseVariableField< Real >::OutputGradient
 
using OutputSecond = typename MooseVariableField< Real >::OutputSecond
 
using OutputDivergence = typename MooseVariableField< Real >::OutputDivergence
 
using FieldVariableValue = typename MooseVariableField< Real >::FieldVariableValue
 
using FieldVariableGradient = typename MooseVariableField< Real >::FieldVariableGradient
 
using FieldVariableSecond = typename MooseVariableField< Real >::FieldVariableSecond
 
using FieldVariableCurl = typename MooseVariableField< Real >::FieldVariableCurl
 
using FieldVariableDivergence = typename MooseVariableField< Real >::FieldVariableDivergence
 
using OutputShape = typename MooseVariableField< Real >::OutputShape
 
using OutputShapeGradient = typename MooseVariableField< Real >::OutputShapeGradient
 
using OutputShapeSecond = typename MooseVariableField< Real >::OutputShapeSecond
 
using OutputShapeDivergence = typename MooseVariableField< Real >::OutputShapeDivergence
 
using FieldVariablePhiValue = typename MooseVariableField< Real >::FieldVariablePhiValue
 
using FieldVariablePhiGradient = typename MooseVariableField< Real >::FieldVariablePhiGradient
 
using FieldVariablePhiSecond = typename MooseVariableField< Real >::FieldVariablePhiSecond
 
using FieldVariablePhiCurl = typename MooseVariableField< Real >::FieldVariablePhiCurl
 
using FieldVariablePhiDivergence = typename MooseVariableField< Real >::FieldVariablePhiDivergence
 
using FieldVariableTestValue = typename MooseVariableField< Real >::FieldVariableTestValue
 
using FieldVariableTestGradient = typename MooseVariableField< Real >::FieldVariableTestGradient
 
using FieldVariableTestSecond = typename MooseVariableField< Real >::FieldVariableTestSecond
 
using FieldVariableTestCurl = typename MooseVariableField< Real >::FieldVariableTestCurl
 
using FieldVariableTestDivergence = typename MooseVariableField< Real >::FieldVariableTestDivergence
 
using FunctorArg = typename Moose::ADType< Real >::type
 
using DofValue = typename MooseVariableDataBase< OutputType >::DofValue
 
using DofValues = typename MooseVariableDataBase< OutputType >::DofValues
 
using ADDofValue = typename MooseVariableDataBase< OutputType >::ADDofValue
 
using ADDofValues = typename MooseVariableDataBase< OutputType >::ADDofValues
 
using DataFileParameterType = DataFileName
 The parameter type this interface expects for a data file name.
 
using FunctorType = FunctorBase< Moose::ADType< OutputType >::type >
 
using ValueType = Moose::ADType< OutputType >::type
 
using GradientType = typename FunctorReturnType< Moose::ADType< OutputType >::type, FunctorEvaluationKind::Gradient >::type
 This rigmarole makes it so that a user can create functors that return containers (std::vector, std::array).
 
using DotType = ValueType
 

Public Member Functions

 MooseVariableConstMonomial (const InputParameters &parameters)
 
virtual void computeElemValues () override
 Actually compute variable values from the solution vectors.
 
virtual void computeElemValuesFace () override
 Compute values at facial quadrature points.
 
virtual void computeNeighborValuesFace () override
 Compute values at facial quadrature points for the neighbor.
 
virtual void computeNeighborValues () override
 Compute values at quadrature points for the neighbor.
 
void clearDofIndices () override
 Clear out the dof indices.
 
void prepare () override
 Prepare the elemental degrees of freedom.
 
void prepareNeighbor () override
 Prepare the neighbor element degrees of freedom.
 
void prepareLowerD () override
 Prepare a lower dimensional element's degrees of freedom.
 
virtual void prepareIC () override
 Prepare the initial condition.
 
void prepareAux () override
 
void reinitNode () override
 
void reinitAux () override
 
void reinitAuxNeighbor () override
 
void reinitNodes (const std::vector< dof_id_type > &nodes) override
 
void reinitNodesNeighbor (const std::vector< dof_id_type > &nodes) override
 
bool usesPhi () const
 Whether or not this variable is actually using the shape function value.
 
bool usesGradPhi () const
 Whether or not this variable is actually using the shape function gradient.
 
bool usesSecondPhi () const
 Whether or not this variable is computing any second derivatives.
 
bool usesSecondPhiNeighbor () const override final
 Whether or not this variable is actually using the shape function second derivative on a neighbor.
 
bool computingSecond () const override final
 Whether or not this variable is computing any second derivatives.
 
bool computingCurl () const override final
 Whether or not this variable is computing the curl.
 
bool computingDiv () const override final
 Whether or not this variable is computing the divergence.
 
bool isNodal () const override
 Is this variable nodal.
 
bool hasDoFsOnNodes () const override
 Does this variable have DoFs on nodes.
 
bool supportsQpBasedLoops () const override
 Whether this variable supports QP-indexed loops.
 
bool supportsGeometricInfoBasedLoops () const override
 Whether this variable supports geometric-info-based loops, such as ElemInfo/FaceInfo loops.
 
libMesh::FEContinuity getContinuity () const override
 Return the continuity of this variable.
 
const Node *const & node () const
 
const dof_id_type & nodalDofIndex () const override
 
virtual bool isNodalDefined () const override
 Is this variable defined at nodes.
 
const Node *const & nodeNeighbor () const
 
const dof_id_type & nodalDofIndexNeighbor () const override
 
bool isNodalNeighborDefined () const
 
const Elem *const & currentElem () const override
 Current element this variable is evaluated at.
 
const unsigned intcurrentSide () const
 Current side this variable is being evaluated on.
 
const Elem *const & neighbor () const
 Current neighboring element.
 
virtual void getDofIndices (const Elem *elem, std::vector< dof_id_type > &dof_indices) const override
 
const std::vector< dof_id_type > & dofIndices () const final
 Get local DoF indices.
 
unsigned int numberOfDofs () const final
 Get the number of local DoFs.
 
const std::vector< dof_id_type > & dofIndicesNeighbor () const final
 Get neighbor DOF indices for currently selected element.
 
const std::vector< dof_id_type > & dofIndicesLower () const final
 Get dof indices for the current lower dimensional element (this is meaningful when performing mortar FEM)
 
void clearAllDofIndices () final
 
unsigned int numberOfDofsNeighbor () override
 
const FieldVariablePhiValuephi () const override
 Return the variable's elemental shape functions.
 
const FieldVariablePhiGradientgradPhi () const override final
 Return the gradients of the variable's elemental shape functions.
 
const MappedArrayVariablePhiGradientarrayGradPhi () const
 
const FieldVariablePhiSecondsecondPhi () const override final
 Return the rank-2 tensor of second derivatives of the variable's elemental shape functions.
 
const FieldVariablePhiCurlcurlPhi () const override final
 Curl of the shape functions.
 
const FieldVariablePhiDivergencedivPhi () const override final
 Divergence of the shape functions.
 
const FieldVariablePhiValuephiFace () const override final
 Return the variable's shape functions on an element face.
 
const FieldVariablePhiGradientgradPhiFace () const override final
 Return the gradients of the variable's shape functions on an element face.
 
const MappedArrayVariablePhiGradientarrayGradPhiFace () const
 
const FieldVariablePhiSecondsecondPhiFace () const override final
 Return the rank-2 tensor of second derivatives of the variable's shape functions on an element face.
 
const FieldVariablePhiCurlcurlPhiFace () const
 
const FieldVariablePhiDivergencedivPhiFace () const
 
const FieldVariablePhiValuephiNeighbor () const override final
 Return the variable's shape functions on a neighboring element.
 
const FieldVariablePhiGradientgradPhiNeighbor () const override final
 Return the gradients of the variable's shape functions on a neighboring element.
 
const MappedArrayVariablePhiGradientarrayGradPhiNeighbor () const
 
const FieldVariablePhiSecondsecondPhiNeighbor () const override final
 Return the rank-2 tensor of second derivatives of the variable's shape functions on a neighboring element.
 
const FieldVariablePhiCurlcurlPhiNeighbor () const
 
const FieldVariablePhiDivergencedivPhiNeighbor () const
 
const FieldVariablePhiValuephiFaceNeighbor () const override final
 Return the variable's shape functions on a neighboring element face.
 
const FieldVariablePhiGradientgradPhiFaceNeighbor () const override final
 Return the gradients of the variable's shape functions on a neighboring element face.
 
const MappedArrayVariablePhiGradientarrayGradPhiFaceNeighbor () const
 
const FieldVariablePhiSecondsecondPhiFaceNeighbor () const override final
 Return the rank-2 tensor of second derivatives of the variable's shape functions on a neighboring element face.
 
const FieldVariablePhiCurlcurlPhiFaceNeighbor () const
 
const FieldVariablePhiDivergencedivPhiFaceNeighbor () const
 
virtual const FieldVariablePhiValuephiLower () const override
 Return the variable's shape functions on a lower-dimensional element.
 
const FieldVariablePhiGradientgradPhiLower () const
 
const ADTemplateVariableTestGradient< OutputShape > & adGradPhi () const
 
const ADTemplateVariableTestGradient< OutputShape > & adGradPhiFace () const
 
const ADTemplateVariableTestGradient< OutputShape > & adGradPhiFaceNeighbor () const
 
const FieldVariableValueincrement () const
 
const FieldVariableValuevectorTagValue (TagID tag) const override
 tag values getters
 
const FieldVariableGradientvectorTagGradient (TagID tag) const
 
const DofValuesvectorTagDofValue (TagID tag) const override
 
const FieldVariableValuematrixTagValue (TagID tag) const override
 
const FieldVariableValuesln () const override
 element solutions
 
const FieldVariableValueslnOld () const override
 
const FieldVariableValueslnOlder () const override
 
const FieldVariableValueslnPreviousNL () const
 
const FieldVariableGradientgradSln () const override
 element gradients
 
const FieldVariableGradientgradSlnOld () const override
 
const FieldVariableGradientgradSlnOlder () const
 
const FieldVariableGradientgradSlnPreviousNL () const
 
const FieldVariableGradientgradSlnDot () const
 element gradient dots
 
const FieldVariableGradientgradSlnDotDot () const
 
const FieldVariableSecondsecondSln () const
 element seconds
 
const FieldVariableSecondsecondSlnOld () const
 
const FieldVariableSecondsecondSlnOlder () const
 
const FieldVariableSecondsecondSlnPreviousNL () const
 
const FieldVariableCurlcurlSln () const
 element curls
 
const FieldVariableCurlcurlSlnOld () const
 
const FieldVariableCurlcurlSlnOlder () const
 
const FieldVariableDivergencedivSln () const
 element divergence
 
const FieldVariableDivergencedivSlnOld () const
 
const FieldVariableDivergencedivSlnOlder () const
 
const ADTemplateVariableValue< Real > & adSln () const override
 AD.
 
const ADTemplateVariableGradient< Real > & adGradSln () const override
 AD grad solution getter.
 
const ADTemplateVariableSecond< Real > & adSecondSln () const override
 AD second solution getter.
 
const ADTemplateVariableValue< Real > & adUDot () const override
 AD time derivative getter.
 
const ADTemplateVariableValue< Real > & adUDotDot () const override
 AD second time derivative getter.
 
const ADTemplateVariableGradient< Real > & adGradSlnDot () const override
 AD grad of time derivative solution getter.
 
const ADTemplateVariableCurl< Real > & adCurlSln () const override
 AD curl solution getter.
 
const ADTemplateVariableValue< Real > & adSlnNeighbor () const override
 neighbor AD
 
const ADTemplateVariableGradient< Real > & adGradSlnNeighbor () const override
 AD grad neighbor solution getter.
 
const ADTemplateVariableSecond< Real > & adSecondSlnNeighbor () const override
 AD second neighbor solution getter.
 
const ADTemplateVariableValue< Real > & adUDotNeighbor () const override
 AD neighbor time derivative getter.
 
const ADTemplateVariableValue< Real > & adUDotDotNeighbor () const override
 AD neighbor second time derivative getter.
 
const ADTemplateVariableGradient< Real > & adGradSlnNeighborDot () const override
 AD grad of time derivative neighbor solution getter.
 
const ADTemplateVariableCurl< Real > & adCurlSlnNeighbor () const override
 AD curl neighbor solution getter.
 
const FieldVariableValueuDot () const
 element dots
 
const FieldVariableValueuDotDot () const
 
const FieldVariableValueuDotOld () const
 
const FieldVariableValueuDotDotOld () const
 
const VariableValueduDotDu () const
 
const VariableValueduDotDotDu () const
 
const FieldVariableValueslnNeighbor () const override
 neighbor solutions
 
const FieldVariableValueslnOldNeighbor () const override
 
const FieldVariableValueslnOlderNeighbor () const
 
const FieldVariableValueslnPreviousNLNeighbor () const
 
const FieldVariableGradientgradSlnNeighbor () const override
 neighbor solution gradients
 
const FieldVariableGradientgradSlnOldNeighbor () const override
 
const FieldVariableGradientgradSlnOlderNeighbor () const
 
const FieldVariableGradientgradSlnPreviousNLNeighbor () const
 
const FieldVariableGradientgradSlnNeighborDot () const
 neighbor grad dots
 
const FieldVariableGradientgradSlnNeighborDotDot () const
 
const FieldVariableSecondsecondSlnNeighbor () const
 neighbor solution seconds
 
const FieldVariableSecondsecondSlnOldNeighbor () const
 
const FieldVariableSecondsecondSlnOlderNeighbor () const
 
const FieldVariableSecondsecondSlnPreviousNLNeighbor () const
 
const FieldVariableCurlcurlSlnNeighbor () const
 neighbor solution curls
 
const FieldVariableCurlcurlSlnOldNeighbor () const
 
const FieldVariableCurlcurlSlnOlderNeighbor () const
 
const FieldVariableDivergencedivSlnNeighbor () const
 neighbor solution divergence
 
const FieldVariableDivergencedivSlnOldNeighbor () const
 
const FieldVariableDivergencedivSlnOlderNeighbor () const
 
const FieldVariableValueuDotNeighbor () const
 neighbor dots
 
const FieldVariableValueuDotDotNeighbor () const
 
const FieldVariableValueuDotOldNeighbor () const
 
const FieldVariableValueuDotDotOldNeighbor () const
 
const VariableValueduDotDuNeighbor () const
 
const VariableValueduDotDotDuNeighbor () const
 
const ADTemplateVariableValue< Real > & adSlnLower () const
 lower-d element solution
 
const FieldVariableValueslnLower () const
 
const FieldVariableValueslnLowerOld () const
 
virtual void computeLowerDValues () override
 compute values at quadrature points on the lower dimensional element
 
virtual void setNodalValue (const Real &value, unsigned int idx=0) override
 
virtual void setDofValue (const DofValue &value, unsigned int index) override
 Degree of freedom value setters.
 
virtual void setDofValues (const DenseVector< DofValue > &values) override
 Set local DOF values and evaluate the values on quadrature points.
 
virtual void setLowerDofValues (const DenseVector< DofValue > &values) override
 Set local DOF values for a lower dimensional element and evaluate the values on quadrature points.
 
void insertNodalValue (libMesh::NumericVector< libMesh::Number > &residual, const DofValue &v)
 Write a nodal value to the passed-in solution vector.
 
DofValue getNodalValue (const Node &node) const
 Get the value of this variable at given node.
 
DofValue getNodalValueOld (const Node &node) const
 Get the old value of this variable at given node.
 
DofValue getNodalValueOlder (const Node &node) const
 Get the t-2 value of this variable at given node.
 
DofValue getElementalValue (const Elem *elem, unsigned int idx=0) const
 Get the current value of this variable on an element.
 
DofValue getElementalValueOld (const Elem *elem, unsigned int idx=0) const
 Get the old value of this variable on an element.
 
DofValue getElementalValueOlder (const Elem *elem, unsigned int idx=0) const
 Get the older value of this variable on an element.
 
virtual void insert (libMesh::NumericVector< libMesh::Number > &vector) override
 Set the current local DOF values to the input vector.
 
virtual void insertLower (libMesh::NumericVector< libMesh::Number > &vector) override
 Insert the currently cached degree of freedom values for a lower-dimensional element into the provided vector.
 
virtual void add (libMesh::NumericVector< libMesh::Number > &vector) override
 Add the current local DOF values to the input vector.
 
void addSolution (const DenseVector< libMesh::Number > &v)
 Add passed in local DOF values onto the current solution.
 
void addSolutionNeighbor (const DenseVector< libMesh::Number > &v)
 Add passed in local neighbor DOF values onto the current solution.
 
const DofValuesdofValue () const
 
const DofValuesdofValues () const override
 dof values getters
 
const DofValuesdofValuesOld () const override
 
const DofValuesdofValuesOlder () const override
 
const DofValuesdofValuesPreviousNL () const override
 
const DofValuesdofValuesNeighbor () const override
 
const DofValuesdofValuesOldNeighbor () const override
 
const DofValuesdofValuesOlderNeighbor () const override
 
const DofValuesdofValuesPreviousNLNeighbor () const override
 
const DofValuesdofValuesDot () const override
 
const DofValuesdofValuesDotNeighbor () const override
 
const DofValuesdofValuesDotNeighborResidual () const
 
const DofValuesdofValuesDotOld () const override
 
const DofValuesdofValuesDotOldNeighbor () const override
 
const DofValuesdofValuesDotDot () const override
 
const DofValuesdofValuesDotDotNeighbor () const override
 
const DofValuesdofValuesDotDotNeighborResidual () const
 
const DofValuesdofValuesDotDotOld () const override
 
const DofValuesdofValuesDotDotOldNeighbor () const override
 
const MooseArray< libMesh::Number > & dofValuesDuDotDu () const override
 
const MooseArray< libMesh::Number > & dofValuesDuDotDuNeighbor () const override
 
const MooseArray< libMesh::Number > & dofValuesDuDotDotDu () const override
 
const MooseArray< libMesh::Number > & dofValuesDuDotDotDuNeighbor () const override
 
const ADDofValuesadDofValues () const override
 Return the AD dof values.
 
const ADDofValuesadDofValuesNeighbor () const override
 Return the AD neighbor dof values.
 
const ADDofValuesadDofValuesDot () const override
 Return the AD time derivatives at dofs.
 
void computeIncrementAtQps (const libMesh::NumericVector< libMesh::Number > &increment_vec)
 Compute and store incremental change in solution at QPs based on increment_vec.
 
void computeIncrementAtNode (const libMesh::NumericVector< libMesh::Number > &increment_vec)
 Compute and store incremental change at the current node based on increment_vec.
 
Real getValue (const Elem *elem, const std::vector< std::vector< OutputShape > > &phi) const
 Compute the variable value at a point on an element.
 
OutputTools< Real >::OutputGradient getGradient (const Elem *elem, const std::vector< std::vector< typename OutputTools< Real >::OutputShapeGradient > > &grad_phi) const
 Compute the variable gradient value at a point on an element.
 
virtual std::size_t phiSize () const final
 Return phi size.
 
virtual std::size_t phiFaceSize () const final
 Return phiFace size.
 
virtual std::size_t phiNeighborSize () const final
 Return phiNeighbor size.
 
virtual std::size_t phiFaceNeighborSize () const final
 Return phiFaceNeighbor size.
 
std::size_t phiLowerSize () const final
 Return the number of shape functions on the lower dimensional element for this variable.
 
const Real & nodalValue () const
 Methods for retrieving values of variables at the nodes.
 
const Real & nodalValueOld () const
 
const Real & nodalValueOlder () const
 
const Real & nodalValuePreviousNL () const
 
const Real & nodalValueDot () const
 
const Real & nodalValueDotDot () const
 
const Real & nodalValueDotOld () const
 
const Real & nodalValueDotDotOld () const
 
const Real & nodalValueDuDotDu () const
 
const Real & nodalValueDuDotDotDu () const
 
const Real & nodalValueNeighbor () const
 
const Real & nodalValueOldNeighbor () const
 
const Real & nodalValueOlderNeighbor () const
 
const Real & nodalValuePreviousNLNeighbor () const
 
const Real & nodalValueDotNeighbor () const
 
const Real & nodalValueDotNeighborResidual () const
 
const Real & nodalValueDotDotNeighbor () const
 
const Real & nodalValueDotDotNeighborResidual () const
 
const Real & nodalValueDotOldNeighbor () const
 
const Real & nodalValueDotDotOldNeighbor () const
 
const Real & nodalValueDuDotDuNeighbor () const
 
const Real & nodalValueDuDotDotDuNeighbor () const
 
const MooseArray< Real > & nodalValueArray () const override
 Methods for retrieving values of variables at the nodes in a MooseArray for AuxKernelBase.
 
const MooseArray< Real > & nodalValueOldArray () const override
 
const MooseArray< Real > & nodalValueOlderArray () const override
 
const DofValuesnodalVectorTagValue (TagID tag) const override
 
const DofValuesnodalMatrixTagValue (TagID tag) const override
 
const Moose::ADType< Real >::typeadNodalValue () const
 
virtual void computeNodalValues () override
 Compute nodal values of this variable.
 
virtual void computeNodalNeighborValues () override
 Compute nodal values of this variable in the neighbor.
 
unsigned int oldestSolutionStateRequested () const override final
 The oldest solution state that is requested for this variable (0 = current, 1 = old, 2 = older, etc).
 
void setActiveTags (const std::set< TagID > &vtags) override
 Set the active vector tags.
 
virtual void meshChanged () override
 Called on this object when the mesh changes.
 
virtual void residualSetup () override
 Gets called just before the residual is computed and before this object is asked to do its job.
 
virtual void jacobianSetup () override
 Gets called just before the Jacobian is computed and before this object is asked to do its job.
 
virtual void sizeMatrixTagData () override
 Size data structures related to matrix tagging.
 
bool supportsFaceArg () const override final
 Whether this functor supports evaluation with FaceArg.
 
bool supportsElemSideQpArg () const override final
 Whether this functor supports evaluation with ElemSideQpArg.
 
void computeSolution (const Elem *const elem, const unsigned int n_qp, const StateArg &state, const Shapes &phi, Solution &local_soln, const GradShapes &grad_phi, GradSolution &grad_local_soln, Solution &dot_local_soln, GradSolution &grad_dot_local_soln) const
 
virtual Moose::VarFieldType fieldType () const override
 Field type of this variable.
 
virtual bool isArray () const override
 
virtual bool isVector () const override
 
bool usesPhiNeighbor () const
 Whether or not this variable is actually using the shape function value.
 
bool usesGradPhiNeighbor () const
 Whether or not this variable is actually using the shape function gradient.
 
bool hasBlocks (const SubdomainName &name) const
 Test if the supplied block name is valid for this object.
 
bool hasBlocks (const std::vector< SubdomainName > &names) const
 Test if the supplied vector of block names are valid for this object.
 
bool hasBlocks (const std::set< SubdomainName > &names) const
 Test if the supplied set of block names are valid for this object.
 
bool hasBlocks (const std::vector< SubdomainID > &ids) const
 Test if the supplied vector block ids are valid for this object.
 
bool hasBlocks (const std::set< SubdomainID > &ids) const
 Test if the supplied set of block ids are valid for this object.
 
const std::string & componentName (const unsigned int comp) const
 Get the variable name of a component in libMesh.
 
virtual bool isFV () const
 
const std::set< SubdomainID > & activeSubdomains () const
 The subdomains the variable is active on.
 
bool activeOnSubdomain (SubdomainID subdomain) const
 Is the variable active on the subdomain?
 
bool activeOnSubdomains (const std::set< SubdomainID > &subdomains) const
 Is the variable active on the subdomains?
 
virtual bool needsGradientVectorStorage () const
 Check if this variable needs a raw vector of gradients at dof-values.
 
virtual void computeFaceValues (const FaceInfo &)
 Compute values at face quadrature points for the element+neighbor (both sides of the face).
 
virtual void requireQpComputations () const
 Request that quadrature point data be (pre)computed.
 
const std::string & arrayVariableComponent (const unsigned int i) const
 Returns the variable name of a component of an array variable.
 
unsigned int number () const
 Get variable number coming from libMesh.
 
const libMesh::FETypefeType () const
 Get the type of finite element object.
 
SystemBasesys ()
 Get the system this variable is part of.
 
const SystemBasesys () const
 Get the system this variable is part of.
 
bool useDual () const
 Get dual mortar option.
 
const std::vector< dof_id_type > & allDofIndices () const
 Get all global dofindices for the variable.
 
unsigned int totalVarDofs ()
 
Moose::VarKindType kind () const
 Kind of the variable (Nonlinear, Auxiliary, ...)
 
void scalingFactor (const std::vector< Real > &factor)
 Set the scaling factor for this variable.
 
Real scalingFactor () const
 Get the scaling factor for this variable.
 
const std::vector< Real > & arrayScalingFactor () const
 
libMesh::Order order () const
 Get the order of this variable Note: Order enum can be implicitly converted to unsigned int.
 
unsigned int count () const
 Get the number of components Note: For standard and vector variables, the number is one.
 
const libMesh::DofMapdofMap () const
 The DofMap associated with the system this variable is in.
 
std::vector< dof_id_typecomponentDofIndices (const std::vector< dof_id_type > &dof_indices, unsigned int component) const
 Obtain DoF indices of a component with the indices of the 0th component.
 
bool eigen () const
 Whether or not this variable operates on an eigen kernel.
 
void eigen (bool eigen)
 Mark this variable as an eigen var or non-eigen var.
 
void initialSetup () override
 Gets called at the beginning of the simulation before this object is asked to do its job.
 
virtual bool enabled () const
 Return the enabled status of the object.
 
std::shared_ptr< MooseObjectgetSharedPtr ()
 Get another shared pointer to this object that has the same ownership group.
 
std::shared_ptr< const MooseObjectgetSharedPtr () const
 
bool isKokkosObject () const
 Get whether this object is a Kokkos functor The parameter MooseBase::kokkos_object_param is set by the Kokkos base classes.
 
MooseAppgetMooseApp () const
 Get the MooseApp this class is associated with.
 
const std::string & type () const
 Get the type of this class.
 
const std::string & name () const
 Get the name of the class.
 
std::string typeAndName () const
 Get the class's combined type and name; useful in error handling.
 
MooseObjectParameterName uniqueParameterName (const std::string &parameter_name) const
 
MooseObjectName uniqueName () const
 
const InputParametersparameters () const
 Get the parameters of the object.
 
const hit::Node * getHitNode () const
 
bool hasBase () const
 
const std::string & getBase () const
 
template<typename T >
const T & getParam (const std::string &name) const
 Retrieve a parameter for the object.
 
template<typename T1 , typename T2 >
std::vector< std::pair< T1, T2 > > getParam (const std::string &param1, const std::string &param2) const
 Retrieve two parameters and provide pair of parameters for the object.
 
template<typename T >
const T * queryParam (const std::string &name) const
 Query a parameter for the object.
 
template<typename T >
const T & getRenamedParam (const std::string &old_name, const std::string &new_name) const
 Retrieve a renamed parameter for the object.
 
template<typename T >
getCheckedPointerParam (const std::string &name, const std::string &error_string="") const
 Verifies that the requested parameter exists and is not NULL and returns it to the caller.
 
bool isParamValid (const std::string &name) const
 Test if the supplied parameter is valid.
 
bool isParamSetByUser (const std::string &name) const
 Test if the supplied parameter is set by a user, as opposed to not set or set to default.
 
void connectControllableParams (const std::string &parameter, const std::string &object_type, const std::string &object_name, const std::string &object_parameter) const
 Connect controllable parameter of this action with the controllable parameters of the objects added by this action.
 
template<typename... Args>
void paramError (const std::string &param, Args... args) const
 Emits an error prefixed with the file and line number of the given param (from the input file) along with the full parameter path+name followed by the given args as the message.
 
template<typename... Args>
void paramWarning (const std::string &param, Args... args) const
 Emits a warning prefixed with the file and line number of the given param (from the input file) along with the full parameter path+name followed by the given args as the message.
 
template<typename... Args>
void paramWarning (const std::string &param, Args... args) const
 
template<typename... Args>
void paramInfo (const std::string &param, Args... args) const
 Emits an informational message prefixed with the file and line number of the given param (from the input file) along with the full parameter path+name followed by the given args as the message.
 
std::string messagePrefix (const bool hit_prefix=true) const
 
std::string errorPrefix (const std::string &) const
 Deprecated message prefix; the error type is no longer used.
 
template<typename... Args>
void mooseError (Args &&... args) const
 Emits an error prefixed with object name and type and optionally a file path to the top-level block parameter if available.
 
template<typename... Args>
void mooseDocumentedError (const std::string &repo_name, const unsigned int issue_num, Args &&... args) const
 
template<typename... Args>
void mooseErrorNonPrefixed (Args &&... args) const
 Emits an error without the prefixing included in mooseError().
 
template<typename... Args>
void mooseWarning (Args &&... args) const
 Emits a warning prefixed with object name and type.
 
template<typename... Args>
void mooseWarning (Args &&... args) const
 
template<typename... Args>
void mooseWarningNonPrefixed (Args &&... args) const
 Emits a warning without the prefixing included in mooseWarning().
 
template<typename... Args>
void mooseWarningNonPrefixed (Args &&... args) const
 
template<typename... Args>
void mooseDeprecated (Args &&... args) const
 Emits a deprecation warning prefixed with the object name and type, and a stack trace.
 
template<typename... Args>
void mooseDeprecated (Args &&... args) const
 
template<typename... Args>
void mooseDeprecatedNoTrace (Args &&... args) const
 Emits a deprecation warning prefixed with the object name and type, and no stack trace.
 
template<typename... Args>
void mooseInfo (Args &&... args) const
 
void callMooseError (std::string msg, const bool with_prefix, const hit::Node *node=nullptr, const bool show_trace=true) const
 External method for calling moose error with added object context.
 
const Parallel::Communicatorcomm () const
 
processor_id_type n_processors () const
 
processor_id_type processor_id () const
 
std::string getDataFileName (const std::string &param) const
 Deprecated method.
 
std::string getDataFileNameByName (const std::string &relative_path) const
 Deprecated method.
 
std::string getDataFilePath (const std::string &relative_path) const
 Returns the path of a data file for a given relative file path.
 
const std::vector< SubdomainName > & blocks () const
 Return the block names for this object.
 
unsigned int numBlocks () const
 Return the number of blocks for this object.
 
virtual const std::set< SubdomainID > & blockIDs () const
 Return the block subdomain ids for this object Note, if this is not block restricted, this function returns all mesh subdomain ids.
 
unsigned int blocksMaxDimension () const
 Return the largest mesh dimension of the elements in the blocks for this object.
 
bool isBlockSubset (const std::set< SubdomainID > &ids) const
 Test if the class block ids are a subset of the supplied objects.
 
bool isBlockSubset (const std::vector< SubdomainID > &ids) const
 Test if the class block ids are a subset of the supplied objects.
 
template<typename T , bool is_ad = false>
bool hasBlockMaterialProperty (const std::string &prop_name)
 Check if a material property is valid for all blocks of this object.
 
const std::set< SubdomainID > & meshBlockIDs () const
 Return all of the SubdomainIDs for the mesh.
 
virtual bool blockRestricted () const
 Returns true if this object has been restricted to a block.
 
virtual void checkVariable (const MooseVariableFieldBase &variable) const
 Helper for checking that the ids for this object are in agreement with the variables on the supplied variable.
 
void buildOutputHideVariableList (std::set< std::string > variable_names)
 Builds hide lists for output objects NOT listed in the 'outputs' parameter.
 
const std::set< OutputName > & getOutputs ()
 Get the list of output objects that this class is restricted.
 
virtual void subdomainSetup ()
 Gets called when the subdomain changes (i.e.
 
virtual void customSetup (const ExecFlagType &)
 Gets called in FEProblemBase::execute() for execute flags other than initial, timestep_begin, nonlinear, linear and subdomain.
 
virtual void customSetup (const ExecFlagType &exec_type) override
 
const ExecFlagEnumgetExecuteOnEnum () const
 Return the execute on MultiMooseEnum for this object.
 
FunctorReturnType< Moose::ADType< OutputType >::type, FET >::type genericEvaluate (const Space &r, const State &state) const
 Perform a generic evaluation based on the supplied template argument FET and supplied spatial and temporal arguments.
 
const MooseFunctorName & functorName () const
 Return the functor name.
 
void setCacheClearanceSchedule (const std::set< ExecFlagType > &clearance_schedule)
 Set how often to clear the functor evaluation cache.
 
virtual bool isExtrapolatedBoundaryFace (const FaceInfo &, const Elem *, const StateArg &) const
 Returns whether this (sided) face is an extrapolated boundary face for this functor.
 
bool isInternalFace (const FaceInfo &) const
 Returns true if the face is an internal face.
 
virtual bool isConstant () const
 Returns true if this functor is a constant.
 
virtual bool hasFaceSide (const FaceInfo &fi, const bool fi_elem_side) const override
 
void checkFace (const Moose::FaceArg &face) const
 Examines the incoming face argument.
 
ValueType operator() (const ElemArg &elem, const StateArg &state) const
 Same as their evaluate overloads with the same arguments but allows for caching implementation.
 
ValueType operator() (const FaceArg &face, const StateArg &state) const
 
ValueType operator() (const ElemQpArg &qp, const StateArg &state) const
 
ValueType operator() (const ElemSideQpArg &qp, const StateArg &state) const
 
ValueType operator() (const ElemPointArg &elem_point, const StateArg &state) const
 
ValueType operator() (const NodeArg &node, const StateArg &state) const
 
GradientType gradient (const ElemArg &elem, const StateArg &state) const
 Same as their evaluateGradient overloads with the same arguments but allows for caching implementation.
 
GradientType gradient (const FaceArg &face, const StateArg &state) const
 
GradientType gradient (const ElemQpArg &qp, const StateArg &state) const
 
GradientType gradient (const ElemSideQpArg &qp, const StateArg &state) const
 
GradientType gradient (const ElemPointArg &elem_point, const StateArg &state) const
 
GradientType gradient (const NodeArg &node, const StateArg &state) const
 
DotType dot (const ElemArg &elem, const StateArg &state) const
 Same as their evaluateDot overloads with the same arguments but allows for caching implementation.
 
DotType dot (const FaceArg &face, const StateArg &state) const
 
DotType dot (const ElemQpArg &qp, const StateArg &state) const
 
DotType dot (const ElemSideQpArg &qp, const StateArg &state) const
 
DotType dot (const ElemPointArg &elem_point, const StateArg &state) const
 
DotType dot (const NodeArg &node, const StateArg &state) const
 
GradientType gradDot (const ElemArg &elem, const StateArg &state) const
 Same as their evaluateGradDot overloads with the same arguments but allows for caching implementation.
 
GradientType gradDot (const FaceArg &face, const StateArg &state) const
 
GradientType gradDot (const ElemQpArg &qp, const StateArg &state) const
 
GradientType gradDot (const ElemSideQpArg &qp, const StateArg &state) const
 
GradientType gradDot (const ElemPointArg &elem_point, const StateArg &state) const
 
GradientType gradDot (const NodeArg &node, const StateArg &state) const
 

Static Public Member Functions

static InputParameters validParams ()
 
static void callMooseError (MooseApp *const app, const InputParameters &params, std::string msg, const bool with_prefix, const hit::Node *node, const bool show_trace=true)
 External method for calling moose error with added object context.
 

Public Attributes

 usingCombinedWarningSolutionWarnings
 
const ConsoleStream _console
 An instance of helper class to write streams to the Console objects.
 

Static Public Attributes

static const std::string type_param = "_type"
 The name of the parameter that contains the object type.
 
static const std::string name_param = "_object_name"
 The name of the parameter that contains the object name.
 
static const std::string unique_name_param = "_unique_name"
 The name of the parameter that contains the unique object name.
 
static const std::string app_param = "_moose_app"
 The name of the parameter that contains the MooseApp.
 
static const std::string moose_base_param = "_moose_base"
 The name of the parameter that contains the moose system base.
 
static const std::string kokkos_object_param = "_kokkos_object"
 The name of the parameter that indicates an object is a Kokkos functor.
 

Protected Types

using ElemArg = Moose::ElemArg
 
using ElemQpArg = Moose::ElemQpArg
 
using ElemSideQpArg = Moose::ElemSideQpArg
 
using FaceArg = Moose::FaceArg
 
using StateArg = Moose::StateArg
 
using NodeArg = Moose::NodeArg
 
using ElemPointArg = Moose::ElemPointArg
 

Protected Member Functions

ValueType faceEvaluate (const FaceArg &, const StateArg &, const std::vector< ValueType > &cache_data) const
 A common method that both evaluate(FaceArg) and evaluateDot(FaceArg) can call.
 
ValueType evaluate (const ElemQpArg &elem_qp, const StateArg &state) const override final
 
ValueType evaluate (const ElemSideQpArg &elem_side_qp, const StateArg &state) const override final
 
ValueType evaluate (const ElemArg &, const StateArg &) const override final
 Evaluate the functor with a given element.
 
ValueType evaluate (const ElemPointArg &, const StateArg &) const override final
 Evaluate the functor with a given element and point.
 
ValueType evaluate (const NodeArg &node_arg, const StateArg &state) const override final
 
ValueType evaluate (const FaceArg &, const StateArg &) const override final
 
GradientType evaluateGradient (const ElemQpArg &elem_qp, const StateArg &state) const override
 
GradientType evaluateGradient (const ElemSideQpArg &elem_side_qp, const StateArg &state) const override final
 
GradientType evaluateGradient (const ElemArg &, const StateArg &) const override final
 Evaluate the functor gradient with a given element.
 
DotType evaluateDot (const ElemQpArg &elem_qp, const StateArg &state) const override final
 
DotType evaluateDot (const ElemSideQpArg &elem_side_qp, const StateArg &state) const override final
 
DotType evaluateDot (const ElemArg &, const StateArg &) const override final
 Evaluate the functor time derivative with a given element.
 
DotType evaluateDot (const FaceArg &, const StateArg &) const override final
 
GradientType evaluateGradDot (const ElemArg &, const StateArg &) const override final
 Evaluate the functor gradient-dot with a given element.
 
const libMesh::NumericVector< libMesh::Number > & getSolution (const Moose::StateArg &state) const
 Get the solution corresponding to the provided state.
 
bool doDerivatives () const
 
template<bool warning>
void flagInvalidSolutionInternal (const InvalidSolutionID invalid_solution_id) const
 Set solution invalid mark for the given solution ID.
 
InvalidSolutionID registerInvalidSolutionInternal (const std::string &message, const bool warning) const
 
virtual bool hasBlockMaterialPropertyHelper (const std::string &prop_name)
 A helper method to allow the Material object to specialize the behavior of hasBlockMaterialProperty.
 
void initializeBlockRestrictable (const MooseObject *moose_object)
 An initialization routine needed for dual constructors.
 
void initializeKokkosBlockRestrictable ()
 
Moose::CoordinateSystemType getBlockCoordSystem ()
 Check if the blocks this object operates on all have the same coordinate system, and if so return it.
 
KOKKOS_FUNCTION dof_id_type numKokkosBlockElements () const
 Get the number of elements this Kokkos object is operating on.
 
KOKKOS_FUNCTION dof_id_type numKokkosBlockNodes () const
 Get the number of nodes this Kokkos object is operating on.
 
KOKKOS_FUNCTION dof_id_type numKokkosBlockSides () const
 Get the number of sides this Kokkos object is operating on.
 
KOKKOS_FUNCTION ContiguousElementID kokkosBlockElementID (Moose::Kokkos::ThreadID tid) const
 Get the contiguous element ID this Kokkos thread is operating on.
 
KOKKOS_FUNCTION ContiguousElementID kokkosBlockNodeID (Moose::Kokkos::ThreadID tid) const
 Get the contiguous node index this Kokkos thread is operating on.
 
KOKKOS_FUNCTION auto kokkosBlockElementSideID (Moose::Kokkos::ThreadID tid) const
 Get the contiguous element ID - side index pair this Kokkos thread is operating on.
 
Functor evaluation routines

These methods are all for evaluating functors with different kinds of spatial arguments.

Each of these methods also takes a state argument. For a description of the state argument, please see the StateArg doxygen

virtual GradientType evaluateGradient (const FaceArg &, const StateArg &) const
 
virtual GradientType evaluateGradient (const ElemPointArg &, const StateArg &) const
 Evaluate the functor gradient with a given element and point.
 
virtual GradientType evaluateGradient (const NodeArg &, const StateArg &) const
 
virtual DotType evaluateDot (const ElemPointArg &, const StateArg &) const
 Evaluate the functor time derivative with a given element and point.
 
virtual DotType evaluateDot (const NodeArg &, const StateArg &) const
 
virtual GradientType evaluateGradDot (const FaceArg &, const StateArg &) const
 
virtual GradientType evaluateGradDot (const ElemQpArg &, const StateArg &) const
 
virtual GradientType evaluateGradDot (const ElemSideQpArg &, const StateArg &) const
 
virtual GradientType evaluateGradDot (const ElemPointArg &, const StateArg &) const
 Evaluate the functor gradient-dot with a given element and point.
 
virtual GradientType evaluateGradDot (const NodeArg &, const StateArg &) const
 

Protected Attributes

 usingMooseVariableFieldMembers
 
std::unique_ptr< MooseVariableData< Real > > _element_data
 Holder for all the data associated with the "main" element.
 
std::unique_ptr< MooseVariableData< Real > > _neighbor_data
 Holder for all the data associated with the neighbor element.
 
std::unique_ptr< MooseVariableData< Real > > _lower_data
 Holder for all the data associated with the lower dimeensional element.
 
SystemBase_sys
 System this variable is part of.
 
libMesh::FEType _fe_type
 The FEType associated with this variable.
 
unsigned int _var_num
 variable number (from libMesh)
 
unsigned int _index
 variable number within MOOSE
 
bool _is_eigen
 Whether or not this variable operates on eigen kernels.
 
Moose::VarKindType _var_kind
 Variable type (see MooseTypes.h)
 
SubProblem_subproblem
 Problem this variable is part of.
 
const libMesh::Variable_variable
 libMesh variable object for this variable
 
Assembly_assembly
 Assembly data.
 
const libMesh::DofMap_dof_map
 DOF map.
 
std::vector< dof_id_type > _dof_indices
 DOF indices.
 
MooseMesh_mesh
 mesh the variable is active in
 
THREAD_ID _tid
 Thread ID.
 
const unsigned int _count
 Number of variables in the array.
 
std::vector< Real > _scaling_factor
 scaling factor for this variable
 
bool _use_dual
 If dual mortar approach is used.
 
bool _is_lower_d
 Whether this variable lives on lower dimensional blocks.
 
std::vector< std::string > _array_var_component_names
 Array variable names when the variable is an array variable.
 
const bool & _enabled
 Reference to the "enable" InputParameters, used by Controls for toggling on/off MooseObjects.
 
MooseApp_app
 The MOOSE application this is associated with.
 
Factory_factory
 The Factory associated with the MooseApp.
 
ActionFactory_action_factory
 Builds Actions.
 
const std::string & _type
 The type of this class.
 
const std::string & _name
 The name of this class.
 
const InputParameters_pars
 The object's parameters.
 
const Parallel::Communicator_communicator
 
const MaterialData_blk_material_data
 Pointer to the MaterialData class for this object.
 
const ExecFlagEnum_execute_enum
 Execute settings for this object.
 
const ExecFlagType_current_execute_flag
 Reference to FEProblemBase.
 
FEProblemBase_mci_feproblem
 Reference to FEProblemBase instance.
 

Private Member Functions

void computeSolution (const Elem *elem, unsigned int n_qp, const StateArg &state, const Shapes &phi, Solution &local_soln, const GradShapes &grad_phi, GradSolution &grad_local_soln, Solution &dot_local_soln, GradSolution &grad_dot_local_soln) const
 Compute the solution, gradient, time derivative, and gradient of the time derivative with provided shape functions.
 
void evaluateOnElement (const ElemQpArg &elem_qp, const StateArg &state, bool cache_eligible) const
 Evaluate solution and gradient for the elem_qp argument.
 
void evaluateOnElementSide (const ElemSideQpArg &elem_side_qp, const StateArg &state, bool cache_eligible) const
 Evaluate solution and gradient for the elem_side_qp argument.
 
void clearCacheData ()
 clear cache data
 
ValueType queryQpCache (unsigned int qp, const libMesh::QBase &qrule, std::vector< std::pair< bool, Moose::ADType< OutputType >::type > > &qp_cache_data, const SpaceArg &space, const StateArg &state) const
 check a qp cache and if invalid then evaluate
 
ValueType queryFVArgCache (std::map< SpaceArg, ValueType > &cache_data, const SpaceArg &space) const
 check a finite volume spatial argument cache and if invalid then evaluate
 

Static Private Member Functions

static const hit::Node * getHitNode (const InputParameters &params)
 Internal method for getting a hit node (if available) given a set of parameters.
 
static std::string messagePrefix (const InputParameters &params, const bool hit_prefix)
 Internal method for getting the message prefix for an object (object type, name, etc).
 

Private Attributes

const Elem * _current_elem_qp_functor_elem
 Keep track of the current elem-qp functor element in order to enable local caching (e.g.
 
std::vector< ValueType_current_elem_qp_functor_sln
 The values of the solution for the _current_elem_qp_functor_elem.
 
std::vector< GradientType_current_elem_qp_functor_gradient
 The values of the gradient for the _current_elem_qp_functor_elem.
 
std::vector< DotType_current_elem_qp_functor_dot
 The values of the time derivative for the _current_elem_qp_functor_elem.
 
std::vector< GradientType_current_elem_qp_functor_grad_dot
 The values of the gradient of the time derivative for the _current_elem_qp_functor_elem.
 
std::pair< const Elem *, unsigned int_current_elem_side_qp_functor_elem_side
 Keep track of the current elem-side-qp functor element and side in order to enable local caching (e.g.
 
std::vector< ValueType_current_elem_side_qp_functor_sln
 The values of the solution for the _current_elem_side_qp_functor_elem_side.
 
std::vector< GradientType_current_elem_side_qp_functor_gradient
 The values of the gradient for the _current_elem_side_qp_functor_elem_side.
 
std::vector< DotType_current_elem_side_qp_functor_dot
 The values of the time derivative for the _current_elem_side_qp_functor_elem_side.
 
std::vector< GradientType_current_elem_side_qp_functor_grad_dot
 The values of the gradient of the time derivative for the _current_elem_side_qp_functor_elem_side.
 
const ParallelParamObject_parent
 
const MooseBase_si_moose_base
 The MooseBase that owns this interface.
 
const FEProblemBase_si_problem
 A pointer to FEProblem base.
 
std::set< SubdomainID_blk_ids
 Set of block ids supplied by the user via the input file (for error checking)
 
std::vector< SubdomainID_vec_ids
 Vector of block ids supplied by the user via the input file (for error reporting)
 
std::vector< SubdomainName > _blocks
 Vector the block names supplied by the user via the input file.
 
const bool _blk_dual_restrictable
 Flag for allowing dual restriction.
 
FEProblemBase_blk_feproblem
 Pointer to FEProblemBase.
 
const MooseMesh_blk_mesh
 Pointer to Mesh.
 
const std::set< BoundaryID_empty_boundary_ids
 An empty set for referencing when boundary_ids is not included.
 
const std::set< BoundaryID > & _boundary_ids
 Reference to the boundary_ids, defaults to an empty set if not provided.
 
THREAD_ID _blk_tid
 Thread id for this object.
 
const std::string & _blk_name
 Name of the object.
 
unsigned int _blk_dim
 Largest mesh dimension of the elements in the blocks for this object.
 
const MooseObject_moose_object
 Pointer to the MOOSE object.
 
Moose::Kokkos::Array< ContiguousElementID_kokkos_element_ids
 List of contiguous element IDs this Kokkos object is operating on.
 
Moose::Kokkos::Array< ContiguousNodeID_kokkos_node_ids
 List of contiguous node IDs this Kokkos object is operating on.
 
Moose::Kokkos::Array< Moose::Kokkos::Pair< ContiguousElementID, unsigned int > > _kokkos_element_side_ids
 List of contiguous local element ID - side index pairs this Kokkos object is operating on.
 
MooseApp_oi_moose_app
 Reference the the MooseApp; neede for access to the OutputWarehouse.
 
OutputWarehouse_oi_output_warehouse
 Reference to the OutputWarehouse for populating the Output object hide lists.
 
std::set< OutputName > _oi_outputs
 The set of Output object names listed in the 'outputs' parameter.
 
ExecFlagEnum _empty_execute_enum
 Empty ExecFlagEnum for the case when the "execute_on" parameter is not included.
 
std::set< ExecFlagType_clearance_schedule
 How often to clear the material property cache.
 
bool _always_evaluate
 Boolean to check if we always need evaluation.
 
dof_id_type _current_qp_map_key
 Current key for qp map cache.
 
std::vector< std::pair< bool, ValueType > > * _current_qp_map_value
 Current value for qp map cache.
 
std::unordered_map< dof_id_type, std::vector< std::pair< bool, ValueType > > > _qp_to_value
 Cached element quadrature point functor property evaluations.
 
dof_id_type _current_side_qp_map_key
 Current key for side-qp map cache.
 
std::vector< std::vector< std::pair< bool, ValueType > > > * _current_side_qp_map_value
 Current value for side-qp map cache.
 
std::unordered_map< dof_id_type, std::vector< std::vector< std::pair< bool, ValueType > > > > _side_qp_to_value
 Cached element quadrature point functor property evaluations.
 
std::map< ElemArg, ValueType_elem_arg_to_value
 Map from element arguments to their cached evaluations.
 
std::map< FaceArg, ValueType_face_arg_to_value
 Map from face arguments to their cached evaluations.
 
std::map< NodeArg, ValueType_node_arg_to_value
 Map from nodal arguments to their cached evaluations.
 
MooseFunctorName _functor_name
 name of the functor
 
template<bool is_ad>
const MooseArray< GenericReal< is_ad > > & genericDofValues () const
 
virtual void timestepSetup () override
 Gets called at the beginning of the timestep before this object is asked to do its job.
 
bool hasBlocks (const SubdomainID id) const override
 Returns whether the functor is defined on this block.
 
const TimeIntegrator *const _time_integrator
 the time integrator used for computing time derivatives
 
ADReal _ad_real_dummy = 0
 A dummy ADReal variable.
 

Detailed Description

Definition at line 14 of file MooseVariableConstMonomial.h.

Member Typedef Documentation

◆ ADDofValue

template<typename OutputType >
using MooseVariableField< OutputType >::ADDofValue = typename MooseVariableDataBase<OutputType>::ADDofValue
inherited

Definition at line 83 of file MooseVariableField.h.

◆ ADDofValues

template<typename OutputType >
using MooseVariableField< OutputType >::ADDofValues = typename MooseVariableDataBase<OutputType>::ADDofValues
inherited

Definition at line 84 of file MooseVariableField.h.

◆ DataFileParameterType

using DataFileInterface::DataFileParameterType = DataFileName
inherited

The parameter type this interface expects for a data file name.

Definition at line 27 of file DataFileInterface.h.

◆ DofValue

template<typename OutputType >
using MooseVariableField< OutputType >::DofValue = typename MooseVariableDataBase<OutputType>::DofValue
inherited

Definition at line 81 of file MooseVariableField.h.

◆ DofValues

template<typename OutputType >
using MooseVariableField< OutputType >::DofValues = typename MooseVariableDataBase<OutputType>::DofValues
inherited

Definition at line 82 of file MooseVariableField.h.

◆ DotType

using Moose::FunctorBase< Moose::ADType< OutputType >::type >::DotType = ValueType
inherited

Definition at line 150 of file MooseFunctor.h.

◆ ElemArg

using MooseVariableFE< Real >::ElemArg = Moose::ElemArg
protectedinherited

Definition at line 737 of file MooseVariableFE.h.

◆ ElemPointArg

using MooseVariableFE< Real >::ElemPointArg = Moose::ElemPointArg
protectedinherited

Definition at line 743 of file MooseVariableFE.h.

◆ ElemQpArg

using MooseVariableFE< Real >::ElemQpArg = Moose::ElemQpArg
protectedinherited

Definition at line 738 of file MooseVariableFE.h.

◆ ElemSideQpArg

using MooseVariableFE< Real >::ElemSideQpArg = Moose::ElemSideQpArg
protectedinherited

Definition at line 739 of file MooseVariableFE.h.

◆ FaceArg

using MooseVariableFE< Real >::FaceArg = Moose::FaceArg
protectedinherited

Definition at line 740 of file MooseVariableFE.h.

◆ FieldVariableCurl

using MooseVariableFE< Real >::FieldVariableCurl = typename MooseVariableField<Real >::FieldVariableCurl
inherited

Definition at line 56 of file MooseVariableFE.h.

◆ FieldVariableDivergence

using MooseVariableFE< Real >::FieldVariableDivergence = typename MooseVariableField<Real >::FieldVariableDivergence
inherited

Definition at line 57 of file MooseVariableFE.h.

◆ FieldVariableGradient

using MooseVariableFE< Real >::FieldVariableGradient = typename MooseVariableField<Real >::FieldVariableGradient
inherited

Definition at line 54 of file MooseVariableFE.h.

◆ FieldVariablePhiCurl

using MooseVariableFE< Real >::FieldVariablePhiCurl = typename MooseVariableField<Real >::FieldVariablePhiCurl
inherited

Definition at line 68 of file MooseVariableFE.h.

◆ FieldVariablePhiDivergence

using MooseVariableFE< Real >::FieldVariablePhiDivergence = typename MooseVariableField<Real >::FieldVariablePhiDivergence
inherited

Definition at line 69 of file MooseVariableFE.h.

◆ FieldVariablePhiGradient

using MooseVariableFE< Real >::FieldVariablePhiGradient = typename MooseVariableField<Real >::FieldVariablePhiGradient
inherited

Definition at line 65 of file MooseVariableFE.h.

◆ FieldVariablePhiSecond

using MooseVariableFE< Real >::FieldVariablePhiSecond = typename MooseVariableField<Real >::FieldVariablePhiSecond
inherited

Definition at line 67 of file MooseVariableFE.h.

◆ FieldVariablePhiValue

using MooseVariableFE< Real >::FieldVariablePhiValue = typename MooseVariableField<Real >::FieldVariablePhiValue
inherited

Definition at line 64 of file MooseVariableFE.h.

◆ FieldVariableSecond

using MooseVariableFE< Real >::FieldVariableSecond = typename MooseVariableField<Real >::FieldVariableSecond
inherited

Definition at line 55 of file MooseVariableFE.h.

◆ FieldVariableTestCurl

using MooseVariableFE< Real >::FieldVariableTestCurl = typename MooseVariableField<Real >::FieldVariableTestCurl
inherited

Definition at line 76 of file MooseVariableFE.h.

◆ FieldVariableTestDivergence

using MooseVariableFE< Real >::FieldVariableTestDivergence = typename MooseVariableField<Real >::FieldVariableTestDivergence
inherited

Definition at line 77 of file MooseVariableFE.h.

◆ FieldVariableTestGradient

using MooseVariableFE< Real >::FieldVariableTestGradient = typename MooseVariableField<Real >::FieldVariableTestGradient
inherited

Definition at line 73 of file MooseVariableFE.h.

◆ FieldVariableTestSecond

using MooseVariableFE< Real >::FieldVariableTestSecond = typename MooseVariableField<Real >::FieldVariableTestSecond
inherited

Definition at line 75 of file MooseVariableFE.h.

◆ FieldVariableTestValue

using MooseVariableFE< Real >::FieldVariableTestValue = typename MooseVariableField<Real >::FieldVariableTestValue
inherited

Definition at line 72 of file MooseVariableFE.h.

◆ FieldVariableValue

using MooseVariableFE< Real >::FieldVariableValue = typename MooseVariableField<Real >::FieldVariableValue
inherited

Definition at line 53 of file MooseVariableFE.h.

◆ FunctorArg

using MooseVariableFE< Real >::FunctorArg = typename Moose::ADType<Real >::type
inherited

Definition at line 85 of file MooseVariableFE.h.

◆ FunctorType

using Moose::FunctorBase< Moose::ADType< OutputType >::type >::FunctorType = FunctorBase<Moose::ADType< OutputType >::type >
inherited

Definition at line 140 of file MooseFunctor.h.

◆ GradientType

using Moose::FunctorBase< Moose::ADType< OutputType >::type >::GradientType = typename FunctorReturnType<Moose::ADType< OutputType >::type , FunctorEvaluationKind::Gradient>::type
inherited

This rigmarole makes it so that a user can create functors that return containers (std::vector, std::array).

This logic will make it such that if a user requests a functor type T that is a container of algebraic types, for example Reals, then the GradientType will be a container of the gradients of those algebraic types, in this example VectorValue<Reals>. So if T is std::vector<Real>, then GradientType will be std::vector<VectorValue<Real>>. As another example: T = std::array<VectorValue<Real>, 1> -> GradientType = std::array<TensorValue<Real>, 1>

Definition at line 149 of file MooseFunctor.h.

◆ NodeArg

using MooseVariableFE< Real >::NodeArg = Moose::NodeArg
protectedinherited

Definition at line 742 of file MooseVariableFE.h.

◆ OutputDivergence

using MooseVariableFE< Real >::OutputDivergence = typename MooseVariableField<Real >::OutputDivergence
inherited

Definition at line 51 of file MooseVariableFE.h.

◆ OutputGradient

using MooseVariableFE< Real >::OutputGradient = typename MooseVariableField<Real >::OutputGradient
inherited

Definition at line 49 of file MooseVariableFE.h.

◆ OutputSecond

using MooseVariableFE< Real >::OutputSecond = typename MooseVariableField<Real >::OutputSecond
inherited

Definition at line 50 of file MooseVariableFE.h.

◆ OutputShape

using MooseVariableFE< Real >::OutputShape = typename MooseVariableField<Real >::OutputShape
inherited

Definition at line 59 of file MooseVariableFE.h.

◆ OutputShapeDivergence

using MooseVariableFE< Real >::OutputShapeDivergence = typename MooseVariableField<Real >::OutputShapeDivergence
inherited

Definition at line 62 of file MooseVariableFE.h.

◆ OutputShapeGradient

using MooseVariableFE< Real >::OutputShapeGradient = typename MooseVariableField<Real >::OutputShapeGradient
inherited

Definition at line 60 of file MooseVariableFE.h.

◆ OutputShapeSecond

using MooseVariableFE< Real >::OutputShapeSecond = typename MooseVariableField<Real >::OutputShapeSecond
inherited

Definition at line 61 of file MooseVariableFE.h.

◆ StateArg

using MooseVariableFE< Real >::StateArg = Moose::StateArg
protectedinherited

Definition at line 741 of file MooseVariableFE.h.

◆ ValueType

using Moose::FunctorBase< Moose::ADType< OutputType >::type >::ValueType = Moose::ADType< OutputType >::type
inherited

Definition at line 141 of file MooseFunctor.h.

Constructor & Destructor Documentation

◆ MooseVariableConstMonomial()

MooseVariableConstMonomial::MooseVariableConstMonomial ( const InputParameters parameters)

Definition at line 30 of file MooseVariableConstMonomial.C.

32{
33 if (_fe_type.order != CONSTANT || _fe_type.family != MONOMIAL)
34 mooseError("This type is only meant for a CONSTANT "
35 "MONOMIAL finite element basis. You have requested a ",
37 " family and order ",
39}
MooseVariableFE< Real > MooseVariable
Definition Adaptivity.h:34
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application.
Definition MooseError.h:311
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
libMesh::FEType _fe_type
The FEType associated with this variable.
OrderWrapper order
std::string enum_to_string(const T e)

Member Function Documentation

◆ activeOnSubdomain()

bool MooseVariableFieldBase::activeOnSubdomain ( SubdomainID  subdomain) const
inherited

Is the variable active on the subdomain?

Parameters
subdomainThe subdomain id in question
Returns
true if active on subdomain, false otherwise

Definition at line 45 of file MooseVariableFieldBase.C.

46{
47 return this->_sys.system().variable(_var_num).active_on_subdomain(subdomain);
48}
unsigned int _var_num
variable number (from libMesh)
SystemBase & _sys
System this variable is part of.
virtual libMesh::System & system()=0
Get the reference to the libMesh system.
const Variable & variable(unsigned int var) const
bool active_on_subdomain(subdomain_id_type sid) const

Referenced by ComputeFullJacobianThread::computeOnBoundary(), ComputeFullJacobianThread::computeOnElement(), ComputeFullJacobianThread::computeOnInternalFace(), ComputeDiracThread::onElement(), and FlagElementsThread::onElement().

◆ activeOnSubdomains()

bool MooseVariableFieldBase::activeOnSubdomains ( const std::set< SubdomainID > &  subdomains) const
inherited

Is the variable active on the subdomains?

Parameters
subdomainsThe subdomain ids in question
Returns
true if active on all provided subdomains, false otherwise

Definition at line 51 of file MooseVariableFieldBase.C.

52{
53 const auto & active_subs = activeSubdomains();
54 return std::includes(
55 active_subs.begin(), active_subs.end(), subdomains.begin(), subdomains.end());
56}
const std::set< SubdomainID > & activeSubdomains() const
The subdomains the variable is active on.

Referenced by BlockRestrictable::checkVariable(), and ComputeFullJacobianThread::computeOnInternalFace().

◆ activeSubdomains()

const std::set< SubdomainID > & MooseVariableFieldBase::activeSubdomains ( ) const
inherited

◆ adCurlSln()

const ADTemplateVariableCurl< Real > & MooseVariableFE< Real >::adCurlSln ( ) const
inlineoverridevirtualinherited

AD curl solution getter.

Implements MooseVariableField< OutputType >.

Definition at line 366 of file MooseVariableFE.h.

367 {
368 return _element_data->adCurlSln();
369 }
std::unique_ptr< MooseVariableData< Real > > _element_data
Holder for all the data associated with the "main" element.

◆ adCurlSlnNeighbor()

const ADTemplateVariableCurl< Real > & MooseVariableFE< Real >::adCurlSlnNeighbor ( ) const
inlineoverridevirtualinherited

AD curl neighbor solution getter.

Implements MooseVariableField< OutputType >.

Definition at line 396 of file MooseVariableFE.h.

397 {
398 return _neighbor_data->adCurlSln();
399 }
std::unique_ptr< MooseVariableData< Real > > _neighbor_data
Holder for all the data associated with the neighbor element.

◆ add()

void MooseVariableFE< Real >::add ( libMesh::NumericVector< libMesh::Number > &  vector)
overridevirtualinherited

Add the current local DOF values to the input vector.

Implements MooseVariableFieldBase.

Definition at line 573 of file MooseVariableFE.C.

224{
225 _element_data->add(vector);
226}

◆ adDofValues()

const MooseVariableFE< Real >::ADDofValues & MooseVariableFE< Real >::adDofValues ( ) const
inlineoverridevirtualinherited

Return the AD dof values.

Implements MooseVariableField< OutputType >.

Definition at line 609 of file MooseVariableFE.h.

844{
845 return _element_data->adDofValues();
846}

◆ adDofValuesDot()

const MooseVariableFE< Real >::ADDofValues & MooseVariableFE< Real >::adDofValuesDot ( ) const
inlineoverridevirtualinherited

Return the AD time derivatives at dofs.

Implements MooseVariableField< OutputType >.

Definition at line 611 of file MooseVariableFE.h.

858{
859 return _element_data->adDofValuesDot();
860}

◆ adDofValuesNeighbor()

const MooseVariableFE< Real >::ADDofValues & MooseVariableFE< Real >::adDofValuesNeighbor ( ) const
inlineoverridevirtualinherited

Return the AD neighbor dof values.

Implements MooseVariableField< OutputType >.

Definition at line 610 of file MooseVariableFE.h.

851{
852 return _neighbor_data->adDofValues();
853}

◆ addSolution()

void MooseVariableFE< Real >::addSolution ( const DenseVector< libMesh::Number > &  v)
inherited

Add passed in local DOF values onto the current solution.

Definition at line 578 of file MooseVariableFE.C.

231{
232 _element_data->addSolution(this->_sys.solution(), v);
233}
NumericVector< Number > & solution()
Definition SystemBase.h:203

◆ addSolutionNeighbor()

void MooseVariableFE< Real >::addSolutionNeighbor ( const DenseVector< libMesh::Number > &  v)
inherited

Add passed in local neighbor DOF values onto the current solution.

Definition at line 583 of file MooseVariableFE.C.

238{
239 _neighbor_data->addSolution(this->_sys.solution(), v);
240}

◆ adGradPhi()

const ADTemplateVariableTestGradient< OutputShape > & MooseVariableFE< Real >::adGradPhi ( ) const
inlineinherited

Definition at line 252 of file MooseVariableFE.h.

253 {
254 return _element_data->adGradPhi();
255 }

◆ adGradPhiFace()

const ADTemplateVariableTestGradient< OutputShape > & MooseVariableFE< Real >::adGradPhiFace ( ) const
inlineinherited

Definition at line 257 of file MooseVariableFE.h.

258 {
259 return _element_data->adGradPhiFace();
260 }

◆ adGradPhiFaceNeighbor()

const ADTemplateVariableTestGradient< OutputShape > & MooseVariableFE< Real >::adGradPhiFaceNeighbor ( ) const
inlineinherited

Definition at line 262 of file MooseVariableFE.h.

263 {
264 return _neighbor_data->adGradPhiFace();
265 }

◆ adGradSln()

const ADTemplateVariableGradient< Real > & MooseVariableFE< Real >::adGradSln ( ) const
inlineoverridevirtualinherited

AD grad solution getter.

Implements MooseVariableField< OutputType >.

Definition at line 346 of file MooseVariableFE.h.

347 {
348 return _element_data->adGradSln();
349 }

◆ adGradSlnDot()

const ADTemplateVariableGradient< Real > & MooseVariableFE< Real >::adGradSlnDot ( ) const
inlineoverridevirtualinherited

AD grad of time derivative solution getter.

Implements MooseVariableField< OutputType >.

Definition at line 362 of file MooseVariableFE.h.

363 {
364 return _element_data->adGradSlnDot();
365 }

◆ adGradSlnNeighbor()

const ADTemplateVariableGradient< Real > & MooseVariableFE< Real >::adGradSlnNeighbor ( ) const
inlineoverridevirtualinherited

AD grad neighbor solution getter.

Implements MooseVariableField< OutputType >.

Definition at line 376 of file MooseVariableFE.h.

377 {
378 return _neighbor_data->adGradSln();
379 }

◆ adGradSlnNeighborDot()

const ADTemplateVariableGradient< Real > & MooseVariableFE< Real >::adGradSlnNeighborDot ( ) const
inlineoverridevirtualinherited

AD grad of time derivative neighbor solution getter.

Implements MooseVariableField< OutputType >.

Definition at line 392 of file MooseVariableFE.h.

393 {
394 return _neighbor_data->adGradSlnDot();
395 }

◆ adNodalValue()

const Moose::ADType< Real >::type & MooseVariableFE< Real >::adNodalValue ( ) const
inlineinherited

Definition at line 703 of file MooseVariableFE.h.

865{
866 return _element_data->adNodalValue();
867}

◆ adSecondSln()

const ADTemplateVariableSecond< Real > & MooseVariableFE< Real >::adSecondSln ( ) const
inlineoverridevirtualinherited

AD second solution getter.

Implements MooseVariableField< OutputType >.

Definition at line 350 of file MooseVariableFE.h.

351 {
352 return _element_data->adSecondSln();
353 }

◆ adSecondSlnNeighbor()

const ADTemplateVariableSecond< Real > & MooseVariableFE< Real >::adSecondSlnNeighbor ( ) const
inlineoverridevirtualinherited

AD second neighbor solution getter.

Implements MooseVariableField< OutputType >.

Definition at line 380 of file MooseVariableFE.h.

381 {
382 return _neighbor_data->adSecondSln();
383 }

◆ adSln()

const ADTemplateVariableValue< Real > & MooseVariableFE< Real >::adSln ( ) const
inlineoverridevirtualinherited

AD.

Implements MooseVariableField< OutputType >.

Definition at line 341 of file MooseVariableFE.h.

342 {
343 return _element_data->adSln();
344 }

◆ adSlnLower()

const ADTemplateVariableValue< Real > & MooseVariableFE< Real >::adSlnLower ( ) const
inlineinherited

lower-d element solution

Definition at line 504 of file MooseVariableFE.h.

504{ return _lower_data->adSln(); }
std::unique_ptr< MooseVariableData< Real > > _lower_data
Holder for all the data associated with the lower dimeensional element.

◆ adSlnNeighbor()

const ADTemplateVariableValue< Real > & MooseVariableFE< Real >::adSlnNeighbor ( ) const
inlineoverridevirtualinherited

neighbor AD

Implements MooseVariableField< OutputType >.

Definition at line 372 of file MooseVariableFE.h.

373 {
374 return _neighbor_data->adSln();
375 }

◆ adUDot()

const ADTemplateVariableValue< Real > & MooseVariableFE< Real >::adUDot ( ) const
inlineoverridevirtualinherited

AD time derivative getter.

Implements MooseVariableField< OutputType >.

Definition at line 354 of file MooseVariableFE.h.

355 {
356 return _element_data->adUDot();
357 }

◆ adUDotDot()

const ADTemplateVariableValue< Real > & MooseVariableFE< Real >::adUDotDot ( ) const
inlineoverridevirtualinherited

AD second time derivative getter.

Implements MooseVariableField< OutputType >.

Definition at line 358 of file MooseVariableFE.h.

359 {
360 return _element_data->adUDotDot();
361 }

◆ adUDotDotNeighbor()

const ADTemplateVariableValue< Real > & MooseVariableFE< Real >::adUDotDotNeighbor ( ) const
inlineoverridevirtualinherited

AD neighbor second time derivative getter.

Implements MooseVariableField< OutputType >.

Definition at line 388 of file MooseVariableFE.h.

389 {
390 return _neighbor_data->adUDotDot();
391 }

◆ adUDotNeighbor()

const ADTemplateVariableValue< Real > & MooseVariableFE< Real >::adUDotNeighbor ( ) const
inlineoverridevirtualinherited

AD neighbor time derivative getter.

Implements MooseVariableField< OutputType >.

Definition at line 384 of file MooseVariableFE.h.

385 {
386 return _neighbor_data->adUDot();
387 }

◆ allDofIndices()

const std::vector< dof_id_type > & MooseVariableBase::allDofIndices ( ) const
inherited

Get all global dofindices for the variable.

Definition at line 157 of file MooseVariableBase.C.

158{
159 const auto it = _sys.subproblem()._var_dof_map.find(name());
160 if (it != _sys.subproblem()._var_dof_map.end())
161 return it->second;
162 else
163 mooseError("VariableAllDoFMap not prepared for ",
164 name(),
165 " . Check nonlocal coupling requirement for the variable.");
166}
const std::string & name() const
Get the name of the class.
Definition MooseBase.h:103
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type and optionally a file path to the top-level block p...
Definition MooseBase.h:271
std::map< std::string, std::vector< dof_id_type > > _var_dof_map
Definition SubProblem.h:682
SubProblem & subproblem()
Definition SystemBase.h:102

Referenced by FEProblemBase::addJacobianBlockTags(), Assembly::addJacobianNonlocal(), Assembly::cacheJacobianNonlocal(), NonlocalIntegratedBC::computeNonlocalJacobian(), NonlocalKernel::computeNonlocalJacobian(), NonlocalIntegratedBC::computeNonlocalOffDiagJacobian(), NonlocalKernel::computeNonlocalOffDiagJacobian(), FEProblemBase::prepare(), Assembly::prepareNonlocal(), and MooseVariableBase::totalVarDofs().

◆ arrayGradPhi()

const MappedArrayVariablePhiGradient & MooseVariableFE< Real >::arrayGradPhi ( ) const
inlineinherited

Definition at line 199 of file MooseVariableFE.h.

200 {
201 return _element_data->arrayGradPhi();
202 }

◆ arrayGradPhiFace()

const MappedArrayVariablePhiGradient & MooseVariableFE< Real >::arrayGradPhiFace ( ) const
inlineinherited

Definition at line 212 of file MooseVariableFE.h.

213 {
214 return _element_data->arrayGradPhiFace();
215 }

◆ arrayGradPhiFaceNeighbor()

const MappedArrayVariablePhiGradient & MooseVariableFE< Real >::arrayGradPhiFaceNeighbor ( ) const
inlineinherited

Definition at line 241 of file MooseVariableFE.h.

242 {
243 return _neighbor_data->arrayGradPhiFace();
244 }

◆ arrayGradPhiNeighbor()

const MappedArrayVariablePhiGradient & MooseVariableFE< Real >::arrayGradPhiNeighbor ( ) const
inlineinherited

Definition at line 225 of file MooseVariableFE.h.

226 {
227 return _neighbor_data->arrayGradPhi();
228 }

◆ arrayScalingFactor()

const std::vector< Real > & MooseVariableBase::arrayScalingFactor ( ) const
inlineinherited

◆ arrayVariableComponent()

const std::string & MooseVariableBase::arrayVariableComponent ( const unsigned int  i) const
inherited

Returns the variable name of a component of an array variable.

Definition at line 148 of file MooseVariableBase.C.

149{
150 mooseAssert(
152 "Requested array variable component number is greater than the number of component names.");
154}
std::vector< std::string > _array_var_component_names
Array variable names when the variable is an array variable.

Referenced by ArrayVariableValueVolumeHistogram::ArrayVariableValueVolumeHistogram(), MooseVariableFieldBase::componentName(), AdvancedOutput::initAvailableLists(), and AdvancedOutput::initShowHideLists().

◆ blockIDs()

const std::set< SubdomainID > & BlockRestrictable::blockIDs ( ) const
virtualinherited

Return the block subdomain ids for this object Note, if this is not block restricted, this function returns all mesh subdomain ids.

Returns
a set of SubdomainIDs that are valid for this object

Definition at line 209 of file BlockRestrictable.C.

210{
211 if (_blk_ids.find(Moose::ANY_BLOCK_ID) != _blk_ids.end())
212 return _blk_mesh->meshSubdomains();
213 else
214 return _blk_ids;
215}
std::set< SubdomainID > _blk_ids
Set of block ids supplied by the user via the input file (for error checking)
const MooseMesh * _blk_mesh
Pointer to Mesh.
const std::set< SubdomainID > & meshSubdomains() const
Returns a read-only reference to the set of subdomains currently present in the Mesh.
Definition MooseMesh.C:3272
const SubdomainID ANY_BLOCK_ID
Definition MooseTypes.C:19

Referenced by FunctorMaterial::addFunctorProperty(), DiracKernelBase::addPoint(), DiracKernelBase::addPointWithValidId(), NodalPatchRecoveryAuxBase::blockRestrictElements(), ComboMarker::ComboMarker(), DebugResidualAux::DebugResidualAux(), ElementGroupCentroidPositions::ElementGroupCentroidPositions(), ExtraIDIntegralVectorPostprocessor::ExtraIDIntegralVectorPostprocessor(), BlockRestrictable::getBlockCoordSystem(), MaterialBase::getGenericZeroMaterialPropertyByName(), NEML2FEInterpolation::getMOOSEVariable(), FunctorIC::gradient(), BlockRestrictable::hasBlockMaterialPropertyHelper(), IndicatorMarker::IndicatorMarker(), SubdomainsDivision::initialize(), ElementCentroidPositions::initialize(), FunctorExtremaPositions::initialize(), QuadraturePointsPositions::initialize(), NodalPatchRecoveryAux::NodalPatchRecoveryAux(), PointwiseRenormalizeVector::PointwiseRenormalizeVector(), ProjectedMaterialPropertyNodalPatchRecoveryAux::ProjectedMaterialPropertyNodalPatchRecoveryAux(), MaterialBase::registerPropName(), FVPointValueConstraint::setMyElem(), and FunctorIC::value().

◆ blockRestricted()

bool BlockRestrictable::blockRestricted ( ) const
virtualinherited

◆ blocks()

const std::vector< SubdomainName > & BlockRestrictable::blocks ( ) const
inherited

Return the block names for this object.

Note, if the 'blocks' input parameter was not utilized this will return an empty vector.

Returns
vector of SubdomainNames that are valid for this object

Definition at line 203 of file BlockRestrictable.C.

204{
205 return _blocks;
206}
std::vector< SubdomainName > _blocks
Vector the block names supplied by the user via the input file.

Referenced by MaterialOutputAction::getParams(), SubdomainsDivision::initialize(), and SolutionIC::initialSetup().

◆ blocksMaxDimension()

unsigned int BlockRestrictable::blocksMaxDimension ( ) const
inherited

Return the largest mesh dimension of the elements in the blocks for this object.

Definition at line 386 of file BlockRestrictable.C.

387{
388 mooseAssert(_blk_dim != libMesh::invalid_uint, "Block restriction not initialized");
389 return _blk_dim;
390}
unsigned int _blk_dim
Largest mesh dimension of the elements in the blocks for this object.
const unsigned int invalid_uint

◆ buildOutputHideVariableList()

void OutputInterface::buildOutputHideVariableList ( std::set< std::string >  variable_names)
inherited

Builds hide lists for output objects NOT listed in the 'outputs' parameter.

Parameters
variable_namesA set of variables for which the 'outputs' parameter controls

By default this is called by the constructor and passes the block name as the list of variables. This needs to be called explicitly if the build_list flag is set to False in the constructor. The latter cases is needed by the Material object to work correctly with the automatic material output capability.

Definition at line 68 of file OutputInterface.C.

69{
70 // Set of available names
71 const std::set<OutputName> & avail = _oi_output_warehouse.getOutputNames();
72
73 // Check for 'none'; hide variables on all outputs
74 if (_oi_outputs.find("none") != _oi_outputs.end())
75 for (const auto & name : avail)
76 _oi_output_warehouse.addInterfaceHideVariables(name, variable_names);
77
78 // Check for empty and 'all' in 'outputs' parameter; do not perform any variable restrictions in
79 // these cases
80 else if (_oi_outputs.empty() || _oi_outputs.find("all") != _oi_outputs.end())
81 return;
82
83 // Limit the variable output to Output objects listed
84 else
85 {
86 // Create a list of outputs where the variable should be hidden
87 std::set<OutputName> hide;
88 std::set_difference(avail.begin(),
89 avail.end(),
90 _oi_outputs.begin(),
91 _oi_outputs.end(),
92 std::inserter(hide, hide.begin()));
93
94 // If 'outputs' is specified add the object name to the list of items to hide
95 for (const auto & name : hide)
96 _oi_output_warehouse.addInterfaceHideVariables(name, variable_names);
97 }
98}
OutputWarehouse & _oi_output_warehouse
Reference to the OutputWarehouse for populating the Output object hide lists.
std::set< OutputName > _oi_outputs
The set of Output object names listed in the 'outputs' parameter.
const std::set< OutputName > & getOutputNames()
Get a complete set of all output object names.
std::string name(const ElemQuality q)

Referenced by ReporterTransferInterface::hideVariableHelper(), and OutputInterface::OutputInterface().

◆ callMooseError() [1/2]

void MooseBase::callMooseError ( MooseApp *const  app,
const InputParameters params,
std::string  msg,
const bool  with_prefix,
const hit::Node *  node,
const bool  show_trace = true 
)
staticinherited

External method for calling moose error with added object context.

Needed so that objects without the MooseBase context (InputParameters) can call errors with context

Parameters
appThe app pointer (if available); adds multiapp context and clears the console
paramsThe parameters, needed to obtain object information
msgThe message
with_prefixIf true, add the prefix from messagePrefix(), which is the object information (type, name, etc)
nodeOptional hit node to add file path context as a prefix
show_traceWhether or not to show a stack trace, defaults to true

Definition at line 114 of file MooseBase.C.

120{
121 if (!node)
122 node = MooseBase::getHitNode(params);
123
124 std::string multiapp_prefix = "";
125 if (app)
126 {
127 if (!app->isUltimateMaster())
128 multiapp_prefix = app->name();
130 }
131
132 if (with_prefix)
133 // False here because the hit context will get processed by the node
134 msg = messagePrefix(params, false) + msg;
135
136 moose::internal::mooseErrorRaw(msg, multiapp_prefix, node, show_trace);
137}
OutputWarehouse & getOutputWarehouse()
Get the OutputWarehouse objects.
Definition MooseApp.C:2409
bool isUltimateMaster() const
Whether or not this app is the ultimate master app.
Definition MooseApp.h:866
const hit::Node * getHitNode() const
Definition MooseBase.h:136
std::string messagePrefix(const bool hit_prefix=true) const
Definition MooseBase.h:256
void mooseConsole()
Send current output buffer to Console output objects.
void mooseErrorRaw(std::string msg, const std::string &prefix="", const hit::Node *node=nullptr, const bool show_trace=true)
Main callback for emitting a moose error.
Definition MooseError.C:53

◆ callMooseError() [2/2]

void MooseBase::callMooseError ( std::string  msg,
const bool  with_prefix,
const hit::Node *  node = nullptr,
const bool  show_trace = true 
) const
inherited

External method for calling moose error with added object context.

Parameters
msgThe message
with_prefixIf true, add the prefix from messagePrefix(), which is the object information (type, name, etc)
nodeOptional hit node to add file path context as a prefix
show_traceWhether or not to show a stack trace, defaults to true

Definition at line 105 of file MooseBase.C.

109{
110 callMooseError(&_app, _pars, msg, with_prefix, node, show_trace);
111}
MooseApp & _app
The MOOSE application this is associated with.
Definition MooseBase.h:375
void callMooseError(std::string msg, const bool with_prefix, const hit::Node *node=nullptr, const bool show_trace=true) const
External method for calling moose error with added object context.
Definition MooseBase.C:105
const InputParameters & _pars
The object's parameters.
Definition MooseBase.h:384

Referenced by MooseBase::callMooseError(), InputParameters::callMooseError(), MooseBase::mooseDocumentedError(), MooseBase::mooseError(), and MooseBase::mooseErrorNonPrefixed().

◆ checkFace()

void Moose::FunctorBase< Moose::ADType< OutputType >::type >::checkFace ( const Moose::FaceArg face) const
inherited

Examines the incoming face argument.

If the face argument producer (residual object, postprocessor, etc.) did not indicate a sidedness to the face, e.g. if the face_side member of the FaceArg is nullptr, then we may "modify" the sidedness of the argument if we are only defined on one side of the face. If the face argument producer \emph has indicated a sidedness and we are not defined on that side, then we will error

Parameters
faceThe face argument created by the face argument producer, likely a residual object
Returns
A face with possibly changed sidedness depending on whether we aren't defined on both sides of the face

Definition at line 280 of file MooseFunctor.h.

743{
744#if DEBUG
745 const Elem * const elem = face.face_side;
746 const FaceInfo * const fi = face.fi;
747 mooseAssert(fi, "face info should be non-null");
748 bool check_elem_def = false;
749 bool check_neighbor_def = false;
750 // We check if the functor is defined on both sides of the face
751 if (!elem)
752 {
753 if (!hasFaceSide(*fi, true))
754 check_neighbor_def = true;
755 else if (!hasFaceSide(*fi, false))
756 check_elem_def = true;
757 }
758 else if (elem == fi->elemPtr())
759 check_elem_def = true;
760 else
761 {
762 mooseAssert(elem == fi->neighborPtr(), "This has to match something");
763 check_neighbor_def = true;
764 }
765
766 if (check_elem_def && !hasFaceSide(*fi, true))
767 {
768 std::string additional_message = "It is not defined on the neighbor side either.";
769 if (hasFaceSide(*fi, false))
770 additional_message = "It is however defined on the neighbor side.";
771 additional_message += " Face centroid: " + Moose::stringify(fi->faceCentroid());
772 mooseError(_functor_name,
773 " is not defined on the element side of the face information, but a face argument "
774 "producer "
775 "(e.g. residual object, postprocessor, etc.) has requested evaluation there.\n",
776 additional_message);
777 }
778 if (check_neighbor_def && !hasFaceSide(*fi, false))
779 {
780 std::string additional_message = "It is not defined on the element side either.";
781 if (hasFaceSide(*fi, true))
782 additional_message = "It is however defined on the element side.";
783 additional_message += " Face centroid: " + Moose::stringify(fi->faceCentroid());
785 _functor_name,
786 " is not defined on the neighbor side of the face information, but a face argument "
787 "producer (e.g. residual object, postprocessor, etc.) has requested evaluation there.\n",
788 additional_message);
789 }
790#endif
791}
This data structure is used to store geometric and variable related metadata about each cell face in ...
Definition FaceInfo.h:38
const Elem * neighborPtr() const
Definition FaceInfo.h:88
const Elem * elemPtr() const
Definition FaceInfo.h:86
const Point & faceCentroid() const
Returns the coordinates of the face centroid.
Definition FaceInfo.h:75
virtual bool hasFaceSide(const FaceInfo &fi, const bool fi_elem_side) const override
std::string stringify(const T &t)
conversion to string
Definition Conversion.h:64
const libMesh::Elem * face_side
A member that can be used to indicate whether there is a sidedness to this face.
const FaceInfo * fi
a face information object which defines our location in space

◆ checkVariable()

void BlockRestrictable::checkVariable ( const MooseVariableFieldBase variable) const
virtualinherited

Helper for checking that the ids for this object are in agreement with the variables on the supplied variable.

Parameters
variableThe variable to check against.

Reimplemented in DomainUserObject.

Definition at line 358 of file BlockRestrictable.C.

359{
360 // a variable defined on all internal sides does not need this check because
361 // it can be coupled with other variables in DG kernels
362 if (!_blk_mesh->interiorLowerDBlocks().empty() &&
364 return;
365
366 if (!isBlockSubset(variable.activeSubdomains()))
367 {
368 std::string var_ids = Moose::stringify(variable.activeSubdomains(), ", ");
369 std::string obj_ids = Moose::stringify(blockRestricted() ? _blk_ids : meshBlockIDs(), ", ");
370 mooseError("The 'block' parameter of the object '",
371 _blk_name,
372 "' must be a subset of the 'block' parameter of the variable '",
373 variable.name(),
374 "':\n Object '",
375 _blk_name,
376 "': ",
377 obj_ids,
378 "\n Variable '",
379 variable.name(),
380 "': ",
381 var_ids);
382 }
383}
bool isBlockSubset(const std::set< SubdomainID > &ids) const
Test if the class block ids are a subset of the supplied objects.
const std::string & _blk_name
Name of the object.
const std::set< SubdomainID > & meshBlockIDs() const
Return all of the SubdomainIDs for the mesh.
virtual bool blockRestricted() const
Returns true if this object has been restricted to a block.
const std::set< SubdomainID > & interiorLowerDBlocks() const
Definition MooseMesh.h:1552
bool activeOnSubdomains(const std::set< SubdomainID > &subdomains) const
Is the variable active on the subdomains?

Referenced by DomainUserObject::checkVariable().

◆ clearAllDofIndices()

void MooseVariableFE< Real >::clearAllDofIndices ( )
finalvirtualinherited

Reimplemented from MooseVariableBase.

Definition at line 190 of file MooseVariableFE.C.

854{
855 _element_data->clearDofIndices();
856 _neighbor_data->clearDofIndices();
857 _lower_data->clearDofIndices();
858}

◆ clearCacheData()

void Moose::FunctorBase< Moose::ADType< OutputType >::type >::clearCacheData ( )
privateinherited

clear cache data

Definition at line 500 of file MooseFunctor.h.

796{
797 for (auto & map_pr : _qp_to_value)
798 for (auto & pr : map_pr.second)
799 pr.first = false;
800
801 for (auto & map_pr : _side_qp_to_value)
802 {
803 auto & side_vector = map_pr.second;
804 for (auto & qp_vector : side_vector)
805 for (auto & pr : qp_vector)
806 pr.first = false;
807 }
808
810 _current_qp_map_value = nullptr;
813
814 _elem_arg_to_value.clear();
815 _face_arg_to_value.clear();
816 _node_arg_to_value.clear();
817}
for(PetscInt i=0;i< nvars;++i)
dof_id_type _current_qp_map_key
Current key for qp map cache.
std::map< ElemArg, ValueType > _elem_arg_to_value
Map from element arguments to their cached evaluations.
std::unordered_map< dof_id_type, std::vector< std::pair< bool, ValueType > > > _qp_to_value
Cached element quadrature point functor property evaluations.
std::map< FaceArg, ValueType > _face_arg_to_value
Map from face arguments to their cached evaluations.
std::vector< std::vector< std::pair< bool, ValueType > > > * _current_side_qp_map_value
Current value for side-qp map cache.
std::map< NodeArg, ValueType > _node_arg_to_value
Map from nodal arguments to their cached evaluations.
std::vector< std::pair< bool, ValueType > > * _current_qp_map_value
Current value for qp map cache.
dof_id_type _current_side_qp_map_key
Current key for side-qp map cache.
std::unordered_map< dof_id_type, std::vector< std::vector< std::pair< bool, ValueType > > > > _side_qp_to_value
Cached element quadrature point functor property evaluations.
static constexpr dof_id_type invalid_id

◆ clearDofIndices()

void MooseVariableFE< Real >::clearDofIndices ( )
overridevirtualinherited

Clear out the dof indices.

We do this in case this variable is not going to be prepared at all...

Implements MooseVariableFieldBase.

Definition at line 94 of file MooseVariableFE.C.

88{
89 _element_data->clearDofIndices();
90}

◆ componentDofIndices()

std::vector< dof_id_type > MooseVariableBase::componentDofIndices ( const std::vector< dof_id_type > &  dof_indices,
unsigned int  component 
) const
inherited

Obtain DoF indices of a component with the indices of the 0th component.

Definition at line 175 of file MooseVariableBase.C.

177{
178 mooseAssert(dof_indices.size() % this->count() == 0,
179 "The dof indices container must be a multiple of count");
180 std::vector<dof_id_type> new_dof_indices(dof_indices.size() / this->count());
181 for (const auto i : index_range(new_dof_indices))
182 new_dof_indices[i] = dof_indices[component * new_dof_indices.size() + i];
183 return new_dof_indices;
184}
auto index_range(const T &sizable)

Referenced by Assembly::cacheJacobianBlock(), and Assembly::cacheJacobianBlockNonzero().

◆ componentName()

const std::string & MooseVariableFieldBase::componentName ( const unsigned int  comp) const
inherited

Get the variable name of a component in libMesh.

Definition at line 28 of file MooseVariableFieldBase.C.

29{
30 if (comp >= _count)
31 mooseError("componentName(): Component index is not less than the number of components");
32 if (isArray())
33 return this->arrayVariableComponent(comp);
34 else
35 return name();
36}
virtual bool isArray() const
const std::string & arrayVariableComponent(const unsigned int i) const
Returns the variable name of a component of an array variable.
const unsigned int _count
Number of variables in the array.

◆ computeElemValues()

void MooseVariableConstMonomial::computeElemValues ( )
overridevirtual

Actually compute variable values from the solution vectors.

Reimplemented from MooseVariableFE< Real >.

Definition at line 42 of file MooseVariableConstMonomial.C.

43{
44 _element_data->setGeometry(Moose::Volume);
45 _element_data->computeConstantMonomialValues();
46}

◆ computeElemValuesFace()

void MooseVariableConstMonomial::computeElemValuesFace ( )
overridevirtual

Compute values at facial quadrature points.

Reimplemented from MooseVariableFE< Real >.

Definition at line 49 of file MooseVariableConstMonomial.C.

50{
51 _element_data->setGeometry(Moose::Face);
52 _element_data->computeConstantMonomialValues();
53}

◆ computeFaceValues()

virtual void MooseVariableFieldBase::computeFaceValues ( const FaceInfo )
inlinevirtualinherited

◆ computeIncrementAtNode()

void MooseVariableFE< Real >::computeIncrementAtNode ( const libMesh::NumericVector< libMesh::Number > &  increment_vec)
inherited

Compute and store incremental change at the current node based on increment_vec.

Definition at line 621 of file MooseVariableFE.C.

447{
448 _element_data->computeIncrementAtNode(increment_vec);
449}

◆ computeIncrementAtQps()

void MooseVariableFE< Real >::computeIncrementAtQps ( const libMesh::NumericVector< libMesh::Number > &  increment_vec)
inherited

Compute and store incremental change in solution at QPs based on increment_vec.

Definition at line 616 of file MooseVariableFE.C.

440{
441 _element_data->computeIncrementAtQps(increment_vec);
442}

◆ computeLowerDValues()

void MooseVariableFE< Real >::computeLowerDValues ( )
overridevirtualinherited

compute values at quadrature points on the lower dimensional element

Implements MooseVariableFieldBase.

Definition at line 513 of file MooseVariableFE.C.

432{
433 _lower_data->setGeometry(Moose::Volume);
434 _lower_data->computeValues();
435}

◆ computeNeighborValues()

void MooseVariableConstMonomial::computeNeighborValues ( )
overridevirtual

Compute values at quadrature points for the neighbor.

Reimplemented from MooseVariableFE< Real >.

Definition at line 56 of file MooseVariableConstMonomial.C.

57{
58 _neighbor_data->setGeometry(Moose::Volume);
59 _neighbor_data->computeConstantMonomialValues();
60}

◆ computeNeighborValuesFace()

void MooseVariableConstMonomial::computeNeighborValuesFace ( )
overridevirtual

Compute values at facial quadrature points for the neighbor.

Reimplemented from MooseVariableFE< Real >.

Definition at line 63 of file MooseVariableConstMonomial.C.

64{
65 _neighbor_data->setGeometry(Moose::Face);
66 _neighbor_data->computeConstantMonomialValues();
67}

◆ computeNodalNeighborValues()

void MooseVariableFE< Real >::computeNodalNeighborValues ( )
overridevirtualinherited

Compute nodal values of this variable in the neighbor.

Implements MooseVariableFieldBase.

Definition at line 706 of file MooseVariableFE.C.

675{
676 _neighbor_data->computeNodalValues();
677}

◆ computeNodalValues()

void MooseVariableFE< Real >::computeNodalValues ( )
overridevirtualinherited

Compute nodal values of this variable.

Implements MooseVariableFieldBase.

Definition at line 705 of file MooseVariableFE.C.

668{
669 _element_data->computeNodalValues();
670}

◆ computeSolution() [1/2]

void MooseVariableFE< Real >::computeSolution ( const Elem *const  elem,
const unsigned int  n_qp,
const StateArg state,
const Shapes &  phi,
Solution &  local_soln,
const GradShapes &  grad_phi,
GradSolution &  grad_local_soln,
Solution &  dot_local_soln,
GradSolution &  grad_dot_local_soln 
) const
inherited

Definition at line 913 of file MooseVariableFE.C.

922{
923 std::vector<dof_id_type> dof_indices;
924 this->_dof_map.dof_indices(elem, dof_indices, _var_num);
925 std::vector<ADReal> dof_values;
926 std::vector<ADReal> dof_values_dot;
927 dof_values.reserve(dof_indices.size());
928
929 const bool computing_dot = _time_integrator && _time_integrator->dt();
930 if (computing_dot)
931 dof_values_dot.reserve(dof_indices.size());
932
933 const bool do_derivatives = Moose::doDerivatives(_subproblem, _sys);
934 const auto & global_soln = getSolution(state);
935 for (const auto dof_index : dof_indices)
936 {
937 dof_values.push_back(ADReal(global_soln(dof_index)));
938 if (do_derivatives && state.state == 0)
939 Moose::derivInsert(dof_values.back().derivatives(), dof_index, 1.);
940 if (computing_dot)
941 {
943 {
944 dof_values_dot.push_back(dof_values.back());
946 dof_values_dot.back(), dof_index, _ad_real_dummy);
947 }
948 else
949 dof_values_dot.push_back((*this->_sys.solutionUDot())(dof_index));
950 }
951 }
952
953 local_soln.resize(n_qp);
954 grad_local_soln.resize(n_qp);
955 if (computing_dot)
956 {
957 dot_local_soln.resize(n_qp);
958 grad_dot_local_soln.resize(n_qp);
959 }
960
961 for (const auto qp : make_range(n_qp))
962 {
963 local_soln[qp] = 0;
964 grad_local_soln[qp] = 0;
965 if (computing_dot)
966 {
967 dot_local_soln[qp] = 0;
968 grad_dot_local_soln[qp] = GradientType{};
969 }
970 for (const auto i : index_range(dof_indices))
971 {
972 local_soln[qp] += dof_values[i] * phi[i][qp];
973 grad_local_soln[qp] += dof_values[i] * grad_phi[i][qp];
974 if (computing_dot)
975 {
976 dot_local_soln[qp] += dof_values_dot[i] * phi[i][qp];
977 grad_dot_local_soln[qp] += dof_values_dot[i] * grad_phi[i][qp];
978 }
979 }
980 }
981}
DualNumber< Real, DNDerivativeType, true > ADReal
Moose::VarKindType _var_kind
Variable type (see MooseTypes.h)
SubProblem & _subproblem
Problem this variable is part of.
const libMesh::NumericVector< libMesh::Number > & getSolution(const Moose::StateArg &state) const
Get the solution corresponding to the provided state.
const libMesh::DofMap & _dof_map
DOF map.
const FieldVariablePhiValue & phi() const override
const TimeIntegrator *const _time_integrator
the time integrator used for computing time derivatives
ADReal _ad_real_dummy
A dummy ADReal variable.
typename FunctorReturnType< Moose::ADType< OutputType >::type, FunctorEvaluationKind::Gradient >::type GradientType
This rigmarole makes it so that a user can create functors that return containers (std::vector,...
virtual NumericVector< Number > * solutionUDot()
Definition SystemBase.h:280
virtual void computeADTimeDerivatives(ADReal &ad_u_dot, const dof_id_type &dof, ADReal &ad_u_dot_dot) const =0
method for computing local automatic differentiation time derivatives
const Real & dt() const
Returns the time step size.
void dof_indices(const Elem *const elem, std::vector< dof_id_type > &di) const
bool doDerivatives(const SubProblem &subproblem, const SystemBase &sys)
Definition ADUtils.C:83
@ VAR_SOLVER
Definition MooseTypes.h:770
void derivInsert(SemiDynamicSparseNumberArray< Real, libMesh::dof_id_type, NWrapper< N > > &derivs, libMesh::dof_id_type index, Real value)
Definition ADReal.h:21
IntRange< T > make_range(T beg, T end)

◆ computeSolution() [2/2]

void MooseVariableFE< Real >::computeSolution ( const Elem *  elem,
unsigned int  n_qp,
const StateArg state,
const Shapes &  phi,
Solution &  local_soln,
const GradShapes &  grad_phi,
GradSolution &  grad_local_soln,
Solution &  dot_local_soln,
GradSolution &  grad_dot_local_soln 
) const
privateinherited

Compute the solution, gradient, time derivative, and gradient of the time derivative with provided shape functions.

◆ computingCurl()

bool MooseVariableFE< Real >::computingCurl ( ) const
finaloverridevirtualinherited

Whether or not this variable is computing the curl.

Implements MooseVariableField< OutputType >.

Definition at line 142 of file MooseVariableFE.C.

815{
816 return _element_data->computingCurl();
817}

◆ computingDiv()

bool MooseVariableFE< Real >::computingDiv ( ) const
finaloverridevirtualinherited

Whether or not this variable is computing the divergence.

Implements MooseVariableField< OutputType >.

Definition at line 147 of file MooseVariableFE.C.

822{
823 return _element_data->computingDiv();
824}

◆ computingSecond()

bool MooseVariableFE< Real >::computingSecond ( ) const
inlinefinaloverridevirtualinherited

Whether or not this variable is computing any second derivatives.

Implements MooseVariableField< OutputType >.

Definition at line 137 of file MooseVariableFE.h.

137{ return usesSecondPhi(); }
bool usesSecondPhi() const
Whether or not this variable is computing any second derivatives.

◆ connectControllableParams()

void MooseBase::connectControllableParams ( const std::string &  parameter,
const std::string &  object_type,
const std::string &  object_name,
const std::string &  object_parameter 
) const
inherited

Connect controllable parameter of this action with the controllable parameters of the objects added by this action.

Parameters
parameterName of the controllable parameter of this action
object_typeType of the object added by this action.
object_nameName of the object added by this action.
object_parameterName of the parameter of the object.

Definition at line 77 of file MooseBase.C.

81{
82 auto & factory = _app.getFactory();
83 auto & ip_warehouse = _app.getInputParameterWarehouse();
84
85 MooseObjectParameterName primary_name(uniqueName(), parameter);
86 const auto base_type = factory.getValidParams(object_type).getBase();
87 MooseObjectParameterName secondary_name(base_type, object_name, object_parameter);
88 ip_warehouse.addControllableParameterConnection(primary_name, secondary_name);
89
90 const auto & tags = _pars.get<std::vector<std::string>>("control_tags");
91 for (const auto & tag : tags)
92 {
93 if (!tag.empty())
94 {
95 // Only adds the parameter with the different control tags if the derived class
96 // properly registers the parameter to its own syntax
97 MooseObjectParameterName tagged_name(tag, name(), parameter);
98 ip_warehouse.addControllableParameterConnection(
99 tagged_name, secondary_name, /*error_on_empty=*/false);
100 }
101 }
102}
std::vector< std::pair< R1, R2 > > get(const std::string &param1, const std::string &param2) const
Combine two vector parameters into a single vector of pairs.
Factory & getFactory()
Retrieve a writable reference to the Factory associated with this App.
Definition MooseApp.h:407
InputParameterWarehouse & getInputParameterWarehouse()
Get the InputParameterWarehouse for MooseObjects.
Definition MooseApp.C:2867
MooseObjectName uniqueName() const
Definition MooseBase.C:69
A class for storing an input parameter name.

◆ count()

unsigned int MooseVariableBase::count ( ) const
inlineinherited

Get the number of components Note: For standard and vector variables, the number is one.

Definition at line 114 of file MooseVariableBase.h.

114{ return _count; }

Referenced by ADArrayDirichletBC::ADArrayDirichletBC(), EigenProblem::adjustEigenVector(), ArrayBodyForce::ArrayBodyForce(), ArrayConstantIC::ArrayConstantIC(), ArrayDGLowerDKernel::ArrayDGLowerDKernel(), ArrayFunctionIC::ArrayFunctionIC(), ArrayHFEMDirichletBC::ArrayHFEMDirichletBC(), ArrayLowerDIntegratedBC::ArrayLowerDIntegratedBC(), ArrayParsedAux::ArrayParsedAux(), ArrayVariableValueVolumeHistogram::ArrayVariableValueVolumeHistogram(), ArrayVarReductionAux::ArrayVarReductionAux(), BuildArrayVariableAux::BuildArrayVariableAux(), Assembly::cacheJacobianBlock(), Assembly::cacheJacobianBlockNonzero(), TagAuxBase< T >::checkCoupledVariable(), TagVectorArrayVariableAux::compute(), BuildArrayVariableAux::compute(), ArrayNodalBC::computeJacobian(), ArrayLowerDIntegratedBC::computeLowerDQpOffDiagJacobian(), ArrayDGLowerDKernel::computeLowerDQpOffDiagJacobian(), ArrayHFEMDirichletBC::computeLowerDQpOffDiagJacobian(), ArrayNodalBC::computeOffDiagJacobian(), ArrayIntegratedBC::computeQpJacobian(), ArrayNodalBC::computeQpJacobian(), ArrayKernel::computeQpJacobian(), EigenArrayDirichletBC::computeQpJacobian(), ArrayCoupledTimeDerivative::computeQpJacobian(), ArrayDiffusion::computeQpJacobian(), ArrayReaction::computeQpJacobian(), ArrayTimeDerivative::computeQpJacobian(), ArrayIntegratedBC::computeQpOffDiagJacobian(), ArrayKernel::computeQpOffDiagJacobian(), ArrayCoupledForce::computeQpOffDiagJacobian(), ArrayCoupledTimeDerivative::computeQpOffDiagJacobian(), ArrayDGKernel::computeQpOffDiagJacobian(), ArrayNodalBC::computeQpOffDiagJacobian(), EigenArrayDirichletBC::computeQpOffDiagJacobian(), Kernel::computeQpOffDiagJacobianArray(), ArrayIntegratedBC::computeQpOffDiagJacobianScalar(), ArrayKernel::computeQpOffDiagJacobianScalar(), ArrayCoupledTimeDerivative::computeQpResidual(), ArrayReaction::computeQpResidual(), ArrayTimeDerivative::computeQpResidual(), ArrayParsedAux::computeValue(), FunctionArrayAux::computeValue(), ElementDamper::ElementDamper(), MultiAppVariableValueSamplePostprocessorTransfer::execute(), ArrayVariableValueVolumeHistogram::execute(), ArrayVariableValueVolumeHistogram::finalize(), FunctionArrayAux::FunctionArrayAux(), ArrayFunctionIC::gradient(), AdvancedOutput::initAvailableLists(), MultiAppGeneralFieldTransfer::initialSetup(), MultiAppVariableValueSamplePostprocessorTransfer::initialSetup(), ArrayDiffusion::initQpResidual(), AdvancedOutput::initShowHideLists(), NodalDamper::NodalDamper(), Assembly::prepareJacobianBlock(), Assembly::prepareLowerD(), Assembly::prepareNeighbor(), Assembly::prepareNonlocal(), Assembly::prepareVariable(), Assembly::prepareVariableNonlocal(), ArrayVariableValueVolumeHistogram::threadJoin(), MultiAppDofCopyTransfer::transfer(), MultiAppDofCopyTransfer::transferDofObject(), and ArrayFunctionIC::value().

◆ curlPhi()

const MooseVariableFE< Real >::FieldVariablePhiCurl & MooseVariableFE< Real >::curlPhi ( ) const
finaloverridevirtualinherited

Curl of the shape functions.

Implements MooseVariableField< OutputType >.

Definition at line 204 of file MooseVariableFE.C.

724{
725 return _element_data->curlPhi();
726}

◆ curlPhiFace()

const MooseVariableFE< Real >::FieldVariablePhiCurl & MooseVariableFE< Real >::curlPhiFace ( ) const
inherited

Definition at line 217 of file MooseVariableFE.C.

745{
746 return _element_data->curlPhiFace();
747}

◆ curlPhiFaceNeighbor()

const MooseVariableFE< Real >::FieldVariablePhiCurl & MooseVariableFE< Real >::curlPhiFaceNeighbor ( ) const
inherited

Definition at line 246 of file MooseVariableFE.C.

787{
788 return _neighbor_data->curlPhiFace();
789}

◆ curlPhiNeighbor()

const MooseVariableFE< Real >::FieldVariablePhiCurl & MooseVariableFE< Real >::curlPhiNeighbor ( ) const
inherited

Definition at line 230 of file MooseVariableFE.C.

766{
767 return _neighbor_data->curlPhi();
768}

◆ curlSln()

const FieldVariableCurl & MooseVariableFE< Real >::curlSln ( ) const
inlineinherited

element curls

Definition at line 328 of file MooseVariableFE.h.

328{ return _element_data->curlSln(Moose::Current); }
@ Current
Definition MooseTypes.h:263

◆ curlSlnNeighbor()

const FieldVariableCurl & MooseVariableFE< Real >::curlSlnNeighbor ( ) const
inlineinherited

neighbor solution curls

Definition at line 468 of file MooseVariableFE.h.

469 {
470 return _neighbor_data->curlSln(Moose::Current);
471 }

◆ curlSlnOld()

const FieldVariableCurl & MooseVariableFE< Real >::curlSlnOld ( ) const
inlineinherited

Definition at line 329 of file MooseVariableFE.h.

329{ return _element_data->curlSln(Moose::Old); }

◆ curlSlnOlder()

const FieldVariableCurl & MooseVariableFE< Real >::curlSlnOlder ( ) const
inlineinherited

Definition at line 330 of file MooseVariableFE.h.

330{ return _element_data->curlSln(Moose::Older); }

◆ curlSlnOlderNeighbor()

const FieldVariableCurl & MooseVariableFE< Real >::curlSlnOlderNeighbor ( ) const
inlineinherited

Definition at line 476 of file MooseVariableFE.h.

477 {
478 return _neighbor_data->curlSln(Moose::Older);
479 }

◆ curlSlnOldNeighbor()

const FieldVariableCurl & MooseVariableFE< Real >::curlSlnOldNeighbor ( ) const
inlineinherited

Definition at line 472 of file MooseVariableFE.h.

473 {
474 return _neighbor_data->curlSln(Moose::Old);
475 }

◆ currentElem()

const Elem *const & MooseVariableFE< Real >::currentElem ( ) const
inlineoverridevirtualinherited

Current element this variable is evaluated at.

Implements MooseVariableFieldBase.

Definition at line 165 of file MooseVariableFE.h.

165{ return _element_data->currentElem(); }

◆ currentSide()

const unsigned int & MooseVariableFE< Real >::currentSide ( ) const
inlineinherited

Current side this variable is being evaluated on.

Definition at line 170 of file MooseVariableFE.h.

170{ return _element_data->currentSide(); }

◆ customSetup() [1/2]

virtual void SetupInterface::customSetup ( const ExecFlagType )
inlinevirtualinherited

Gets called in FEProblemBase::execute() for execute flags other than initial, timestep_begin, nonlinear, linear and subdomain.

Reimplemented in Function.

Definition at line 69 of file SetupInterface.h.

69{}

◆ customSetup() [2/2]

void Moose::FunctorBase< Moose::ADType< OutputType >::type >::customSetup ( const ExecFlagType exec_type)
overridevirtualinherited

Implements Moose::FunctorAbstract.

Definition at line 233 of file MooseFunctor.h.

846{
847 if (_clearance_schedule.count(exec_type))
849}
std::set< ExecFlagType > _clearance_schedule
How often to clear the material property cache.

◆ divPhi()

const MooseVariableFE< Real >::FieldVariablePhiDivergence & MooseVariableFE< Real >::divPhi ( ) const
finaloverridevirtualinherited

Divergence of the shape functions.

Implements MooseVariableField< OutputType >.

Definition at line 205 of file MooseVariableFE.C.

731{
732 return _element_data->divPhi();
733}

◆ divPhiFace()

const MooseVariableFE< Real >::FieldVariablePhiDivergence & MooseVariableFE< Real >::divPhiFace ( ) const
inherited

Definition at line 218 of file MooseVariableFE.C.

752{
753 return _element_data->divPhiFace();
754}

◆ divPhiFaceNeighbor()

const MooseVariableFE< Real >::FieldVariablePhiDivergence & MooseVariableFE< Real >::divPhiFaceNeighbor ( ) const
inherited

Definition at line 247 of file MooseVariableFE.C.

794{
795 return _neighbor_data->divPhiFace();
796}

◆ divPhiNeighbor()

const MooseVariableFE< Real >::FieldVariablePhiDivergence & MooseVariableFE< Real >::divPhiNeighbor ( ) const
inherited

Definition at line 231 of file MooseVariableFE.C.

773{
774 return _neighbor_data->divPhi();
775}

◆ divSln()

const FieldVariableDivergence & MooseVariableFE< Real >::divSln ( ) const
inlineinherited

element divergence

Definition at line 333 of file MooseVariableFE.h.

333{ return _element_data->divSln(Moose::Current); }

◆ divSlnNeighbor()

const FieldVariableDivergence & MooseVariableFE< Real >::divSlnNeighbor ( ) const
inlineinherited

neighbor solution divergence

Definition at line 482 of file MooseVariableFE.h.

483 {
484 return _neighbor_data->divSln(Moose::Current);
485 }

◆ divSlnOld()

const FieldVariableDivergence & MooseVariableFE< Real >::divSlnOld ( ) const
inlineinherited

Definition at line 334 of file MooseVariableFE.h.

334{ return _element_data->divSln(Moose::Old); }

◆ divSlnOlder()

const FieldVariableDivergence & MooseVariableFE< Real >::divSlnOlder ( ) const
inlineinherited

Definition at line 335 of file MooseVariableFE.h.

336 {
337 return _element_data->divSln(Moose::Older);
338 }

◆ divSlnOlderNeighbor()

const FieldVariableDivergence & MooseVariableFE< Real >::divSlnOlderNeighbor ( ) const
inlineinherited

Definition at line 490 of file MooseVariableFE.h.

491 {
492 return _neighbor_data->divSln(Moose::Older);
493 }

◆ divSlnOldNeighbor()

const FieldVariableDivergence & MooseVariableFE< Real >::divSlnOldNeighbor ( ) const
inlineinherited

Definition at line 486 of file MooseVariableFE.h.

487 {
488 return _neighbor_data->divSln(Moose::Old);
489 }

◆ doDerivatives()

bool MooseVariableBase::doDerivatives ( ) const
protectedinherited
Returns
whether we should insert derivatives

◆ dofIndices()

const std::vector< dof_id_type > & MooseVariableFE< Real >::dofIndices ( ) const
inlinefinalvirtualinherited

Get local DoF indices.

Reimplemented from MooseVariableBase.

Definition at line 179 of file MooseVariableFE.h.

179{ return _element_data->dofIndices(); }

◆ dofIndicesLower()

const std::vector< dof_id_type > & MooseVariableFE< Real >::dofIndicesLower ( ) const
inlinefinalvirtualinherited

Get dof indices for the current lower dimensional element (this is meaningful when performing mortar FEM)

Returns
the lower dimensional element's dofs

Implements MooseVariableFieldBase.

Definition at line 185 of file MooseVariableFE.h.

186 {
187 return _lower_data->dofIndices();
188 }

◆ dofIndicesNeighbor()

const std::vector< dof_id_type > & MooseVariableFE< Real >::dofIndicesNeighbor ( ) const
inlinefinalvirtualinherited

Get neighbor DOF indices for currently selected element.

Returns
the neighbor degree of freedom indices

Implements MooseVariableFieldBase.

Definition at line 181 of file MooseVariableFE.h.

182 {
183 return _neighbor_data->dofIndices();
184 }

◆ dofMap()

const libMesh::DofMap & MooseVariableBase::dofMap ( ) const
inlineinherited

The DofMap associated with the system this variable is in.

Definition at line 151 of file MooseVariableBase.h.

151{ return _dof_map; }

Referenced by AuxScalarKernel::compute(), DiscreteVariableResidualNorm::execute(), and ScalarVariable::execute().

◆ dofValue()

const MooseVariableFE< Real >::DofValues & MooseVariableFE< Real >::dofValue ( ) const
inherited

Definition at line 585 of file MooseVariableFE.C.

245{
246 mooseDeprecated("Use dofValues instead of dofValue");
247 return dofValues();
248}
void mooseDeprecated(Args &&... args)
Emit a deprecated code/feature message with the given stringified, concatenated args.
Definition MooseError.h:363
const DofValues & dofValues() const override

◆ dofValues()

const MooseVariableFE< Real >::DofValues & MooseVariableFE< Real >::dofValues ( ) const
overridevirtualinherited

dof values getters

Implements MooseVariableField< OutputType >.

Definition at line 586 of file MooseVariableFE.C.

253{
254 return _element_data->dofValues();
255}

◆ dofValuesDot()

const MooseVariableFE< Real >::DofValues & MooseVariableFE< Real >::dofValuesDot ( ) const
overridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 594 of file MooseVariableFE.C.

309{
310 return _element_data->dofValuesDot();
311}

◆ dofValuesDotDot()

const MooseVariableFE< Real >::DofValues & MooseVariableFE< Real >::dofValuesDotDot ( ) const
overridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 599 of file MooseVariableFE.C.

316{
317 return _element_data->dofValuesDotDot();
318}

◆ dofValuesDotDotNeighbor()

const MooseVariableFE< Real >::DofValues & MooseVariableFE< Real >::dofValuesDotDotNeighbor ( ) const
overridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 600 of file MooseVariableFE.C.

344{
345 return _neighbor_data->dofValuesDotDot();
346}

◆ dofValuesDotDotNeighborResidual()

const DofValues & MooseVariableFE< Real >::dofValuesDotDotNeighborResidual ( ) const
inherited

◆ dofValuesDotDotOld()

const MooseVariableFE< Real >::DofValues & MooseVariableFE< Real >::dofValuesDotDotOld ( ) const
overridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 602 of file MooseVariableFE.C.

330{
331 return _element_data->dofValuesDotDotOld();
332}

◆ dofValuesDotDotOldNeighbor()

const MooseVariableFE< Real >::DofValues & MooseVariableFE< Real >::dofValuesDotDotOldNeighbor ( ) const
overridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 603 of file MooseVariableFE.C.

358{
359 return _neighbor_data->dofValuesDotDotOld();
360}

◆ dofValuesDotNeighbor()

const MooseVariableFE< Real >::DofValues & MooseVariableFE< Real >::dofValuesDotNeighbor ( ) const
overridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 595 of file MooseVariableFE.C.

337{
338 return _neighbor_data->dofValuesDot();
339}

◆ dofValuesDotNeighborResidual()

const DofValues & MooseVariableFE< Real >::dofValuesDotNeighborResidual ( ) const
inherited

◆ dofValuesDotOld()

const MooseVariableFE< Real >::DofValues & MooseVariableFE< Real >::dofValuesDotOld ( ) const
overridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 597 of file MooseVariableFE.C.

323{
324 return _element_data->dofValuesDotOld();
325}

◆ dofValuesDotOldNeighbor()

const MooseVariableFE< Real >::DofValues & MooseVariableFE< Real >::dofValuesDotOldNeighbor ( ) const
overridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 598 of file MooseVariableFE.C.

351{
352 return _neighbor_data->dofValuesDotOld();
353}

◆ dofValuesDuDotDotDu()

const MooseArray< Number > & MooseVariableFE< Real >::dofValuesDuDotDotDu ( ) const
overridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 606 of file MooseVariableFE.C.

372{
373 return _element_data->dofValuesDuDotDotDu();
374}

◆ dofValuesDuDotDotDuNeighbor()

const MooseArray< Number > & MooseVariableFE< Real >::dofValuesDuDotDotDuNeighbor ( ) const
overridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 607 of file MooseVariableFE.C.

386{
387 return _neighbor_data->dofValuesDuDotDotDu();
388}

◆ dofValuesDuDotDu()

const MooseArray< Number > & MooseVariableFE< Real >::dofValuesDuDotDu ( ) const
overridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 604 of file MooseVariableFE.C.

365{
366 return _element_data->dofValuesDuDotDu();
367}

◆ dofValuesDuDotDuNeighbor()

const MooseArray< Number > & MooseVariableFE< Real >::dofValuesDuDotDuNeighbor ( ) const
overridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 605 of file MooseVariableFE.C.

379{
380 return _neighbor_data->dofValuesDuDotDu();
381}

◆ dofValuesNeighbor()

const MooseVariableFE< Real >::DofValues & MooseVariableFE< Real >::dofValuesNeighbor ( ) const
overridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 590 of file MooseVariableFE.C.

281{
282 return _neighbor_data->dofValues();
283}

◆ dofValuesOld()

const MooseVariableFE< Real >::DofValues & MooseVariableFE< Real >::dofValuesOld ( ) const
overridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 587 of file MooseVariableFE.C.

260{
261 return _element_data->dofValuesOld();
262}

◆ dofValuesOlder()

const MooseVariableFE< Real >::DofValues & MooseVariableFE< Real >::dofValuesOlder ( ) const
overridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 588 of file MooseVariableFE.C.

267{
268 return _element_data->dofValuesOlder();
269}

◆ dofValuesOlderNeighbor()

const MooseVariableFE< Real >::DofValues & MooseVariableFE< Real >::dofValuesOlderNeighbor ( ) const
overridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 592 of file MooseVariableFE.C.

295{
296 return _neighbor_data->dofValuesOlder();
297}

◆ dofValuesOldNeighbor()

const MooseVariableFE< Real >::DofValues & MooseVariableFE< Real >::dofValuesOldNeighbor ( ) const
overridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 591 of file MooseVariableFE.C.

288{
289 return _neighbor_data->dofValuesOld();
290}

◆ dofValuesPreviousNL()

const MooseVariableFE< Real >::DofValues & MooseVariableFE< Real >::dofValuesPreviousNL ( ) const
overridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 589 of file MooseVariableFE.C.

274{
275 return _element_data->dofValuesPreviousNL();
276}

◆ dofValuesPreviousNLNeighbor()

const MooseVariableFE< Real >::DofValues & MooseVariableFE< Real >::dofValuesPreviousNLNeighbor ( ) const
overridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 593 of file MooseVariableFE.C.

302{
303 return _neighbor_data->dofValuesPreviousNL();
304}

◆ dot() [1/6]

FunctorBase< Moose::ADType< OutputType >::type >::DotType Moose::FunctorBase< Moose::ADType< OutputType >::type >::dot ( const ElemArg elem,
const StateArg state 
) const
inherited

Same as their evaluateDot overloads with the same arguments but allows for caching implementation.

These are the methods a user will call in their code

Definition at line 209 of file MooseFunctor.h.

897{
898 return evaluateDot(elem, state);
899}
virtual DotType evaluateDot(const ElemArg &, const StateArg &) const
Evaluate the functor time derivative with a given element.

◆ dot() [2/6]

FunctorBase< Moose::ADType< OutputType >::type >::DotType Moose::FunctorBase< Moose::ADType< OutputType >::type >::dot ( const ElemPointArg elem_point,
const StateArg state 
) const
inherited

Definition at line 213 of file MooseFunctor.h.

926{
927 return evaluateDot(elem_point, state);
928}

◆ dot() [3/6]

FunctorBase< Moose::ADType< OutputType >::type >::DotType Moose::FunctorBase< Moose::ADType< OutputType >::type >::dot ( const ElemQpArg qp,
const StateArg state 
) const
inherited

Definition at line 211 of file MooseFunctor.h.

912{
913 return evaluateDot(elem_qp, state);
914}

◆ dot() [4/6]

FunctorBase< Moose::ADType< OutputType >::type >::DotType Moose::FunctorBase< Moose::ADType< OutputType >::type >::dot ( const ElemSideQpArg qp,
const StateArg state 
) const
inherited

Definition at line 212 of file MooseFunctor.h.

919{
920 return evaluateDot(elem_side_qp, state);
921}

◆ dot() [5/6]

FunctorBase< Moose::ADType< OutputType >::type >::DotType Moose::FunctorBase< Moose::ADType< OutputType >::type >::dot ( const FaceArg face,
const StateArg state 
) const
inherited

Definition at line 210 of file MooseFunctor.h.

904{
905 checkFace(face);
906 return evaluateDot(face, state);
907}
void checkFace(const Moose::FaceArg &face) const
Examines the incoming face argument.

◆ dot() [6/6]

FunctorBase< Moose::ADType< OutputType >::type >::DotType Moose::FunctorBase< Moose::ADType< OutputType >::type >::dot ( const NodeArg node,
const StateArg state 
) const
inherited

Definition at line 214 of file MooseFunctor.h.

933{
934 return evaluateDot(node, state);
935}

◆ duDotDotDu()

const VariableValue & MooseVariableFE< Real >::duDotDotDu ( ) const
inlineinherited

Definition at line 407 of file MooseVariableFE.h.

407{ return _element_data->duDotDotDu(); }

◆ duDotDotDuNeighbor()

const VariableValue & MooseVariableFE< Real >::duDotDotDuNeighbor ( ) const
inlineinherited

Definition at line 501 of file MooseVariableFE.h.

501{ return _neighbor_data->duDotDotDu(); }

◆ duDotDu()

const VariableValue & MooseVariableFE< Real >::duDotDu ( ) const
inlineinherited

Definition at line 406 of file MooseVariableFE.h.

406{ return _element_data->duDotDu(); }

◆ duDotDuNeighbor()

const VariableValue & MooseVariableFE< Real >::duDotDuNeighbor ( ) const
inlineinherited

Definition at line 500 of file MooseVariableFE.h.

500{ return _neighbor_data->duDotDu(); }

◆ eigen() [1/2]

bool MooseVariableBase::eigen ( ) const
inlineinherited

Whether or not this variable operates on an eigen kernel.

Definition at line 178 of file MooseVariableBase.h.

178{ return _is_eigen; }
bool _is_eigen
Whether or not this variable operates on eigen kernels.

Referenced by EigenProblem::adjustEigenVector().

◆ eigen() [2/2]

void MooseVariableBase::eigen ( bool  eigen)
inlineinherited

Mark this variable as an eigen var or non-eigen var.

Definition at line 183 of file MooseVariableBase.h.

183{ _is_eigen = eigen; }
bool eigen() const
Whether or not this variable operates on an eigen kernel.

Referenced by MooseVariableBase::eigen().

◆ enabled()

virtual bool MooseObject::enabled ( ) const
inlinevirtualinherited

Return the enabled status of the object.

Reimplemented in EigenKernel.

Definition at line 49 of file MooseObject.h.

49{ return _enabled; }
const bool & _enabled
Reference to the "enable" InputParameters, used by Controls for toggling on/off MooseObjects.
Definition MooseObject.h:71

Referenced by EigenKernel::enabled(), BlockRestrictionDebugOutput::printBlockRestrictionGroups(), BlockRestrictionDebugOutput::printBoundaryRestrictionGroups(), and NodeFaceConstraint::validParams().

◆ errorPrefix()

std::string MooseBase::errorPrefix ( const std::string &  ) const
inlineinherited

Deprecated message prefix; the error type is no longer used.

Definition at line 264 of file MooseBase.h.

264{ return messagePrefix(); }

◆ evaluate() [1/6]

MooseVariableFE< Real >::ValueType MooseVariableFE< Real >::evaluate ( const ElemArg elem_arg,
const StateArg state 
) const
finaloverrideprotectedvirtualinherited

Evaluate the functor with a given element.

Some example implementations of this method could compute an element-average or evaluate at the element centroid

Implements Moose::FunctorBase< Moose::ADType< OutputType >::type >.

Definition at line 757 of file MooseVariableFE.C.

1047{
1048 const QMonomial qrule(elem_arg.elem->dim(), CONSTANT);
1049 // We can use whatever we want for the point argument since it won't be used
1050 const ElemQpArg elem_qp_arg{elem_arg.elem, /*qp=*/0, &qrule, Point(0, 0, 0)};
1051 evaluateOnElement(elem_qp_arg, state, /*cache_eligible=*/false);
1053}
void evaluateOnElement(const ElemQpArg &elem_qp, const StateArg &state, bool cache_eligible) const
Evaluate solution and gradient for the elem_qp argument.
Moose::ElemQpArg ElemQpArg
std::vector< ValueType > _current_elem_qp_functor_sln
The values of the solution for the _current_elem_qp_functor_elem.
const libMesh::Elem * elem
The element.

◆ evaluate() [2/6]

MooseVariableFE< Real >::ValueType MooseVariableFE< Real >::evaluate ( const ElemPointArg elem_point_arg,
const StateArg state 
) const
finaloverrideprotectedvirtualinherited

Evaluate the functor with a given element and point.

Some example implementations of this method could perform a two-term Taylor expansion using cell-centered value and gradient

Implements Moose::FunctorBase< Moose::ADType< OutputType >::type >.

Definition at line 758 of file MooseVariableFE.C.

1111{
1112 mooseAssert(elem_point_arg.elem, "We need an Elem");
1113 const Elem & elem = *elem_point_arg.elem;
1114 const auto dim = elem.dim();
1115 ArbitraryQuadrature qrule(dim);
1116 const std::vector<Point> ref_point = {FEMap::inverse_map(dim, &elem, elem_point_arg.point)};
1117 qrule.setPoints(ref_point);
1118 // We can use whatever we want for the point argument since it won't be used
1119 const ElemQpArg elem_qp_arg{elem_point_arg.elem, /*qp=*/0, &qrule, elem_point_arg.point};
1120 evaluateOnElement(elem_qp_arg, state, /*cache_eligible=*/false);
1122}
unsigned int dim
Implements a fake quadrature rule where you can specify the locations (in the reference domain) of th...
const Point & point(const unsigned int i) const
virtual unsigned short dim() const=0
static Point inverse_map(const unsigned int dim, const Elem *elem, const Point &p, const Real tolerance=TOLERANCE, const bool secure=true, const bool extra_checks=true)

◆ evaluate() [3/6]

MooseVariableFE< Real >::ValueType MooseVariableFE< Real >::evaluate ( const ElemQpArg elem_qp,
const StateArg state 
) const
finaloverrideprotectedvirtualinherited
Parameters
qpSee the ElemQpArg doxygen
stateSee the StateArg doxygen
Returns
The functor evaluated at the requested state and space

Implements Moose::FunctorBase< Moose::ADType< OutputType >::type >.

Definition at line 754 of file MooseVariableFE.C.

1036{
1037 evaluateOnElement(elem_qp, state, /*query_cache=*/true);
1038 const auto qp = elem_qp.qp;
1039 mooseAssert(qp < _current_elem_qp_functor_sln.size(),
1040 "The requested " << qp << " is outside our solution size");
1042}

◆ evaluate() [4/6]

MooseVariableFE< Real >::ValueType MooseVariableFE< Real >::evaluate ( const ElemSideQpArg elem_side_qp,
const StateArg state 
) const
finaloverrideprotectedvirtualinherited
Parameters
side_qpSee the ElemSideQpArg doxygen
stateSee the StateArg doxygen
Returns
The functor evaluated at the requested state and space

Implements Moose::FunctorBase< Moose::ADType< OutputType >::type >.

Definition at line 755 of file MooseVariableFE.C.

1257{
1258 evaluateOnElementSide(elem_side_qp, state, true);
1259 const auto qp = elem_side_qp.qp;
1260 mooseAssert(qp < _current_elem_side_qp_functor_sln.size(),
1261 "The requested " << qp << " is outside our solution size");
1263}
void evaluateOnElementSide(const ElemSideQpArg &elem_side_qp, const StateArg &state, bool cache_eligible) const
Evaluate solution and gradient for the elem_side_qp argument.
std::vector< ValueType > _current_elem_side_qp_functor_sln
The values of the solution for the _current_elem_side_qp_functor_elem_side.

◆ evaluate() [5/6]

MooseVariableFE< Real >::ValueType MooseVariableFE< Real >::evaluate ( const FaceArg face_arg,
const StateArg state 
) const
finaloverrideprotectedvirtualinherited
Parameters
faceSee the FaceArg doxygen
stateSee the StateArg doxygen
Returns
The functor evaluated at the requested state and space

Implements Moose::FunctorBase< Moose::ADType< OutputType >::type >.

Definition at line 760 of file MooseVariableFE.C.

1103{
1104 return faceEvaluate(face_arg, state, _current_elem_side_qp_functor_sln);
1105}
ValueType faceEvaluate(const FaceArg &, const StateArg &, const std::vector< ValueType > &cache_data) const
A common method that both evaluate(FaceArg) and evaluateDot(FaceArg) can call.

◆ evaluate() [6/6]

MooseVariableFE< Real >::ValueType MooseVariableFE< Real >::evaluate ( const NodeArg node_arg,
const StateArg state 
) const
finaloverrideprotectedvirtualinherited

Implements Moose::FunctorBase< Moose::ADType< OutputType >::type >.

Definition at line 759 of file MooseVariableFE.C.

863{
864 mooseAssert(node_arg.node, "Must have a node");
865 const Node & node = *node_arg.node;
866 mooseAssert(node.n_dofs(this->_sys.number(), this->number()),
867 "Our variable must have dofs on the requested node");
868 const auto & soln = this->getSolution(state);
869 if constexpr (std::is_same<OutputType, Real>::value)
870 {
871 const auto dof_number = node.dof_number(this->_sys.number(), this->number(), 0);
872 ValueType ret = soln(dof_number);
874 Moose::derivInsert(ret.derivatives(), dof_number, 1);
875 return ret;
876 }
877 else if constexpr (std::is_same<OutputType, RealVectorValue>::value)
878 {
879 ValueType ret;
880 const auto do_derivatives = Moose::doDerivatives(_subproblem, _sys);
881 for (const auto d : make_range(this->_mesh.dimension()))
882 {
883 const auto dof_number = node.dof_number(this->_sys.number(), this->number(), d);
884 auto & component = ret(d);
885 component = soln(dof_number);
886 if (do_derivatives)
887 Moose::derivInsert(component.derivatives(), dof_number, 1);
888 }
889 return ret;
890 }
891 else
892 mooseError("RealEigenVector not yet supported for functors");
893}
MooseMesh & _mesh
mesh the variable is active in
unsigned int number() const
Get variable number coming from libMesh.
const Node *const & node() const
unsigned int number() const
Gets the number of this system.
dof_id_type dof_number(const unsigned int s, const unsigned int var, const unsigned int comp) const
unsigned int n_dofs(const unsigned int s, const unsigned int var=libMesh::invalid_uint) const

◆ evaluateDot() [1/6]

MooseVariableFE< Real >::DotType MooseVariableFE< Real >::evaluateDot ( const ElemArg elem_arg,
const StateArg state 
) const
finaloverrideprotectedvirtualinherited

Evaluate the functor time derivative with a given element.

Some example implementations of this method could compute an element-average or evaluate at the element centroid

Reimplemented from Moose::FunctorBase< Moose::ADType< OutputType >::type >.

Definition at line 770 of file MooseVariableFE.C.

1168{
1169 mooseAssert(_time_integrator,
1170 "A time derivative is being requested but we do not have a time integrator so we'll "
1171 "have no idea how to compute it");
1172 mooseAssert(_time_integrator->dt(),
1173 "A time derivative is being requested but the time integrator wants to perform a 0s "
1174 "time step");
1175 const QMonomial qrule(elem_arg.elem->dim(), CONSTANT);
1176 // We can use whatever we want for the point argument since it won't be used
1177 const ElemQpArg elem_qp_arg{elem_arg.elem, /*qp=*/0, &qrule, Point(0, 0, 0)};
1178 evaluateOnElement(elem_qp_arg, state, /*cache_eligible=*/false);
1180}
std::vector< DotType > _current_elem_qp_functor_dot
The values of the time derivative for the _current_elem_qp_functor_elem.

◆ evaluateDot() [2/6]

virtual DotType Moose::FunctorBase< Moose::ADType< OutputType >::type >::evaluateDot ( const ElemPointArg ,
const StateArg  
) const
inlineprotectedvirtualinherited

Evaluate the functor time derivative with a given element and point.

Definition at line 431 of file MooseFunctor.h.

432 {
433 mooseError("Element-point time derivative not implemented for functor " + functorName());
434 }
const MooseFunctorName & functorName() const
Return the functor name.

◆ evaluateDot() [3/6]

MooseVariableFE< Real >::DotType MooseVariableFE< Real >::evaluateDot ( const ElemQpArg elem_qp,
const StateArg state 
) const
finaloverrideprotectedvirtualinherited
Parameters
qpSee the ElemQpArg doxygen
stateSee the StateArg doxygen
Returns
The functor time derivative evaluated at the requested state and space

Reimplemented from Moose::FunctorBase< Moose::ADType< OutputType >::type >.

Definition at line 767 of file MooseVariableFE.C.

1151{
1152 mooseAssert(_time_integrator,
1153 "A time derivative is being requested but we do not have a time integrator so we'll "
1154 "have no idea how to compute it");
1155 mooseAssert(_time_integrator->dt(),
1156 "A time derivative is being requested but the time integrator wants to perform a 0s "
1157 "time step");
1158 evaluateOnElement(elem_qp, state, /*query_cache=*/true);
1159 const auto qp = elem_qp.qp;
1160 mooseAssert(qp < _current_elem_qp_functor_dot.size(),
1161 "The requested " << qp << " is outside our dot size");
1163}

◆ evaluateDot() [4/6]

MooseVariableFE< Real >::DotType MooseVariableFE< Real >::evaluateDot ( const ElemSideQpArg elem_side_qp,
const StateArg state 
) const
finaloverrideprotectedvirtualinherited
Parameters
side_qpSee the ElemSideQpArg doxygen
stateSee the StateArg doxygen
Returns
The functor time derivative evaluated at the requested state and space

Reimplemented from Moose::FunctorBase< Moose::ADType< OutputType >::type >.

Definition at line 768 of file MooseVariableFE.C.

1281{
1282 mooseAssert(_time_integrator && _time_integrator->dt(),
1283 "A time derivative is being requested but we do not have a time integrator so we'll "
1284 "have no idea how to compute it");
1285 evaluateOnElementSide(elem_side_qp, state, true);
1286 const auto qp = elem_side_qp.qp;
1287 mooseAssert(qp < _current_elem_side_qp_functor_dot.size(),
1288 "The requested " << qp << " is outside our dot size");
1290}
std::vector< DotType > _current_elem_side_qp_functor_dot
The values of the time derivative for the _current_elem_side_qp_functor_elem_side.

◆ evaluateDot() [5/6]

MooseVariableFE< Real >::DotType MooseVariableFE< Real >::evaluateDot ( const FaceArg face_arg,
const StateArg state 
) const
finaloverrideprotectedvirtualinherited
Parameters
faceSee the FaceArg doxygen
stateSee the StateArg doxygen
Returns
The functor time derivative evaluated at the requested state and space

Reimplemented from Moose::FunctorBase< Moose::ADType< OutputType >::type >.

Definition at line 771 of file MooseVariableFE.C.

1295{
1296 mooseAssert(_time_integrator && _time_integrator->dt(),
1297 "A time derivative is being requested but we do not have a time integrator so we'll "
1298 "have no idea how to compute it");
1299 return faceEvaluate(face_arg, state, _current_elem_side_qp_functor_dot);
1300}

◆ evaluateDot() [6/6]

virtual DotType Moose::FunctorBase< Moose::ADType< OutputType >::type >::evaluateDot ( const NodeArg ,
const StateArg  
) const
inlineprotectedvirtualinherited

Definition at line 436 of file MooseFunctor.h.

437 {
438 mooseError("Time derivative at node not implemented for functor " + functorName());
439 }

◆ evaluateGradDot() [1/6]

MooseVariableFE< Real >::GradientType MooseVariableFE< Real >::evaluateGradDot ( const ElemArg elem_arg,
const StateArg state 
) const
finaloverrideprotectedvirtualinherited

Evaluate the functor gradient-dot with a given element.

Some example implementations of this method could compute an element-average or evaluate at the element centroid

Reimplemented from Moose::FunctorBase< Moose::ADType< OutputType >::type >.

Definition at line 773 of file MooseVariableFE.C.

1185{
1186 mooseAssert(_time_integrator,
1187 "A time derivative is being requested but we do not have a time integrator so we'll "
1188 "have no idea how to compute it");
1189 mooseAssert(_time_integrator->dt(),
1190 "A time derivative is being requested but the time integrator wants to perform a 0s "
1191 "time step");
1192 const QMonomial qrule(elem_arg.elem->dim(), CONSTANT);
1193 // We can use whatever we want for the point argument since it won't be used
1194 const ElemQpArg elem_qp_arg{elem_arg.elem, /*qp=*/0, &qrule, Point(0, 0, 0)};
1195 evaluateOnElement(elem_qp_arg, state, /*cache_eligible=*/false);
1197}
std::vector< GradientType > _current_elem_qp_functor_grad_dot
The values of the gradient of the time derivative for the _current_elem_qp_functor_elem.

◆ evaluateGradDot() [2/6]

virtual GradientType Moose::FunctorBase< Moose::ADType< OutputType >::type >::evaluateGradDot ( const ElemPointArg ,
const StateArg  
) const
inlineprotectedvirtualinherited

Evaluate the functor gradient-dot with a given element and point.

Definition at line 485 of file MooseFunctor.h.

486 {
487 mooseError("Element-point gradient-dot not implemented for functor " + functorName());
488 }

◆ evaluateGradDot() [3/6]

virtual GradientType Moose::FunctorBase< Moose::ADType< OutputType >::type >::evaluateGradDot ( const ElemQpArg ,
const StateArg  
) const
inlineprotectedvirtualinherited
Parameters
qpSee the ElemQpArg doxygen
stateSee the StateArg doxygen
Returns
The functor gradient-dot evaluated at the requested state and space

Definition at line 465 of file MooseFunctor.h.

466 {
467 mooseError("Element quadrature point gradient-dot not implemented for functor " +
468 functorName());
469 }

◆ evaluateGradDot() [4/6]

virtual GradientType Moose::FunctorBase< Moose::ADType< OutputType >::type >::evaluateGradDot ( const ElemSideQpArg ,
const StateArg  
) const
inlineprotectedvirtualinherited
Parameters
side_qpSee the ElemSideQpArg doxygen
stateSee the StateArg doxygen
Returns
The functor gradient-dot evaluated at the requested state and space

Definition at line 476 of file MooseFunctor.h.

477 {
478 mooseError("Element side quadrature point gradient-dot not implemented for functor " +
479 functorName());
480 }

◆ evaluateGradDot() [5/6]

virtual GradientType Moose::FunctorBase< Moose::ADType< OutputType >::type >::evaluateGradDot ( const FaceArg ,
const StateArg  
) const
inlineprotectedvirtualinherited
Parameters
faceSee the FaceArg doxygen
stateSee the StateArg doxygen
Returns
The functor gradient-dot evaluated at the requested state and space

Definition at line 455 of file MooseFunctor.h.

456 {
457 mooseError("Face gradient-dot not implemented for functor " + functorName());
458 }

◆ evaluateGradDot() [6/6]

virtual GradientType Moose::FunctorBase< Moose::ADType< OutputType >::type >::evaluateGradDot ( const NodeArg ,
const StateArg  
) const
inlineprotectedvirtualinherited

Definition at line 490 of file MooseFunctor.h.

491 {
492 mooseError("Gradient-dot at node not implemented for functor " + functorName());
493 }

◆ evaluateGradient() [1/6]

MooseVariableFE< Real >::GradientType MooseVariableFE< Real >::evaluateGradient ( const ElemArg elem_arg,
const StateArg state 
) const
finaloverrideprotectedvirtualinherited

Evaluate the functor gradient with a given element.

Some example implementations of this method could compute an element-average or evaluate at the element centroid

Reimplemented from Moose::FunctorBase< Moose::ADType< OutputType >::type >.

Definition at line 765 of file MooseVariableFE.C.

1140{
1141 const QMonomial qrule(elem_arg.elem->dim(), CONSTANT);
1142 // We can use whatever we want for the point argument since it won't be used
1143 const ElemQpArg elem_qp_arg{elem_arg.elem, /*qp=*/0, &qrule, Point(0, 0, 0)};
1144 evaluateOnElement(elem_qp_arg, state, /*cache_eligible=*/false);
1146}
std::vector< GradientType > _current_elem_qp_functor_gradient
The values of the gradient for the _current_elem_qp_functor_elem.

◆ evaluateGradient() [2/6]

virtual GradientType Moose::FunctorBase< Moose::ADType< OutputType >::type >::evaluateGradient ( const ElemPointArg ,
const StateArg  
) const
inlineprotectedvirtualinherited

Evaluate the functor gradient with a given element and point.

Definition at line 377 of file MooseFunctor.h.

378 {
379 mooseError("Element-point gradient not implemented for functor " + functorName());
380 }

◆ evaluateGradient() [3/6]

MooseVariableFE< Real >::GradientType MooseVariableFE< Real >::evaluateGradient ( const ElemQpArg elem_qp,
const StateArg state 
) const
overrideprotectedvirtualinherited
Parameters
qpSee the ElemQpArg doxygen
stateSee the StateArg doxygen
Returns
The functor gradient evaluated at the requested state and space

Reimplemented from Moose::FunctorBase< Moose::ADType< OutputType >::type >.

Definition at line 762 of file MooseVariableFE.C.

1128{
1129 evaluateOnElement(elem_qp, state, /*query_cache=*/true);
1130 const auto qp = elem_qp.qp;
1131 mooseAssert(qp < _current_elem_qp_functor_gradient.size(),
1132 "The requested " << qp << " is outside our gradient size");
1134}

◆ evaluateGradient() [4/6]

MooseVariableFE< Real >::GradientType MooseVariableFE< Real >::evaluateGradient ( const ElemSideQpArg elem_side_qp,
const StateArg state 
) const
finaloverrideprotectedvirtualinherited
Parameters
side_qpSee the ElemSideQpArg doxygen
stateSee the StateArg doxygen
Returns
The functor gradient evaluated at the requested state and space

Reimplemented from Moose::FunctorBase< Moose::ADType< OutputType >::type >.

Definition at line 763 of file MooseVariableFE.C.

1269{
1270 evaluateOnElementSide(elem_side_qp, state, true);
1271 const auto qp = elem_side_qp.qp;
1272 mooseAssert(qp < _current_elem_side_qp_functor_gradient.size(),
1273 "The requested " << qp << " is outside our gradient size");
1275}
std::vector< GradientType > _current_elem_side_qp_functor_gradient
The values of the gradient for the _current_elem_side_qp_functor_elem_side.

◆ evaluateGradient() [5/6]

virtual GradientType Moose::FunctorBase< Moose::ADType< OutputType >::type >::evaluateGradient ( const FaceArg ,
const StateArg  
) const
inlineprotectedvirtualinherited
Parameters
faceSee the FaceArg doxygen
stateSee the StateArg doxygen
Returns
The functor gradient evaluated at the requested state and space

Reimplemented in MooseLinearVariableFV< OutputType >, MooseLinearVariableFV< ComputeValueType >, MooseLinearVariableFV< Real >, MooseLinearVariableFV< RealEigenVector >, MooseLinearVariableFV< RealVectorValue >, MooseLinearVariableFV< T >, MooseVariableFV< OutputType >, MooseVariableFV< ComputeValueType >, MooseVariableFV< Real >, MooseVariableFV< RealEigenVector >, MooseVariableFV< RealVectorValue >, and MooseVariableFV< T >.

Definition at line 348 of file MooseFunctor.h.

349 {
350 mooseError("Face gradient not implemented for functor " + functorName());
351 }

◆ evaluateGradient() [6/6]

virtual GradientType Moose::FunctorBase< Moose::ADType< OutputType >::type >::evaluateGradient ( const NodeArg ,
const StateArg  
) const
inlineprotectedvirtualinherited

Definition at line 382 of file MooseFunctor.h.

383 {
384 mooseError("Gradient at node not implemented for functor " + functorName());
385 }

◆ evaluateOnElement()

void MooseVariableFE< Real >::evaluateOnElement ( const ElemQpArg elem_qp,
const StateArg state,
bool  cache_eligible 
) const
privateinherited

Evaluate solution and gradient for the elem_qp argument.

Definition at line 795 of file MooseVariableFE.C.

988{
989 mooseAssert(this->hasBlocks(elem_qp.elem->subdomain_id()),
990 "Variable " + this->name() + " doesn't exist on block " +
991 std::to_string(elem_qp.elem->subdomain_id()));
992
993 const Elem * const elem = elem_qp.elem;
994 if (!cache_eligible || (elem != _current_elem_qp_functor_elem))
995 {
996 const QBase * const qrule_template = elem_qp.qrule;
997
998 using FEBaseType = typename FEBaseHelper<OutputType>::type;
999 std::unique_ptr<FEBaseType> fe(FEBaseType::build(elem->dim(), _fe_type));
1000 auto qrule = qrule_template->clone();
1001
1002 const auto & phi = fe->get_phi();
1003 const auto & dphi = fe->get_dphi();
1004 fe->attach_quadrature_rule(qrule.get());
1005 fe->reinit(elem);
1006
1007 computeSolution(elem,
1008 qrule->n_points(),
1009 state,
1010 phi,
1012 dphi,
1016 }
1017 if (cache_eligible)
1019 else
1020 // These evaluations are not eligible for caching, e.g. maybe this is a single point quadrature
1021 // rule evaluation at an arbitrary point and we don't want those evaluations to potentially be
1022 // re-used when this function is called with a standard quadrature rule or a different point
1024}
void computeSolution(const Elem *elem, unsigned int n_qp, const StateArg &state, const Shapes &phi, Solution &local_soln, const GradShapes &grad_phi, GradSolution &grad_local_soln, Solution &dot_local_soln, GradSolution &grad_dot_local_soln) const
Compute the solution, gradient, time derivative, and gradient of the time derivative with provided sh...
const Elem * _current_elem_qp_functor_elem
Keep track of the current elem-qp functor element in order to enable local caching (e....
bool hasBlocks(const SubdomainID id) const override
Returns whether the functor is defined on this block.
virtual std::unique_ptr< QBase > clone() const

◆ evaluateOnElementSide()

void MooseVariableFE< Real >::evaluateOnElementSide ( const ElemSideQpArg elem_side_qp,
const StateArg state,
bool  cache_eligible 
) const
privateinherited

Evaluate solution and gradient for the elem_side_qp argument.

Definition at line 800 of file MooseVariableFE.C.

1204{
1205 mooseAssert(this->hasBlocks(elem_side_qp.elem->subdomain_id()),
1206 "Variable " + this->name() + " doesn't exist on block " +
1207 std::to_string(elem_side_qp.elem->subdomain_id()));
1208
1209 const Elem * const elem = elem_side_qp.elem;
1210 const auto side = elem_side_qp.side;
1211 if (!cache_eligible || elem != _current_elem_side_qp_functor_elem_side.first ||
1213 {
1214 const QBase * const qrule_template = elem_side_qp.qrule;
1215
1216 using FEBaseType = typename FEBaseHelper<OutputType>::type;
1217 std::unique_ptr<FEBaseType> fe(FEBaseType::build(elem->dim(), _fe_type));
1218 auto qrule = qrule_template->clone();
1219
1220 const auto & phi = fe->get_phi();
1221 const auto & dphi = fe->get_dphi();
1222 fe->attach_quadrature_rule(qrule.get());
1223 fe->reinit(elem, side);
1224
1225 computeSolution(elem,
1226 qrule->n_points(),
1227 state,
1228 phi,
1230 dphi,
1234 }
1235 if (cache_eligible)
1236 _current_elem_side_qp_functor_elem_side = std::make_pair(elem, side);
1237 else
1238 // These evaluations are not eligible for caching, e.g. maybe this is a single point quadrature
1239 // rule evaluation at an arbitrary point and we don't want those evaluations to potentially be
1240 // re-used when this function is called with a standard quadrature rule or a different point
1242}
std::pair< const Elem *, unsigned int > _current_elem_side_qp_functor_elem_side
Keep track of the current elem-side-qp functor element and side in order to enable local caching (e....
std::vector< GradientType > _current_elem_side_qp_functor_grad_dot
The values of the gradient of the time derivative for the _current_elem_side_qp_functor_elem_side.

◆ faceEvaluate()

MooseVariableFE< Real >::ValueType MooseVariableFE< Real >::faceEvaluate ( const FaceArg face_arg,
const StateArg state,
const std::vector< ValueType > &  cache_data 
) const
protectedinherited

A common method that both evaluate(FaceArg) and evaluateDot(FaceArg) can call.

A value evaluation vs dot evaluation is delineated via the passed-in cache_data, e.g. if the passed-in cache data is the sln data member then this will return a value evaluation and if the cache data is the dot data member then this will return a dot evaluation

Definition at line 752 of file MooseVariableFE.C.

1060{
1061 const QMonomial qrule(face_arg.fi->elem().dim() - 1, CONSTANT);
1062 auto side_evaluate =
1063 [this, &qrule, &state, &cache_data](const Elem * const elem, const unsigned int side)
1064 {
1065 // We can use whatever we want for the point argument since it won't be used
1066 const ElemSideQpArg elem_side_qp_arg{elem, side, /*qp=*/0, &qrule, Point(0, 0, 0)};
1067 evaluateOnElementSide(elem_side_qp_arg, state, /*cache_eligible=*/false);
1068 return cache_data[0];
1069 };
1070
1071 const auto continuity = this->getContinuity();
1072 bool on_elem;
1073 bool on_neighbor;
1074 if (!face_arg.face_side)
1075 {
1076 on_elem = this->hasBlocks(face_arg.fi->elemPtr()->subdomain_id());
1077 on_neighbor =
1078 face_arg.fi->neighborPtr() && this->hasBlocks(face_arg.fi->neighborPtr()->subdomain_id());
1079 }
1080 else
1081 {
1082 on_elem = face_arg.face_side == face_arg.fi->elemPtr();
1083 on_neighbor = face_arg.face_side == face_arg.fi->neighborPtr();
1084 }
1085
1086 // Only do multiple evaluations if we are not continuous and we are on an internal face
1087 if ((continuity != C_ZERO && continuity != C_ONE) && on_elem && on_neighbor)
1088 return (side_evaluate(face_arg.fi->elemPtr(), face_arg.fi->elemSideID()) +
1089 side_evaluate(face_arg.fi->neighborPtr(), face_arg.fi->neighborSideID())) /
1090 2;
1091 else if (on_elem)
1092 return side_evaluate(face_arg.fi->elemPtr(), face_arg.fi->elemSideID());
1093 else if (on_neighbor)
1094 return side_evaluate(face_arg.fi->neighborPtr(), face_arg.fi->neighborSideID());
1095 else
1096 mooseError(
1097 "Attempted to evaluate a moose finite element variable on a face where it is not defined");
1098}
Moose::ElemSideQpArg ElemSideQpArg
libMesh::FEContinuity getContinuity() const override

◆ feType()

const libMesh::FEType & MooseVariableBase::feType ( ) const
inlineinherited

Get the type of finite element object.

Definition at line 65 of file MooseVariableBase.h.

65{ return _fe_type; }

Referenced by SetupResidualDebugAction::act(), ADDGKernel::ADDGKernel(), Assembly::adGradPhi(), Assembly::adGradPhi(), ADIntegratedBCTempl< T >::ADIntegratedBCTempl(), ADKernelTempl< T >::ADKernelTempl(), ArrayDGKernel::ArrayDGKernel(), ArrayIntegratedBC::ArrayIntegratedBC(), ArrayKernel::ArrayKernel(), AuxKernelBase::AuxKernelBase(), BoundsBase::BoundsBase(), BuildArrayVariableAux::BuildArrayVariableAux(), TagAuxBase< T >::checkCoupledVariable(), SamplerBase::checkForStandardFieldVariableType(), GapValueAux::computeValue(), CopyValueAux::CopyValueAux(), MultiAppGeneralFieldTransfer::correctSolutionVectorValues(), DGKernel::DGKernel(), MultiAppNearestNodeTransfer::execute(), MultiAppMFEMTolibMeshShapeEvaluationTransfer::extractlibMeshNodePositions(), moose::internal::incompatVarMsg(), AdvancedOutput::initAvailableLists(), MultiAppProjectionTransfer::initialSetup(), AdvancedOutput::initShowHideLists(), IntegratedBC::IntegratedBC(), InterfaceKernelTempl< T >::InterfaceKernelTempl(), InternalSideIndicatorBase::InternalSideIndicatorBase(), Kernel::Kernel(), MeshDivisionAux::MeshDivisionAux(), MultiAppVariableValueSamplePostprocessorTransfer::MultiAppVariableValueSamplePostprocessorTransfer(), NodalBC::NodalBC(), NodalKernel::NodalKernel(), SolutionUserObjectBase::pointValueWrapper(), PointwiseRenormalizeVector::PointwiseRenormalizeVector(), MultiAppMFEMTolibMeshShapeEvaluationTransfer::projectlibMeshNodalValues(), MultiAppDofCopyTransfer::transfer(), and VectorNodalBC::VectorNodalBC().

◆ fieldType()

template<typename OutputType >
Moose::VarFieldType MooseVariableField< OutputType >::fieldType ( ) const
overridevirtualinherited

Field type of this variable.

Implements MooseVariableFieldBase.

Definition at line 60 of file MooseVariableField.C.

61{
62 if (std::is_same<OutputType, Real>::value)
64 else if (std::is_same<OutputType, RealVectorValue>::value)
66 else if (std::is_same<OutputType, RealEigenVector>::value)
68 else
69 mooseError("Unknown variable field type");
70}
@ VAR_FIELD_STANDARD
Definition MooseTypes.h:777
@ VAR_FIELD_ARRAY
Definition MooseTypes.h:780
@ VAR_FIELD_VECTOR
Definition MooseTypes.h:779

◆ flagInvalidSolutionInternal()

template<bool warning>
template void SolutionInvalidInterface::flagInvalidSolutionInternal< false > ( const InvalidSolutionID  invalid_solution_id) const
protectedinherited

Set solution invalid mark for the given solution ID.

Definition at line 41 of file SolutionInvalidInterface.C.

43{
44 mooseAssert(
45 warning == moose::internal::getSolutionInvalidityRegistry().item(invalid_solution_id).warning,
46 "Inconsistent warning flag");
47 auto & solution_invalidity = _si_moose_base.getMooseApp().solutionInvalidity();
48 if constexpr (!warning)
50 solution_invalidity.printDebug(invalid_solution_id);
51 return solution_invalidity.flagInvalidSolutionInternal(invalid_solution_id);
52}
bool immediatelyPrintInvalidSolution() const
Whether or not the solution invalid warnings are printed out immediately.
SolutionInvalidity & solutionInvalidity()
Get the SolutionInvalidity for this app.
Definition MooseApp.h:185
MooseApp & getMooseApp() const
Get the MooseApp this class is associated with.
Definition MooseBase.h:87
const FEProblemBase * _si_problem
A pointer to FEProblem base.
const MooseBase & _si_moose_base
The MooseBase that owns this interface.
void printDebug(InvalidSolutionID _invalid_solution_id) const
Immediately print the section and message for debug purpose.
SolutionInvalidityRegistry & getSolutionInvalidityRegistry()
Get the global SolutionInvalidityRegistry singleton.

◆ functorName()

const MooseFunctorName & Moose::FunctorBase< Moose::ADType< OutputType >::type >::functorName ( ) const
inlineinherited

Return the functor name.

Definition at line 176 of file MooseFunctor.h.

176{ return _functor_name; }
MooseFunctorName _functor_name
name of the functor

◆ genericDofValues()

template<typename OutputType >
template<bool is_ad>
const MooseArray< GenericReal< is_ad > > & MooseVariableField< OutputType >::genericDofValues ( ) const
inherited

Definition at line 425 of file MooseVariableField.h.

426{
427 return adDofValues();
428}
virtual const ADDofValues & adDofValues() const =0
Return the AD dof values.

◆ genericEvaluate()

FunctorReturnType< Moose::ADType< OutputType >::type , FET >::type Moose::FunctorBase< Moose::ADType< OutputType >::type >::genericEvaluate ( const Space &  r,
const State &  state 
) const
inherited

Perform a generic evaluation based on the supplied template argument FET and supplied spatial and temporal arguments.

Definition at line 172 of file MooseFunctor.h.

994{
995 if constexpr (FET == FunctorEvaluationKind::Value)
996 return (*this)(r, state);
997 else if constexpr (FET == FunctorEvaluationKind::Gradient)
998 return gradient(r, state);
999 else if constexpr (FET == FunctorEvaluationKind::Dot)
1000 return dot(r, state);
1001 else
1002 return gradDot(r, state);
1003}
DotType dot(const ElemArg &elem, const StateArg &state) const
Same as their evaluateDot overloads with the same arguments but allows for caching implementation.
GradientType gradient(const ElemArg &elem, const StateArg &state) const
Same as their evaluateGradient overloads with the same arguments but allows for caching implementatio...
GradientType gradDot(const ElemArg &elem, const StateArg &state) const
Same as their evaluateGradDot overloads with the same arguments but allows for caching implementation...

◆ getBase()

const std::string & MooseBase::getBase ( ) const
inlineinherited
Returns
The registered base for this object (set via InputParameters::registerBase())

Definition at line 147 of file MooseBase.h.

147{ return _pars.getBase(); }
const std::string & getBase() const

Referenced by Factory::copyConstruct(), and MooseBase::uniqueParameterName().

◆ getBlockCoordSystem()

Moose::CoordinateSystemType BlockRestrictable::getBlockCoordSystem ( )
protectedinherited

Check if the blocks this object operates on all have the same coordinate system, and if so return it.

Definition at line 336 of file BlockRestrictable.C.

337{
338 if (!_blk_mesh)
339 mooseError("No mesh available in BlockRestrictable::checkCoordSystem()");
340 if (!_blk_feproblem)
341 mooseError("No problem available in BlockRestrictable::checkCoordSystem()");
342
343 const auto & subdomains = blockRestricted() ? blockIDs() : meshBlockIDs();
344
345 if (subdomains.empty())
346 mooseError("No subdomains found in the problem.");
347
348 // make sure all subdomains are using the same coordinate system
349 auto coord_system = _blk_feproblem->getCoordSystem(*subdomains.begin());
350 for (auto subdomain : subdomains)
351 if (_blk_feproblem->getCoordSystem(subdomain) != coord_system)
352 mooseError("This object requires all subdomains to have the same coordinate system.");
353
354 return coord_system;
355}
if(!dmm->_nl) SETERRQ(PETSC_COMM_WORLD
virtual const std::set< SubdomainID > & blockIDs() const
Return the block subdomain ids for this object Note, if this is not block restricted,...
FEProblemBase * _blk_feproblem
Pointer to FEProblemBase.
Moose::CoordinateSystemType getCoordSystem(SubdomainID sid) const

◆ getCheckedPointerParam()

template<typename T >
T MooseBase::getCheckedPointerParam ( const std::string &  name,
const std::string &  error_string = "" 
) const
inherited

Verifies that the requested parameter exists and is not NULL and returns it to the caller.

The template parameter must be a pointer or an error will be thrown.

Definition at line 450 of file MooseBase.h.

451{
452 return _pars.getCheckedPointerParam<T>(name, error_string);
453}
T getCheckedPointerParam(const std::string &name, const std::string &error_string="") const
Verifies that the requested parameter exists and is not NULL and returns it to the caller.

◆ getContinuity()

libMesh::FEContinuity MooseVariableFE< Real >::getContinuity ( ) const
inlineoverridevirtualinherited

Return the continuity of this variable.

Reimplemented from MooseVariableBase.

Definition at line 153 of file MooseVariableFE.h.

153{ return _element_data->getContinuity(); };

◆ getDataFileName()

std::string DataFileInterface::getDataFileName ( const std::string &  param) const
inherited

Deprecated method.

The data file paths are now automatically set within the InputParameters object, so using getParam<DataFileName>("param_name") is now sufficient.

Definition at line 21 of file DataFileInterface.C.

22{
23 _parent.mooseDeprecated("getDataFileName() is deprecated. The file path is now directly set "
24 "within the InputParameters.\nUse getParam<DataFileName>(\"",
25 param,
26 "\") instead.");
27 return _parent.getParam<DataFileName>(param);
28}
const ParallelParamObject & _parent
void mooseDeprecated(Args &&... args) const
Emits a deprecation warning prefixed with the object name and type, and a stack trace.
Definition MooseBase.h:317
const T & getParam(const std::string &name) const
Retrieve a parameter for the object.
Definition MooseBase.h:406

◆ getDataFileNameByName()

std::string DataFileInterface::getDataFileNameByName ( const std::string &  relative_path) const
inherited

Deprecated method.

Use getDataFilePath() instead.

Definition at line 31 of file DataFileInterface.C.

32{
33 _parent.mooseDeprecated("getDataFileNameByName() is deprecated. Use getDataFilePath(\"",
34 relative_path,
35 "\") instead.");
36 return getDataFilePath(relative_path);
37}
std::string getDataFilePath(const std::string &relative_path) const
Returns the path of a data file for a given relative file path.

◆ getDataFilePath()

std::string DataFileInterface::getDataFilePath ( const std::string &  relative_path) const
inherited

Returns the path of a data file for a given relative file path.

This can be used for hardcoded datafile names and will search the same locations as getDataFileName

Definition at line 40 of file DataFileInterface.C.

41{
42 // This should only ever be used with relative paths. There is no point to
43 // use this search path with an absolute path.
44 if (std::filesystem::path(relative_path).is_absolute())
45 _parent.mooseWarning("While using getDataFilePath(\"",
46 relative_path,
47 "\"): This API should not be used for absolute paths.");
48
49 // This will search the data paths for this relative path
50 std::optional<std::string> error;
52 {
53 // Throw on error so that if getPath() fails, we can throw an error
54 // with the context of _parent.mooseError()
55 Moose::ScopedThrowOnError scoped_throw_on_error;
56
57 try
58 {
59 found_path = Moose::DataFileUtils::getPath(relative_path);
60 }
61 catch (std::exception & e)
62 {
63 error = e.what();
64 }
65 }
66
67 if (error)
68 _parent.mooseError(*error);
69
70 mooseAssert(found_path.context == Moose::DataFileUtils::Context::DATA,
71 "Should only ever obtain data");
72 mooseAssert(found_path.data_name, "Should be set");
73
74 const std::string msg =
75 "Using data file '" + found_path.path + "' from " + *found_path.data_name + " data";
76 _parent.mooseInfo(msg);
77
78 return found_path.path;
79}
void mooseWarning(Args &&... args) const
Emits a warning prefixed with object name and type.
Definition MooseBase.h:299
void mooseInfo(Args &&... args) const
Definition MooseBase.h:334
Scoped helper for setting Moose::_throw_on_error during this scope.
Definition Moose.h:298
@ DATA
From installed/in-tree data.
Path getPath(std::string path, const GetPathOptions &options={})
Get the data path for a given path, searching the registered data.
Representation of a data file path.
std::optional< std::string > data_name
The name of the data registry the file came from (with context == DATA)
Context context
Context for the file (where it came from)

Referenced by DataFileInterface::getDataFileNameByName().

◆ getDofIndices()

void MooseVariableFE< Real >::getDofIndices ( const Elem elem,
std::vector< dof_id_type > &  dof_indices 
) const
overridevirtualinherited

Reimplemented from MooseVariableBase.

Definition at line 177 of file MooseVariableFE.C.

161{
162 _element_data->getDofIndices(elem, dof_indices);
163}

◆ getElementalValue()

MooseVariableFE< Real >::DofValue MooseVariableFE< Real >::getElementalValue ( const Elem elem,
unsigned int  idx = 0 
) const
inherited

Get the current value of this variable on an element.

Parameters
[in]elemElement at which to get value
[in]idxLocal index of this variable's element DoFs
Returns
Variable value

Definition at line 548 of file MooseVariableFE.C.

189{
190 return _element_data->getElementalValue(elem, Moose::Current, idx);
191}

◆ getElementalValueOld()

MooseVariableFE< Real >::DofValue MooseVariableFE< Real >::getElementalValueOld ( const Elem elem,
unsigned int  idx = 0 
) const
inherited

Get the old value of this variable on an element.

Parameters
[in]elemElement at which to get value
[in]idxLocal index of this variable's element DoFs
Returns
Variable value

Definition at line 555 of file MooseVariableFE.C.

196{
197 return _element_data->getElementalValue(elem, Moose::Old, idx);
198}

◆ getElementalValueOlder()

MooseVariableFE< Real >::DofValue MooseVariableFE< Real >::getElementalValueOlder ( const Elem elem,
unsigned int  idx = 0 
) const
inherited

Get the older value of this variable on an element.

Parameters
[in]elemElement at which to get value
[in]idxLocal index of this variable's element DoFs
Returns
Variable value

Definition at line 562 of file MooseVariableFE.C.

203{
204 return _element_data->getElementalValue(elem, Moose::Older, idx);
205}

◆ getExecuteOnEnum()

const ExecFlagEnum & SetupInterface::getExecuteOnEnum ( ) const
inherited

◆ getGradient()

OutputTools< Real >::OutputGradient MooseVariableFE< Real >::getGradient ( const Elem elem,
const std::vector< std::vector< typename OutputTools< Real >::OutputShapeGradient > > &  grad_phi 
) const
inherited

Compute the variable gradient value at a point on an element.

Parameters
elemThe element we are computing on
phiEvaluated shape functions at a point
Returns
The variable gradient value

Definition at line 637 of file MooseVariableFE.C.

518{
519 std::vector<dof_id_type> dof_indices;
520 this->_dof_map.dof_indices(elem, dof_indices, _var_num);
521
523 if (isNodal())
524 {
525 for (unsigned int i = 0; i < dof_indices.size(); ++i)
526 {
527 // The zero index is because we only have one point that the phis are evaluated at
528 value += grad_phi[i][0] * (*this->_sys.currentSolution())(dof_indices[i]);
529 }
530 }
531 else
532 {
533 mooseAssert(dof_indices.size() == 1, "Wrong size for dof indices");
534 value = 0.0;
535 }
536
537 return value;
538}
bool isNodal() const override
virtual const NumericVector< Number > *const & currentSolution() const =0
The solution vector that is currently being operated on.
Real value(unsigned n, unsigned alpha, unsigned beta, Real x)

◆ getHitNode() [1/2]

const hit::Node * MooseBase::getHitNode ( ) const
inlineinherited
Returns
The block-level hit node for this object, if any

Definition at line 136 of file MooseBase.h.

136{ return getHitNode(_pars); }

Referenced by MooseBase::callMooseError(), MooseBase::getHitNode(), and MooseBase::messagePrefix().

◆ getHitNode() [2/2]

const hit::Node * MooseBase::getHitNode ( const InputParameters params)
staticprivateinherited

Internal method for getting a hit node (if available) given a set of parameters.

Needs to be static so that we can call it externally from InputParameters for errors that do not have context of the MooseBase

Definition at line 167 of file MooseBase.C.

168{
169 if (const auto hit_node = params.getHitNode())
170 if (!hit_node->isRoot())
171 return hit_node;
172 return nullptr;
173}
const hit::Node * getHitNode(const std::string &param) const

◆ getMooseApp()

MooseApp & MooseBase::getMooseApp ( ) const
inlineinherited

Get the MooseApp this class is associated with.

Definition at line 87 of file MooseBase.h.

87{ return _app; }

Referenced by ChainControlSetupAction::act(), AddDefaultConvergenceAction::addDefaultMultiAppFixedPointConvergence(), AddDefaultConvergenceAction::addDefaultNonlinearConvergence(), AddDefaultConvergenceAction::addDefaultSteadyStateConvergence(), FEProblemBase::advanceState(), ParsedChainControl::buildFunction(), ReporterTransferInterface::checkHasReporterValue(), AddDefaultConvergenceAction::checkUnusedMultiAppFixedPointConvergenceParameters(), AddDefaultConvergenceAction::checkUnusedNonlinearConvergenceParameters(), AddDefaultConvergenceAction::checkUnusedSteadyStateConvergenceParameters(), Coupleable::checkWritableVar(), ComponentPhysicsInterface::ComponentPhysicsInterface(), Coupleable::Coupleable(), MortarInterfaceWarehouse::createMortarInterface(), EigenProblem::doFreeNonlinearPowerIterations(), Terminator::execute(), FEProblemSolve::FEProblemSolve(), SolutionInvalidInterface::flagInvalidSolutionInternal(), ChainControl::getChainControlDataSystem(), FEProblemBase::getDistribution(), FEProblemBase::getFunction(), FEProblemBase::getFVInterpolationMethod(), FEProblemBase::getMultiApp(), FEProblemBase::getSampler(), DefaultConvergenceBase::getSharedExecutionerParam(), FEProblemBase::getUserObjectBase(), FEProblemBase::getVectorPostprocessorObjectByName(), ChainControlDataPostprocessor::initialSetup(), MaterialPropertyInterface::MaterialPropertyInterface(), MooseVariableDataFV< OutputType >::MooseVariableDataFV(), ProgressOutput::output(), PetscOutputInterface::petscLinearOutput(), PetscOutputInterface::petscNonlinearOutput(), Moose::PetscSupport::PetscOptionsScope::PetscOptionsScope(), PetscOutputInterface::PetscOutputInterface(), PostprocessorInterface::postprocessorsAdded(), MultiApp::preTransfer(), Reporter::Reporter(), ReporterInterface::reportersAdded(), MultiApp::restore(), and VectorPostprocessorInterface::vectorPostprocessorsAdded().

◆ getNodalValue()

MooseVariableFE< Real >::DofValue MooseVariableFE< Real >::getNodalValue ( const Node node) const
inherited

Get the value of this variable at given node.

Definition at line 533 of file MooseVariableFE.C.

168{
169 return _element_data->getNodalValue(node, Moose::Current);
170}

◆ getNodalValueOld()

MooseVariableFE< Real >::DofValue MooseVariableFE< Real >::getNodalValueOld ( const Node node) const
inherited

Get the old value of this variable at given node.

Definition at line 537 of file MooseVariableFE.C.

175{
176 return _element_data->getNodalValue(node, Moose::Old);
177}

◆ getNodalValueOlder()

MooseVariableFE< Real >::DofValue MooseVariableFE< Real >::getNodalValueOlder ( const Node node) const
inherited

Get the t-2 value of this variable at given node.

Definition at line 541 of file MooseVariableFE.C.

182{
183 return _element_data->getNodalValue(node, Moose::Older);
184}

◆ getOutputs()

const std::set< OutputName > & OutputInterface::getOutputs ( )
inherited

Get the list of output objects that this class is restricted.

Returns
A set of OutputNames

Definition at line 101 of file OutputInterface.C.

102{
103 return _oi_outputs;
104}

◆ getParam() [1/2]

template<typename T >
const T & MooseBase::getParam ( const std::string &  name) const
inherited

Retrieve a parameter for the object.

Parameters
nameThe name of the parameter
Returns
The value of the parameter

Definition at line 406 of file MooseBase.h.

407{
408 return InputParameters::getParamHelper<T>(name, _pars);
409}

Referenced by CommonOutputAction::act(), CreateDisplacedProblemAction::act(), CylinderComponent::addMeshGenerators(), FEProblemBase::addOutput(), ArrayParsedAux::ArrayParsedAux(), BicubicSplineFunction::BicubicSplineFunction(), Console::Console(), CutMeshByLevelSetGenerator::CutMeshByLevelSetGenerator(), DebugResidualAux::DebugResidualAux(), DerivativeParsedMaterialTempl< is_ad >::DerivativeParsedMaterialTempl(), DynamicObjectRegistrationAction::DynamicObjectRegistrationAction(), EigenKernel::EigenKernel(), ElementGroupCentroidPositions::ElementGroupCentroidPositions(), MFEMEigenvaluesPostprocessor::execute(), FEProblemSolve::FEProblemSolve(), ParsedVectorReporter::finalize(), FiniteDifferencePreconditioner::FiniteDifferencePreconditioner(), FixedPointSolve::FixedPointSolve(), ParsedSubdomainGeneratorBase::functionInitialize(), BlockDeletionGenerator::generate(), BoundaryLayerSubdomainGenerator::generate(), BreakMeshByBlockGenerator::generate(), CoarsenBlockGenerator::generate(), FileMeshGenerator::generate(), MeshExtruderGenerator::generate(), RefineBlockGenerator::generate(), RefineSidesetGenerator::generate(), SubdomainsFromPartitionerGenerator::generate(), XYDelaunayGenerator::generate(), GenericConstantRankTwoTensorTempl< is_ad >::GenericConstantRankTwoTensorTempl(), GenericConstantSymmetricRankTwoTensorTempl< is_ad >::GenericConstantSymmetricRankTwoTensorTempl(), GeometricSearchInterface::GeometricSearchInterface(), MooseApp::getCheckpointDirectories(), DataFileInterface::getDataFileName(), ExecutorInterface::getExecutor(), DefaultConvergenceBase::getSharedExecutionerParam(), AddVariableAction::init(), AdvancedOutput::init(), FixedPointIterationAdaptiveDT::init(), TimeSequenceStepper::init(), AdvancedOutput::initAvailableLists(), AttribThread::initFrom(), AttribExecutionOrderGroup::initFrom(), AttribSysNum::initFrom(), AttribResidualObject::initFrom(), AttribDisplaced::initFrom(), BlockRestrictable::initializeBlockRestrictable(), BoundaryRestrictable::initializeBoundaryRestrictable(), Console::initialSetup(), SampledOutput::initSample(), IterationAdaptiveDT::limitDTToPostprocessorValue(), MooseMesh::MooseMesh(), MooseVariableBase::MooseVariableBase(), MultiPostprocessorConvergence::MultiPostprocessorConvergence(), PerfGraphOutput::output(), Console::outputSystemInformation(), ParsedCurveGenerator::ParsedCurveGenerator(), ParsedElementDeletionGenerator::ParsedElementDeletionGenerator(), ParsedGenerateNodeset::ParsedGenerateNodeset(), ParsedGenerateSideset::ParsedGenerateSideset(), ParsedMaterialTempl< is_ad >::ParsedMaterialTempl(), ParsedNodeTransformGenerator::ParsedNodeTransformGenerator(), ParsedODEKernel::ParsedODEKernel(), ParsedPostprocessor::ParsedPostprocessor(), ParsedReporterBase::ParsedReporterBase(), ParsedVectorReporter::ParsedVectorReporter(), ProjectSideSetOntoLevelSetGenerator::ProjectSideSetOntoLevelSetGenerator(), ReferenceResidualInterface::ReferenceResidualInterface(), Moose::FV::setInterpolationMethod(), SetupMeshAction::setupMesh(), MooseApp::setupOptions(), Output::setWallTimeIntervalFromCommandLineParam(), PetscOutput::solveSetup(), TimePeriod::TimePeriod(), UniqueExtraIDMeshGenerator::UniqueExtraIDMeshGenerator(), VariableCondensationPreconditioner::VariableCondensationPreconditioner(), and VectorOfPostprocessors::VectorOfPostprocessors().

◆ getParam() [2/2]

template<typename T1 , typename T2 >
std::vector< std::pair< T1, T2 > > MooseBase::getParam ( const std::string &  param1,
const std::string &  param2 
) const
inherited

Retrieve two parameters and provide pair of parameters for the object.

Parameters
param1The name of first parameter
param2The name of second parameter
Returns
Vector of pairs of first and second parameters

Definition at line 443 of file MooseBase.h.

444{
445 return _pars.get<T1, T2>(param1, param2);
446}

◆ getRenamedParam()

template<typename T >
const T & MooseBase::getRenamedParam ( const std::string &  old_name,
const std::string &  new_name 
) const
inherited

Retrieve a renamed parameter for the object.

This helper makes sure we check both names before erroring, and that only one parameter is passed to avoid silent errors

Parameters
old_namethe old name for the parameter
new_namethe new name for the parameter

Definition at line 420 of file MooseBase.h.

421{
422 // Most important: accept new parameter
423 if (isParamSetByUser(new_name) && !isParamValid(old_name))
424 return getParam<T>(new_name);
425 // Second most: accept old parameter
426 if (isParamValid(old_name) && !isParamSetByUser(new_name))
427 return getParam<T>(old_name);
428 // Third most: accept default for new parameter
429 if (isParamValid(new_name) && !isParamValid(old_name))
430 return getParam<T>(new_name);
431 // Refuse: no default, no value passed
432 if (!isParamValid(old_name) && !isParamValid(new_name))
433 mooseError("parameter '" + new_name +
434 "' is being retrieved without being set.\nDid you misspell it?");
435 // Refuse: both old and new parameters set by user
436 else
437 mooseError("Parameter '" + new_name + "' may not be provided alongside former parameter '" +
438 old_name + "'");
439}
bool isParamSetByUser(const std::string &name) const
Test if the supplied parameter is set by a user, as opposed to not set or set to default.
Definition MooseBase.h:205
bool isParamValid(const std::string &name) const
Test if the supplied parameter is valid.
Definition MooseBase.h:199

◆ getSharedPtr() [1/2]

std::shared_ptr< MooseObject > MooseObject::getSharedPtr ( )
inherited

Get another shared pointer to this object that has the same ownership group.

Wrapper around shared_from_this().

Definition at line 70 of file MooseObject.C.

71{
72 try
73 {
74 return shared_from_this();
75 }
76 catch (std::bad_weak_ptr &)
77 {
78 mooseError(not_shared_error);
79 }
80}

Referenced by MFEMProblem::addImagComponentToBC(), MFEMProblem::addImagComponentToKernel(), MFEMProblem::addRealComponentToBC(), MFEMProblem::addRealComponentToKernel(), and WebServerControl::addServerAction().

◆ getSharedPtr() [2/2]

std::shared_ptr< const MooseObject > MooseObject::getSharedPtr ( ) const
inherited

Definition at line 83 of file MooseObject.C.

84{
85 try
86 {
87 return shared_from_this();
88 }
89 catch (std::bad_weak_ptr &)
90 {
91 mooseError(not_shared_error);
92 }
93}

◆ getSolution()

const NumericVector< Number > & MooseVariableBase::getSolution ( const Moose::StateArg state) const
protectedinherited

Get the solution corresponding to the provided state.

Definition at line 210 of file MooseVariableBase.C.

211{
212 // It's not safe to use solutionState(0) because it returns the libMesh System solution member
213 // which is wrong during things like finite difference Jacobian evaluation, e.g. when PETSc
214 // perturbs the solution vector we feed these perturbations into the current_local_solution
215 // while the libMesh solution is frozen in the non-perturbed state
216 return (state.state == 0) ? *this->_sys.currentSolution()
217 : this->_sys.solutionState(state.state, state.iteration_type);
218}
virtual NumericVector< Number > & solutionState(const unsigned int state, Moose::SolutionIterationType iteration_type=Moose::SolutionIterationType::Time)
Get a state of the solution (0 = current, 1 = old, 2 = older, etc).
SolutionIterationType iteration_type
The solution iteration type, e.g. time or nonlinear.
unsigned int state
The state.

Referenced by MooseVariableScalar::evaluate().

◆ getValue()

Real MooseVariableFE< Real >::getValue ( const Elem elem,
const std::vector< std::vector< OutputShape > > &  phi 
) const
inherited

Compute the variable value at a point on an element.

Parameters
elemThe element we are computing on
phiEvaluated shape functions at a point
Returns
The variable value

Definition at line 629 of file MooseVariableFE.C.

455{
456 std::vector<dof_id_type> dof_indices;
457 this->_dof_map.dof_indices(elem, dof_indices, _var_num);
458
459 OutputType value = 0;
460 if (isNodal())
461 {
462 mooseAssert(dof_indices.size() == phi.size(),
463 "The number of shapes does not match the number of dof indices on the elem");
464
465 for (unsigned int i = 0; i < dof_indices.size(); ++i)
466 {
467 // The zero index is because we only have one point that the phis are evaluated at
468 value += phi[i][0] * (*this->_sys.currentSolution())(dof_indices[i]);
469 }
470 }
471 else
472 {
473 mooseAssert(dof_indices.size() == 1, "Wrong size for dof indices");
474 value = (*this->_sys.currentSolution())(dof_indices[0]);
475 }
476
477 return value;
478}

◆ gradDot() [1/6]

FunctorBase< Moose::ADType< OutputType >::type >::GradientType Moose::FunctorBase< Moose::ADType< OutputType >::type >::gradDot ( const ElemArg elem,
const StateArg state 
) const
inherited

Same as their evaluateGradDot overloads with the same arguments but allows for caching implementation.

These are the methods a user will call in their code

Definition at line 222 of file MooseFunctor.h.

940{
941 return evaluateGradDot(elem, state);
942}
virtual GradientType evaluateGradDot(const ElemArg &, const StateArg &) const
Evaluate the functor gradient-dot with a given element.

◆ gradDot() [2/6]

FunctorBase< Moose::ADType< OutputType >::type >::GradientType Moose::FunctorBase< Moose::ADType< OutputType >::type >::gradDot ( const ElemPointArg elem_point,
const StateArg state 
) const
inherited

Definition at line 226 of file MooseFunctor.h.

969{
970 return evaluateGradDot(elem_point, state);
971}

◆ gradDot() [3/6]

FunctorBase< Moose::ADType< OutputType >::type >::GradientType Moose::FunctorBase< Moose::ADType< OutputType >::type >::gradDot ( const ElemQpArg qp,
const StateArg state 
) const
inherited

Definition at line 224 of file MooseFunctor.h.

955{
956 return evaluateGradDot(elem_qp, state);
957}

◆ gradDot() [4/6]

FunctorBase< Moose::ADType< OutputType >::type >::GradientType Moose::FunctorBase< Moose::ADType< OutputType >::type >::gradDot ( const ElemSideQpArg qp,
const StateArg state 
) const
inherited

Definition at line 225 of file MooseFunctor.h.

962{
963 return evaluateGradDot(elem_side_qp, state);
964}

◆ gradDot() [5/6]

FunctorBase< Moose::ADType< OutputType >::type >::GradientType Moose::FunctorBase< Moose::ADType< OutputType >::type >::gradDot ( const FaceArg face,
const StateArg state 
) const
inherited

Definition at line 223 of file MooseFunctor.h.

947{
948 checkFace(face);
949 return evaluateGradDot(face, state);
950}

◆ gradDot() [6/6]

FunctorBase< Moose::ADType< OutputType >::type >::GradientType Moose::FunctorBase< Moose::ADType< OutputType >::type >::gradDot ( const NodeArg node,
const StateArg state 
) const
inherited

Definition at line 227 of file MooseFunctor.h.

976{
977 return evaluateGradDot(node, state);
978}

◆ gradient() [1/6]

FunctorBase< Moose::ADType< OutputType >::type >::GradientType Moose::FunctorBase< Moose::ADType< OutputType >::type >::gradient ( const ElemArg elem,
const StateArg state 
) const
inherited

Same as their evaluateGradient overloads with the same arguments but allows for caching implementation.

These are the methods a user will call in their code

Definition at line 196 of file MooseFunctor.h.

854{
855 return evaluateGradient(elem, state);
856}
virtual GradientType evaluateGradient(const ElemArg &, const StateArg &) const
Evaluate the functor gradient with a given element.

◆ gradient() [2/6]

FunctorBase< Moose::ADType< OutputType >::type >::GradientType Moose::FunctorBase< Moose::ADType< OutputType >::type >::gradient ( const ElemPointArg elem_point,
const StateArg state 
) const
inherited

Definition at line 200 of file MooseFunctor.h.

883{
884 return evaluateGradient(elem_point, state);
885}

◆ gradient() [3/6]

FunctorBase< Moose::ADType< OutputType >::type >::GradientType Moose::FunctorBase< Moose::ADType< OutputType >::type >::gradient ( const ElemQpArg qp,
const StateArg state 
) const
inherited

Definition at line 198 of file MooseFunctor.h.

869{
870 return evaluateGradient(elem_qp, state);
871}

◆ gradient() [4/6]

FunctorBase< Moose::ADType< OutputType >::type >::GradientType Moose::FunctorBase< Moose::ADType< OutputType >::type >::gradient ( const ElemSideQpArg qp,
const StateArg state 
) const
inherited

Definition at line 199 of file MooseFunctor.h.

876{
877 return evaluateGradient(elem_side_qp, state);
878}

◆ gradient() [5/6]

FunctorBase< Moose::ADType< OutputType >::type >::GradientType Moose::FunctorBase< Moose::ADType< OutputType >::type >::gradient ( const FaceArg face,
const StateArg state 
) const
inherited

Definition at line 197 of file MooseFunctor.h.

861{
862 checkFace(face);
863 return evaluateGradient(face, state);
864}

◆ gradient() [6/6]

FunctorBase< Moose::ADType< OutputType >::type >::GradientType Moose::FunctorBase< Moose::ADType< OutputType >::type >::gradient ( const NodeArg node,
const StateArg state 
) const
inherited

Definition at line 201 of file MooseFunctor.h.

890{
891 return evaluateGradient(node, state);
892}

◆ gradPhi()

const FieldVariablePhiGradient & MooseVariableFE< Real >::gradPhi ( ) const
inlinefinaloverridevirtualinherited

Return the gradients of the variable's elemental shape functions.

Implements MooseVariableField< OutputType >.

Definition at line 195 of file MooseVariableFE.h.

196 {
197 return _element_data->gradPhi();
198 }

◆ gradPhiFace()

const FieldVariablePhiGradient & MooseVariableFE< Real >::gradPhiFace ( ) const
inlinefinaloverridevirtualinherited

Return the gradients of the variable's shape functions on an element face.

Implements MooseVariableField< OutputType >.

Definition at line 208 of file MooseVariableFE.h.

209 {
210 return _element_data->gradPhiFace();
211 }

◆ gradPhiFaceNeighbor()

const FieldVariablePhiGradient & MooseVariableFE< Real >::gradPhiFaceNeighbor ( ) const
inlinefinaloverridevirtualinherited

Return the gradients of the variable's shape functions on a neighboring element face.

Implements MooseVariableField< OutputType >.

Definition at line 237 of file MooseVariableFE.h.

238 {
239 return _neighbor_data->gradPhiFace();
240 }

◆ gradPhiLower()

const FieldVariablePhiGradient & MooseVariableFE< Real >::gradPhiLower ( ) const
inlineinherited

Definition at line 250 of file MooseVariableFE.h.

250{ return _lower_data->gradPhi(); }

◆ gradPhiNeighbor()

const FieldVariablePhiGradient & MooseVariableFE< Real >::gradPhiNeighbor ( ) const
inlinefinaloverridevirtualinherited

Return the gradients of the variable's shape functions on a neighboring element.

Implements MooseVariableField< OutputType >.

Definition at line 221 of file MooseVariableFE.h.

222 {
223 return _neighbor_data->gradPhi();
224 }

◆ gradSln()

const FieldVariableGradient & MooseVariableFE< Real >::gradSln ( ) const
inlineoverridevirtualinherited

element gradients

Implements MooseVariableField< OutputType >.

Definition at line 294 of file MooseVariableFE.h.

295 {
296 return _element_data->gradSln(Moose::Current);
297 }

◆ gradSlnDot()

const FieldVariableGradient & MooseVariableFE< Real >::gradSlnDot ( ) const
inlineinherited

element gradient dots

Definition at line 312 of file MooseVariableFE.h.

312{ return _element_data->gradSlnDot(); }

◆ gradSlnDotDot()

const FieldVariableGradient & MooseVariableFE< Real >::gradSlnDotDot ( ) const
inlineinherited

Definition at line 313 of file MooseVariableFE.h.

313{ return _element_data->gradSlnDotDot(); }

◆ gradSlnNeighbor()

const FieldVariableGradient & MooseVariableFE< Real >::gradSlnNeighbor ( ) const
inlineoverridevirtualinherited

neighbor solution gradients

Implements MooseVariableField< OutputType >.

Definition at line 425 of file MooseVariableFE.h.

426 {
427 return _neighbor_data->gradSln(Moose::Current);
428 }

◆ gradSlnNeighborDot()

const FieldVariableGradient & MooseVariableFE< Real >::gradSlnNeighborDot ( ) const
inlineinherited

neighbor grad dots

Definition at line 443 of file MooseVariableFE.h.

443{ return _neighbor_data->gradSlnDot(); }

◆ gradSlnNeighborDotDot()

const FieldVariableGradient & MooseVariableFE< Real >::gradSlnNeighborDotDot ( ) const
inlineinherited

Definition at line 444 of file MooseVariableFE.h.

445 {
446 return _neighbor_data->gradSlnDotDot();
447 }

◆ gradSlnOld()

const FieldVariableGradient & MooseVariableFE< Real >::gradSlnOld ( ) const
inlineoverridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 298 of file MooseVariableFE.h.

299 {
300 return _element_data->gradSln(Moose::Old);
301 }

◆ gradSlnOlder()

const FieldVariableGradient & MooseVariableFE< Real >::gradSlnOlder ( ) const
inlineinherited

Definition at line 302 of file MooseVariableFE.h.

303 {
304 return _element_data->gradSln(Moose::Older);
305 }

◆ gradSlnOlderNeighbor()

const FieldVariableGradient & MooseVariableFE< Real >::gradSlnOlderNeighbor ( ) const
inlineinherited

Definition at line 433 of file MooseVariableFE.h.

434 {
435 return _neighbor_data->gradSln(Moose::Older);
436 }

◆ gradSlnOldNeighbor()

const FieldVariableGradient & MooseVariableFE< Real >::gradSlnOldNeighbor ( ) const
inlineoverridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 429 of file MooseVariableFE.h.

430 {
431 return _neighbor_data->gradSln(Moose::Old);
432 }

◆ gradSlnPreviousNL()

const FieldVariableGradient & MooseVariableFE< Real >::gradSlnPreviousNL ( ) const
inlineinherited

Definition at line 306 of file MooseVariableFE.h.

307 {
308 return _element_data->gradSln(Moose::PreviousNL);
309 }
@ PreviousNL
Definition MooseTypes.h:266

◆ gradSlnPreviousNLNeighbor()

const FieldVariableGradient & MooseVariableFE< Real >::gradSlnPreviousNLNeighbor ( ) const
inlineinherited

Definition at line 437 of file MooseVariableFE.h.

438 {
439 return _neighbor_data->gradSln(Moose::PreviousNL);
440 }

◆ hasBase()

bool MooseBase::hasBase ( ) const
inlineinherited
Returns
Whether or not this object has a registered base (set via InputParameters::registerBase())

Definition at line 142 of file MooseBase.h.

142{ return _pars.hasBase(); }
bool hasBase() const

◆ hasBlockMaterialProperty()

template<typename T , bool is_ad>
bool BlockRestrictable::hasBlockMaterialProperty ( const std::string &  prop_name)
inherited

Check if a material property is valid for all blocks of this object.

This method returns true if the supplied property name has been declared in a Material object on the block ids for this object.

Template Parameters
TThe type of material property
Parameters
prop_namethe name of the property to query
Returns
true if the property exists for all block ids of the object, otherwise false
See also
Material::hasBlockMaterialProperty

Definition at line 360 of file BlockRestrictable.h.

361{
362 mooseAssert(_blk_material_data != NULL, "MaterialData pointer is not defined");
363 return hasBlockMaterialPropertyHelper(prop_name) &&
364 _blk_material_data->haveGenericProperty<T, is_ad>(prop_name);
365}
const MaterialData * _blk_material_data
Pointer to the MaterialData class for this object.
virtual bool hasBlockMaterialPropertyHelper(const std::string &prop_name)
A helper method to allow the Material object to specialize the behavior of hasBlockMaterialProperty.
bool haveGenericProperty(const std::string &prop_name) const

◆ hasBlockMaterialPropertyHelper()

bool BlockRestrictable::hasBlockMaterialPropertyHelper ( const std::string &  prop_name)
protectedvirtualinherited

A helper method to allow the Material object to specialize the behavior of hasBlockMaterialProperty.

It also avoid circular #include problems.

See also
hasBlockMaterialProperty

Definition at line 300 of file BlockRestrictable.C.

301{
302
303 // Reference to MaterialWarehouse for testing and retrieving block ids
305
306 // Complete set of ids that this object is active
307 const std::set<SubdomainID> & ids = blockRestricted() ? blockIDs() : meshBlockIDs();
308
309 // Loop over each id for this object
310 for (const auto & id : ids)
311 {
312 // Storage of material properties that have been DECLARED on this id
313 std::set<std::string> declared_props;
314
315 // If block materials exist, populated the set of properties that were declared
316 if (warehouse.hasActiveBlockObjects(id))
317 {
318 const std::vector<std::shared_ptr<MaterialBase>> & mats = warehouse.getActiveBlockObjects(id);
319 for (const auto & mat : mats)
320 {
321 const std::set<std::string> & mat_props = mat->getSuppliedItems();
322 declared_props.insert(mat_props.begin(), mat_props.end());
323 }
324 }
325
326 // If the supplied property is not in the list of properties on the current id, return false
327 if (declared_props.find(prop_name) == declared_props.end())
328 return false;
329 }
330
331 // If you get here the supplied property is defined on all blocks
332 return true;
333}
const MaterialWarehouse & getMaterialWarehouse() const
MaterialBase objects are special in that they have additional objects created automatically (see FEPr...
const std::map< SubdomainID, std::vector< std::shared_ptr< T > > > & getActiveBlockObjects(THREAD_ID tid=0) const
bool hasActiveBlockObjects(THREAD_ID tid=0) const

Referenced by BlockRestrictable::hasBlockMaterialProperty().

◆ hasBlocks() [1/6]

bool BlockRestrictable::hasBlocks ( const std::set< SubdomainID > &  ids) const
inherited

Test if the supplied set of block ids are valid for this object.

Parameters
idsA std::set of SubdomainIDs to check
Returns
True if all of the given ids are found within the ids for this object
See also
isSubset

Definition at line 262 of file BlockRestrictable.C.

263{
264 if (_blk_ids.empty() || _blk_ids.find(Moose::ANY_BLOCK_ID) != _blk_ids.end())
265 return true;
266 else
267 return std::includes(_blk_ids.begin(), _blk_ids.end(), ids.begin(), ids.end());
268}

◆ hasBlocks() [2/6]

bool BlockRestrictable::hasBlocks ( const std::set< SubdomainName > &  names) const
inherited

Test if the supplied set of block names are valid for this object.

Parameters
namesA set of SubdomainNames to check
Returns
True if the given ids are valid for this object

Definition at line 240 of file BlockRestrictable.C.

241{
242 return hasBlocks(_blk_mesh->getSubdomainIDs(names));
243}
bool hasBlocks(const SubdomainName &name) const
Test if the supplied block name is valid for this object.
std::vector< SubdomainID > getSubdomainIDs(const std::vector< SubdomainName > &subdomain_names) const
Get the associated subdomainIDs for the subdomain names that are passed in.
Definition MooseMesh.C:1726

◆ hasBlocks() [3/6]

bool BlockRestrictable::hasBlocks ( const std::vector< SubdomainID > &  ids) const
inherited

Test if the supplied vector block ids are valid for this object.

Parameters
idsA vector of SubdomainIDs ids to check
Returns
True if all of the given ids are found within the ids for this object

Definition at line 255 of file BlockRestrictable.C.

256{
257 std::set<SubdomainID> ids_set(ids.begin(), ids.end());
258 return hasBlocks(ids_set);
259}

◆ hasBlocks() [4/6]

bool BlockRestrictable::hasBlocks ( const std::vector< SubdomainName > &  names) const
inherited

Test if the supplied vector of block names are valid for this object.

Parameters
namesA vector of SubdomainNames to check
Returns
True if the given ids are valid for this object

Definition at line 234 of file BlockRestrictable.C.

235{
236 return hasBlocks(_blk_mesh->getSubdomainIDs(names));
237}

◆ hasBlocks() [5/6]

template<typename OutputType >
bool MooseVariableField< OutputType >::hasBlocks ( const SubdomainID  ) const
inlineoverridevirtualinherited

◆ hasBlocks() [6/6]

bool BlockRestrictable::hasBlocks ( const SubdomainName &  name) const
inherited

Test if the supplied block name is valid for this object.

Parameters
nameA SubdomainName to check
Returns
True if the given id is valid for this object

Definition at line 224 of file BlockRestrictable.C.

225{
226 // Create a vector and utilize the getSubdomainIDs function, which
227 // handles the ANY_BLOCK_ID (getSubdomainID does not)
228 std::vector<SubdomainName> names(1);
229 names[0] = name;
230 return hasBlocks(_blk_mesh->getSubdomainIDs(names));
231}

Referenced by LinearFVFluxKernel::addMatrixContribution(), DiracKernelBase::addPoint(), LinearFVFluxKernel::addRightHandSideContribution(), NodalPatchRecoveryBase::addToQuery(), MultiAppVariableValueSamplePostprocessorTransfer::cacheElemToPostprocessorData(), DomainUserObject::checkVariable(), ComputeJacobianThread::compute(), ComboMarker::computeElementMarker(), GradientJumpIndicator::computeQpIntegral(), ProjectionAux::computeValue(), DebugResidualAux::DebugResidualAux(), DomainUserObject::DomainUserObject(), ProjectionAux::elemOnNodeVariableIsDefinedOn(), MultiAppVariableValueSamplePostprocessorTransfer::execute(), CentroidMultiApp::fillPositions(), QuadraturePointMultiApp::fillPositions(), NodalPatchRecoveryBase::gatherRequestList(), NodalPatchRecoveryBase::getCoefficients(), BlockRestrictable::hasBlocks(), BlockRestrictable::hasBlocks(), BlockRestrictable::hasBlocks(), MooseVariableField< OutputType >::hasBlocks(), BlockRestrictable::hasBlocks(), MeshDivisionFunctorReductionVectorPostprocessor::hasBlocks(), FVFluxKernel::hasFaceSide(), IndicatorMarker::IndicatorMarker(), NodePositions::initialize(), ParsedDownSelectionPositions::initialize(), UpdateErrorVectorsThread::onElement(), PointwiseRenormalizeVector::PointwiseRenormalizeVector(), and BlockRestrictionDebugOutput::printBlockRestrictionMap().

◆ hasDoFsOnNodes()

bool MooseVariableFE< Real >::hasDoFsOnNodes ( ) const
inlineoverridevirtualinherited

Does this variable have DoFs on nodes.

Returns
true if it does, false if not.

Reimplemented from MooseVariableBase.

Definition at line 150 of file MooseVariableFE.h.

150{ return _element_data->hasDoFsOnNodes(); }

◆ hasFaceSide()

bool Moose::FunctorBase< Moose::ADType< OutputType >::type >::hasFaceSide ( const FaceInfo fi,
const bool  fi_elem_side 
) const
overridevirtualinherited

Implements FaceArgInterface.

Definition at line 268 of file MooseFunctor.h.

983{
984 if (fi_elem_side)
985 return hasBlocks(fi.elem().subdomain_id());
986 else
987 return fi.neighborPtr() && hasBlocks(fi.neighbor().subdomain_id());
988}
const Elem & elem() const
Definition FaceInfo.h:85
const Elem & neighbor() const
Definition FaceInfo.h:220
virtual bool hasBlocks(SubdomainID) const
Returns whether the functor is defined on this block.

◆ increment()

const FieldVariableValue & MooseVariableFE< Real >::increment ( ) const
inlineinherited

Definition at line 268 of file MooseVariableFE.h.

268{ return _element_data->increment(); }

◆ initializeBlockRestrictable()

void BlockRestrictable::initializeBlockRestrictable ( const MooseObject moose_object)
protectedinherited

An initialization routine needed for dual constructors.

Definition at line 76 of file BlockRestrictable.C.

77{
78 // If the mesh pointer is not defined, but FEProblemBase is, get it from there
79 if (_blk_feproblem != NULL && _blk_mesh == NULL)
81
82 // Check that the mesh pointer was defined, it is required for this class to operate
83 if (_blk_mesh == NULL)
84 mooseError("The input parameters must contain a pointer to FEProblem via '_fe_problem' or a "
85 "pointer to the MooseMesh via '_mesh'");
86
87 // Populate the MaterialData pointer
88 if (_blk_feproblem != NULL)
89 {
90#ifdef MOOSE_KOKKOS_ENABLED
93 else
94#endif
96 }
97
98 // The 'block' input is defined
99 if (moose_object->isParamValid("block"))
100 {
101 // Extract the blocks from the input
102 _blocks = moose_object->getParam<std::vector<SubdomainName>>("block");
103
104 // Store the IDs in a set, handling ANY_BLOCK_ID if supplied
105 if (std::find(_blocks.begin(), _blocks.end(), "ANY_BLOCK_ID") != _blocks.end())
107 else
108 {
109 // Get the IDs from the supplied names
111 _blk_ids.insert(_vec_ids.begin(), _vec_ids.end());
112 }
113 }
114
115 // When 'blocks' is not set and there is a "variable", use the blocks from the variable
116 else if (moose_object->isParamValid("variable"))
117 {
118 std::string variable_name = moose_object->parameters().getMooseType("variable");
119 if (!variable_name.empty())
121 ->getVariable(_blk_tid,
122 variable_name,
125 .activeSubdomains();
126 }
127
128 // Produce error if the object is not allowed to be both block and boundary restricted
129 if (!_blk_dual_restrictable && !_boundary_ids.empty() && !_boundary_ids.empty())
131 moose_object->paramError("block",
132 "Attempted to restrict the object '",
133 _blk_name,
134 "' to a block, but the object is already restricted by boundary");
135
136 // If no blocks were defined above, specify that it is valid on all blocks
137 if (_blk_ids.empty() && !moose_object->isParamValid("boundary"))
138 {
140 _blocks = {"ANY_BLOCK_ID"};
141 }
142
143 // If this object is block restricted, check that defined blocks exist on the mesh
144 if (_blk_ids.find(Moose::ANY_BLOCK_ID) == _blk_ids.end())
145 {
146 const std::set<SubdomainID> & valid_ids = _blk_mesh->meshSubdomains();
147 std::vector<SubdomainID> diff;
148
149 std::set_difference(_blk_ids.begin(),
150 _blk_ids.end(),
151 valid_ids.begin(),
152 valid_ids.end(),
153 std::back_inserter(diff));
154
155 if (!diff.empty())
156 {
157 std::ostringstream msg;
158 auto sep = " ";
159 msg << "the following blocks (ids) do not exist on the mesh:";
160 for (const auto & id : diff)
161 {
162 if (_blk_name.size() > 0)
163 {
164 auto & name =
165 _blocks.at(std::find(_vec_ids.begin(), _vec_ids.end(), id) - _vec_ids.begin());
166 if (std::to_string(id) != name)
167 msg << sep << name << " (" << id << ")";
168 else
169 msg << sep << id;
170 }
171 else
172 msg << sep << id;
173 sep = ", ";
174 }
175 std::vector<SubdomainID> valid_ids_vec(valid_ids.begin(), valid_ids.end());
176 auto valid_names = _blk_mesh->getSubdomainNames(valid_ids_vec);
177 msg << "\nBlocks names (resp. ids) that do exist: " << Moose::stringify(valid_names) << " ("
178 << Moose::stringify(valid_ids) << ")";
179 moose_object->paramError("block", msg.str());
180 }
181 }
182
183 // Get the mesh dimension for the blocks
184 if (blockRestricted())
186 else
188
189#ifdef MOOSE_KOKKOS_ENABLED
190 if (moose_object->isKokkosObject())
193#endif
194}
THREAD_ID _blk_tid
Thread id for this object.
const bool _blk_dual_restrictable
Flag for allowing dual restriction.
std::vector< SubdomainID > _vec_ids
Vector of block ids supplied by the user via the input file (for error reporting)
const MooseObject * _moose_object
Pointer to the MOOSE object.
void initializeKokkosBlockRestrictable()
const std::set< BoundaryID > & _boundary_ids
Reference to the boundary_ids, defaults to an empty set if not provided.
MaterialData & getMaterialData(Moose::MaterialDataType type, const THREAD_ID tid=0, const MooseObject *object=nullptr) const
MaterialData & getKokkosMaterialData(Moose::MaterialDataType type, const MooseObject *object=nullptr) const
void addKokkosMeshInitializationHook(std::function< void()> function)
Add a function hook that needs to be called after Kokkos mesh initialization.
virtual MooseMesh & mesh() override
std::string getMooseType(const std::string &name) const
Utility functions for retrieving one of the MooseTypes variables into the common "string" base class.
void paramError(const std::string &param, Args... args) const
Emits an error prefixed with the file and line number of the given param (from the input file) along ...
Definition MooseBase.h:457
virtual unsigned int dimension() const
Returns MeshBase::mesh_dimension(), (not MeshBase::spatial_dimension()!) of the underlying libMesh me...
Definition MooseMesh.C:2986
std::vector< SubdomainName > getSubdomainNames(const std::vector< SubdomainID > &subdomain_ids) const
Get the associated subdomainNames for the subdomain ids that are passed in.
Definition MooseMesh.C:1757
unsigned int getBlocksMaxDimension(const std::vector< SubdomainName > &blocks) const
Returns the maximum element dimension on the given blocks.
Definition MooseMesh.C:3007
bool isKokkosObject() const
Get whether this object is a Kokkos functor The parameter MooseBase::kokkos_object_param is set by th...
Definition MooseObject.h:63
@ VAR_FIELD_ANY
Definition MooseTypes.h:781
@ BLOCK_MATERIAL_DATA
Definition MooseTypes.h:747
@ VAR_ANY
Definition MooseTypes.h:772
const BoundaryID ANY_BOUNDARY_ID
Definition MooseTypes.C:21

Referenced by BlockRestrictable::BlockRestrictable(), and BlockRestrictable::BlockRestrictable().

◆ initializeKokkosBlockRestrictable()

void BlockRestrictable::initializeKokkosBlockRestrictable ( )
protectedinherited

◆ initialSetup()

void MooseVariableBase::initialSetup ( )
overridevirtualinherited

Gets called at the beginning of the simulation before this object is asked to do its job.

Reimplemented from SetupInterface.

Reimplemented in MooseVariableFV< OutputType >, MooseVariableFV< ComputeValueType >, MooseVariableFV< Real >, MooseVariableFV< RealEigenVector >, MooseVariableFV< RealVectorValue >, and MooseVariableFV< T >.

Definition at line 195 of file MooseVariableBase.C.

196{
197 // Currently the scaling vector is only used through AD residual computing objects
200 (std::find_if(_scaling_factor.begin(),
201 _scaling_factor.end(),
202 [](const Real element)
203 { return !MooseUtils::absoluteFuzzyEqual(element, 1.); }) !=
204 _scaling_factor.end())))
205
207}
virtual void haveADObjects(bool have_ad_objects)
Method for setting whether we have any ad objects.
Definition SubProblem.h:775
virtual void automaticScaling(bool automatic_scaling)
Automatic scaling setter.
void addScalingVector()
Add the scaling factor vector to the system.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real

◆ insert()

void MooseVariableFE< Real >::insert ( libMesh::NumericVector< libMesh::Number > &  vector)
overridevirtualinherited

Set the current local DOF values to the input vector.

Implements MooseVariableFieldBase.

Definition at line 567 of file MooseVariableFE.C.

210{
211 _element_data->insert(vector);
212}

◆ insertLower()

void MooseVariableFE< Real >::insertLower ( libMesh::NumericVector< libMesh::Number > &  vector)
overridevirtualinherited

Insert the currently cached degree of freedom values for a lower-dimensional element into the provided vector.

Implements MooseVariableFieldBase.

Definition at line 568 of file MooseVariableFE.C.

217{
218 _lower_data->insert(vector);
219}

◆ insertNodalValue()

void MooseVariableFE< Real >::insertNodalValue ( libMesh::NumericVector< libMesh::Number > &  residual,
const DofValue v 
)
inherited

Write a nodal value to the passed-in solution vector.

Definition at line 528 of file MooseVariableFE.C.

710{
711 _element_data->insertNodalValue(residual, v);
712}

◆ isArray()

template<typename OutputType >
bool MooseVariableField< OutputType >::isArray ( ) const
overridevirtualinherited
Returns
whether this is an array variable

Reimplemented from MooseVariableBase.

Definition at line 74 of file MooseVariableField.C.

75{
76 const auto is_array = MooseVariableBase::isArray();
77 if (std::is_same<OutputType, RealEigenVector>::value != is_array)
78 mooseError("A variable is marked as an array variable in a base class, but in a derived class "
79 "the output type is not consistent.");
80 return is_array;
81}

◆ isBlockSubset() [1/2]

bool BlockRestrictable::isBlockSubset ( const std::set< SubdomainID > &  ids) const
inherited

Test if the class block ids are a subset of the supplied objects.

Parameters
idsA std::set of Subdomains to check
Returns
True if all of the block ids for this class are found within the given ids (opposite of hasBlocks)
See also
hasBlocks

Definition at line 271 of file BlockRestrictable.C.

272{
273 // An empty input is assumed to be ANY_BLOCK_ID
274 if (ids.empty() || ids.find(Moose::ANY_BLOCK_ID) != ids.end())
275 return true;
276
277 if (_blk_ids.find(Moose::ANY_BLOCK_ID) != _blk_ids.end())
278 return std::includes(ids.begin(),
279 ids.end(),
280 _blk_mesh->meshSubdomains().begin(),
281 _blk_mesh->meshSubdomains().end());
282 else
283 return std::includes(ids.begin(), ids.end(), _blk_ids.begin(), _blk_ids.end());
284}

Referenced by BlockRestrictable::checkVariable(), BlockRestrictable::isBlockSubset(), NodalPatchRecoveryAux::NodalPatchRecoveryAux(), and ProjectedMaterialPropertyNodalPatchRecoveryAux::ProjectedMaterialPropertyNodalPatchRecoveryAux().

◆ isBlockSubset() [2/2]

bool BlockRestrictable::isBlockSubset ( const std::vector< SubdomainID > &  ids) const
inherited

Test if the class block ids are a subset of the supplied objects.

Parameters
idsA std::vector of Subdomains to check
Returns
True if all of the block ids for this class are found within the given ids (opposite of hasBlocks)
See also
hasBlocks

Definition at line 287 of file BlockRestrictable.C.

288{
289 std::set<SubdomainID> ids_set(ids.begin(), ids.end());
290 return isBlockSubset(ids_set);
291}

◆ isConstant()

virtual bool Moose::FunctorBase< Moose::ADType< OutputType >::type >::isConstant ( ) const
inlinevirtualinherited

Returns true if this functor is a constant.

Definition at line 266 of file MooseFunctor.h.

266{ return false; }

◆ isExtrapolatedBoundaryFace()

virtual bool Moose::FunctorBase< Moose::ADType< OutputType >::type >::isExtrapolatedBoundaryFace ( const FaceInfo ,
const Elem *  ,
const StateArg  
) const
inlinevirtualinherited

◆ isFV()

virtual bool MooseVariableFieldBase::isFV ( ) const
inlinevirtualinherited

◆ isInternalFace()

bool Moose::FunctorBase< Moose::ADType< OutputType >::type >::isInternalFace ( const FaceInfo fi) const
inherited

Returns true if the face is an internal face.

Definition at line 261 of file MooseFunctor.h.

576{
577 if (!fi.neighborPtr())
578 return false;
579
580 return hasBlocks(fi.elem().subdomain_id()) && hasBlocks(fi.neighborPtr()->subdomain_id());
581}

◆ isKokkosObject()

bool MooseObject::isKokkosObject ( ) const
inlineinherited

Get whether this object is a Kokkos functor The parameter MooseBase::kokkos_object_param is set by the Kokkos base classes.

Definition at line 63 of file MooseObject.h.

63{ return parameters().isKokkosObject(); }
bool isKokkosObject() const
Returns whether this InputParameters belongs to a Kokkos object Checks whether MooseBase::kokkos_obje...

Referenced by AttribKokkos::initFrom(), BlockRestrictable::initializeBlockRestrictable(), and BoundaryRestrictable::initializeBoundaryRestrictable().

◆ isNodal()

bool MooseVariableFE< Real >::isNodal ( ) const
inlineoverridevirtualinherited

Is this variable nodal.

Returns
true if it nodal, otherwise false

Reimplemented from MooseVariableBase.

Definition at line 149 of file MooseVariableFE.h.

149{ return _element_data->isNodal(); }

◆ isNodalDefined()

bool MooseVariableFE< Real >::isNodalDefined ( ) const
overridevirtualinherited

Is this variable defined at nodes.

Returns
true if it the variable is defined at nodes, otherwise false

Implements MooseVariableFieldBase.

Definition at line 156 of file MooseVariableFE.C.

829{
830 return _element_data->isNodalDefined();
831}

◆ isNodalNeighborDefined()

bool MooseVariableFE< Real >::isNodalNeighborDefined ( ) const
inherited

Definition at line 163 of file MooseVariableFE.C.

836{
837 return _neighbor_data->isNodalDefined();
838}

◆ isParamSetByUser()

bool MooseBase::isParamSetByUser ( const std::string &  name) const
inlineinherited

Test if the supplied parameter is set by a user, as opposed to not set or set to default.

Parameters
nameThe name of the parameter to test

Definition at line 205 of file MooseBase.h.

206 {
208 }
bool isParamSetByUser(const std::string &name) const
Method returns true if the parameter was set by the user.

Referenced by DiffusionCG::addFEBCs(), DiffusionPhysicsBase::addInitialConditions(), CylinderComponent::addMeshGenerators(), AdvancedExtruderGenerator::AdvancedExtruderGenerator(), MFEMMesh::buildMesh(), MFEMBoundarySubMesh::buildSubMesh(), MFEMDomainSubMesh::buildSubMesh(), LibtorchNeuralNetControl::conditionalParameterError(), ConservativeAdvectionBCTempl< is_ad >::ConservativeAdvectionBCTempl(), MooseApp::copyInputs(), DiffusionPhysicsBase::DiffusionPhysicsBase(), MooseApp::errorCheck(), FileMesh::FileMesh(), FullSolveMultiApp::FullSolveMultiApp(), OrientSurfaceMeshGenerator::generate(), SurfaceSubdomainsFromAllNormalsGenerator::generate(), MFEMVectorFESpace::getFECName(), MooseBase::getRenamedParam(), DefaultConvergenceBase::getSharedExecutionerParam(), AddVariableAction::init(), MFEMMesh::init(), PhysicsBase::initializePhysics(), ElementSubdomainModifierBase::initialSetup(), MatrixSymmetryCheck::MatrixSymmetryCheck(), MeshDiagnosticsGenerator::MeshDiagnosticsGenerator(), MFEMVariable::MFEMVariable(), MortarConstraintBase::MortarConstraintBase(), MultiAppGeneralFieldFunctorTransfer::MultiAppGeneralFieldFunctorTransfer(), MultiAppGeneralFieldTransfer::MultiAppGeneralFieldTransfer(), OrientSurfaceMeshGenerator::OrientSurfaceMeshGenerator(), SolutionInvalidityOutput::output(), Output::Output(), MultiAppGeneralFieldTransfer::outputValueConflicts(), PetscExternalPartitioner::partition(), PolyLineMeshFollowingNodeSetGenerator::PolyLineMeshFollowingNodeSetGenerator(), MooseMesh::prepare(), SolutionUserObjectBase::readXda(), ReferenceResidualConvergence::ReferenceResidualConvergence(), PhysicsBase::reportPotentiallyMissedParameters(), MooseApp::run(), MooseApp::runInputFile(), MooseApp::runInputs(), Moose::MFEM::LinearSolverBase::SetPreconditioner(), SetupMeshAction::setupMesh(), MooseApp::setupOptions(), SideSetsFromBoundingBoxGenerator::SideSetsFromBoundingBoxGenerator(), SmoothMeshGenerator::SmoothMeshGenerator(), SurfaceSubdomainsDelaunayRemesher::SurfaceSubdomainsDelaunayRemesher(), SurfaceSubdomainsFromAllNormalsGenerator::SurfaceSubdomainsFromAllNormalsGenerator(), TagVectorAux::TagVectorAux(), TimedSubdomainModifier::TimedSubdomainModifier(), TimeIntegratedPostprocessor::TimeIntegratedPostprocessor(), XYDelaunayGenerator::XYDelaunayGenerator(), and XYZDelaunayGenerator::XYZDelaunayGenerator().

◆ isParamValid()

bool MooseBase::isParamValid ( const std::string &  name) const
inlineinherited

Test if the supplied parameter is valid.

Parameters
nameThe name of the parameter to test

Definition at line 199 of file MooseBase.h.

199{ return _pars.isParamValid(name); }
bool isParamValid(const std::string &name) const
This method returns parameters that have been initialized in one fashion or another,...

Referenced by GridPartitioner::_do_partition(), HierarchicalGridPartitioner::_do_partition(), AddVariableAction::act(), AutoCheckpointAction::act(), CommonOutputAction::act(), ComposeTimeStepperAction::act(), CopyNodalVarsAction::act(), CreateDisplacedProblemAction::act(), SetAdaptivityOptionsAction::act(), SetupDebugAction::act(), SetupMeshAction::act(), DiffusionCG::addFEKernels(), DiffusionFV::addFVBCs(), DiffusionFV::addFVKernels(), DiffusionPhysicsBase::addInitialConditions(), ComponentJunction::addMeshGenerators(), CylinderComponent::addMeshGenerators(), DiffusionPhysicsBase::addPostprocessors(), AdvancedExtruderGenerator::AdvancedExtruderGenerator(), AdvectiveFluxAux::AdvectiveFluxAux(), ArrayHFEMDirichletBC::ArrayHFEMDirichletBC(), ArrayVarReductionAux::ArrayVarReductionAux(), BicubicSplineFunction::BicubicSplineFunction(), BlockDeletionGenerator::BlockDeletionGenerator(), BSplineCurveGenerator::BSplineCurveGenerator(), TimedSubdomainModifier::buildFromFile(), ParsedChainControl::buildFunction(), GeneratedMesh::buildMesh(), MooseMesh::buildTypedMesh(), CartesianGridDivision::CartesianGridDivision(), CartesianMeshGenerator::CartesianMeshGenerator(), MultiAppTransfer::checkParentAppUserObjectExecuteOn(), LibmeshPartitioner::clone(), SampledOutput::cloneMesh(), CombinedVectorPostprocessor::CombinedVectorPostprocessor(), CombinerGenerator::CombinerGenerator(), ComponentJunction::ComponentJunction(), ConservativeAdvectionBCTempl< is_ad >::ConservativeAdvectionBCTempl(), ConservativeAdvectionTempl< is_ad >::ConservativeAdvectionTempl(), FEProblemSolve::convergenceSetup(), CopyMeshPartitioner::CopyMeshPartitioner(), CSVReaderVectorPostprocessor::CSVReaderVectorPostprocessor(), CutMeshByLevelSetGeneratorBase::CutMeshByLevelSetGeneratorBase(), ConstantReporter::declareConstantReporterValue(), ConstantReporter::declareConstantReporterValues(), DGKernelBase::DGKernelBase(), DiffusionFluxAux::DiffusionFluxAux(), DomainUserObject::DomainUserObject(), DynamicObjectRegistrationAction::DynamicObjectRegistrationAction(), EigenProblemSolve::EigenProblemSolve(), ElementGenerator::ElementGenerator(), ElementGroupCentroidPositions::ElementGroupCentroidPositions(), PIDTransientControl::execute(), MultiAppNearestNodeTransfer::execute(), MultiAppUserObjectTransfer::execute(), Exodus::Exodus(), ExtraIDIntegralReporter::ExtraIDIntegralReporter(), ExtraIDIntegralVectorPostprocessor::ExtraIDIntegralVectorPostprocessor(), FEProblemBase::FEProblemBase(), FEProblemSolve::FEProblemSolve(), FileOutput::FileOutput(), SpatialUserObjectVectorPostprocessor::fillPoints(), CombinerGenerator::fillPositions(), MultiApp::fillPositions(), FiniteDifferencePreconditioner::FiniteDifferencePreconditioner(), FixedPointSolve::FixedPointSolve(), FunctionDT::FunctionDT(), FunctionValuePostprocessor::FunctionValuePostprocessor(), FVInterfaceKernel::FVInterfaceKernel(), FVMassMatrix::FVMassMatrix(), SurfaceSubdomainsDelaunayRemesher::General2DDelaunay(), AddMetaDataGenerator::generate(), BlockDeletionGenerator::generate(), BreakBoundaryOnSubdomainGenerator::generate(), BSplineCurveGenerator::generate(), ConcentricCircleMeshGenerator::generate(), DistributedRectilinearMeshGenerator::generate(), ElementGenerator::generate(), ExtraNodesetGenerator::generate(), FileMeshGenerator::generate(), GeneratedMeshGenerator::generate(), LowerDBlockFromSidesetGenerator::generate(), ManifoldSubdomainGenerator::generate(), MeshExtruderGenerator::generate(), OrientSurfaceMeshGenerator::generate(), ParsedExtraElementIDGenerator::generate(), ParsedSubdomainGeneratorBase::generate(), RenumberBySubdomainGenerator::generate(), SideSetsFromNodeSetsGenerator::generate(), SphereMeshGenerator::generate(), SubdomainBoundingBoxGenerator::generate(), SubdomainPerElementGenerator::generate(), XYDelaunayGenerator::generate(), XYMeshLineCutter::generate(), XYZDelaunayGenerator::generate(), PropertyReadFile::getFileNames(), MultiAppNearestNodeTransfer::getLocalEntitiesAndComponents(), MeshGenerator::getMeshGeneratorNameFromParam(), MeshGenerator::getMeshGeneratorNamesFromParam(), MooseBase::getRenamedParam(), MultiAppNearestNodeTransfer::getTargetLocalNodes(), AddPeriodicBCAction::getVariables(), Terminator::handleMessage(), HFEMDirichletBC::HFEMDirichletBC(), EigenExecutionerBase::init(), IterationAdaptiveDT::init(), AdvancedOutput::initAvailableLists(), AdvancedOutput::initExecutionTypes(), BlockRestrictable::initializeBlockRestrictable(), BoundaryRestrictable::initializeBoundaryRestrictable(), SolutionAux::initialSetup(), SolutionScalarAux::initialSetup(), PIDTransientControl::initialSetup(), ParsedConvergence::initialSetup(), EigenProblemSolve::initialSetup(), MooseParsedFunction::initialSetup(), MooseParsedGradFunction::initialSetup(), MooseParsedVectorFunction::initialSetup(), PiecewiseTabularBase::initialSetup(), SolutionIC::initialSetup(), Console::initialSetup(), MultiAppCloneReporterTransfer::initialSetup(), MultiAppGeneralFieldTransfer::initialSetup(), MultiAppVariableValueSampleTransfer::initialSetup(), SampledOutput::initSample(), IterationAdaptiveDT::IterationAdaptiveDT(), LeastSquaresFit::LeastSquaresFit(), LibmeshPartitioner::LibmeshPartitioner(), LibtorchNeuralNetControl::LibtorchNeuralNetControl(), PNGOutput::makePNG(), MassMatrix::MassMatrix(), MatCoupledForce::MatCoupledForce(), MeshGeneratorComponent::MeshGeneratorComponent(), MFEMProblemSolve::MFEMProblemSolve(), MooseMesh::MooseMesh(), MoosePreconditioner::MoosePreconditioner(), MooseStaticCondensationPreconditioner::MooseStaticCondensationPreconditioner(), MooseVariableBase::MooseVariableBase(), MortarConstraintBase::MortarConstraintBase(), MoveNodeGenerator::MoveNodeGenerator(), MultiApp::MultiApp(), MultiAppCloneReporterTransfer::MultiAppCloneReporterTransfer(), MultiAppGeneralFieldKDTreeTransferBase::MultiAppGeneralFieldKDTreeTransferBase(), MultiAppGeneralFieldShapeEvaluationTransfer::MultiAppGeneralFieldShapeEvaluationTransfer(), MultiAppGeneralFieldTransfer::MultiAppGeneralFieldTransfer(), MultiAppGeneralFieldUserObjectTransfer::MultiAppGeneralFieldUserObjectTransfer(), MultiAppPostprocessorInterpolationTransfer::MultiAppPostprocessorInterpolationTransfer(), MultiAppPostprocessorTransfer::MultiAppPostprocessorTransfer(), MultiAppReporterTransfer::MultiAppReporterTransfer(), MultiAppTransfer::MultiAppTransfer(), MultiAppUserObjectTransfer::MultiAppUserObjectTransfer(), MultiAppVariableValueSampleTransfer::MultiAppVariableValueSampleTransfer(), MultiPostprocessorConvergence::MultiPostprocessorConvergence(), MultiSystemSolveObject::MultiSystemSolveObject(), NodeSetsGeneratorBase::NodeSetsGeneratorBase(), EigenExecutionerBase::normalizeSolution(), OrientSurfaceMeshGenerator::OrientSurfaceMeshGenerator(), Output::Output(), ParsedCurveGenerator::ParsedCurveGenerator(), ParsedSubdomainGeneratorBase::ParsedSubdomainGeneratorBase(), PetscOutput::PetscOutput(), PhysicsBasedPreconditioner::PhysicsBasedPreconditioner(), EqualValueBoundaryConstraint::pickPrimaryNode(), PIDTransientControl::PIDTransientControl(), PiecewiseTabularBase::PiecewiseTabularBase(), PlaneIDMeshGenerator::PlaneIDMeshGenerator(), EqualValueBoundaryConstraint::populateSecondaryNodes(), MooseMesh::prepare(), MultiApp::readCommandLineArguments(), SolutionUserObjectBase::readExodusIIOrNemesis(), ReferenceResidualInterface::ReferenceResidualInterface(), RenameBlockGenerator::RenameBlockGenerator(), ReporterPointSource::ReporterPointSource(), PhysicsBase::reportPotentiallyMissedParameters(), ParsedSubdomainMeshGenerator::setBlockName(), MooseMesh::setCoordSystem(), FileOutput::setFileBase(), FileOutput::setFileBaseInternal(), SideSetsGeneratorBase::setup(), SurfaceMeshGeneratorBase::setup(), Split::setup(), SetupMeshAction::setupMesh(), MooseApp::setupOptions(), Output::setWallTimeIntervalFromCommandLineParam(), SideDiffusiveFluxIntegralTempl< is_ad, T >::SideDiffusiveFluxIntegralTempl(), SideSetsGeneratorBase::SideSetsGeneratorBase(), SolutionUserObjectBase::SolutionUserObjectBase(), Terminator::Terminator(), TimeIntervalTimes::TimeIntervalTimes(), TimePeriod::TimePeriod(), PIDTransientControl::timestepSetup(), MultiAppDofCopyTransfer::transfer(), TransformGenerator::TransformGenerator(), TransientBase::TransientBase(), VariableCondensationPreconditioner::VariableCondensationPreconditioner(), VectorMagnitudeFunctorMaterialTempl< is_ad >::VectorMagnitudeFunctorMaterialTempl(), XYDelaunayGenerator::XYDelaunayGenerator(), and XYZDelaunayGenerator::XYZDelaunayGenerator().

◆ isVector()

template<typename OutputType >
bool MooseVariableField< OutputType >::isVector ( ) const
overridevirtualinherited
Returns
true if this is a vector-valued element, false otherwise.

Implements MooseVariableFieldBase.

Definition at line 85 of file MooseVariableField.C.

86{
87 return std::is_same<OutputType, RealVectorValue>::value;
88}

◆ jacobianSetup()

void MooseVariableFE< Real >::jacobianSetup ( )
overridevirtualinherited

Gets called just before the Jacobian is computed and before this object is asked to do its job.

Reimplemented from MooseVariableField< OutputType >.

Definition at line 714 of file MooseVariableFE.C.

1372{
1376}
virtual void jacobianSetup() override
Gets called just before the Jacobian is computed and before this object is asked to do its job.

◆ kind()

Moose::VarKindType MooseVariableBase::kind ( ) const
inlineinherited

◆ kokkosBlockElementID()

KOKKOS_FUNCTION ContiguousElementID BlockRestrictable::kokkosBlockElementID ( Moose::Kokkos::ThreadID  tid) const
inlineprotectedinherited

◆ kokkosBlockElementSideID()

KOKKOS_FUNCTION auto BlockRestrictable::kokkosBlockElementSideID ( Moose::Kokkos::ThreadID  tid) const
inlineprotectedinherited

Get the contiguous element ID - side index pair this Kokkos thread is operating on.

Parameters
tidThe thread ID
Returns
The contiguous element ID - side index pair

Definition at line 298 of file BlockRestrictable.h.

299 {
300 return _kokkos_element_side_ids[tid];
301 }
Moose::Kokkos::Array< Moose::Kokkos::Pair< ContiguousElementID, unsigned int > > _kokkos_element_side_ids
List of contiguous local element ID - side index pairs this Kokkos object is operating on.

◆ kokkosBlockNodeID()

KOKKOS_FUNCTION ContiguousElementID BlockRestrictable::kokkosBlockNodeID ( Moose::Kokkos::ThreadID  tid) const
inlineprotectedinherited

Get the contiguous node index this Kokkos thread is operating on.

Parameters
tidThe thread ID
Returns
the contiguous node ID

Definition at line 289 of file BlockRestrictable.h.

290 {
291 return _kokkos_node_ids[tid];
292 }
Moose::Kokkos::Array< ContiguousNodeID > _kokkos_node_ids
List of contiguous node IDs this Kokkos object is operating on.

Referenced by Moose::Kokkos::NodalUserObject::operator()(), Moose::Kokkos::NodalKernel::operator()(), Moose::Kokkos::AuxKernel::operator()(), Moose::Kokkos::NodalKernel::operator()(), Moose::Kokkos::NodalReducer::operator()(), and Moose::Kokkos::NodalKernel::operator()().

◆ matrixTagValue()

const FieldVariableValue & MooseVariableFE< Real >::matrixTagValue ( TagID  tag) const
inlineoverridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 282 of file MooseVariableFE.h.

283 {
284 return _element_data->matrixTagValue(tag);
285 }

◆ meshBlockIDs()

const std::set< SubdomainID > & BlockRestrictable::meshBlockIDs ( ) const
inherited

Return all of the SubdomainIDs for the mesh.

Returns
A set of all subdomians for the entire mesh

Definition at line 294 of file BlockRestrictable.C.

295{
296 return _blk_mesh->meshSubdomains();
297}

Referenced by BlockRestrictable::checkVariable(), ElementGroupCentroidPositions::ElementGroupCentroidPositions(), BlockRestrictable::getBlockCoordSystem(), BlockRestrictable::hasBlockMaterialPropertyHelper(), and SolutionIC::initialSetup().

◆ meshChanged()

void MooseVariableFE< Real >::meshChanged ( )
overridevirtualinherited

Called on this object when the mesh changes.

Reimplemented from MeshChangedInterface.

Definition at line 712 of file MooseVariableFE.C.

1354{
1358}
virtual void meshChanged()
Called on this object when the mesh changes.

◆ messagePrefix() [1/2]

std::string MooseBase::messagePrefix ( const bool  hit_prefix = true) const
inlineinherited
Returns
A prefix to be used in messages that contain the input file location associated with this object (if any) and the name and type of the object.

Definition at line 256 of file MooseBase.h.

257 {
258 return messagePrefix(_pars, hit_prefix);
259 }

Referenced by MooseBase::callMooseError(), MooseBase::errorPrefix(), MooseBase::messagePrefix(), MooseBase::mooseDeprecated(), MooseBase::mooseDeprecatedNoTrace(), MooseBase::mooseInfo(), and MooseBase::mooseWarning().

◆ messagePrefix() [2/2]

std::string MooseBase::messagePrefix ( const InputParameters params,
const bool  hit_prefix 
)
staticprivateinherited

Internal method for getting the message prefix for an object (object type, name, etc).

Needs to be static so that we can call it externally from InputParameters for errors that do not have context of the MooseBase

Definition at line 140 of file MooseBase.C.

141{
142 std::string prefix = "";
143
144 if (hit_prefix)
145 if (const auto node = MooseBase::getHitNode(params))
146 prefix += Moose::hitMessagePrefix(*node);
147
148 // Don't have context without type and name
149 if (!params.isMooseBaseObject())
150 return prefix;
151
152 const auto & name = params.getObjectName();
153 const std::string base = params.hasBase() ? params.getBase() : "object";
154 const bool is_main_app = base == "Application" && name == AppFactory::main_app_name;
155 prefix += "The following occurred in the ";
156 if (is_main_app)
157 prefix += "main " + base;
158 else
159 prefix += base;
160 if (base != params.getObjectName() && name.size() && !is_main_app)
161 prefix += " '" + name + "'";
162 prefix += " of type " + params.getObjectType() + ".";
163 return prefix + "\n\n";
164}
static const std::string main_app_name
The name for the "main" moose application.
Definition AppFactory.h:68
bool isMooseBaseObject() const
const std::string & getObjectType() const
const std::string & getObjectName() const
std::string hitMessagePrefix(const hit::Node &node)
Get the prefix to be associated with a hit node for a message.
Definition Moose.C:883

◆ mooseDeprecated() [1/2]

template<typename... Args>
void MooseBase::mooseDeprecated ( Args &&...  args) const
inlineinherited

Emits a deprecation warning prefixed with the object name and type, and a stack trace.

Definition at line 317 of file MooseBase.h.

318 {
320 _console, false, true, true, messagePrefix(true), std::forward<Args>(args)...);
321 }
const ConsoleStream _console
An instance of helper class to write streams to the Console objects.
void mooseDeprecatedStream(S &oss, const bool expired, const bool print_title, const bool show_trace, Args &&... args)
Definition MooseError.h:252

Referenced by MooseApp::addCapability(), DataFileInterface::getDataFileName(), DataFileInterface::getDataFileNameByName(), MooseApp::getRecoverFileBase(), MooseApp::hasRecoverFileBase(), and MooseApp::setupOptions().

◆ mooseDeprecated() [2/2]

template<typename... Args>
void SolutionInvalidInterface::mooseDeprecated ( Args &&...  args) const
inlineinherited

◆ mooseDeprecatedNoTrace()

template<typename... Args>
void MooseBase::mooseDeprecatedNoTrace ( Args &&...  args) const
inlineinherited

Emits a deprecation warning prefixed with the object name and type, and no stack trace.

Definition at line 327 of file MooseBase.h.

328 {
330 _console, false, true, false, messagePrefix(true), std::forward<Args>(args)...);
331 }

◆ mooseDocumentedError()

template<typename... Args>
void MooseBase::mooseDocumentedError ( const std::string &  repo_name,
const unsigned int  issue_num,
Args &&...  args 
) const
inlineinherited

Definition at line 277 of file MooseBase.h.

280 {
282 repo_name, issue_num, argumentsToString(std::forward<Args>(args)...)),
283 /* with_prefix = */ true);
284 }
std::string formatMooseDocumentedError(const std::string &repo_name, const unsigned int issue_num, const std::string &msg)
Formats a documented error.
Definition MooseError.C:142

Referenced by ManifoldSubdomainGenerator::ManifoldSubdomainGenerator().

◆ mooseError()

template<typename... Args>
void MooseBase::mooseError ( Args &&...  args) const
inlineinherited

Emits an error prefixed with object name and type and optionally a file path to the top-level block parameter if available.

Definition at line 271 of file MooseBase.h.

272 {
273 callMooseError(argumentsToString(std::forward<Args>(args)...), /* with_prefix = */ true);
274 }

Referenced by CopyMeshPartitioner::_do_partition(), GridPartitioner::_do_partition(), HierarchicalGridPartitioner::_do_partition(), PetscExternalPartitioner::_do_partition(), AdaptivityAction::act(), AddBoundsVectorsAction::act(), AddFVICAction::act(), AddICAction::act(), AddMeshGeneratorAction::act(), AddPeriodicBCAction::act(), AddTimeStepperAction::act(), AddVectorPostprocessorAction::act(), ChainControlSetupAction::act(), CheckFVBCAction::act(), CheckIntegrityAction::act(), CombineComponentsMeshes::act(), CommonOutputAction::act(), CreateDisplacedProblemAction::act(), CreateExecutionerAction::act(), CreateProblemAction::act(), CreateProblemDefaultAction::act(), CSGOnlyAction::act(), DeprecatedBlockAction::act(), InitProblemAction::act(), MaterialDerivativeTestAction::act(), MaterialOutputAction::act(), SetAdaptivityOptionsAction::act(), SetupDebugAction::act(), SetupMeshAction::act(), SetupMeshCompleteAction::act(), SetupPredictorAction::act(), SetupTimeStepperAction::act(), SplitMeshAction::act(), Action::Action(), AddActionComponentAction::AddActionComponentAction(), PhysicsComponentInterface::addBoundaryConditionsFromComponents(), MooseApp::addCapabilityInternal(), DistributedRectilinearMeshGenerator::addElement(), MooseApp::addExecutor(), SubProblem::addFunctor(), PhysicsComponentInterface::addInitialConditionsFromComponents(), ComponentJunction::addMeshGenerators(), MeshGenerator::addMeshSubgenerator(), SubProblem::addPiecewiseByBlockLambdaFunctor(), DistributedRectilinearMeshGenerator::addPoint(), DiracKernelBase::addPointWithValidId(), CreateDisplacedProblemAction::addProxyRelationshipManagers(), MooseMesh::addQuadratureNode(), AddActionComponentAction::addRelationshipManagers(), WebServerControl::addServerAction(), AddVariableAction::addVariable(), SubProblem::addVectorTag(), MooseVariableScalar::adUDot(), Output::advancedExecuteOn(), MooseVariableBase::allDofIndices(), MooseApp::appNameToLibName(), MultiApp::appPostprocessorValue(), MultiApp::appProblem(), MultiApp::appProblemBase(), MultiApp::appUserObjectBase(), MooseApp::attachRelationshipManagers(), MooseApp::attachRelationshipManagers(), FEProblemBase::automaticScaling(), Function::average(), BatchMeshGeneratorAction::BatchMeshGeneratorAction(), MooseMesh::buildCoarseningMap(), MultiApp::buildComm(), DistributedRectilinearMeshGenerator::buildCube(), PiecewiseTabularInterface::buildFromFile(), PiecewiseTabularInterface::buildFromJSON(), PiecewiseTabularInterface::buildFromXY(), MooseMesh::buildLowerDMesh(), GeneratedMesh::buildMesh(), MeshGeneratorMesh::buildMesh(), SpiralAnnularMesh::buildMesh(), TiledMesh::buildMesh(), MooseMesh::buildRefinementMap(), MaterialBase::buildRequiredMaterials(), MooseMesh::buildTypedMesh(), MooseMesh::cacheFaceInfoVariableOwnership(), CartesianGridDivision::CartesianGridDivision(), CartesianMeshGenerator::CartesianMeshGenerator(), EigenExecutionerBase::chebyshev(), SubProblem::checkBlockMatProps(), PhysicsBase::checkBlockRestrictionIdentical(), ComponentBoundaryConditionInterface::checkBoundaryConditionsAllRequested(), SubProblem::checkBoundaryMatProps(), PhysicsBase::checkComponentType(), IterationCountConvergence::checkConvergence(), MooseMesh::checkCoordinateSystems(), DiffusionLHDGAssemblyHelper::checkCoupling(), DefaultConvergenceBase::checkDuplicateSetSharedExecutionerParams(), MooseMesh::checkDuplicateSubdomainNames(), MaterialBase::checkExecutionStage(), MeshGenerator::checkGetMesh(), ReporterTransferInterface::checkHasReporterValue(), EigenExecutionerBase::checkIntegrity(), Eigenvalue::checkIntegrity(), ExplicitTimeIntegrator::checkLinearConvergence(), MooseApp::checkMetaDataIntegrity(), MeshDiagnosticsGenerator::checkNonConformalMeshFromAdaptivity(), MeshDiagnosticsGenerator::checkNonMatchingEdges(), PostprocessorInterface::checkParam(), Moose::PeriodicBCHelper::checkPeriodicParams(), Sampler::checkReinitStatus(), MultiAppTransfer::checkSiblingsTransferSupported(), MaterialBase::checkStatefulSanity(), AddDefaultConvergenceAction::checkUnusedMultiAppFixedPointConvergenceParameters(), AddDefaultConvergenceAction::checkUnusedNonlinearConvergenceParameters(), AddDefaultConvergenceAction::checkUnusedSteadyStateConvergenceParameters(), Moose::PetscSupport::checkUserProvidedPetscOption(), MultiAppTransfer::checkVariable(), MeshDiagnosticsGenerator::checkWatertightNodesets(), MeshDiagnosticsGenerator::checkWatertightSidesets(), MooseMesh::clone(), LibmeshPartitioner::clone(), CombinerGenerator::CombinerGenerator(), MooseVariableFieldBase::componentName(), VariableCondensationPreconditioner::computeDInverseDiag(), CompositionDT::computeDT(), MooseVariableFieldBase::computeFaceValues(), TimeStepper::computeFailedDT(), IterationAdaptiveDT::computeFailedDT(), MooseMesh::computeFiniteVolumeCoords(), Moose::Kokkos::ResidualObject::computeOffDiagJacobian(), MaterialBase::computeProperties(), FVFluxBC::computeResidual(), ResidualObject::computeResidualAndJacobian(), TimeStepper::computeStep(), AStableDirk4::computeTimeDerivatives(), BDF2::computeTimeDerivatives(), CrankNicolson::computeTimeDerivatives(), ExplicitEuler::computeTimeDerivatives(), ExplicitRK2::computeTimeDerivatives(), ExplicitTVDRK2::computeTimeDerivatives(), ImplicitEuler::computeTimeDerivatives(), ImplicitMidpoint::computeTimeDerivatives(), LStableDirk2::computeTimeDerivatives(), LStableDirk3::computeTimeDerivatives(), LStableDirk4::computeTimeDerivatives(), NewmarkBeta::computeTimeDerivatives(), ConcentricCircleMesh::ConcentricCircleMesh(), ConditionalEnableControl::ConditionalEnableControl(), TimeStepper::constrainStep(), LibtorchNeuralNetControl::controlNeuralNet(), TransientBase::convergedToSteadyState(), ParsedConvergence::convertRealToBool(), MooseApp::copyInputs(), CopyMeshPartitioner::CopyMeshPartitioner(), MultiApp::createApp(), MooseApp::createExecutors(), AddVariableAction::createInitialConditionAction(), MooseApp::createRMFromTemplateAndInit(), Function::curl(), ReporterTransferInterface::declareClone(), Moose::Kokkos::MaterialBase::declareKokkosPropertyInternal(), MeshGenerator::declareMeshProperty(), ReporterTransferInterface::declareVectorClone(), FunctorRelationshipManager::delete_remote_elements(), MooseMesh::deleteRemoteElements(), MooseApp::determineLibtorchDeviceType(), MeshDiagnosticsGenerator::diagnosticsLog(), Function::div(), FunctorBinnedValuesDivision::divisionIndex(), FunctorRelationshipManager::dofmap_reinit(), MooseApp::dynamicAllRegistration(), MooseApp::dynamicAppRegistration(), DistributedRectilinearMeshGenerator::elemId(), MooseApp::errorCheck(), MooseMesh::errorIfDistributedMesh(), MultiAppTransfer::errorIfObjectExecutesOnTransferInSourceApp(), FixedPointSolve::examineFixedPointConvergence(), Eigenvalue::execute(), TransientBase::execute(), WebServerControl::execute(), MooseApp::executeExecutioner(), MultiApp::fillPositions(), MooseApp::finalizeRestore(), Transfer::find_sys(), DiracKernelInfo::findPoint(), FixedPointSolve::findTransformedSystem(), FixedPointSolve::FixedPointSolve(), FunctionDT::FunctionDT(), FunctionScalarAux::FunctionScalarAux(), FunctionScalarIC::FunctionScalarIC(), LinearFVBoundaryCondition::functorFaceArg(), FVInitialConditionTempl< T >::FVInitialConditionTempl(), FVScalarLagrangeMultiplierInterface::FVScalarLagrangeMultiplierInterface(), AdvancedExtruderGenerator::generate(), BoundingBoxNodeSetGenerator::generate(), CoarsenBlockGenerator::generate(), CombinerGenerator::generate(), CutMeshByLevelSetGeneratorBase::generate(), DistributedRectilinearMeshGenerator::generate(), ElementOrderConversionGenerator::generate(), ExtraNodesetGenerator::generate(), FileMeshGenerator::generate(), FlipSidesetGenerator::generate(), GeneratedMeshGenerator::generate(), LowerDBlockFromSidesetGenerator::generate(), MeshCollectionGenerator::generate(), MeshDiagnosticsGenerator::generate(), MeshExtruderGenerator::generate(), MeshRepairGenerator::generate(), MoveNodeGenerator::generate(), PlaneIDMeshGenerator::generate(), PolyLineMeshFollowingNodeSetGenerator::generate(), ProjectSideSetOntoLevelSetGenerator::generate(), RenameBlockGenerator::generate(), RenameBoundaryGenerator::generate(), RenumberBySubdomainGenerator::generate(), SmoothMeshGenerator::generate(), SpiralAnnularMeshGenerator::generate(), StackGenerator::generate(), SubdomainBoundingBoxGenerator::generate(), SubdomainPerElementGenerator::generate(), TiledMeshGenerator::generate(), XYMeshLineCutter::generate(), XYZDelaunayGenerator::generate(), PatternedMeshGenerator::generate(), MeshGenerator::generateCSG(), MeshGenerator::generateData(), GeneratedMesh::GeneratedMesh(), GeneratedMeshGenerator::GeneratedMeshGenerator(), MeshGenerator::generateInternal(), MeshGenerator::generateInternalCSG(), CircularBoundaryCorrectionGenerator::generateRadialCorrectionFactor(), MooseMesh::getAxisymmetricRadialCoord(), MooseMesh::getBlockConnectedBlocks(), MooseMesh::getBoundaryID(), MultiApp::getBoundingBox(), ChainControl::getChainControlDataByName(), WebServerControl::getClientInfo(), MooseMesh::getCoarseningMap(), MultiApp::getCommandLineArgs(), MooseVariableBase::getContinuity(), Control::getControllableParameterByName(), MooseMesh::getCoordSystem(), PhysicsBase::getCoupledPhysics(), PhysicsBase::getCoupledPhysics(), DataFileInterface::getDataFilePath(), TransfiniteMeshGenerator::getDiscreteEdge(), MooseVariableBase::getDofIndices(), VariableCondensationPreconditioner::getDofToCondense(), TransfiniteMeshGenerator::getEdge(), MooseMesh::getElementIDIndex(), Material::getElementIDNeighbor(), Material::getElementIDNeighborByName(), MooseMesh::getElemIDMapping(), MooseMesh::getElemIDsOnBlocks(), WebServerControl::Response::getError(), MultiApp::getExecutioner(), MooseApp::getExecutor(), MultiAppTransfer::getFromMultiApp(), MultiAppTransfer::getFromMultiAppInfo(), SubProblem::getFunctor(), MooseMesh::getGeneralAxisymmetricCoordAxis(), MaterialPropertyInterface::getGenericMaterialPropertyByName(), DistributedRectilinearMeshGenerator::getGhostNeighbors(), DistributedRectilinearMeshGenerator::getIndices(), MaterialPropertyInterface::getKokkosBlockMaterialProperty(), FunctionInterface::getKokkosFunctionByName(), MaterialPropertyInterface::getKokkosMaterialPropertyByName(), Material::getMaterialByName(), SubProblem::getMatrixTagID(), AnnularMesh::getMaxInDimension(), GeneratedMesh::getMaxInDimension(), MeshGenerator::getMeshGeneratorNameFromParam(), MeshGenerator::getMeshGeneratorNamesFromParam(), AnnularMesh::getMinInDimension(), GeneratedMesh::getMinInDimension(), MultiAppTransfer::getMultiApp(), DistributedRectilinearMeshGenerator::getNeighbors(), MooseMesh::getNodeBlockIds(), MooseMesh::getNodeList(), MooseMesh::getPairedBoundaryMapping(), MaterialOutputAction::getParams(), PlaneIDMeshGenerator::getPlaneID(), PostprocessorInterface::getPostprocessorValueByNameInternal(), ComponentMaterialPropertyInterface::getPropertyValue(), MooseMesh::getRefinementMap(), MooseBase::getRenamedParam(), ReporterInterface::getReporterContextBaseByName(), ReporterInterface::getReporterName(), Reporter::getReporterValueName(), MooseApp::getRestartableDataMap(), MooseApp::getRestartableDataMapName(), MooseApp::getRestartableMetaData(), MooseApp::getRMClone(), MooseObject::getSharedPtr(), MooseObject::getSharedPtr(), PhysicsBase::getSolverSystem(), MooseMesh::getSubdomainBoundaryIds(), TransientBase::getTimeIntegratorNames(), MultiAppTransfer::getToMultiApp(), MultiAppTransfer::getToMultiAppInfo(), MooseMesh::getUniqueCoordSystem(), UserObjectInterface::getUserObjectBaseByName(), UserObjectInterface::getUserObjectName(), AddPeriodicBCAction::getVariables(), VectorPostprocessorInterface::getVectorPostprocessorName(), SubProblem::getVectorTag(), SubProblem::getVectorTagID(), MultiApp::globalAppToLocal(), Function::gradient(), MooseVariableBase::hasDoFsOnNodes(), PostprocessorInterface::hasPostprocessor(), PostprocessorInterface::hasPostprocessorByName(), ReporterInterface::hasReporterValue(), ReporterInterface::hasReporterValueByName(), VectorPostprocessorInterface::hasVectorPostprocessor(), VectorPostprocessorInterface::hasVectorPostprocessor(), VectorPostprocessorInterface::hasVectorPostprocessorByName(), VectorPostprocessorInterface::hasVectorPostprocessorByName(), TransientBase::incrementStepOrReject(), NEML2Action::inferMOOSEIOType(), AddVariableAction::init(), MooseMesh::init(), Sampler::init(), EigenExecutionerBase::init(), TransientBase::init(), CrankNicolson::init(), ExplicitTimeIntegrator::init(), FixedPointIterationAdaptiveDT::init(), IterationAdaptiveDT::init(), MultiApp::init(), NestedDivision::initialize(), ParsedConvergence::initializeConstantSymbol(), PhysicsBase::initializePhysics(), SubProblem::initialSetup(), AuxKernelBase::initialSetup(), SolutionScalarAux::initialSetup(), FullSolveMultiApp::initialSetup(), ExplicitTimeIntegrator::initialSetup(), Function::integral(), InternalSideIndicatorBase::InternalSideIndicatorBase(), EigenExecutionerBase::inversePowerIteration(), Sampler::isAdaptiveSamplingCompleted(), MooseMesh::isBoundaryFullyExternalToSubdomains(), MooseVariableBase::isNodal(), IterationAdaptiveDT::IterationAdaptiveDT(), IterationCountConvergence::IterationCountConvergence(), LibmeshPartitioner::LibmeshPartitioner(), MooseApp::libNameToAppName(), LibtorchNeuralNetControl::LibtorchNeuralNetControl(), LineSearch::lineSearch(), MooseApp::loadLibraryAndDependencies(), ReporterPointMarker::markerSetup(), SubProblem::markFamilyPRefinement(), Material::Material(), Distribution::median(), FunctorRelationshipManager::mesh_reinit(), MeshDiagnosticsGenerator::MeshDiagnosticsGenerator(), MeshExtruderGenerator::MeshExtruderGenerator(), MeshRepairGenerator::MeshRepairGenerator(), SetupMeshAction::modifyParamsForUseSplit(), MeshMetaDataInterface::mooseErrorInternal(), MooseMesh::MooseMesh(), MooseObject::MooseObject(), UserObjectInterface::mooseObjectError(), MooseVariableBase::MooseVariableBase(), MoveNodeGenerator::MoveNodeGenerator(), MultiApp::MultiApp(), MultiAppTransfer::MultiAppTransfer(), NewmarkBeta::NewmarkBeta(), DistributedRectilinearMeshGenerator::nodeId(), DistributedRectilinearMeshGenerator::numNeighbors(), Output::onInterval(), FunctorRelationshipManager::operator()(), RelationshipManager::operator==(), ActionComponent::outerSurfaceArea(), ActionComponent::outerSurfaceBoundaries(), MortarNodalGeometryOutput::output(), Output::Output(), MooseApp::outputMachineReadableData(), DistributedRectilinearMeshGenerator::paritionSquarely(), ParsedConvergence::ParsedConvergence(), ParsedCurveGenerator::ParsedCurveGenerator(), ExplicitTimeIntegrator::performExplicitSolve(), PetscExternalPartitioner::PetscExternalPartitioner(), PhysicsBasedPreconditioner::PhysicsBasedPreconditioner(), PIDTransientControl::PIDTransientControl(), PiecewiseTabularInterface::PiecewiseTabularInterface(), CutMeshByLevelSetGeneratorBase::pointPairLevelSetInterception(), ProjectSideSetOntoLevelSetGenerator::pointPairLevelSetInterception(), ReporterInterface::possiblyCheckHasReporter(), VectorPostprocessorInterface::possiblyCheckHasVectorPostprocessorByName(), AStableDirk4::postResidual(), ExplicitRK2::postResidual(), ExplicitTVDRK2::postResidual(), ImplicitMidpoint::postResidual(), LStableDirk2::postResidual(), LStableDirk3::postResidual(), LStableDirk4::postResidual(), VariableCondensationPreconditioner::preallocateCondensedJacobian(), Predictor::Predictor(), TransientBase::preExecute(), MooseMesh::prepare(), MooseMesh::prepared(), FixedPointSolve::printFixedPointConvergenceReason(), MultiApp::readCommandLineArguments(), CoarsenBlockGenerator::recursiveCoarsen(), MooseApp::recursivelyCreateExecutors(), FunctorRelationshipManager::redistribute(), MooseApp::registerRestartableData(), MooseApp::registerRestartableNameWithFilter(), Sampler::reinit(), MooseApp::removeRelationshipManager(), PhysicsBase::reportPotentiallyMissedParameters(), MooseApp::restore(), RinglebMesh::RinglebMesh(), RinglebMeshGenerator::RinglebMeshGenerator(), MooseApp::run(), MooseApp::runInputs(), ScalarComponentIC::ScalarComponentIC(), DistributedRectilinearMeshGenerator::scaleNodalPositions(), FunctorRelationshipManager::set_mesh(), MooseVariableBase::setActiveTags(), DistributedRectilinearMeshGenerator::setBoundaryNames(), MooseMesh::setCoordSystem(), MooseMesh::setGeneralAxisymmetricCoordAxes(), MeshGenerator::setMeshProperty(), MooseApp::setMFEMDevice(), Sampler::setNumberOfCols(), Sampler::setNumberOfRandomSeeds(), Sampler::setNumberOfRows(), Moose::MFEM::LinearSolverBase::SetPreconditioner(), Split::setup(), TransientMultiApp::setupApp(), Moose::PeriodicBCHelper::setupAutoPeriodicBoundaries(), Moose::PeriodicBCHelper::setupManualPeriodicBoundaries(), SetupMeshAction::setupMesh(), MooseApp::setupOptions(), TimeSequenceStepperBase::setupSequence(), TransientBase::setupTimeIntegrator(), PhysicsBase::shouldCreateIC(), PhysicsBase::shouldCreateTimeDerivative(), PhysicsBase::shouldCreateVariable(), SingleMatrixPreconditioner::SingleMatrixPreconditioner(), MooseVariableBase::sizeMatrixTagData(), SmoothMeshGenerator::SmoothMeshGenerator(), SolutionTimeAdaptiveDT::SolutionTimeAdaptiveDT(), Moose::MFEM::LinearSolverBase::Solve(), TimeIntegrator::solve(), ExplicitRK2::solve(), ExplicitTVDRK2::solve(), FullSolveMultiApp::solveStep(), UserObject::spatialPoints(), UserObject::spatialValue(), SpiralAnnularMesh::SpiralAnnularMesh(), SpiralAnnularMeshGenerator::SpiralAnnularMeshGenerator(), MeshRepairGenerator::splitNonConvexPolygons(), WebServerControl::startServer(), StitchedMesh::StitchedMesh(), MaterialBase::subdomainSetup(), CutMeshByLevelSetGeneratorBase::tet4ElemCutter(), Action::timedAct(), Function::timeDerivative(), Function::timeIntegral(), ParsedCurveGenerator::tSectionSpaceDefiner(), MooseVariableScalar::uDot(), MooseVariableScalar::uDotDot(), MooseVariableScalar::uDotDotOld(), MooseVariableScalar::uDotOld(), MooseBase::uniqueName(), AuxScalarKernel::uOld(), ScalarKernelBase::uOld(), Function::value(), VariableCondensationPreconditioner::VariableCondensationPreconditioner(), PhysicsBase::variableExists(), MultiAppTransfer::variableIntegrityCheck(), AddVariableAction::variableType(), SubProblem::vectorTagName(), SubProblem::vectorTagType(), Function::vectorValue(), SubProblem::verifyVectorTags(), ActionComponent::volume(), WebServerControl::WebServerControl(), and MooseApp::writeRestartableMetaData().

◆ mooseErrorNonPrefixed()

template<typename... Args>
void MooseBase::mooseErrorNonPrefixed ( Args &&...  args) const
inlineinherited

Emits an error without the prefixing included in mooseError().

Definition at line 290 of file MooseBase.h.

291 {
292 callMooseError(argumentsToString(std::forward<Args>(args)...), /* with_prefix = */ false);
293 }

◆ mooseInfo()

template<typename... Args>
void MooseBase::mooseInfo ( Args &&...  args) const
inlineinherited

◆ mooseWarning() [1/2]

template<typename... Args>
void MooseBase::mooseWarning ( Args &&...  args) const
inlineinherited

Emits a warning prefixed with object name and type.

Definition at line 299 of file MooseBase.h.

300 {
301 moose::internal::mooseWarningStream(_console, messagePrefix(true), std::forward<Args>(args)...);
302 }
void mooseWarningStream(S &oss, Args &&... args)
Definition MooseError.h:197

Referenced by DiracKernelInfo::findPoint(), DataFileInterface::getDataFilePath(), MooseApp::loadLibraryAndDependencies(), and MooseBase::paramWarning().

◆ mooseWarning() [2/2]

template<typename... Args>
void SolutionInvalidInterface::mooseWarning ( Args &&...  args) const
inlineinherited

Definition at line 73 of file SolutionInvalidInterface.h.

74 {
75 _si_moose_base.MooseBase::mooseWarning(std::forward<Args>(args)...);
76 flagSolutionWarningMultipleRegistration(_si_moose_base.name() + ": warning");
77 }

Referenced by CopyMeshPartitioner::_do_partition(), AddFunctionAction::act(), AddKernelAction::act(), CommonOutputAction::act(), MaterialOutputAction::act(), MeshOnlyAction::act(), MooseMesh::addPeriodicVariable(), BoundaryMarker::BoundaryMarker(), DistributedRectilinearMeshGenerator::buildCube(), CartesianMeshGenerator::CartesianMeshGenerator(), CheckOutputAction::checkConsoleOutput(), MultiAppTransfer::checkMultiAppExecuteOn(), MeshDiagnosticsGenerator::checkNonMatchingEdges(), MeshDiagnosticsGenerator::checkPolygons(), ActionComponent::checkRequiredTasks(), PhysicsBase::checkRequiredTasks(), MultiApp::createApp(), MeshDiagnosticsGenerator::diagnosticsLog(), CartesianGridDivision::divisionIndex(), CylindricalGridDivision::divisionIndex(), SphericalGridDivision::divisionIndex(), Postprocessor::evaluateDotWarning(), FiniteDifferencePreconditioner::FiniteDifferencePreconditioner(), FixedPointSolve::FixedPointSolve(), BSplineCurveGenerator::generate(), RenumberBySubdomainGenerator::generate(), SubdomainPerElementGenerator::generate(), SurfaceMeshGeneratorBase::get2DElemNormal(), MultiAppTransfer::getAppInfo(), FunctorBinnedValuesDivision::getBinIndex(), IndicatorMarker::IndicatorMarker(), CartesianGridDivision::initialize(), CylindricalGridDivision::initialize(), SphericalGridDivision::initialize(), MFEMRefinementMarker::initialSetup(), MaterialBase::initStatefulProperties(), IterationAdaptiveDT::limitDTToPostprocessorValue(), NewmarkBeta::NewmarkBeta(), Output::Output(), MaterialOutputAction::outputHelper(), Executioner::problem(), TestSourceStepper::rejectStep(), PhysicsBase::reportPotentiallyMissedParameters(), MaterialBase::resetQpProperties(), MooseMesh::setCoordSystem(), TransientMultiApp::solveStep(), MeshRepairGenerator::splitNonConvexPolygons(), and VariableCondensationPreconditioner::VariableCondensationPreconditioner().

◆ mooseWarningNonPrefixed() [1/2]

template<typename... Args>
void MooseBase::mooseWarningNonPrefixed ( Args &&...  args) const
inlineinherited

Emits a warning without the prefixing included in mooseWarning().

Definition at line 308 of file MooseBase.h.

309 {
310 moose::internal::mooseWarningStream(_console, std::forward<Args>(args)...);
311 }

◆ mooseWarningNonPrefixed() [2/2]

template<typename... Args>
void SolutionInvalidInterface::mooseWarningNonPrefixed ( Args &&...  args) const
inlineinherited

Definition at line 80 of file SolutionInvalidInterface.h.

81 {
82 _si_moose_base.MooseBase::mooseWarningNonPrefixed(std::forward<Args>(args)...);
83 flagSolutionWarningMultipleRegistration(_si_moose_base.name() + ": warning");
84 }

◆ name()

const std::string & MooseBase::name ( ) const
inlineinherited

Get the name of the class.

Returns
The name of the class

Definition at line 103 of file MooseBase.h.

104 {
105 mooseAssert(_name.size(), "Empty name");
106 return _name;
107 }
const std::string & _name
The name of this class.
Definition MooseBase.h:381

Referenced by AdaptivityAction::act(), AddActionComponentAction::act(), AddElementalFieldAction::act(), AddPeriodicBCAction::act(), AddTimeStepperAction::act(), CommonOutputAction::act(), CopyNodalVarsAction::act(), CSGOnlyAction::act(), DeprecatedBlockAction::act(), DisplayGhostingAction::act(), MaterialOutputAction::act(), SetupResidualDebugAction::act(), SetupTimeIntegratorAction::act(), FEProblemBase::addAnyRedistributers(), Executioner::addAttributeReporter(), FEProblemBase::addAuxKernel(), MFEMProblem::addAuxKernel(), FEProblemBase::addAuxScalarKernel(), DisplacedProblem::addAuxVariable(), FEProblemBase::addBoundaryCondition(), MFEMProblem::addBoundaryCondition(), PhysicsComponentInterface::addComponent(), FEProblemBase::addConstraint(), FEProblemBase::addConvergence(), FEProblemBase::addDamper(), FEProblemBase::addDGKernel(), FEProblemBase::addDiracKernel(), FEProblemBase::addDistribution(), MooseApp::addExecutor(), MooseApp::addExecutorParams(), MFEMProblem::addFESpace(), MFEMProblem::addFESpaceHierarchy(), FEProblemBase::addFunction(), MFEMProblem::addFunction(), SubProblem::addFunctor(), FEProblemBase::addFunctorMaterial(), MFEMProblem::addFunctorMaterial(), FunctorMaterial::addFunctorProperty(), FunctorMaterial::addFunctorPropertyByBlocks(), FEProblemBase::addFVBC(), FEProblemBase::addFVInitialCondition(), FEProblemBase::addFVInterfaceKernel(), FEProblemBase::addFVInterpolationMethod(), FEProblemBase::addFVKernel(), ADDGKernel::ADDGKernel(), FEProblemBase::addHDGKernel(), MFEMProblem::addImagComponentToBC(), MFEMProblem::addImagComponentToKernel(), FEProblemBase::addIndicator(), MFEMProblem::addIndicator(), FEProblemBase::addInitialCondition(), MFEMProblem::addInitialCondition(), FEProblemBase::addInterfaceKernel(), FEProblemBase::addInterfaceMaterial(), ElementAndTraceScalarHDGAssemblyHelper::additionalROVariables(), BoundaryIntegralValueConstraint::additionalROVariables(), DiffusionLHDGKernel::additionalROVariables(), ADKernelScalarBase::additionalROVariables(), FEProblemBase::addKernel(), MFEMProblem::addKernel(), FEProblemBase::addLinearFVBC(), FEProblemBase::addLinearFVKernel(), FEProblemBase::addMarker(), MFEMProblem::addMarker(), FEProblemBase::addMaterial(), FEProblemBase::addMaterialHelper(), ComponentMaterialPropertyInterface::addMaterials(), FEProblemBase::addMeshDivision(), MooseApp::addMeshGenerator(), ComponentJunction::addMeshGenerators(), ComponentMeshTransformHelper::addMeshGenerators(), CylinderComponent::addMeshGenerators(), MeshGenerator::addMeshSubgenerator(), MeshGenerator::addMeshSubgenerator(), MFEMProblem::addMFEMSolver(), FEProblemBase::addMultiApp(), FEProblemBase::addNodalKernel(), FEProblemBase::addObject(), InitialConditionWarehouse::addObject(), ComponentPhysicsInterface::addPhysics(), SubProblem::addPiecewiseByBlockLambdaFunctor(), FEProblemBase::addPostprocessor(), MFEMProblem::addPostprocessor(), UserObjectBase::addPostprocessorDependencyHelper(), AuxKernelBase::addPostprocessorDependencyHelper(), InitialConditionBase::addPostprocessorDependencyHelper(), FEProblemBase::addPredictor(), CreateDisplacedProblemAction::addProxyRelationshipManagers(), MFEMProblem::addQuadratureFunction(), MFEMProblem::addRealComponentToBC(), MFEMProblem::addRealComponentToKernel(), AddActionComponentAction::addRelationshipManagers(), FEProblemBase::addReporter(), FEProblemBase::addSampler(), FEProblemBase::addScalarKernel(), WebServerControl::addServerActionsInternal(), FEProblemBase::addTimeIntegrator(), FEProblemBase::addTransfer(), MFEMProblem::addTransfer(), PhysicsBase::addUserObject(), FEProblemBase::addUserObject(), UserObjectBase::addUserObjectDependencyHelper(), AuxKernelBase::addUserObjectDependencyHelper(), InitialConditionBase::addUserObjectDependencyHelper(), DisplacedProblem::addVariable(), FEProblemBase::addVectorPostprocessor(), MFEMProblem::addVectorPostprocessor(), UserObjectBase::addVectorPostprocessorDependencyHelper(), AuxKernelBase::addVectorPostprocessorDependencyHelper(), MooseLinearVariableFV< OutputType >::adError(), Output::advancedExecuteOn(), AdvancedExtruderGenerator::AdvancedExtruderGenerator(), NEML2ModelExecutor::advanceState(), MooseVariableBase::allDofIndices(), MooseApp::appBinaryName(), MooseApp::appendMeshGenerator(), MultiApp::appPostprocessorValue(), MultiApp::appProblem(), MultiApp::appProblemBase(), MultiApp::appUserObjectBase(), ArrayDGKernel::ArrayDGKernel(), ArrayParsedAux::ArrayParsedAux(), PhysicsBase::assignBlocks(), AStableDirk4::AStableDirk4(), Function::average(), MultiApp::backup(), CoarsenedPiecewiseLinear::buildCoarsenedGrid(), PiecewiseTabularInterface::buildFromFile(), PiecewiseTabularInterface::buildFromXY(), MFEMGeometricMultigridSolver::BuildMultigrid(), MooseMesh::buildNodeListFromSideList(), MultiAppVariableValueSamplePostprocessorTransfer::cacheElemToPostprocessorData(), MooseBase::callMooseError(), ChangeOverFixedPointPostprocessor::ChangeOverFixedPointPostprocessor(), ChangeOverTimePostprocessor::ChangeOverTimePostprocessor(), PhysicsBase::checkBlockRestrictionIdentical(), PhysicsBase::checkComponentType(), DefaultNonlinearConvergence::checkConvergence(), ParsedConvergence::checkConvergence(), FEProblemBase::checkDependMaterialsHelper(), TaggingInterface::checkForNans(), SamplerBase::checkForStandardFieldVariableType(), ReporterTransferInterface::checkHasReporterValue(), FEProblemBase::checkICRestartError(), NonlinearSystemBase::checkKernelCoverage(), Moose::Kokkos::Material::checkMaterialProperty(), Material::checkMaterialProperty(), MooseApp::checkMetaDataIntegrity(), Damper::checkMinDamping(), SideUserObject::checkNoInterfaceMaterialPropertyDependencies(), MultiAppTransfer::checkParentAppUserObjectExecuteOn(), Checkpoint::checkpointInfo(), FEProblemBase::checkUserObjectNameCollision(), BlockRestrictable::checkVariable(), DomainUserObject::checkVariable(), Coupleable::checkWritableVar(), MooseVariableFieldBase::componentName(), CompositeFunction::CompositeFunction(), MaterialBase::computeProperties(), FEProblemBase::computeUserObjectByName(), VectorPostprocessorVisualizationAux::computeValue(), MooseBase::connectControllableParams(), ConstantPostprocessor::ConstantPostprocessor(), Coupleable::coupledName(), CommonOutputAction::create(), MultiApp::createApp(), MooseApp::createExecutors(), MeshGeneratorSystem::createMeshGeneratorOrder(), MooseApp::createRecoverablePerfGraph(), CutMeshByPlaneGenerator::CutMeshByPlaneGenerator(), DebugResidualAux::DebugResidualAux(), MaterialBase::declareADProperty(), MFEMComplexVariable::declareCoefficients(), MFEMVariable::declareCoefficients(), MeshInfo::declareHelper(), Moose::Kokkos::MaterialBase::declareKokkosOnDemandProperty(), Moose::Kokkos::MaterialBase::declareKokkosProperty(), MeshGenerator::declareMeshesForSubByName(), MeshGenerator::declareNullMeshName(), MaterialBase::declareProperty(), DOFMapOutput::demangle(), DerivativeSumMaterialTempl< is_ad >::DerivativeSumMaterialTempl(), MooseMesh::detectPairedSidesets(), DGKernel::DGKernel(), DGKernelBase::DGKernelBase(), DomainUserObject::DomainUserObject(), DumpObjectsProblem::dumpObjectHelper(), ElementDamper::ElementDamper(), ElementGroupCentroidPositions::ElementGroupCentroidPositions(), ElementMaterialSampler::ElementMaterialSampler(), ElementValueSampler::ElementValueSampler(), EigenKernel::enabled(), MooseMesh::errorIfDistributedMesh(), SolutionUserObjectBase::evalMeshFunction(), SolutionUserObjectBase::evalMeshFunctionGradient(), SolutionUserObjectBase::evalMultiValuedMeshFunction(), SolutionUserObjectBase::evalMultiValuedMeshFunctionGradient(), GreaterThanLessThanPostprocessor::execute(), PointValue::execute(), RestartableDataReporter::execute(), MultiAppGeneralFieldTransfer::execute(), MultiAppNearestNodeTransfer::execute(), MultiAppProjectionTransfer::execute(), MultiAppUserObjectTransfer::execute(), SideValueSampler::execute(), WebServerControl::execute(), ActionWarehouse::executeActionsWithAction(), Exodus::Exodus(), ExtraIDIntegralVectorPostprocessor::ExtraIDIntegralVectorPostprocessor(), FEProblemBase::FEProblemBase(), NEML2ModelExecutor::fillInputs(), MultiApp::fillPositions(), MultiAppGeometricInterpolationTransfer::fillSourceInterpolationPoints(), PointSamplerBase::finalize(), ChainControl::fullControlDataName(), FunctionArrayAux::FunctionArrayAux(), FunctionDT::FunctionDT(), FVFunctionIC::functionName(), FunctionIC::functionName(), FunctorPositions::FunctorPositions(), FunctorSmootherTempl< T >::FunctorSmootherTempl(), FVInitialConditionTempl< T >::FVInitialConditionTempl(), FVOneVarDiffusionInterface::FVOneVarDiffusionInterface(), GapValueAux::GapValueAux(), BoundaryDeletionGenerator::generate(), BreakMeshByBlockGenerator::generate(), GeneratedMeshGenerator::generate(), ManifoldSubdomainGenerator::generate(), ParsedExtraElementIDGenerator::generate(), ParsedSubdomainGeneratorBase::generate(), RenameBlockGenerator::generate(), RenameBoundaryGenerator::generate(), RenumberBySubdomainGenerator::generate(), SideSetsFromNodeSetsGenerator::generate(), StitchBoundaryMeshGenerator::generate(), StitchMeshGenerator::generate(), SubdomainBoundingBoxGenerator::generate(), SubdomainsFromPartitionerGenerator::generate(), UniqueExtraIDMeshGenerator::generate(), MeshGenerator::generateInternal(), MeshGenerator::generateInternalCSG(), InterfaceMaterial::getADMaterialProperty(), Material::getADMaterialProperty(), MultiAppTransfer::getAppInfo(), MooseMesh::getBoundaryString(), MultiApp::getBoundingBox(), MooseBase::getCheckedPointerParam(), MooseApp::getCheckpointDirectories(), MFEMProblem::getComplexGridFunction(), Control::getControllableParameterByName(), Control::getControllableValue(), Control::getControllableValueByName(), FEProblemBase::getConvergence(), MeshGenerator::getCSGBase(), MeshGenerator::getCSGBasesByName(), UserObjectBase::getDependObjects(), FEProblemBase::getDistribution(), DistributionInterface::getDistribution(), DistributionInterface::getDistributionByName(), ElementUOProvider::getElementalValueLong(), ElementUOProvider::getElementalValueReal(), MultiApp::getExecutioner(), FEProblemBase::getExecutor(), MooseApp::getExecutor(), OutputWarehouse::getFileNumbers(), FEProblemBase::getFunction(), SubProblem::getFunctor(), FEProblemBase::getFVAdvectedInterpolationMethod(), FEProblemBase::getFVFaceInterpolationMethod(), FEProblemBase::getFVInterpolationMethod(), AuxKernelTempl< ComputeValueType >::getGenericMaterialProperty(), NodalPatchRecovery::getGenericMaterialProperty(), InterfaceMaterial::getGenericMaterialProperty(), Material::getGenericMaterialProperty(), InterfaceMaterial::getGenericNeighborMaterialProperty(), InterfaceMaterial::getGenericNeighborMaterialPropertyByName(), Material::getGenericOptionalMaterialProperty(), MaterialBase::getGenericZeroMaterialProperty(), MFEMProblem::getGridFunction(), FEProblemBase::getKokkosFunction(), FEProblemBase::getKokkosUserObject(), SolutionUserObjectBase::getLocalVarIndex(), Marker::getMarkerValue(), Material::getMaterial(), FEProblemBase::getMaterial(), Material::getMaterialByName(), AuxKernelTempl< ComputeValueType >::getMaterialProperty(), NodalPatchRecovery::getMaterialProperty(), InterfaceMaterial::getMaterialProperty(), Material::getMaterialProperty(), SubProblem::getMaterialPropertyBlockNames(), SubProblem::getMaterialPropertyBoundaryNames(), AuxKernelTempl< ComputeValueType >::getMaterialPropertyOld(), NodalPatchRecovery::getMaterialPropertyOld(), InterfaceMaterial::getMaterialPropertyOld(), Material::getMaterialPropertyOld(), AuxKernelTempl< ComputeValueType >::getMaterialPropertyOlder(), NodalPatchRecovery::getMaterialPropertyOlder(), InterfaceMaterial::getMaterialPropertyOlder(), Material::getMaterialPropertyOlder(), MFEMObject::getMatrixCoefficient(), MFEMObject::getMatrixCoefficientByName(), MeshGenerator::getMesh(), FEProblemBase::getMeshDivision(), MeshGenerator::getMeshesByName(), MooseApp::getMeshGenerator(), MeshGenerator::getMeshGeneratorNameFromParam(), MeshGenerator::getMeshGeneratorNamesFromParam(), MFEMProblem::getMFEMObject(), ActionWarehouse::getMooseAppName(), NEML2FEInterpolation::getMOOSEVariable(), MultiAppTransfer::getMultiApp(), InterfaceMaterial::getNeighborADMaterialProperty(), InterfaceMaterial::getNeighborMaterialProperty(), InterfaceMaterial::getNeighborMaterialPropertyOld(), InterfaceMaterial::getNeighborMaterialPropertyOlder(), Material::getOptionalADMaterialProperty(), Material::getOptionalMaterialProperty(), Material::getOptionalMaterialPropertyOld(), Material::getOptionalMaterialPropertyOlder(), MooseBase::getParam(), FEProblemBase::getPositionsObject(), FEProblemBase::getPostprocessorValueByName(), ComponentMaterialPropertyInterface::getPropertyValue(), ReporterData::getReporterInfo(), MFEMExecutedObject::getRequestedItems(), MooseApp::getRestartableDataMap(), MooseApp::getRestartableDataMapName(), MooseApp::getRestartableMetaData(), FEProblemBase::getSampler(), MFEMObject::getScalarCoefficient(), MFEMObject::getScalarCoefficientByName(), TimedSubdomainModifier::getSubdomainIDAndCheck(), MFEMExecutedObject::getSuppliedItems(), TransientBase::getTimeStepperName(), ProjectedStatefulMaterialStorageAction::getTypeEnum(), FEProblemBase::getUserObject(), FEProblemBase::getUserObjectBase(), MFEMObject::getVectorCoefficient(), MFEMObject::getVectorCoefficientByName(), Terminator::handleMessage(), Control::hasControllableParameterByName(), FEProblemBase::hasConvergence(), FEProblemBase::hasDistribution(), FEProblemBase::hasFunction(), SubProblem::hasFunctor(), SubProblem::hasFunctorWithType(), FEProblemBase::hasFVInterpolationMethod(), MeshInfo::hasItem(), MooseApp::hasMeshGenerator(), MFEMProblem::hasMFEMObject(), AdvancedOutput::hasOutputHelper(), FEProblemBase::hasPostprocessor(), FEProblemBase::hasPostprocessorValueByName(), MooseApp::hasRelationshipManager(), MooseApp::hasRestartableDataMap(), MooseApp::hasRestartableMetaData(), FEProblemBase::hasUserObject(), NEML2Action::inferMOOSEIOType(), AddVariableAction::init(), AdvancedOutput::init(), IterationAdaptiveDT::init(), AdvancedOutput::initAvailableLists(), MeshInfo::initCombinedInfos(), AdvancedOutput::initExecutionTypes(), AttribName::initFrom(), NestedDivision::initialize(), TransformedPositions::initialize(), BoundaryRestrictable::initializeBoundaryRestrictable(), AuxKernelBase::initialSetup(), SolutionScalarAux::initialSetup(), Console::initialSetup(), JSONOutput::initialSetup(), BoundaryLinearFVFluxIntegral::initialSetup(), NodalVariableValue::initialSetup(), SideFVFluxBCIntegral::initialSetup(), MultiAppGeneralFieldFunctorTransfer::initialSetup(), MultiAppProjectionTransfer::initialSetup(), SolutionUserObjectBase::initialSetup(), AdvancedOutput::initOutputList(), AdvancedOutput::initPostprocessorOrVectorPostprocessorLists(), MaterialBase::initStatefulProperties(), Function::integral(), InterfaceKernelTempl< T >::InterfaceKernelTempl(), MultiAppGeometricInterpolationTransfer::interpolateTargetPoints(), MeshGenerator::isChildMeshGenerator(), DerivativeMaterialInterface< T >::isNotObjectVariable(), MeshGenerator::isNullMeshName(), MooseBase::isParamSetByUser(), MooseBase::isParamValid(), MeshGenerator::isParentMeshGenerator(), LinearCombinationFunction::LinearCombinationFunction(), FEProblemBase::logAdd(), MooseLinearVariableFV< OutputType >::lowerDError(), Marker::Marker(), MaterialBase::markMatPropRequested(), Material::Material(), Distribution::median(), MemoryUsageReporter::MemoryUsageReporter(), NEML2ModelExecutor::meshChanged(), MeshGenerator::meshPropertyPrefix(), MooseBase::messagePrefix(), MFEMGeometricMultigridSolver::MFEMGeometricMultigridSolver(), MFEMScalarQuadratureFunction::MFEMScalarQuadratureFunction(), MFEMVectorQuadratureFunction::MFEMVectorQuadratureFunction(), OutputWarehouse::mooseConsole(), SolutionInvalidInterface::mooseDeprecated(), MooseVariableBase::MooseVariableBase(), MooseVariableInterface< T >::MooseVariableInterface(), SolutionInvalidInterface::mooseWarning(), SolutionInvalidInterface::mooseWarningNonPrefixed(), MultiAppGeneralFieldTransfer::MultiAppGeneralFieldTransfer(), MultiAppUserObjectTransfer::MultiAppUserObjectTransfer(), NEML2PreKernel::NEML2PreKernel(), NodalDamper::NodalDamper(), MooseLinearVariableFV< OutputType >::nodalError(), NodalPatchRecoveryAuxBase::NodalPatchRecoveryAuxBase(), NodalValueSampler::NodalValueSampler(), MeshGenerator::Comparator::operator()(), DOFMapOutput::output(), ProgressOutput::output(), Output::Output(), AdvancedOutput::outputElementalVariables(), ConsoleUtils::outputExecutionInformation(), MaterialOutputAction::outputHelper(), AdvancedOutput::outputInput(), AdvancedOutput::outputNodalVariables(), AdvancedOutput::outputPostprocessors(), Exodus::outputPostprocessors(), Nemesis::outputPostprocessors(), TableOutput::outputReporter(), AdvancedOutput::outputReporters(), AdvancedOutput::outputScalarVariables(), AdvancedOutput::outputSystemInformation(), AdvancedOutput::outputVectorPostprocessors(), SolutionInvalidInterface::paramWarning(), ParsedCurveGenerator::ParsedCurveGenerator(), ParsedODEKernel::ParsedODEKernel(), ComponentPhysicsInterface::physicsExists(), PiecewiseBilinear::PiecewiseBilinear(), PiecewiseByBlockFunctorMaterialTempl< T >::PiecewiseByBlockFunctorMaterialTempl(), PiecewiseFunction::PiecewiseFunction(), MooseApp::possiblyLoadRestartableMetaData(), MFEMExecutedObject::postprocessorDependencyKey(), PhysicsBase::prefix(), MooseMesh::prepare(), BlockRestrictionDebugOutput::printBlockRestrictionMap(), PerfGraphLivePrint::printStats(), FEProblemBase::projectInitialConditionOnCustomRange(), MooseBase::queryParam(), MultiApp::readCommandLineArguments(), Receiver::Receiver(), Executor::Result::record(), FEProblemBase::registerRandomInterface(), MooseApp::registerRestartableDataMapName(), MooseApp::registerRestartableNameWithFilter(), MaterialBase::resetQpProperties(), MultiApp::restore(), ScalarComponentIC::ScalarComponentIC(), MultiApp::setAppOutputFileBase(), FEProblemBase::setAuxKernelParamsAndLog(), MooseMesh::setBoundaryName(), Control::setControllableValue(), Control::setControllableValueByName(), OutputWarehouse::setFileNumbers(), FEProblemBase::setPostprocessorValueByName(), FEProblemBase::setResidualObjectParamsAndLog(), MooseMesh::setSubdomainName(), MooseMesh::setSubdomainName(), NodeSetsGeneratorBase::setup(), SideSetsGeneratorBase::setup(), SurfaceMeshGeneratorBase::setup(), Split::setup(), TransientMultiApp::setupApp(), NEML2Action::setupOutputMappings(), SideSetExtruderGenerator::SideSetExtruderGenerator(), TransientMultiApp::solveStep(), UserObject::spatialValue(), StitchedMesh::StitchedMesh(), SubProblem::storeBoundaryDelayedCheckMatProp(), SubProblem::storeBoundaryMatPropName(), MaterialBase::storeBoundaryZeroMatProp(), SubProblem::storeBoundaryZeroMatProp(), SubProblem::storeSubdomainDelayedCheckMatProp(), SubProblem::storeSubdomainMatPropName(), MaterialBase::storeSubdomainZeroMatProp(), SubProblem::storeSubdomainZeroMatProp(), ConstraintWarehouse::subdomainsCovered(), MaterialBase::subdomainSetup(), SumPostprocessor::SumPostprocessor(), MFEMPostprocessor::suppliedPostprocessorName(), MFEMVectorPostprocessor::suppliedVectorPostprocessorName(), NEML2FEInterpolation::syncWithMainThread(), TaggingInterface::TaggingInterface(), MooseLinearVariableFV< OutputType >::timeIntegratorError(), VectorPostprocessorVisualizationAux::timestepSetup(), ElementSubdomainModifierBase::timestepSetup(), to_json(), MultiAppDofCopyTransfer::transfer(), MultiAppShapeEvaluationTransfer::transferVariable(), MultiAppMFEMCopyTransfer::transferVariables(), MultiAppMFEMShapeEvaluationTransfer::transferVariables(), TransientMultiApp::TransientMultiApp(), MooseBase::typeAndName(), MooseBase::uniqueParameterName(), FVQpFluxBC::uOnGhost(), FVQpFluxBC::uOnUSub(), UserObjectBase::UserObjectBase(), UserObjectInterface::userObjectName(), ParsedAux::validateGenericVectorNames(), MeshInfo::validParams(), MFEMExecutedObject::variableDependencyKey(), PhysicsBase::variableExists(), MultiAppTransfer::variableIntegrityCheck(), VectorMagnitudeFunctorMaterialTempl< is_ad >::VectorMagnitudeFunctorMaterialTempl(), MFEMExecutedObject::vectorPostprocessorDependencyKey(), Convergence::verboseOutput(), AdvancedOutput::wantOutput(), Coupleable::writableCoupledValue(), Coupleable::writableVariable(), Console::write(), and MooseApp::writeRestartableMetaData().

◆ needsGradientVectorStorage()

virtual bool MooseVariableFieldBase::needsGradientVectorStorage ( ) const
inlinevirtualinherited

Check if this variable needs a raw vector of gradients at dof-values.

This is mainly used for finite volume variables.

Reimplemented in MooseLinearVariableFV< OutputType >, MooseLinearVariableFV< ComputeValueType >, MooseLinearVariableFV< Real >, MooseLinearVariableFV< RealEigenVector >, MooseLinearVariableFV< RealVectorValue >, and MooseLinearVariableFV< T >.

Definition at line 120 of file MooseVariableFieldBase.h.

120{ return false; }

◆ neighbor()

const Elem *const & MooseVariableFE< Real >::neighbor ( ) const
inlineinherited

Current neighboring element.

Definition at line 175 of file MooseVariableFE.h.

175{ return _neighbor_data->currentElem(); }

◆ nodalDofIndex()

const dof_id_type & MooseVariableFE< Real >::nodalDofIndex ( ) const
inlineoverridevirtualinherited

Implements MooseVariableFieldBase.

Definition at line 155 of file MooseVariableFE.h.

155{ return _element_data->nodalDofIndex(); }

◆ nodalDofIndexNeighbor()

const dof_id_type & MooseVariableFE< Real >::nodalDofIndexNeighbor ( ) const
inlineoverridevirtualinherited

Implements MooseVariableFieldBase.

Definition at line 159 of file MooseVariableFE.h.

160 {
161 return _neighbor_data->nodalDofIndex();
162 }

◆ nodalMatrixTagValue()

const MooseVariableFE< Real >::DofValues & MooseVariableFE< Real >::nodalMatrixTagValue ( TagID  tag) const
overridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 701 of file MooseVariableFE.C.

591{
592 return _element_data->nodalMatrixTagValue(tag);
593}

◆ nodalValue()

const Real & MooseVariableFE< Real >::nodalValue ( ) const
inherited

Methods for retrieving values of variables at the nodes.

Definition at line 664 of file MooseVariableFE.C.

570{
571 return _element_data->nodalValue(Moose::Current);
572}

◆ nodalValueArray()

const MooseArray< Real > & MooseVariableFE< Real >::nodalValueArray ( ) const
inlineoverridevirtualinherited

Methods for retrieving values of variables at the nodes in a MooseArray for AuxKernelBase.

Implements MooseVariableField< OutputType >.

Definition at line 687 of file MooseVariableFE.h.

688 {
689 return _element_data->nodalValueArray(Moose::Current);
690 }

◆ nodalValueDot()

const Real & MooseVariableFE< Real >::nodalValueDot ( ) const
inherited

Definition at line 668 of file MooseVariableFE.C.

640{
641 return _element_data->nodalValueDot();
642}

◆ nodalValueDotDot()

const Real & MooseVariableFE< Real >::nodalValueDotDot ( ) const
inherited

Definition at line 669 of file MooseVariableFE.C.

647{
648 return _element_data->nodalValueDotDot();
649}

◆ nodalValueDotDotNeighbor()

const Real & MooseVariableFE< Real >::nodalValueDotDotNeighbor ( ) const
inherited

◆ nodalValueDotDotNeighborResidual()

const Real & MooseVariableFE< Real >::nodalValueDotDotNeighborResidual ( ) const
inherited

◆ nodalValueDotDotOld()

const Real & MooseVariableFE< Real >::nodalValueDotDotOld ( ) const
inherited

Definition at line 671 of file MooseVariableFE.C.

661{
662 return _element_data->nodalValueDotDotOld();
663}

◆ nodalValueDotDotOldNeighbor()

const Real & MooseVariableFE< Real >::nodalValueDotDotOldNeighbor ( ) const
inherited

◆ nodalValueDotNeighbor()

const Real & MooseVariableFE< Real >::nodalValueDotNeighbor ( ) const
inherited

◆ nodalValueDotNeighborResidual()

const Real & MooseVariableFE< Real >::nodalValueDotNeighborResidual ( ) const
inherited

◆ nodalValueDotOld()

const Real & MooseVariableFE< Real >::nodalValueDotOld ( ) const
inherited

Definition at line 670 of file MooseVariableFE.C.

654{
655 return _element_data->nodalValueDotOld();
656}

◆ nodalValueDotOldNeighbor()

const Real & MooseVariableFE< Real >::nodalValueDotOldNeighbor ( ) const
inherited

◆ nodalValueDuDotDotDu()

const Real & MooseVariableFE< Real >::nodalValueDuDotDotDu ( ) const
inherited

◆ nodalValueDuDotDotDuNeighbor()

const Real & MooseVariableFE< Real >::nodalValueDuDotDotDuNeighbor ( ) const
inherited

◆ nodalValueDuDotDu()

const Real & MooseVariableFE< Real >::nodalValueDuDotDu ( ) const
inherited

◆ nodalValueDuDotDuNeighbor()

const Real & MooseVariableFE< Real >::nodalValueDuDotDuNeighbor ( ) const
inherited

◆ nodalValueNeighbor()

const Real & MooseVariableFE< Real >::nodalValueNeighbor ( ) const
inherited

Definition at line 674 of file MooseVariableFE.C.

577{
578 return _neighbor_data->nodalValue(Moose::Current);
579}

◆ nodalValueOld()

const Real & MooseVariableFE< Real >::nodalValueOld ( ) const
inherited

Definition at line 665 of file MooseVariableFE.C.

598{
599 return _element_data->nodalValue(Moose::Old);
600}

◆ nodalValueOldArray()

const MooseArray< Real > & MooseVariableFE< Real >::nodalValueOldArray ( ) const
inlineoverridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 691 of file MooseVariableFE.h.

692 {
693 return _element_data->nodalValueArray(Moose::Old);
694 }

◆ nodalValueOlder()

const Real & MooseVariableFE< Real >::nodalValueOlder ( ) const
inherited

Definition at line 666 of file MooseVariableFE.C.

612{
613 return _element_data->nodalValue(Moose::Older);
614}

◆ nodalValueOlderArray()

const MooseArray< Real > & MooseVariableFE< Real >::nodalValueOlderArray ( ) const
inlineoverridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 695 of file MooseVariableFE.h.

696 {
697 return _element_data->nodalValueArray(Moose::Older);
698 }

◆ nodalValueOlderNeighbor()

const Real & MooseVariableFE< Real >::nodalValueOlderNeighbor ( ) const
inherited

Definition at line 676 of file MooseVariableFE.C.

619{
620 return _neighbor_data->nodalValue(Moose::Older);
621}

◆ nodalValueOldNeighbor()

const Real & MooseVariableFE< Real >::nodalValueOldNeighbor ( ) const
inherited

Definition at line 675 of file MooseVariableFE.C.

605{
606 return _neighbor_data->nodalValue(Moose::Old);
607}

◆ nodalValuePreviousNL()

const Real & MooseVariableFE< Real >::nodalValuePreviousNL ( ) const
inherited

Definition at line 667 of file MooseVariableFE.C.

626{
627 return _element_data->nodalValue(Moose::PreviousNL);
628}

◆ nodalValuePreviousNLNeighbor()

const Real & MooseVariableFE< Real >::nodalValuePreviousNLNeighbor ( ) const
inherited

Definition at line 677 of file MooseVariableFE.C.

633{
634 return _neighbor_data->nodalValue(Moose::PreviousNL);
635}

◆ nodalVectorTagValue()

const MooseVariableFE< Real >::DofValues & MooseVariableFE< Real >::nodalVectorTagValue ( TagID  tag) const
overridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 700 of file MooseVariableFE.C.

584{
585 return _element_data->nodalVectorTagValue(tag);
586}

◆ node()

const Node *const & MooseVariableFE< Real >::node ( ) const
inlineinherited

Definition at line 154 of file MooseVariableFE.h.

154{ return _element_data->node(); }

◆ nodeNeighbor()

const Node *const & MooseVariableFE< Real >::nodeNeighbor ( ) const
inlineinherited

Definition at line 158 of file MooseVariableFE.h.

158{ return _neighbor_data->node(); }

◆ number()

unsigned int MooseVariableBase::number ( ) const
inlineinherited

Get variable number coming from libMesh.

Returns
the libmesh variable number

Definition at line 60 of file MooseVariableBase.h.

60{ return _var_num; }

Referenced by AdaptivityAction::act(), Assembly::addJacobianCoupledVarPair(), Assembly::addJacobianLowerD(), Assembly::addJacobianNeighbor(), Assembly::addJacobianNeighborLowerD(), Assembly::addJacobianNonlocal(), EigenProblem::adjustEigenVector(), ArrayCoupledForce::ArrayCoupledForce(), Assembly::cacheJacobianBlock(), Assembly::cacheJacobianBlockNonzero(), Assembly::cacheJacobianCoupledVarPair(), Assembly::cacheJacobianMortar(), Assembly::cacheJacobianNeighbor(), Assembly::cacheJacobianNonlocal(), ComputeJacobianThread::compute(), ComputeJacobianThread::compute(), ComputeJacobianThread::compute(), ComputeJacobianThread::compute(), ElemElemConstraint::computeElemNeighJacobian(), ArrayDGKernel::computeElemNeighJacobian(), DGKernel::computeElemNeighJacobian(), ElemElemConstraint::computeElemNeighResidual(), ArrayDGKernel::computeElemNeighResidual(), DGKernel::computeElemNeighResidual(), ADDGKernel::computeElemNeighResidual(), InternalSideIndicatorBase::computeIndicator(), ArrayIntegratedBC::computeJacobian(), IntegratedBC::computeJacobian(), NonlocalIntegratedBC::computeJacobian(), VectorIntegratedBC::computeJacobian(), NodeElemConstraint::computeJacobian(), NodeFaceConstraint::computeJacobian(), ArrayKernel::computeJacobian(), EigenKernel::computeJacobian(), Kernel::computeJacobian(), KernelGrad::computeJacobian(), KernelValue::computeJacobian(), MassLumpedTimeDerivative::computeJacobian(), NonlocalKernel::computeJacobian(), ODEKernel::computeJacobian(), TimeDerivative::computeJacobian(), VectorKernel::computeJacobian(), VectorTimeDerivative::computeJacobian(), NodalEqualValueConstraint::computeJacobian(), ScalarKernel::computeJacobian(), FVFluxBC::computeJacobian(), FVFluxKernel::computeJacobian(), FVBoundaryScalarLagrangeMultiplierConstraint::computeJacobian(), MortarConstraint::computeJacobian(), ArrayDGLowerDKernel::computeLowerDJacobian(), DGLowerDKernel::computeLowerDJacobian(), ArrayLowerDIntegratedBC::computeLowerDJacobian(), LowerDIntegratedBC::computeLowerDJacobian(), ArrayLowerDIntegratedBC::computeLowerDOffDiagJacobian(), LowerDIntegratedBC::computeLowerDOffDiagJacobian(), ArrayLowerDIntegratedBC::computeLowerDQpOffDiagJacobian(), ArrayDGLowerDKernel::computeLowerDQpOffDiagJacobian(), ArrayHFEMDirichletBC::computeLowerDQpOffDiagJacobian(), HFEMDirichletBC::computeLowerDQpOffDiagJacobian(), ArrayDGLowerDKernel::computeLowerDResidual(), DGLowerDKernel::computeLowerDResidual(), NonlocalIntegratedBC::computeNonlocalJacobian(), NonlocalKernel::computeNonlocalJacobian(), NonlocalIntegratedBC::computeNonlocalOffDiagJacobian(), NonlocalKernel::computeNonlocalOffDiagJacobian(), ArrayDGKernel::computeOffDiagElemNeighJacobian(), DGKernel::computeOffDiagElemNeighJacobian(), ArrayIntegratedBC::computeOffDiagJacobian(), BoundaryIntegralValueConstraint::computeOffDiagJacobian(), IntegratedBC::computeOffDiagJacobian(), LowerDIntegratedBC::computeOffDiagJacobian(), NodalBC::computeOffDiagJacobian(), NonlocalIntegratedBC::computeOffDiagJacobian(), VectorIntegratedBC::computeOffDiagJacobian(), VectorNodalBC::computeOffDiagJacobian(), NodeElemConstraint::computeOffDiagJacobian(), NodeFaceConstraint::computeOffDiagJacobian(), DGLowerDKernel::computeOffDiagJacobian(), ADKernelScalarBase::computeOffDiagJacobian(), ArrayKernel::computeOffDiagJacobian(), EigenKernel::computeOffDiagJacobian(), Kernel::computeOffDiagJacobian(), KernelGrad::computeOffDiagJacobian(), KernelValue::computeOffDiagJacobian(), NonlocalKernel::computeOffDiagJacobian(), VectorKernel::computeOffDiagJacobian(), ArrayNodalKernel::computeOffDiagJacobian(), NodalKernel::computeOffDiagJacobian(), ADDGKernel::computeOffDiagJacobian(), ADNodalKernel::computeOffDiagJacobian(), ArrayIntegratedBC::computeOffDiagJacobianScalar(), BoundaryIntegralValueConstraint::computeOffDiagJacobianScalar(), IntegratedBC::computeOffDiagJacobianScalar(), VectorIntegratedBC::computeOffDiagJacobianScalar(), ArrayKernel::computeOffDiagJacobianScalar(), Kernel::computeOffDiagJacobianScalar(), NodalScalarKernel::computeOffDiagJacobianScalar(), ODEKernel::computeOffDiagJacobianScalar(), ScalarLagrangeMultiplier::computeOffDiagJacobianScalar(), VectorKernel::computeOffDiagJacobianScalar(), ArrayDGLowerDKernel::computeOffDiagLowerDJacobian(), DGLowerDKernel::computeOffDiagLowerDJacobian(), ComputeFullJacobianThread::computeOnBoundary(), ComputeFullJacobianThread::computeOnElement(), ComputeFullJacobianThread::computeOnInterface(), ComputeFullJacobianThread::computeOnInternalFace(), OldEqualValueConstraint::computeQpJacobian(), CoupledTiedValueConstraint::computeQpJacobian(), TiedValueConstraint::computeQpJacobian(), ArrayIntegratedBC::computeQpOffDiagJacobian(), ArrayKernel::computeQpOffDiagJacobian(), ArrayCoupledForce::computeQpOffDiagJacobian(), ArrayCoupledTimeDerivative::computeQpOffDiagJacobian(), ArrayDiffusion::computeQpOffDiagJacobian(), ArrayReaction::computeQpOffDiagJacobian(), ArrayTimeDerivative::computeQpOffDiagJacobian(), ArrayDGKernel::computeQpOffDiagJacobian(), ArrayNodalBC::computeQpOffDiagJacobian(), CoupledTiedValueConstraint::computeQpResidual(), TiedValueConstraint::computeQpResidual(), ArrayIntegratedBC::computeResidual(), ArrayLowerDIntegratedBC::computeResidual(), IntegratedBC::computeResidual(), LowerDIntegratedBC::computeResidual(), VectorIntegratedBC::computeResidual(), NodeElemConstraint::computeResidual(), NodeFaceConstraint::computeResidual(), ADDiracKernel::computeResidual(), FVElementalKernel::computeResidual(), ADArrayKernel::computeResidual(), ArrayKernel::computeResidual(), EigenKernel::computeResidual(), Kernel::computeResidual(), KernelGrad::computeResidual(), KernelValue::computeResidual(), ODEKernel::computeResidual(), ODETimeKernel::computeResidual(), TimeKernel::computeResidual(), VectorKernel::computeResidual(), VectorTimeKernel::computeResidual(), ADScalarKernel::computeResidual(), NodalEqualValueConstraint::computeResidual(), ScalarKernel::computeResidual(), FVScalarLagrangeMultiplierConstraint::computeResidual(), FVFluxBC::computeResidual(), FVInterfaceKernel::computeResidual(), FVFluxKernel::computeResidual(), FVBoundaryScalarLagrangeMultiplierConstraint::computeResidual(), FVScalarLagrangeMultiplierInterface::computeResidual(), ADMortarConstraint::computeResidual(), MortarConstraint::computeResidual(), BoundaryIntegralValueConstraint::computeResidualAndJacobian(), IntegratedBC::computeResidualAndJacobian(), NodalBC::computeResidualAndJacobian(), Kernel::computeResidualAndJacobian(), MortarScalarBase::computeScalarOffDiagJacobian(), PenaltyPeriodicSegmentalConstraint::computeScalarQpOffDiagJacobian(), PeriodicSegmentalConstraint::computeScalarQpOffDiagJacobian(), DebugResidualAux::computeValue(), ProjectionAux::computeValue(), ConservativeAdvectionTempl< is_ad >::ConservativeAdvectionTempl(), CoupledForceNodalKernel::CoupledForceNodalKernel(), CoupledForceTempl< is_ad >::CoupledForceTempl(), ScalarCoupleable::coupledScalar(), VariableResidual::execute(), NodalNormalsCorner::execute(), NodalNormalsEvaluator::execute(), NodalNormalsPreprocessor::execute(), MultiAppMFEMTolibMeshShapeEvaluationTransfer::extractlibMeshNodePositions(), InternalSideIndicatorBase::finalize(), BoundsBase::getDoFIndex(), FVBoundaryCondition::hasFaceSide(), HDGKernel::HDGKernel(), LazyCoupleable::init(), NodalNormalsPreprocessor::initialize(), AuxKernelBase::initialSetup(), MultiAppGeneralFieldNearestLocationTransfer::initialSetup(), ArrayKernel::initQpOffDiagJacobian(), MooseMesh::isTranslatedPeriodic(), LowerBoundNodalKernel::LowerBoundNodalKernel(), PNGOutput::makeMeshFunc(), MatCoupledForce::MatCoupledForce(), MatReactionTempl< is_ad >::MatReactionTempl(), MooseMesh::minPeriodicDistance(), MooseMesh::minPeriodicVector(), MooseStaticCondensationPreconditioner::MooseStaticCondensationPreconditioner(), ComputeDiracThread::onElement(), ComputeNodalKernelBCJacobiansThread::onNode(), ComputeNodalKernelJacobiansThread::onNode(), ComputeLinearFVGreenGaussGradientVolumeThread::operator()(), ComputeLinearFVLimitedGradientThread::operator()(), ComputeLinearFVGreenGaussGradientFaceThread::operator()(), Assembly::prepareBlock(), Assembly::prepareBlockNonlocal(), Assembly::prepareJacobianBlock(), Assembly::prepareLowerD(), Assembly::prepareNeighbor(), Assembly::prepareNonlocal(), Assembly::prepareVariable(), Assembly::prepareVariableNonlocal(), MultiAppMFEMTolibMeshShapeEvaluationTransfer::projectlibMeshNodalValues(), MultiAppProjectionTransfer::projectSolution(), MooseMesh::queryPeriodicDimensions(), MooseVariableScalar::reinit(), FVInterfaceKernel::setupData(), NonlinearSystemBase::setupScalingData(), ElementSubdomainModifierBase::storeOverriddenDofValues(), MultiAppDofCopyTransfer::transferDofObject(), FVQpFluxBC::uOnGhost(), FVQpFluxBC::uOnUSub(), FVFluxBC::updateCurrentFace(), UpperBoundNodalKernel::UpperBoundNodalKernel(), VariableCondensationPreconditioner::VariableCondensationPreconditioner(), NodalDamper::variableDefinedOnNode(), and MortarConstraintBase::zeroInactiveLMDofs().

◆ numberOfDofs()

unsigned int MooseVariableFE< Real >::numberOfDofs ( ) const
inlinefinalvirtualinherited

Get the number of local DoFs.

Reimplemented from MooseVariableBase.

Definition at line 180 of file MooseVariableFE.h.

180{ return _element_data->numberOfDofs(); }

◆ numberOfDofsNeighbor()

unsigned int MooseVariableFE< Real >::numberOfDofsNeighbor ( )
inlineoverridevirtualinherited

Implements MooseVariableFieldBase.

Definition at line 192 of file MooseVariableFE.h.

192{ return _neighbor_data->dofIndices().size(); }

◆ numBlocks()

unsigned int BlockRestrictable::numBlocks ( ) const
inherited

Return the number of blocks for this object.

Returns
The number of subdomains

Definition at line 218 of file BlockRestrictable.C.

219{
220 return (unsigned int)_blk_ids.size();
221}

Referenced by ElementCentroidPositions::initialize(), and QuadraturePointsPositions::initialize().

◆ numKokkosBlockElements()

KOKKOS_FUNCTION dof_id_type BlockRestrictable::numKokkosBlockElements ( ) const
inlineprotectedinherited

Get the number of elements this Kokkos object is operating on.

Returns
The number of elements local to this process

Definition at line 261 of file BlockRestrictable.h.

261{ return _kokkos_element_ids.size(); }
KOKKOS_FUNCTION index_type size() const
Get the total array size.

Referenced by Moose::Kokkos::ElementReducer::numReducerThreads(), and Moose::Kokkos::ElementUserObject::numUserObjectThreads().

◆ numKokkosBlockNodes()

KOKKOS_FUNCTION dof_id_type BlockRestrictable::numKokkosBlockNodes ( ) const
inlineprotectedinherited

Get the number of nodes this Kokkos object is operating on.

Returns
The number of nodes local to this process

Definition at line 266 of file BlockRestrictable.h.

266{ return _kokkos_node_ids.size(); }

Referenced by Moose::Kokkos::NodalReducer::numReducerThreads(), and Moose::Kokkos::NodalUserObject::numUserObjectThreads().

◆ numKokkosBlockSides()

KOKKOS_FUNCTION dof_id_type BlockRestrictable::numKokkosBlockSides ( ) const
inlineprotectedinherited

Get the number of sides this Kokkos object is operating on.

Returns
The number of sides local to this process

Definition at line 271 of file BlockRestrictable.h.

272 {
274 }

◆ oldestSolutionStateRequested()

unsigned int MooseVariableFE< Real >::oldestSolutionStateRequested ( ) const
finaloverridevirtualinherited

The oldest solution state that is requested for this variable (0 = current, 1 = old, 2 = older, etc).

Implements MooseVariableFieldBase.

Definition at line 708 of file MooseVariableFE.C.

843{
844 unsigned int state = 0;
845 state = std::max(state, _element_data->oldestSolutionStateRequested());
846 state = std::max(state, _neighbor_data->oldestSolutionStateRequested());
847 state = std::max(state, _lower_data->oldestSolutionStateRequested());
848 return state;
849}

◆ operator()() [1/6]

FunctorBase< Moose::ADType< OutputType >::type >::ValueType Moose::FunctorBase< Moose::ADType< OutputType >::type >::operator() ( const ElemArg elem,
const StateArg state 
) const
inherited

Same as their evaluate overloads with the same arguments but allows for caching implementation.

These are the methods a user will call in their code

Definition at line 183 of file MooseFunctor.h.

604{
605 if (_always_evaluate)
606 return evaluate(elem, state);
607
608 mooseAssert(state.state == 0,
609 "Cached evaluations are only currently supported for the current state.");
610
611 return queryFVArgCache(_elem_arg_to_value, elem);
612}
T evaluate(Real, const Point &)
The general evaluation method is not defined.
ValueType queryFVArgCache(std::map< SpaceArg, ValueType > &cache_data, const SpaceArg &space) const
check a finite volume spatial argument cache and if invalid then evaluate

◆ operator()() [2/6]

FunctorBase< Moose::ADType< OutputType >::type >::ValueType Moose::FunctorBase< Moose::ADType< OutputType >::type >::operator() ( const ElemPointArg elem_point,
const StateArg state 
) const
inherited

Definition at line 187 of file MooseFunctor.h.

714{
715 return evaluate(elem_point, state);
716}

◆ operator()() [3/6]

FunctorBase< Moose::ADType< OutputType >::type >::ValueType Moose::FunctorBase< Moose::ADType< OutputType >::type >::operator() ( const ElemQpArg qp,
const StateArg state 
) const
inherited

Definition at line 185 of file MooseFunctor.h.

663{
664 if (_always_evaluate)
665 return evaluate(elem_qp, state);
666
667 const auto elem_id = elem_qp.elem->id();
668 if (elem_id != _current_qp_map_key)
669 {
670 _current_qp_map_key = elem_id;
672 }
673 auto & qp_data = *_current_qp_map_value;
674 const auto qp = elem_qp.qp;
675 const auto * const qrule = elem_qp.qrule;
676 mooseAssert(qrule, "qrule must be non-null");
677
678 return queryQpCache(qp, *qrule, qp_data, elem_qp, state);
679}
ValueType queryQpCache(unsigned int qp, const libMesh::QBase &qrule, std::vector< std::pair< bool, Moose::ADType< OutputType >::type > > &qp_cache_data, const SpaceArg &space, const StateArg &state) const
check a qp cache and if invalid then evaluate

◆ operator()() [4/6]

FunctorBase< Moose::ADType< OutputType >::type >::ValueType Moose::FunctorBase< Moose::ADType< OutputType >::type >::operator() ( const ElemSideQpArg qp,
const StateArg state 
) const
inherited

Definition at line 186 of file MooseFunctor.h.

684{
685 if (_always_evaluate)
686 return evaluate(elem_side_qp, state);
687
688 const Elem * const elem = elem_side_qp.elem;
689 mooseAssert(elem, "elem must be non-null");
690 const auto elem_id = elem->id();
691 if (elem_id != _current_side_qp_map_key)
692 {
693 _current_side_qp_map_key = elem_id;
695 }
696 auto & side_qp_data = *_current_side_qp_map_value;
697 const auto side = elem_side_qp.side;
698 const auto qp = elem_side_qp.qp;
699 const auto * const qrule = elem_side_qp.qrule;
700 mooseAssert(qrule, "qrule must be non-null");
701
702 // Check and see whether we even have sized for this side
703 if (side >= side_qp_data.size())
704 side_qp_data.resize(elem->n_sides());
705
706 // Ok we were sized enough for our side
707 auto & qp_data = side_qp_data[side];
708 return queryQpCache(qp, *qrule, qp_data, elem_side_qp, state);
709}

◆ operator()() [5/6]

FunctorBase< Moose::ADType< OutputType >::type >::ValueType Moose::FunctorBase< Moose::ADType< OutputType >::type >::operator() ( const FaceArg face,
const StateArg state 
) const
inherited

Definition at line 184 of file MooseFunctor.h.

617{
618 checkFace(face_in);
619
620 if (_always_evaluate)
621 return evaluate(face_in, state);
622
623 mooseAssert(state.state == 0,
624 "Cached evaluations are only currently supported for the current state.");
625
626 return queryFVArgCache(_face_arg_to_value, face_in);
627}

◆ operator()() [6/6]

FunctorBase< Moose::ADType< OutputType >::type >::ValueType Moose::FunctorBase< Moose::ADType< OutputType >::type >::operator() ( const NodeArg node,
const StateArg state 
) const
inherited

Definition at line 188 of file MooseFunctor.h.

731{
732 mooseAssert(node.subdomain_ids, "Subdomain IDs must be supplied to the node argument");
733 return evaluate(node, state);
734}

◆ order()

Order MooseVariableBase::order ( ) const
inherited

Get the order of this variable Note: Order enum can be implicitly converted to unsigned int.

Definition at line 169 of file MooseVariableBase.C.

170{
171 return _fe_type.order;
172}

Referenced by BoundaryIntegralValueConstraint::BoundaryIntegralValueConstraint(), FEProblemBase::checkDisplacementOrders(), AuxScalarKernel::compute(), ScalarInitialCondition::compute(), ADScalarKernel::computeADJacobian(), ODEKernel::computeJacobian(), FVBoundaryScalarLagrangeMultiplierConstraint::computeJacobian(), FVScalarLagrangeMultiplierConstraint::computeOffDiagJacobian(), MortarScalarBase::computeOffDiagJacobianScalar(), IntegratedBC::computeOffDiagJacobianScalar(), VectorIntegratedBC::computeOffDiagJacobianScalar(), Kernel::computeOffDiagJacobianScalar(), ODEKernel::computeOffDiagJacobianScalar(), ScalarLagrangeMultiplier::computeOffDiagJacobianScalar(), VectorKernel::computeOffDiagJacobianScalar(), KernelScalarBase::computeOffDiagJacobianScalarLocal(), DGFunctionDiffusionDirichletBC::computeQpJacobian(), ArrayDGDiffusion::computeQpJacobian(), DGDiffusion::computeQpJacobian(), ArrayIntegratedBC::computeQpOffDiagJacobianScalar(), ArrayKernel::computeQpOffDiagJacobianScalar(), DGFunctionDiffusionDirichletBC::computeQpResidual(), ADDGDiffusion::computeQpResidual(), DGDiffusion::computeQpResidual(), ODEKernel::computeResidual(), ODETimeKernel::computeResidual(), ADScalarKernel::computeResidual(), ScalarKernel::computeResidual(), FVScalarLagrangeMultiplierConstraint::computeResidual(), FVBoundaryScalarLagrangeMultiplierConstraint::computeResidual(), MortarScalarBase::computeScalarOffDiagJacobianScalar(), KernelScalarBase::computeScalarOffDiagJacobianScalar(), ProjectionAux::computeValue(), ScalarCoupleable::coupledScalarOrder(), MultiAppPostprocessorToAuxScalarTransfer::execute(), FunctionScalarAux::FunctionScalarAux(), GapValueAux::GapValueAux(), ArrayDGDiffusion::initQpResidual(), NodalPatchRecovery::NodalPatchRecovery(), FEProblemBase::projectInitialConditionOnCustomRange(), ProjectionAux::ProjectionAux(), FEProblemBase::projectSolution(), and ScalarComponentIC::ScalarComponentIC().

◆ paramError()

template<typename... Args>
void MooseBase::paramError ( const std::string &  param,
Args...  args 
) const
inherited

Emits an error prefixed with the file and line number of the given param (from the input file) along with the full parameter path+name followed by the given args as the message.

If this object's parameters were not created directly by the Parser, then this function falls back to the normal behavior of mooseError - only printing a message using the given args.

Definition at line 457 of file MooseBase.h.

458{
459 _pars.paramError(param, std::forward<Args>(args)...);
460}
void paramError(const std::string &param, Args... args) const
Emits a parameter error prefixed with the parameter location and object information if available.

Referenced by HierarchicalGridPartitioner::_do_partition(), AutoCheckpointAction::act(), CommonOutputAction::act(), SetupDebugAction::act(), DiffusionCG::addFEKernels(), DiffusionFV::addFVKernels(), NEML2ModelExecutor::addGatheredParameter(), NEML2ModelExecutor::addGatheredVariable(), ADDGKernel::ADDGKernel(), ComponentJunction::addMeshGenerators(), CylinderComponent::addMeshGenerators(), ReporterPointSource::addPoints(), ADIntegratedBCTempl< T >::ADIntegratedBCTempl(), ADKernelTempl< T >::ADKernelTempl(), ADPenaltyPeriodicSegmentalConstraint::ADPenaltyPeriodicSegmentalConstraint(), ADPeriodicSegmentalConstraint::ADPeriodicSegmentalConstraint(), AdvancedExtruderGenerator::AdvancedExtruderGenerator(), AdvectiveFluxAux::AdvectiveFluxAux(), AnnularMesh::AnnularMesh(), AnnularMeshGenerator::AnnularMeshGenerator(), ArrayBodyForce::ArrayBodyForce(), ArrayCoupledForce::ArrayCoupledForce(), ArrayDGKernel::ArrayDGKernel(), ArrayDGLowerDKernel::ArrayDGLowerDKernel(), ArrayDirichletBC::ArrayDirichletBC(), ArrayHFEMDirichletBC::ArrayHFEMDirichletBC(), ArrayIntegratedBC::ArrayIntegratedBC(), ArrayKernel::ArrayKernel(), ArrayLowerDIntegratedBC::ArrayLowerDIntegratedBC(), ArrayParsedAux::ArrayParsedAux(), ArrayPenaltyDirichletBC::ArrayPenaltyDirichletBC(), ArrayReactionNodalKernelTempl< is_ad >::ArrayReactionNodalKernelTempl(), ArrayVacuumBC::ArrayVacuumBC(), ArrayVarReductionAux::ArrayVarReductionAux(), ParsedSubdomainIDsGenerator::assignElemSubdomainID(), AuxKernelBase::AuxKernelBase(), BatchMeshGeneratorAction::BatchMeshGeneratorAction(), BlockDeletionGenerator::BlockDeletionGenerator(), BlockWeightedPartitioner::BlockWeightedPartitioner(), BoundaryIntegralValueConstraint::BoundaryIntegralValueConstraint(), BoundaryLinearFVFluxIntegral::BoundaryLinearFVFluxIntegral(), BoundsBase::BoundsBase(), BreakMeshByBlockGenerator::BreakMeshByBlockGenerator(), BSplineCurveGenerator::BSplineCurveGenerator(), BuildArrayVariableAux::BuildArrayVariableAux(), MFEMFESpaceHierarchy::buildHierarchy(), MFEMMesh::buildMesh(), MFEMGeometricMultigridSolver::BuildMultigrid(), TimeSequenceStepperBase::buildSequence(), CartesianGridDivision::CartesianGridDivision(), CartesianMeshGenerator::CartesianMeshGenerator(), checkComponent(), Moose::Kokkos::ParsedObjectBase::checkDuplicateSymbols(), SamplerBase::checkForStandardFieldVariableType(), MeshGenerator::checkGetMesh(), ComponentInitialConditionInterface::checkInitialConditionsAllRequested(), BatchMeshGeneratorAction::checkInputParameterType(), PhysicsBase::checkIntegrityEarly(), SideUserObject::checkNoInterfaceMaterialPropertyDependencies(), PostprocessorInterface::checkParam(), FEProblemBase::checkProblemIntegrity(), MultiAppReporterTransfer::checkSiblingsTransferSupported(), MFEMMultiAppTransfer::checkValidTransferProblemTypes(), Coupleable::checkVar(), MultiAppTransfer::checkVariable(), CircularBoundaryCorrectionGenerator::CircularBoundaryCorrectionGenerator(), CircularBoundaryCorrectionGenerator::circularCenterCalculator(), MultiAppGeneralFieldTransfer::closestToPosition(), CoarsenBlockGenerator::CoarsenBlockGenerator(), CombinedVectorPostprocessor::CombinedVectorPostprocessor(), CombinerGenerator::CombinerGenerator(), ComponentInitialConditionInterface::ComponentInitialConditionInterface(), ComponentJunction::ComponentJunction(), ComponentMaterialPropertyInterface::ComponentMaterialPropertyInterface(), CompositionDT::CompositionDT(), ConcentricCircleMeshGenerator::ConcentricCircleMeshGenerator(), LibtorchNeuralNetControl::conditionalParameterError(), ConservativeAdvectionBCTempl< is_ad >::ConservativeAdvectionBCTempl(), ConservativeAdvectionTempl< is_ad >::ConservativeAdvectionTempl(), ConstantVectorPostprocessor::ConstantVectorPostprocessor(), ContainsPointAux::ContainsPointAux(), CopyValueAux::CopyValueAux(), MultiAppGeneralFieldTransfer::correctSolutionVectorValues(), Coupleable::Coupleable(), CoupledForceTempl< is_ad >::CoupledForceTempl(), CoupledValueFunctionMaterialTempl< is_ad >::CoupledValueFunctionMaterialTempl(), MultiApp::createApp(), MeshGeneratorSystem::createMeshGenerator(), CylindricalGridDivision::CylindricalGridDivision(), DebugResidualAux::DebugResidualAux(), ConstantReporter::declareConstantReporterValue(), ConstantReporter::declareConstantReporterValues(), AccumulateReporter::declareLateValues(), DefaultMultiAppFixedPointConvergence::DefaultMultiAppFixedPointConvergence(), DGKernel::DGKernel(), DGKernelBase::DGKernelBase(), DGLowerDKernel::DGLowerDKernel(), DiffusionFluxAux::DiffusionFluxAux(), DomainUserObject::DomainUserObject(), EigenProblem::EigenProblem(), EigenProblemSolve::EigenProblemSolve(), ElementAdaptivityLevelAux::ElementAdaptivityLevelAux(), ElementGenerator::ElementGenerator(), ElementGroupCentroidPositions::ElementGroupCentroidPositions(), ElementLengthAux::ElementLengthAux(), ElementLpNormAux::ElementLpNormAux(), ElementNormalAux::ElementNormalAux(), ExtraIDIntegralVectorPostprocessor::elementValue(), ElementValueSampler::ElementValueSampler(), ElementVectorL2Error::ElementVectorL2Error(), EqualValueEmbeddedConstraintTempl< is_ad >::EqualValueEmbeddedConstraintTempl(), ReporterPointSource::errorCheck(), StitchMeshGeneratorBase::errorMissingBoundary(), ExamplePatchMeshGenerator::ExamplePatchMeshGenerator(), MultiAppNearestNodeTransfer::execute(), MultiAppUserObjectTransfer::execute(), ExtraElementIDAux::ExtraElementIDAux(), ExtraElementIntegerDivision::ExtraElementIntegerDivision(), ExtraIDIntegralVectorPostprocessor::ExtraIDIntegralVectorPostprocessor(), FEProblemBase::FEProblemBase(), FEProblemSolve::FEProblemSolve(), FileMeshGenerator::FileMeshGenerator(), FillBetweenCurvesGenerator::FillBetweenCurvesGenerator(), FillBetweenSidesetsGenerator::FillBetweenSidesetsGenerator(), SpatialUserObjectVectorPostprocessor::fillPoints(), CombinerGenerator::fillPositions(), MultiApp::fillPositions(), InternalSideIndicatorBase::finalize(), FixedPointSolve::findTransformedSystem(), FixedPointSolve::FixedPointSolve(), ForcingFunctionAux::ForcingFunctionAux(), FullSolveMultiApp::FullSolveMultiApp(), FunctionArrayAux::FunctionArrayAux(), FunctionValuePostprocessor::FunctionValuePostprocessor(), FunctorADConverterTempl< T >::FunctorADConverterTempl(), FunctorAux::FunctorAux(), FunctorBinnedValuesDivision::FunctorBinnedValuesDivision(), FunctorCoordinatesFunctionAux::FunctorCoordinatesFunctionAux(), FunctorElementalGradientAuxTempl< is_ad >::FunctorElementalGradientAuxTempl(), FunctorExtremaPositions::FunctorExtremaPositions(), FunctorIC::FunctorIC(), FunctorPositions::FunctorPositions(), FunctorVectorElementalAuxTempl< is_ad >::FunctorVectorElementalAuxTempl(), FVAdvection::FVAdvection(), FVFluxBC::FVFluxBC(), FVInterfaceKernel::FVInterfaceKernel(), FVOneVarDiffusionInterface::FVOneVarDiffusionInterface(), FVTwoVarContinuityConstraint::FVTwoVarContinuityConstraint(), Boundary2DDelaunayGenerator::General2DDelaunay(), SurfaceSubdomainsDelaunayRemesher::General2DDelaunay(), AddMetaDataGenerator::generate(), AdvancedExtruderGenerator::generate(), BlockDeletionGenerator::generate(), BlockToMeshConverterGenerator::generate(), Boundary2DDelaunayGenerator::generate(), BoundaryDeletionGenerator::generate(), BoundaryElementConversionGenerator::generate(), BreakBoundaryOnSubdomainGenerator::generate(), BreakMeshByBlockGenerator::generate(), BreakMeshByElementGenerator::generate(), CircularBoundaryCorrectionGenerator::generate(), CoarsenBlockGenerator::generate(), CombinerGenerator::generate(), CutMeshByLevelSetGeneratorBase::generate(), ElementsToTetrahedronsConverter::generate(), ExtraNodesetGenerator::generate(), FillBetweenCurvesGenerator::generate(), FillBetweenSidesetsGenerator::generate(), FlipSidesetGenerator::generate(), GeneratedMeshGenerator::generate(), LowerDBlockFromSidesetGenerator::generate(), ManifoldSubdomainGenerator::generate(), MeshCollectionGenerator::generate(), MeshExtruderGenerator::generate(), ParsedCurveGenerator::generate(), ParsedExtraElementIDGenerator::generate(), ParsedSubdomainGeneratorBase::generate(), PlaneIDMeshGenerator::generate(), PolyLineMeshFollowingNodeSetGenerator::generate(), ProjectSideSetOntoLevelSetGenerator::generate(), RefineBlockGenerator::generate(), RefineSidesetGenerator::generate(), RenameBlockGenerator::generate(), RenameBoundaryGenerator::generate(), RenumberBySubdomainGenerator::generate(), SideSetsFromNodeSetsGenerator::generate(), StackGenerator::generate(), SubdomainBoundingBoxGenerator::generate(), SubdomainsFromPartitionerGenerator::generate(), SurfaceSubdomainsDelaunayRemesher::generate(), UniqueExtraIDMeshGenerator::generate(), XYMeshLineCutter::generate(), XYZDelaunayGenerator::generate(), PatternedMeshGenerator::generate(), GeneratedMeshGenerator::GeneratedMeshGenerator(), BoundaryLayerUtils::generateOffsetPolyline(), GenericConstantStdVectorMaterialTempl< is_ad >::GenericConstantStdVectorMaterialTempl(), GenericFunctorGradientMaterialTempl< is_ad >::GenericFunctorGradientMaterialTempl(), GenericFunctorMaterialTempl< is_ad >::GenericFunctorMaterialTempl(), GenericFunctorTimeDerivativeMaterialTempl< is_ad >::GenericFunctorTimeDerivativeMaterialTempl(), GenericVectorFunctorMaterialTempl< is_ad >::GenericVectorFunctorMaterialTempl(), PropertyReadFile::getBlockData(), ComponentBoundaryConditionInterface::getBoundaryCondition(), MultiApp::getCommandLineArgs(), PropertyReadFile::getData(), PropertyReadFile::getFileNames(), Sampler::getGlobalSamples(), ComponentInitialConditionInterface::getInitialCondition(), NEML2Action::getInputParameterMapping(), MultiAppNearestNodeTransfer::getLocalEntitiesAndComponents(), Sampler::getLocalSamples(), MeshGenerator::getMeshGeneratorNameFromParam(), MeshGenerator::getMeshGeneratorNamesFromParam(), Sampler::getNextLocalRow(), FEProblemSolve::getParamFromNonlinearSystemVectorParam(), PostprocessorInterface::getPostprocessorNameInternal(), PostprocessorInterface::getPostprocessorValueInternal(), MultiAppNearestNodeTransfer::getTargetLocalNodes(), UserObjectInterface::getUserObjectBase(), UserObjectInterface::getUserObjectName(), AddPeriodicBCAction::getVariables(), HFEMDirichletBC::HFEMDirichletBC(), AddVariableAction::init(), MFEMTransient::init(), MultiApp::init(), DistributedPositions::initialize(), BlockWeightedPartitioner::initialize(), BlockRestrictable::initializeBlockRestrictable(), BoundaryRestrictable::initializeBoundaryRestrictable(), PhysicsBase::initializePhysics(), ReferenceResidualConvergence::initialSetup(), PiecewiseConstantFromCSV::initialSetup(), SolutionIC::initialSetup(), LibtorchControlValuePostprocessor::initialSetup(), ElementSubdomainModifierBase::initialSetup(), MFEMScalarCoefficientPointValueSampler::initialSetup(), FullSolveMultiApp::initialSetup(), JSONOutput::initialSetup(), BoundaryLinearFVFluxIntegral::initialSetup(), SideFVFluxBCIntegral::initialSetup(), MultiAppCloneReporterTransfer::initialSetup(), MultiAppDofCopyTransfer::initialSetup(), MultiAppGeneralFieldKDTreeTransferBase::initialSetup(), MultiAppGeneralFieldNearestLocationTransfer::initialSetup(), MultiAppGeneralFieldTransfer::initialSetup(), MultiAppVariableValueSamplePostprocessorTransfer::initialSetup(), HistogramVectorPostprocessor::initialSetup(), SampledOutput::initSample(), AddMetaDataGenerator::inputChecker(), IntegratedBC::IntegratedBC(), InterfaceDiffusiveFluxIntegralTempl< is_ad >::InterfaceDiffusiveFluxIntegralTempl(), InterfaceValueUserObjectAux::InterfaceValueUserObjectAux(), InternalSideIndicatorBase::InternalSideIndicatorBase(), InterpolatedStatefulMaterialTempl< T >::InterpolatedStatefulMaterialTempl(), InversePowerMethod::InversePowerMethod(), IterationAdaptiveDT::IterationAdaptiveDT(), MultiApp::keepSolutionDuringRestore(), Kernel::Kernel(), LibtorchNeuralNetControl::LibtorchNeuralNetControl(), LinearCombinationFunction::LinearCombinationFunction(), LinearFVAdvectionDiffusionFunctorRobinBC::LinearFVAdvectionDiffusionFunctorRobinBC(), LowerDIntegratedBC::LowerDIntegratedBC(), PNGOutput::makeMeshFunc(), MatCoupledForce::MatCoupledForce(), MaterialADConverterTempl< T >::MaterialADConverterTempl(), MaterialFunctorConverterTempl< T >::MaterialFunctorConverterTempl(), MatReactionTempl< is_ad >::MatReactionTempl(), MatrixSymmetryCheck::MatrixSymmetryCheck(), PatternedMeshGenerator::mergeSubdomainNameMaps(), MeshCollectionGenerator::MeshCollectionGenerator(), MeshDiagnosticsGenerator::MeshDiagnosticsGenerator(), MeshDivisionAux::MeshDivisionAux(), MeshGenerator::MeshGenerator(), MeshGeneratorComponent::MeshGeneratorComponent(), MeshInfo::MeshInfo(), MFEMComplexSumAux::MFEMComplexSumAux(), MFEMFunctorMaterial::MFEMFunctorMaterial(), MFEMGenericFunctorMaterial::MFEMGenericFunctorMaterial(), MFEMGenericFunctorVectorMaterial::MFEMGenericFunctorVectorMaterial(), MFEMGeometricMultigridSolver::MFEMGeometricMultigridSolver(), MFEMMultiAppTransfer::MFEMMultiAppTransfer(), MFEMNDtoRTAux::MFEMNDtoRTAux(), MFEMSumAux::MFEMSumAux(), MFEMVariable::MFEMVariable(), UserObjectInterface::mooseObjectError(), MoosePreconditioner::MoosePreconditioner(), MooseStaticCondensationPreconditioner::MooseStaticCondensationPreconditioner(), MooseVariableBase::MooseVariableBase(), MortarConstraintBase::MortarConstraintBase(), MortarNodalAuxKernelTempl< ComputeValueType >::MortarNodalAuxKernelTempl(), MultiApp::moveApp(), MoveNodeGenerator::MoveNodeGenerator(), MultiApp::MultiApp(), MultiAppCloneReporterTransfer::MultiAppCloneReporterTransfer(), MultiAppGeneralFieldFunctorTransfer::MultiAppGeneralFieldFunctorTransfer(), MultiAppGeneralFieldKDTreeTransferBase::MultiAppGeneralFieldKDTreeTransferBase(), MultiAppGeneralFieldShapeEvaluationTransfer::MultiAppGeneralFieldShapeEvaluationTransfer(), MultiAppGeneralFieldTransfer::MultiAppGeneralFieldTransfer(), MultiAppGeneralFieldUserObjectTransfer::MultiAppGeneralFieldUserObjectTransfer(), MultiAppGeometricInterpolationTransfer::MultiAppGeometricInterpolationTransfer(), MultiAppNearestNodeTransfer::MultiAppNearestNodeTransfer(), MultiAppPostprocessorInterpolationTransfer::MultiAppPostprocessorInterpolationTransfer(), MultiAppPostprocessorToAuxScalarTransfer::MultiAppPostprocessorToAuxScalarTransfer(), MultiAppPostprocessorTransfer::MultiAppPostprocessorTransfer(), MultiAppProjectionTransfer::MultiAppProjectionTransfer(), MultiAppReporterTransfer::MultiAppReporterTransfer(), MultiAppScalarToAuxScalarTransfer::MultiAppScalarToAuxScalarTransfer(), MultiAppShapeEvaluationTransfer::MultiAppShapeEvaluationTransfer(), MultiAppTransfer::MultiAppTransfer(), MultiAppUserObjectTransfer::MultiAppUserObjectTransfer(), MultiAppVariableValueSamplePostprocessorTransfer::MultiAppVariableValueSamplePostprocessorTransfer(), MultiAppVariableValueSampleTransfer::MultiAppVariableValueSampleTransfer(), MultiAppVectorPostprocessorTransfer::MultiAppVectorPostprocessorTransfer(), MultiSystemSolveObject::MultiSystemSolveObject(), NearestNodeValueAux::NearestNodeValueAux(), NEML2Action::NEML2Action(), NEML2PreKernel::NEML2PreKernel(), NestedDivision::NestedDivision(), NodalBC::NodalBC(), NodalEqualValueConstraint::NodalEqualValueConstraint(), NodalKernel::NodalKernel(), NodalPatchRecoveryAux::NodalPatchRecoveryAux(), NodalValueSampler::NodalValueSampler(), NumDOFs::NumDOFs(), OrientSurfaceMeshGenerator::OrientSurfaceMeshGenerator(), Output::Output(), ParsedCurveGenerator::ParsedCurveGenerator(), ParsedFunctorMaterialTempl< is_ad >::ParsedFunctorMaterialTempl(), ParsedPostprocessor::ParsedPostprocessor(), ParsedReporterBase::ParsedReporterBase(), ParsedScalarReporter::ParsedScalarReporter(), ParsedSubdomainGeneratorBase::ParsedSubdomainGeneratorBase(), ParsedVectorRealReductionReporter::ParsedVectorRealReductionReporter(), ParsedVectorReporter::ParsedVectorReporter(), ParsedVectorVectorRealReductionReporter::ParsedVectorVectorRealReductionReporter(), PatternedMeshGenerator::PatternedMeshGenerator(), PenaltyPeriodicSegmentalConstraint::PenaltyPeriodicSegmentalConstraint(), PeriodicSegmentalConstraint::PeriodicSegmentalConstraint(), PIDTransientControl::PIDTransientControl(), PlaneDeletionGenerator::PlaneDeletionGenerator(), PlaneIDMeshGenerator::PlaneIDMeshGenerator(), PointwiseRenormalizeVector::PointwiseRenormalizeVector(), PolyLineMeshFollowingNodeSetGenerator::PolyLineMeshFollowingNodeSetGenerator(), EqualValueBoundaryConstraint::populateSecondaryNodes(), ReporterInterface::possiblyCheckHasReporter(), VectorPostprocessorInterface::possiblyCheckHasVectorPostprocessor(), LibmeshPartitioner::prepareBlocksForSubdomainPartitioner(), ProjectedMaterialPropertyNodalPatchRecoveryAux::ProjectedMaterialPropertyNodalPatchRecoveryAux(), ProjectSideSetOntoLevelSetGenerator::ProjectSideSetOntoLevelSetGenerator(), PropertyReadFile::PropertyReadFile(), RandomIC::RandomIC(), RankTwoTensorFromComponentProperties::RankTwoTensorFromComponentProperties(), MultiApp::readCommandLineArguments(), PropertyReadFile::readData(), SolutionUserObjectBase::readExodusIIOrNemesis(), SolutionUserObjectBase::readXda(), ReferenceResidualConvergence::ReferenceResidualConvergence(), RefineBlockGenerator::RefineBlockGenerator(), RefineSidesetGenerator::RefineSidesetGenerator(), RenameBlockGenerator::RenameBlockGenerator(), RenameBoundaryGenerator::RenameBoundaryGenerator(), ReporterPointSource::ReporterPointSource(), FEProblemBase::restoreSolutions(), SecondTimeDerivativeAux::SecondTimeDerivativeAux(), FEProblemBase::setLinearConvergenceNames(), FEProblemBase::setNonlinearConvergenceNames(), MooseMesh::setPartitioner(), NodeSetsGeneratorBase::setup(), SideSetsGeneratorBase::setup(), SurfaceMeshGeneratorBase::setup(), CylinderComponent::setupComponent(), NEML2Action::setupDerivativeMappings(), NEML2Action::setupInputMappings(), MultiSystemSolveObject::setupMultiSystemFixedPointRelaxationFactors(), NEML2Action::setupParameterDerivativeMappings(), NEML2Action::setupParameterMappings(), SetupQuadratureAction::SetupQuadratureAction(), SidesetAroundSubdomainUpdater::SidesetAroundSubdomainUpdater(), SideSetsFromBoundingBoxGenerator::SideSetsFromBoundingBoxGenerator(), SideValueSampler::SideValueSampler(), SingleRankPartitioner::SingleRankPartitioner(), SphericalGridDivision::SphericalGridDivision(), StitchBoundaryMeshGenerator::StitchBoundaryMeshGenerator(), StitchMeshGenerator::StitchMeshGenerator(), SurfaceSubdomainsDelaunayRemesher::SurfaceSubdomainsDelaunayRemesher(), SymmetryTransformGenerator::SymmetryTransformGenerator(), TagVectorAux::TagVectorAux(), Terminator::Terminator(), TimeDerivativeAux::TimeDerivativeAux(), Transfer::Transfer(), TransformGenerator::TransformGenerator(), TransientMultiApp::TransientMultiApp(), CylinderComponent::translation(), MeshTriangulationUtils::triangulateWithDelaunay(), ParsedCurveGenerator::tSectionSpaceDefiner(), UniqueExtraIDMeshGenerator::UniqueExtraIDMeshGenerator(), UserObjectBase::UserObjectBase(), Checkpoint::validateExecuteOn(), ParsedAux::validateGenericVectorNames(), MFEMProblem::validateVariableNumericType(), VariableCondensationPreconditioner::VariableCondensationPreconditioner(), VectorBodyForce::VectorBodyForce(), VectorFunctionDirichletBC::VectorFunctionDirichletBC(), VectorFunctionIC::VectorFunctionIC(), VolumeAux::VolumeAux(), WebServerControl::WebServerControl(), XYDelaunayGenerator::XYDelaunayGenerator(), XYMeshLineCutter::XYMeshLineCutter(), and XYZDelaunayGenerator::XYZDelaunayGenerator().

◆ parameters()

const InputParameters & MooseBase::parameters ( ) const
inlineinherited

Get the parameters of the object.

Returns
The parameters of the object

Definition at line 131 of file MooseBase.h.

131{ return _pars; }

Referenced by AddActionComponentAction::act(), CommonOutputAction::act(), CSGOnlyAction::act(), MeshOnlyAction::act(), SetupDebugAction::act(), SplitMeshAction::act(), Action::Action(), FEProblemBase::addAnyRedistributers(), FEProblemBase::addAuxKernel(), MFEMProblem::addAuxKernel(), FEProblemBase::addAuxScalarKernel(), DisplacedProblem::addAuxVariable(), MFEMProblem::addAuxVariable(), FEProblemBase::addBoundaryCondition(), MFEMProblem::addBoundaryCondition(), FEProblemBase::addConstraint(), FEProblemBase::addConvergence(), FEProblemBase::addDamper(), AddDefaultConvergenceAction::addDefaultMultiAppFixedPointConvergence(), FEProblemBase::addDefaultMultiAppFixedPointConvergence(), AddDefaultConvergenceAction::addDefaultNonlinearConvergence(), FEProblemBase::addDefaultNonlinearConvergence(), ReferenceResidualProblem::addDefaultNonlinearConvergence(), AddDefaultConvergenceAction::addDefaultSteadyStateConvergence(), FEProblemBase::addDefaultSteadyStateConvergence(), FEProblemBase::addDGKernel(), FEProblemBase::addDiracKernel(), FEProblemBase::addDistribution(), MFEMProblem::addFESpace(), MFEMProblem::addFESpaceHierarchy(), FEProblemBase::addFunction(), MFEMProblem::addFunction(), FEProblemBase::addFunctorMaterial(), MFEMProblem::addFunctorMaterial(), FEProblemBase::addFVBC(), FEProblemBase::addFVInitialCondition(), FEProblemBase::addFVInterfaceKernel(), FEProblemBase::addFVInterpolationMethod(), FEProblemBase::addFVKernel(), MFEMProblem::addGridFunction(), FEProblemBase::addHDGKernel(), MFEMProblem::addImagComponentToBC(), MFEMProblem::addImagComponentToKernel(), FEProblemBase::addIndicator(), MFEMProblem::addIndicator(), FEProblemBase::addInitialCondition(), MFEMProblem::addInitialCondition(), DiffusionPhysicsBase::addInitialConditions(), FEProblemBase::addInterfaceKernel(), FEProblemBase::addInterfaceMaterial(), FEProblemBase::addKernel(), MFEMProblem::addKernel(), FEProblemBase::addLinearFVBC(), FEProblemBase::addLinearFVKernel(), FEProblem::addLineSearch(), FEProblemBase::addMarker(), MFEMProblem::addMarker(), FEProblemBase::addMaterial(), FEProblemBase::addMaterialHelper(), FEProblemBase::addMeshDivision(), MFEMProblem::addMFEMFESpaceFromMOOSEVariable(), MFEMProblem::addMFEMSolver(), FEProblemBase::addMultiApp(), FEProblemBase::addNodalKernel(), FEProblemBase::addObject(), FEProblemBase::addObjectParamsHelper(), FEProblemBase::addOutput(), FEProblemBase::addPostprocessor(), MFEMProblem::addPostprocessor(), FEProblemBase::addPredictor(), MFEMProblem::addQuadratureFunction(), MFEMProblem::addRealComponentToBC(), MFEMProblem::addRealComponentToKernel(), FEProblemBase::addReporter(), FEProblemBase::addSampler(), FEProblemBase::addScalarKernel(), MFEMProblem::addSubMesh(), FEProblemBase::addTimeIntegrator(), FEProblemBase::addTransfer(), MFEMProblem::addTransfer(), FEProblemBase::addUserObject(), DisplacedProblem::addVariable(), MFEMEigenproblem::addVariable(), MFEMProblem::addVariable(), FEProblemBase::addVectorPostprocessor(), MFEMProblem::addVectorPostprocessor(), ADPiecewiseLinearInterpolationMaterial::ADPiecewiseLinearInterpolationMaterial(), AdvancedOutput::AdvancedOutput(), AnnularMesh::AnnularMesh(), AnnularMeshGenerator::AnnularMeshGenerator(), Action::associateWithParameter(), AuxKernelBase::AuxKernelBase(), AuxScalarKernel::AuxScalarKernel(), BoundsBase::BoundsBase(), MooseMesh::buildTypedMesh(), PostprocessorInterface::checkParam(), AddDefaultConvergenceAction::checkUnusedMultiAppFixedPointConvergenceParameters(), AddDefaultConvergenceAction::checkUnusedNonlinearConvergenceParameters(), AddDefaultConvergenceAction::checkUnusedSteadyStateConvergenceParameters(), SampledOutput::cloneMesh(), LibtorchNeuralNetControl::conditionalParameterError(), Console::Console(), MooseMeshUtils::copyIntoMesh(), CommonOutputAction::create(), MultiApp::createApp(), Postprocessor::declareValue(), DumpObjectsProblem::deduceNecessaryParameters(), DefaultMultiAppFixedPointConvergence::DefaultMultiAppFixedPointConvergence(), DumpObjectsProblem::dumpObjectHelper(), DumpObjectsProblem::DumpObjectsProblem(), EigenProblem::EigenProblem(), EigenProblemSolve::EigenProblemSolve(), ElementMaterialSampler::ElementMaterialSampler(), ExamplePatchMeshGenerator::ExamplePatchMeshGenerator(), Executor::Executor(), Exodus::Exodus(), ElementSubdomainModifierBase::extrapolatePolynomial(), FEProblem::FEProblem(), FixedPointSolve::FixedPointSolve(), FunctorSmootherTempl< T >::FunctorSmootherTempl(), GapValueAux::GapValueAux(), ParsedSubdomainGeneratorBase::generate(), ActionWarehouse::getCurrentActionName(), ExecutorInterface::getExecutor(), Material::getMaterial(), Moose::PeriodicBCHelper::getParams(), ReporterInterface::getReporterName(), Reporter::getReporterValueName(), UserObjectInterface::getUserObjectName(), AuxKernelBase::getVariableHelper(), VectorPostprocessorInterface::getVectorPostprocessorName(), GhostingUserObject::GhostingUserObject(), MeshGeneratorSystem::hasDataDrivenAllowed(), AttribSystem::initFrom(), AttribDisplaced::initFrom(), BlockRestrictable::initializeBlockRestrictable(), FullSolveMultiApp::initialSetup(), FEProblemBase::initNullSpaceVectors(), InterfaceDiffusiveFluxIntegralTempl< is_ad >::InterfaceDiffusiveFluxIntegralTempl(), InterfaceIntegralVariableValuePostprocessor::InterfaceIntegralVariableValuePostprocessor(), InterfaceKernelTempl< T >::InterfaceKernelTempl(), MooseObject::isKokkosObject(), isValid(), IterationAdaptiveDT::IterationAdaptiveDT(), LibtorchNeuralNetControl::LibtorchNeuralNetControl(), MooseObject::MooseObject(), UserObjectInterface::mooseObjectError(), MooseVariableInterface< T >::MooseVariableInterface(), MultiApp::MultiApp(), MultiAppGeneralFieldTransfer::MultiAppGeneralFieldTransfer(), MultiAppGeneralFieldUserObjectTransfer::MultiAppGeneralFieldUserObjectTransfer(), MultiAppTransfer::MultiAppTransfer(), MultiAppVariableValueSamplePostprocessorTransfer::MultiAppVariableValueSamplePostprocessorTransfer(), NodeFaceConstraint::NodeFaceConstraint(), ConsoleUtils::outputLegacyInformation(), OverlayMeshGenerator::OverlayMeshGenerator(), ParsedReporterBase::ParsedReporterBase(), ParsedScalarReporter::ParsedScalarReporter(), PenetrationAux::PenetrationAux(), PiecewiseBilinear::PiecewiseBilinear(), PiecewiseLinearInterpolationMaterial::PiecewiseLinearInterpolationMaterial(), NEML2Action::printSummary(), ProjectedStatefulMaterialStorageAction::processProperty(), PropertyReadFile::PropertyReadFile(), PseudoTimestep::PseudoTimestep(), RandomIC::RandomIC(), ReferenceResidualConvergence::ReferenceResidualConvergence(), InputParameterWarehouse::removeInputParameters(), FEProblemBase::setAuxKernelParamsAndLog(), FEProblemBase::setInputParametersFEProblem(), FEProblem::setInputParametersFEProblem(), FEProblemBase::setResidualObjectParamsAndLog(), SideSetsGeneratorBase::setup(), NonlinearSystemBase::shouldEvaluatePreSMOResidual(), SideSetsFromBoundingBoxGenerator::SideSetsFromBoundingBoxGenerator(), Moose::PetscSupport::storePetscOptions(), DumpObjectsProblem::stringifyParameters(), TaggingInterface::TaggingInterface(), Transfer::Transfer(), TransientBase::TransientBase(), VectorBodyForce::VectorBodyForce(), VectorFunctionDirichletBC::VectorFunctionDirichletBC(), VectorFunctionIC::VectorFunctionIC(), and VectorMagnitudeFunctorMaterialTempl< is_ad >::VectorMagnitudeFunctorMaterialTempl().

◆ paramInfo()

template<typename... Args>
void MooseBase::paramInfo ( const std::string &  param,
Args...  args 
) const
inherited

Emits an informational message prefixed with the file and line number of the given param (from the input file) along with the full parameter path+name followed by the given args as the message.

If this object's parameters were not created directly by the Parser, then this function falls back to the normal behavior of mooseInfo - only printing a message using the given args.

Definition at line 471 of file MooseBase.h.

472{
473 mooseInfo(_pars.paramMessage(param, std::forward<Args>(args)...));
474}
std::string paramMessage(const std::string &param, Args... args) const

Referenced by GridPartitioner::_do_partition(), ComboMarker::ComboMarker(), Control::Control(), FunctorIC::FunctorIC(), and TransientMultiApp::TransientMultiApp().

◆ paramWarning() [1/2]

template<typename... Args>
void MooseBase::paramWarning ( const std::string &  param,
Args...  args 
) const
inherited

Emits a warning prefixed with the file and line number of the given param (from the input file) along with the full parameter path+name followed by the given args as the message.

If this object's parameters were not created directly by the Parser, then this function falls back to the normal behavior of mooseWarning - only printing a message using the given args.

Definition at line 464 of file MooseBase.h.

465{
466 mooseWarning(_pars.paramMessage(param, std::forward<Args>(args)...));
467}

◆ paramWarning() [2/2]

template<typename... Args>
void SolutionInvalidInterface::paramWarning ( const std::string &  param,
Args...  args 
) const
inlineinherited

◆ phi()

const FieldVariablePhiValue & MooseVariableFE< Real >::phi ( ) const
inlineoverridevirtualinherited

Return the variable's elemental shape functions.

Implements MooseVariableField< OutputType >.

Definition at line 194 of file MooseVariableFE.h.

194{ return _element_data->phi(); }

◆ phiFace()

const FieldVariablePhiValue & MooseVariableFE< Real >::phiFace ( ) const
inlinefinaloverridevirtualinherited

Return the variable's shape functions on an element face.

Implements MooseVariableField< OutputType >.

Definition at line 207 of file MooseVariableFE.h.

207{ return _element_data->phiFace(); }

◆ phiFaceNeighbor()

const FieldVariablePhiValue & MooseVariableFE< Real >::phiFaceNeighbor ( ) const
inlinefinaloverridevirtualinherited

Return the variable's shape functions on a neighboring element face.

Implements MooseVariableField< OutputType >.

Definition at line 233 of file MooseVariableFE.h.

234 {
235 return _neighbor_data->phiFace();
236 }

◆ phiFaceNeighborSize()

virtual std::size_t MooseVariableFE< Real >::phiFaceNeighborSize ( ) const
inlinefinalvirtualinherited

Return phiFaceNeighbor size.

Implements MooseVariableFieldBase.

Definition at line 657 of file MooseVariableFE.h.

657{ return _neighbor_data->phiFaceSize(); }

◆ phiFaceSize()

virtual std::size_t MooseVariableFE< Real >::phiFaceSize ( ) const
inlinefinalvirtualinherited

Return phiFace size.

Implements MooseVariableFieldBase.

Definition at line 649 of file MooseVariableFE.h.

649{ return _element_data->phiFaceSize(); }

◆ phiLower()

virtual const FieldVariablePhiValue & MooseVariableFE< Real >::phiLower ( ) const
inlineoverridevirtualinherited

Return the variable's shape functions on a lower-dimensional element.

Implements MooseVariableField< OutputType >.

Definition at line 249 of file MooseVariableFE.h.

249{ return _lower_data->phi(); }

◆ phiLowerSize()

std::size_t MooseVariableFE< Real >::phiLowerSize ( ) const
inlinefinalvirtualinherited

Return the number of shape functions on the lower dimensional element for this variable.

Implements MooseVariableFieldBase.

Definition at line 659 of file MooseVariableFE.h.

659{ return _lower_data->phiSize(); }

◆ phiNeighbor()

const FieldVariablePhiValue & MooseVariableFE< Real >::phiNeighbor ( ) const
inlinefinaloverridevirtualinherited

Return the variable's shape functions on a neighboring element.

Implements MooseVariableField< OutputType >.

Definition at line 220 of file MooseVariableFE.h.

220{ return _neighbor_data->phi(); }

◆ phiNeighborSize()

virtual std::size_t MooseVariableFE< Real >::phiNeighborSize ( ) const
inlinefinalvirtualinherited

Return phiNeighbor size.

Implements MooseVariableFieldBase.

Definition at line 653 of file MooseVariableFE.h.

653{ return _neighbor_data->phiSize(); }

◆ phiSize()

virtual std::size_t MooseVariableFE< Real >::phiSize ( ) const
inlinefinalvirtualinherited

Return phi size.

Implements MooseVariableFieldBase.

Definition at line 645 of file MooseVariableFE.h.

645{ return _element_data->phiSize(); }

◆ prepare()

void MooseVariableFE< Real >::prepare ( )
overridevirtualinherited

Prepare the elemental degrees of freedom.

Implements MooseVariableFieldBase.

Definition at line 96 of file MooseVariableFE.C.

95{
96 _element_data->prepare();
97}

◆ prepareAux()

void MooseVariableFE< Real >::prepareAux ( )
overridevirtualinherited

Implements MooseVariableFieldBase.

Definition at line 101 of file MooseVariableFE.C.

116{
117 _element_data->prepareAux();
118 _neighbor_data->prepareAux();
119 _lower_data->prepareAux();
120}

◆ prepareIC()

void MooseVariableFE< Real >::prepareIC ( )
overridevirtualinherited

Prepare the initial condition.

Implements MooseVariableFieldBase.

Definition at line 99 of file MooseVariableFE.C.

393{
394 _element_data->prepareIC();
395}

◆ prepareLowerD()

void MooseVariableFE< Real >::prepareLowerD ( )
overridevirtualinherited

Prepare a lower dimensional element's degrees of freedom.

Implements MooseVariableFieldBase.

Definition at line 98 of file MooseVariableFE.C.

109{
110 _lower_data->prepare();
111}

◆ prepareNeighbor()

void MooseVariableFE< Real >::prepareNeighbor ( )
overridevirtualinherited

Prepare the neighbor element degrees of freedom.

Implements MooseVariableFieldBase.

Definition at line 97 of file MooseVariableFE.C.

102{
103 _neighbor_data->prepare();
104}

◆ queryFVArgCache()

FunctorBase< Moose::ADType< OutputType >::type >::ValueType Moose::FunctorBase< Moose::ADType< OutputType >::type >::queryFVArgCache ( std::map< SpaceArg, ValueType > &  cache_data,
const SpaceArg &  space 
) const
privateinherited

check a finite volume spatial argument cache and if invalid then evaluate

Definition at line 516 of file MooseFunctor.h.

588{
589 // We don't want to evaluate if the key already exists, so instead we value initialize
590 auto [it, inserted] = cache_data.try_emplace(space, ValueType());
591 auto & value = it->second;
592
593 if (inserted)
594 // value not ready to go
595 // this function is only called from functions that assert we are in the current time state
596 value = evaluate(space, currentState());
597
598 return value;
599}
StateArg currentState()

◆ queryParam()

template<typename T >
const T * MooseBase::queryParam ( const std::string &  name) const
inherited

Query a parameter for the object.

If a parameter of the given name and type does not exist or if the parameter is not valid, nullptr will be returned

Parameters
nameThe name of the parameter
Returns
A pointer to the parameter value, if it exists

Definition at line 413 of file MooseBase.h.

414{
415 return _pars.queryParam<T>(name);
416}
const T * queryParam(const std::string &name) const
Query a parameter.

Referenced by MFEMExecutedObject::getRequestedItems(), and MFEMGeometricMultigridSolver::MFEMGeometricMultigridSolver().

◆ queryQpCache()

FunctorBase< Moose::ADType< OutputType >::type >::ValueType Moose::FunctorBase< Moose::ADType< OutputType >::type >::queryQpCache ( unsigned int  qp,
const libMesh::QBase qrule,
std::vector< std::pair< bool, Moose::ADType< OutputType >::type > > &  qp_cache_data,
const SpaceArg &  space,
const StateArg state 
) const
privateinherited

check a qp cache and if invalid then evaluate

Definition at line 506 of file MooseFunctor.h.

637{
638 // Check and see whether we even have sized for this quadrature point. If we haven't then we
639 // must evaluate
640 if (qp >= qp_cache_data.size())
641 {
642 qp_cache_data.resize(qrule.n_points(), std::make_pair(false, ValueType()));
643 auto & pr = qp_cache_data[qp];
644 pr.second = evaluate(space, state);
645 pr.first = true;
646 return pr.second;
647 }
648
649 // We've already sized for this qp, so let's see whether we have a valid cache value
650 auto & pr = qp_cache_data[qp];
651 if (pr.first)
652 return pr.second;
653
654 // No valid cache value so evaluate
655 pr.second = evaluate(space, state);
656 pr.first = true;
657 return pr.second;
658}
unsigned int n_points() const

◆ registerInvalidSolutionInternal()

InvalidSolutionID SolutionInvalidInterface::registerInvalidSolutionInternal ( const std::string &  message,
const bool  warning 
) const
protectedinherited

Definition at line 55 of file SolutionInvalidInterface.C.

57{
59 _si_moose_base.type(), message, warning);
60}
const std::string & type() const
Get the type of this class.
Definition MooseBase.h:93
InvalidSolutionID registerInvalidity(const std::string &object_type, const std::string &message, const bool warning)
Call to register an invalid calculation.

◆ reinitAux()

void MooseVariableFE< Real >::reinitAux ( )
overridevirtualinherited

Implements MooseVariableFieldBase.

Definition at line 104 of file MooseVariableFE.C.

132{
133 _element_data->reinitAux();
134}

◆ reinitAuxNeighbor()

void MooseVariableFE< Real >::reinitAuxNeighbor ( )
overridevirtualinherited

Implements MooseVariableFieldBase.

Definition at line 105 of file MooseVariableFE.C.

139{
140 _neighbor_data->reinitAux();
141}

◆ reinitNode()

void MooseVariableFE< Real >::reinitNode ( )
overridevirtualinherited

Implements MooseVariableFieldBase.

Definition at line 103 of file MooseVariableFE.C.

125{
126 _element_data->reinitNode();
127}

◆ reinitNodes()

void MooseVariableFE< Real >::reinitNodes ( const std::vector< dof_id_type > &  nodes)
overridevirtualinherited

Implements MooseVariableFieldBase.

Definition at line 107 of file MooseVariableFE.C.

146{
147 _element_data->reinitNodes(nodes);
148}

◆ reinitNodesNeighbor()

void MooseVariableFE< Real >::reinitNodesNeighbor ( const std::vector< dof_id_type > &  nodes)
overridevirtualinherited

Implements MooseVariableFieldBase.

Definition at line 108 of file MooseVariableFE.C.

153{
154 _neighbor_data->reinitNodes(nodes);
155}

◆ requireQpComputations()

virtual void MooseVariableFieldBase::requireQpComputations ( ) const
inlinevirtualinherited

Request that quadrature point data be (pre)computed.

FE variables (pre)compute quadrature point data by default, so this is a no-op for them. Some FV variables (e.g. linear FV variables) do not compute it by default and use this call to opt in.

Reimplemented in MooseLinearVariableFV< OutputType >, MooseLinearVariableFV< ComputeValueType >, MooseLinearVariableFV< Real >, MooseLinearVariableFV< RealEigenVector >, MooseLinearVariableFV< RealVectorValue >, and MooseLinearVariableFV< T >.

Definition at line 225 of file MooseVariableFieldBase.h.

225{}

Referenced by AuxKernelBase::AuxKernelBase().

◆ residualSetup()

void MooseVariableFE< Real >::residualSetup ( )
overridevirtualinherited

Gets called just before the residual is computed and before this object is asked to do its job.

Reimplemented from MooseVariableField< OutputType >.

Definition at line 713 of file MooseVariableFE.C.

1363{
1367}
virtual void residualSetup() override
Gets called just before the residual is computed and before this object is asked to do its job.

◆ scalingFactor() [1/2]

Real MooseVariableBase::scalingFactor ( ) const
inlineinherited

Get the scaling factor for this variable.

Definition at line 101 of file MooseVariableBase.h.

101{ return _scaling_factor[0]; }

Referenced by MooseVariableBase::MooseVariableBase().

◆ scalingFactor() [2/2]

void MooseVariableBase::scalingFactor ( const std::vector< Real > &  factor)
inherited

Set the scaling factor for this variable.

Definition at line 187 of file MooseVariableBase.C.

188{
189 mooseAssert(factor.size() == _count, "Inconsistent scaling factor size");
190 for (const auto i : make_range(_count))
191 _scaling_factor[i] = factor[i];
192}

Referenced by ADScalarKernel::computeADJacobian(), ADDGKernel::computeElemNeighJacobian(), BoundaryIntegralValueConstraint::computeFieldScalarJacobian(), ADDiracKernel::computeFullJacobian(), DiffusionLHDGDirichletBC::computeJacobian(), DiffusionLHDGPrescribedGradientBC::computeJacobian(), ADMortarScalarBase::computeJacobian(), ADNodeElemConstraint::computeJacobian(), FVElementalKernel::computeJacobian(), DiffusionLHDGKernel::computeJacobian(), ADKernelScalarBase::computeJacobian(), ADNodalKernel::computeJacobian(), NodalKernel::computeJacobian(), FVFluxBC::computeJacobian(), FVInterfaceKernel::computeJacobian(), FVFluxKernel::computeJacobian(), FVBoundaryScalarLagrangeMultiplierConstraint::computeJacobian(), FVScalarLagrangeMultiplierInterface::computeJacobian(), NodalConstraint::computeJacobian(), ADMortarConstraint::computeJacobian(), DiffusionLHDGKernel::computeJacobianOnSide(), ADDGKernel::computeOffDiagElemNeighJacobian(), FVScalarLagrangeMultiplierConstraint::computeOffDiagJacobian(), NodalKernel::computeOffDiagJacobian(), MortarScalarBase::computeOffDiagJacobianScalar(), KernelScalarBase::computeOffDiagJacobianScalarLocal(), CoupledTiedValueConstraint::computeQpJacobian(), TiedValueConstraint::computeQpJacobian(), CoupledTiedValueConstraint::computeQpResidual(), TiedValueConstraint::computeQpResidual(), DiffusionLHDGDirichletBC::computeResidual(), DiffusionLHDGPrescribedGradientBC::computeResidual(), ADMortarScalarBase::computeResidual(), ADNodeElemConstraint::computeResidual(), MortarScalarBase::computeResidual(), DiffusionLHDGKernel::computeResidual(), ADKernelScalarBase::computeResidual(), ADNodalKernel::computeResidual(), NodalKernel::computeResidual(), FVScalarLagrangeMultiplierConstraint::computeResidual(), FVBoundaryScalarLagrangeMultiplierConstraint::computeResidual(), FVScalarLagrangeMultiplierInterface::computeResidual(), NodalConstraint::computeResidual(), ADDiracKernel::computeResidualAndJacobian(), FVElementalKernel::computeResidualAndJacobian(), ADKernelScalarBase::computeResidualAndJacobian(), FVScalarLagrangeMultiplierConstraint::computeResidualAndJacobian(), DiffusionLHDGKernel::computeResidualOnSide(), BoundaryIntegralValueConstraint::computeScalarFieldJacobian(), BoundaryIntegralValueConstraint::computeScalarJacobian(), MortarScalarBase::computeScalarJacobian(), KernelScalarBase::computeScalarJacobian(), MortarScalarBase::computeScalarOffDiagJacobian(), KernelScalarBase::computeScalarOffDiagJacobian(), MortarScalarBase::computeScalarOffDiagJacobianScalar(), KernelScalarBase::computeScalarOffDiagJacobianScalar(), BoundaryIntegralValueConstraint::computeScalarResidual(), KernelScalarBase::computeScalarResidual(), TagMatrixAux::computeValue(), TagVectorAux::computeValue(), ScalarTagMatrixAux::computeValue(), ScalarTagVectorAux::computeValue(), DiscreteVariableResidualNorm::finalize(), and ElementAndTraceScalarHDGAssemblyHelper::taggingData().

◆ secondPhi()

const MooseVariableFE< Real >::FieldVariablePhiSecond & MooseVariableFE< Real >::secondPhi ( ) const
finaloverridevirtualinherited

Return the rank-2 tensor of second derivatives of the variable's elemental shape functions.

Implements MooseVariableField< OutputType >.

Definition at line 203 of file MooseVariableFE.C.

717{
718 return _element_data->secondPhi();
719}

◆ secondPhiFace()

const MooseVariableFE< Real >::FieldVariablePhiSecond & MooseVariableFE< Real >::secondPhiFace ( ) const
finaloverridevirtualinherited

Return the rank-2 tensor of second derivatives of the variable's shape functions on an element face.

Implements MooseVariableField< OutputType >.

Definition at line 216 of file MooseVariableFE.C.

738{
739 return _element_data->secondPhiFace();
740}

◆ secondPhiFaceNeighbor()

const MooseVariableFE< Real >::FieldVariablePhiSecond & MooseVariableFE< Real >::secondPhiFaceNeighbor ( ) const
finaloverridevirtualinherited

Return the rank-2 tensor of second derivatives of the variable's shape functions on a neighboring element face.

Implements MooseVariableField< OutputType >.

Definition at line 245 of file MooseVariableFE.C.

780{
781 return _neighbor_data->secondPhiFace();
782}

◆ secondPhiNeighbor()

const MooseVariableFE< Real >::FieldVariablePhiSecond & MooseVariableFE< Real >::secondPhiNeighbor ( ) const
finaloverridevirtualinherited

Return the rank-2 tensor of second derivatives of the variable's shape functions on a neighboring element.

Implements MooseVariableField< OutputType >.

Definition at line 229 of file MooseVariableFE.C.

759{
760 return _neighbor_data->secondPhi();
761}

◆ secondSln()

const FieldVariableSecond & MooseVariableFE< Real >::secondSln ( ) const
inlineinherited

element seconds

Definition at line 316 of file MooseVariableFE.h.

316{ return _element_data->secondSln(Moose::Current); }

◆ secondSlnNeighbor()

const FieldVariableSecond & MooseVariableFE< Real >::secondSlnNeighbor ( ) const
inlineinherited

neighbor solution seconds

Definition at line 450 of file MooseVariableFE.h.

451 {
452 return _neighbor_data->secondSln(Moose::Current);
453 }

◆ secondSlnOld()

const FieldVariableSecond & MooseVariableFE< Real >::secondSlnOld ( ) const
inlineinherited

Definition at line 317 of file MooseVariableFE.h.

317{ return _element_data->secondSln(Moose::Old); }

◆ secondSlnOlder()

const FieldVariableSecond & MooseVariableFE< Real >::secondSlnOlder ( ) const
inlineinherited

Definition at line 318 of file MooseVariableFE.h.

319 {
320 return _element_data->secondSln(Moose::Older);
321 }

◆ secondSlnOlderNeighbor()

const FieldVariableSecond & MooseVariableFE< Real >::secondSlnOlderNeighbor ( ) const
inlineinherited

Definition at line 458 of file MooseVariableFE.h.

459 {
460 return _neighbor_data->secondSln(Moose::Older);
461 }

◆ secondSlnOldNeighbor()

const FieldVariableSecond & MooseVariableFE< Real >::secondSlnOldNeighbor ( ) const
inlineinherited

Definition at line 454 of file MooseVariableFE.h.

455 {
456 return _neighbor_data->secondSln(Moose::Old);
457 }

◆ secondSlnPreviousNL()

const FieldVariableSecond & MooseVariableFE< Real >::secondSlnPreviousNL ( ) const
inlineinherited

Definition at line 322 of file MooseVariableFE.h.

323 {
324 return _element_data->secondSln(Moose::PreviousNL);
325 }

◆ secondSlnPreviousNLNeighbor()

const FieldVariableSecond & MooseVariableFE< Real >::secondSlnPreviousNLNeighbor ( ) const
inlineinherited

Definition at line 462 of file MooseVariableFE.h.

463 {
464 return _neighbor_data->secondSln(Moose::PreviousNL);
465 }

◆ setActiveTags()

void MooseVariableFE< Real >::setActiveTags ( const std::set< TagID > &  vtags)
overridevirtualinherited

Set the active vector tags.

Parameters
vtagsAdditional vector tags that this variable will need to query at dof indices for, in addition to our own required solution tags

Reimplemented from MooseVariableBase.

Definition at line 710 of file MooseVariableFE.h.

872{
873 _element_data->setActiveTags(vtags);
874 _neighbor_data->setActiveTags(vtags);
875 _lower_data->setActiveTags(vtags);
876}

◆ setCacheClearanceSchedule()

void Moose::FunctorBase< Moose::ADType< OutputType >::type >::setCacheClearanceSchedule ( const std::set< ExecFlagType > &  clearance_schedule)
inherited

Set how often to clear the functor evaluation cache.

Definition at line 238 of file MooseFunctor.h.

721{
722 if (clearance_schedule.count(EXEC_ALWAYS))
723 _always_evaluate = true;
724
725 _clearance_schedule = clearance_schedule;
726}
const ExecFlagType EXEC_ALWAYS
Definition Moose.C:53
bool _always_evaluate
Boolean to check if we always need evaluation.

◆ setDofValue()

void MooseVariableFE< Real >::setDofValue ( const DofValue value,
unsigned int  index 
)
overridevirtualinherited

Degree of freedom value setters.

Implements MooseVariableField< OutputType >.

Definition at line 517 of file MooseVariableFE.C.

689{
690 _element_data->setDofValue(value, index);
691}

◆ setDofValues()

void MooseVariableFE< Real >::setDofValues ( const DenseVector< DofValue > &  values)
overridevirtualinherited

Set local DOF values and evaluate the values on quadrature points.

Implements MooseVariableField< OutputType >.

Definition at line 522 of file MooseVariableFE.C.

696{
697 _element_data->setDofValues(values);
698}
std::array< Real, 2 > values
Definition MortarUtils.C:52

◆ setLowerDofValues()

void MooseVariableFE< Real >::setLowerDofValues ( const DenseVector< DofValue > &  values)
overridevirtualinherited

Set local DOF values for a lower dimensional element and evaluate the values on quadrature points.

Implements MooseVariableField< OutputType >.

Definition at line 523 of file MooseVariableFE.C.

703{
704 _lower_data->setDofValues(values);
705}

◆ setNodalValue()

void MooseVariableFE< Real >::setNodalValue ( const Real &  value,
unsigned int  idx = 0 
)
overridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 515 of file MooseVariableFE.C.

682{
683 _element_data->setNodalValue(value, idx);
684}

◆ sizeMatrixTagData()

void MooseVariableFE< Real >::sizeMatrixTagData ( )
overridevirtualinherited

Size data structures related to matrix tagging.

Reimplemented from MooseVariableBase.

Definition at line 716 of file MooseVariableFE.C.

1381{
1382 _element_data->sizeMatrixTagData();
1383 _neighbor_data->sizeMatrixTagData();
1384 _lower_data->sizeMatrixTagData();
1385}

◆ sln()

const FieldVariableValue & MooseVariableFE< Real >::sln ( ) const
inlineoverridevirtualinherited

element solutions

Implements MooseVariableField< OutputType >.

Definition at line 288 of file MooseVariableFE.h.

288{ return _element_data->sln(Moose::Current); }

◆ slnLower()

const FieldVariableValue & MooseVariableFE< Real >::slnLower ( ) const
inlineinherited

Definition at line 505 of file MooseVariableFE.h.

505{ return _lower_data->sln(Moose::Current); }

◆ slnLowerOld()

const FieldVariableValue & MooseVariableFE< Real >::slnLowerOld ( ) const
inlineinherited

Definition at line 506 of file MooseVariableFE.h.

506{ return _lower_data->sln(Moose::Old); }

◆ slnNeighbor()

const FieldVariableValue & MooseVariableFE< Real >::slnNeighbor ( ) const
inlineoverridevirtualinherited

neighbor solutions

Implements MooseVariableField< OutputType >.

Definition at line 410 of file MooseVariableFE.h.

411 {
412 return _neighbor_data->sln(Moose::Current);
413 }

◆ slnOld()

const FieldVariableValue & MooseVariableFE< Real >::slnOld ( ) const
inlineoverridevirtualinherited
Returns
the old elemental solution, e.g. that of the previous timestep

Implements MooseVariableField< OutputType >.

Definition at line 289 of file MooseVariableFE.h.

289{ return _element_data->sln(Moose::Old); }

◆ slnOlder()

const FieldVariableValue & MooseVariableFE< Real >::slnOlder ( ) const
inlineoverridevirtualinherited
Returns
the older elemental solution, e.g. that of two timesteps ago

Implements MooseVariableField< OutputType >.

Definition at line 290 of file MooseVariableFE.h.

290{ return _element_data->sln(Moose::Older); }

◆ slnOlderNeighbor()

const FieldVariableValue & MooseVariableFE< Real >::slnOlderNeighbor ( ) const
inlineinherited

Definition at line 418 of file MooseVariableFE.h.

418{ return _neighbor_data->sln(Moose::Older); }

◆ slnOldNeighbor()

const FieldVariableValue & MooseVariableFE< Real >::slnOldNeighbor ( ) const
inlineoverridevirtualinherited
Returns
the old neighbor solution, e.g. that of the previous timestep

Implements MooseVariableField< OutputType >.

Definition at line 414 of file MooseVariableFE.h.

415 {
416 return _neighbor_data->sln(Moose::Old);
417 }

◆ slnPreviousNL()

const FieldVariableValue & MooseVariableFE< Real >::slnPreviousNL ( ) const
inlineinherited

Definition at line 291 of file MooseVariableFE.h.

291{ return _element_data->sln(Moose::PreviousNL); }

◆ slnPreviousNLNeighbor()

const FieldVariableValue & MooseVariableFE< Real >::slnPreviousNLNeighbor ( ) const
inlineinherited

Definition at line 419 of file MooseVariableFE.h.

420 {
422 }

◆ subdomainSetup()

void SetupInterface::subdomainSetup ( )
virtualinherited

Gets called when the subdomain changes (i.e.

in a Jacobian or residual loop) and before this object is asked to do its job

Reimplemented in Material, MaterialBase, GeneralUserObject, NodalUserObject, ThreadedGeneralUserObject, Constraint, Moose::Kokkos::AuxKernel, Moose::Kokkos::MaterialBase, and Moose::Kokkos::UserObject.

Definition at line 68 of file SetupInterface.C.

69{
70}

◆ supportsElemSideQpArg()

bool MooseVariableFE< Real >::supportsElemSideQpArg ( ) const
inlinefinaloverridevirtualinherited

Whether this functor supports evaluation with ElemSideQpArg.

Implements Moose::FunctorBase< Moose::ADType< OutputType >::type >.

Definition at line 719 of file MooseVariableFE.h.

719{ return true; }

◆ supportsFaceArg()

bool MooseVariableFE< Real >::supportsFaceArg ( ) const
inlinefinaloverridevirtualinherited

Whether this functor supports evaluation with FaceArg.

Implements Moose::FunctorBase< Moose::ADType< OutputType >::type >.

Definition at line 718 of file MooseVariableFE.h.

718{ return true; }

◆ supportsGeometricInfoBasedLoops()

bool MooseVariableFE< Real >::supportsGeometricInfoBasedLoops ( ) const
inlineoverridevirtualinherited

Whether this variable supports geometric-info-based loops, such as ElemInfo/FaceInfo loops.

Static, per-class property - never toggled by requireQpComputations().

Reimplemented from MooseVariableBase.

Definition at line 152 of file MooseVariableFE.h.

152{ return false; }

◆ supportsQpBasedLoops()

bool MooseVariableFE< Real >::supportsQpBasedLoops ( ) const
inlineoverridevirtualinherited

Whether this variable supports QP-indexed loops.

Returns true for FE variables and nonlinear FV variables. Returns false for linear FV variables by default and for scalar variables.

Reimplemented from MooseVariableBase.

Definition at line 151 of file MooseVariableFE.h.

151{ return true; }

◆ sys() [1/2]

SystemBase & MooseVariableBase::sys ( )
inlineinherited

Get the system this variable is part of.

Definition at line 70 of file MooseVariableBase.h.

70{ return _sys; }

Referenced by SetupResidualDebugAction::act(), ADDGKernel::ADDGKernel(), FEProblemBase::addInitialCondition(), ADIntegratedBCTempl< T >::ADIntegratedBCTempl(), MultiAppConservativeTransfer::adjustTransferredSolution(), MultiAppConservativeTransfer::adjustTransferredSolutionNearestPoint(), ADKernelTempl< T >::ADKernelTempl(), ArrayDGKernel::ArrayDGKernel(), ArrayIntegratedBC::ArrayIntegratedBC(), ArrayKernel::ArrayKernel(), MultiAppGeneralFieldNearestLocationTransfer::buildKDTrees(), MultiAppGeneralFieldShapeEvaluationTransfer::buildMeshFunctions(), InternalSideIndicatorBase::computeIndicator(), FVFluxBC::computeJacobian(), FVInterfaceKernel::computeJacobian(), FVFluxKernel::computeJacobian(), FVBoundaryScalarLagrangeMultiplierConstraint::computeJacobian(), FVInterfaceKernel::computeResidual(), FVFluxKernel::computeResidual(), FVBoundaryScalarLagrangeMultiplierConstraint::computeResidual(), DGKernel::DGKernel(), MultiAppGeometricInterpolationTransfer::execute(), MultiAppNearestNodeTransfer::execute(), MultiAppPostprocessorToAuxScalarTransfer::execute(), MultiAppProjectionTransfer::execute(), MultiAppScalarToAuxScalarTransfer::execute(), MultiAppUserObjectTransfer::execute(), MultiAppVariableValueSamplePostprocessorTransfer::execute(), MultiAppVariableValueSampleTransfer::execute(), MultiAppGeometricInterpolationTransfer::fillSourceInterpolationPoints(), InternalSideIndicatorBase::finalize(), FVBoundaryCondition::hasFaceSide(), MultiAppGeneralFieldNearestLocationTransfer::initialSetup(), IntegratedBC::IntegratedBC(), InterfaceKernelTempl< T >::InterfaceKernelTempl(), MultiApplibMeshToMFEMShapeEvaluationTransfer::interpolatelibMeshVariable(), MultiAppGeometricInterpolationTransfer::interpolateTargetPoints(), MooseMesh::isTranslatedPeriodic(), Kernel::Kernel(), MooseMesh::minPeriodicDistance(), MooseMesh::minPeriodicVector(), NodalBC::NodalBC(), NodalKernel::NodalKernel(), Exodus::outputScalarVariables(), Nemesis::outputScalarVariables(), TableOutput::outputScalarVariables(), FEProblemBase::projectInitialConditionOnCustomRange(), FEProblemBase::projectSolution(), MultiAppProjectionTransfer::projectSolution(), MooseMesh::queryPeriodicDimensions(), MooseVariableScalar::reinit(), FVInterfaceKernel::setupData(), MultiAppDofCopyTransfer::transfer(), MultiAppDofCopyTransfer::transferDofObject(), MultiAppShapeEvaluationTransfer::transferVariable(), FVQpFluxBC::uOnGhost(), FVQpFluxBC::uOnUSub(), FVFluxBC::updateCurrentFace(), NodalDamper::variableDefinedOnNode(), Moose::Kokkos::VariableGradientTempl< is_ad >::VariableGradientTempl(), and Moose::Kokkos::VariableValueTempl< is_ad >::VariableValueTempl().

◆ sys() [2/2]

const SystemBase & MooseVariableBase::sys ( ) const
inlineinherited

Get the system this variable is part of.

Definition at line 75 of file MooseVariableBase.h.

75{ return _sys; }

◆ timestepSetup()

template<typename OutputType >
void MooseVariableField< OutputType >::timestepSetup ( )
overridevirtualinherited

Gets called at the beginning of the timestep before this object is asked to do its job.

Reimplemented from SetupInterface.

Reimplemented in MooseLinearVariableFV< OutputType >, MooseLinearVariableFV< ComputeValueType >, MooseLinearVariableFV< Real >, MooseLinearVariableFV< RealEigenVector >, MooseLinearVariableFV< RealVectorValue >, MooseLinearVariableFV< T >, MooseVariableFV< OutputType >, MooseVariableFV< ComputeValueType >, MooseVariableFV< Real >, MooseVariableFV< RealEigenVector >, MooseVariableFV< RealVectorValue >, and MooseVariableFV< T >.

Definition at line 52 of file MooseVariableField.C.

53{
56}
virtual void timestepSetup() override
Gets called at the beginning of the timestep before this object is asked to do its job.
Base class template for functor objects.
virtual void timestepSetup()
Gets called at the beginning of the timestep before this object is asked to do its job.

Referenced by MooseLinearVariableFV< OutputType >::timestepSetup(), and MooseVariableFV< OutputType >::timestepSetup().

◆ totalVarDofs()

unsigned int MooseVariableBase::totalVarDofs ( )
inlineinherited

Definition at line 86 of file MooseVariableBase.h.

86{ return allDofIndices().size(); }
const std::vector< dof_id_type > & allDofIndices() const
Get all global dofindices for the variable.

◆ type()

const std::string & MooseBase::type ( ) const
inlineinherited

Get the type of this class.

Returns
the name of the type of this class

Definition at line 93 of file MooseBase.h.

94 {
95 mooseAssert(_type.size(), "Empty type");
96 return _type;
97 }
const std::string & _type
The type of this class.
Definition MooseBase.h:378

Referenced by CreateProblemDefaultAction::act(), MaterialDerivativeTestAction::act(), MaterialOutputAction::act(), SetupDebugAction::act(), FEProblemBase::addAuxArrayVariable(), FEProblemBase::addAuxScalarVariable(), FEProblemBase::addAuxVariable(), FEProblemBase::addConvergence(), FEProblemBase::addDistribution(), DistributedRectilinearMeshGenerator::addElement(), DistributedRectilinearMeshGenerator::addElement(), MooseApp::addExecutor(), MooseApp::addExecutorParams(), MFEMProblem::addFESpace(), MFEMProblem::addFESpaceHierarchy(), FEProblemBase::addFunction(), MFEMProblem::addFunction(), FEProblemBase::addMeshDivision(), MooseApp::addMeshGenerator(), MeshGenerator::addMeshSubgenerator(), MeshGenerator::addMeshSubgenerator(), FEProblemBase::addObject(), DistributedRectilinearMeshGenerator::addPoint(), MFEMProblem::addPostprocessor(), FEProblemBase::addPredictor(), CreateDisplacedProblemAction::addProxyRelationshipManagers(), MFEMProblem::addQuadratureFunction(), FEProblemBase::addReporter(), FEProblemBase::addSampler(), WebServerControl::addServerActionsInternal(), FEProblemBase::addTimeIntegrator(), MFEMProblem::addVectorPostprocessor(), SubProblem::addVectorTag(), DisplacedProblem::addVectorTag(), FEProblemBase::advanceMultiApps(), MooseApp::appendMeshGenerator(), AuxKernelBase::AuxKernelBase(), FEProblemBase::backupMultiApps(), BatchMeshGeneratorAction::BatchMeshGeneratorAction(), BoundaryPreservedMarker::BoundaryPreservedMarker(), DistributedRectilinearMeshGenerator::buildCube(), MooseMesh::buildHRefinementAndCoarseningMaps(), MooseMesh::buildLowerDMesh(), MooseMesh::buildPRefinementAndCoarseningMaps(), PhysicsBase::checkComponentType(), MeshDiagnosticsGenerator::checkNonConformalMeshFromAdaptivity(), ActionComponent::checkRequiredTasks(), PhysicsBase::checkRequiredTasks(), FEProblemBase::checkUserObjectNameCollision(), MFEMMultiAppTransfer::checkValidTransferProblemTypes(), MeshInfo::CombinedInfos< ElemInfoMap, ElemInfoItems >::CombinedInfos(), ElemElemConstraint::computeElemNeighJacobian(), ArrayDGKernel::computeElemNeighJacobian(), DGKernel::computeElemNeighJacobian(), ADDGKernel::computeElemNeighJacobian(), ElemElemConstraint::computeElemNeighResidual(), ArrayDGKernel::computeElemNeighResidual(), DGKernel::computeElemNeighResidual(), ADDGKernel::computeElemNeighResidual(), ArrayDGLowerDKernel::computeLowerDJacobian(), DGLowerDKernel::computeLowerDJacobian(), ArrayLowerDIntegratedBC::computeLowerDJacobian(), LowerDIntegratedBC::computeLowerDJacobian(), ArrayLowerDIntegratedBC::computeLowerDOffDiagJacobian(), LowerDIntegratedBC::computeLowerDOffDiagJacobian(), ArrayHFEMDirichletBC::computeLowerDQpJacobian(), HFEMDirichletBC::computeLowerDQpJacobian(), ArrayHFEMDiffusion::computeLowerDQpJacobian(), HFEMDiffusion::computeLowerDQpJacobian(), ArrayLowerDIntegratedBC::computeLowerDQpOffDiagJacobian(), ArrayDGLowerDKernel::computeLowerDQpOffDiagJacobian(), ArrayHFEMDirichletBC::computeLowerDQpOffDiagJacobian(), HFEMDirichletBC::computeLowerDQpOffDiagJacobian(), FEProblemBase::computeMultiAppsDT(), ArrayDGKernel::computeOffDiagElemNeighJacobian(), DGKernel::computeOffDiagElemNeighJacobian(), ADDGKernel::computeOffDiagElemNeighJacobian(), ArrayDGLowerDKernel::computeOffDiagLowerDJacobian(), DGLowerDKernel::computeOffDiagLowerDJacobian(), ScalarKernel::computeQpJacobian(), CoupledTiedValueConstraint::computeQpJacobian(), EqualValueBoundaryConstraint::computeQpJacobian(), LinearNodalConstraint::computeQpJacobian(), TiedValueConstraint::computeQpJacobian(), DGConvection::computeQpJacobian(), ArrayDGDiffusion::computeQpJacobian(), DGDiffusion::computeQpJacobian(), InterfaceDiffusion::computeQpJacobian(), InterfaceReaction::computeQpJacobian(), CoupledTiedValueConstraint::computeQpOffDiagJacobian(), ArrayDGKernel::computeQpOffDiagJacobian(), HFEMTestJump::computeQpOffDiagJacobian(), HFEMTrialJump::computeQpOffDiagJacobian(), ScalarKernel::computeQpResidual(), CoupledTiedValueConstraint::computeQpResidual(), EqualValueBoundaryConstraint::computeQpResidual(), LinearNodalConstraint::computeQpResidual(), TiedValueConstraint::computeQpResidual(), DGConvection::computeQpResidual(), ADDGAdvection::computeQpResidual(), ADDGDiffusion::computeQpResidual(), DGDiffusion::computeQpResidual(), HFEMDiffusion::computeQpResidual(), HFEMTestJump::computeQpResidual(), HFEMTrialJump::computeQpResidual(), ADMatInterfaceReaction::computeQpResidual(), InterfaceDiffusion::computeQpResidual(), InterfaceReaction::computeQpResidual(), ArrayDGDiffusion::computeQpResidual(), ArrayHFEMDiffusion::computeQpResidual(), FEProblemBase::computeSystems(), FEProblemBase::computeUserObjectByName(), FEProblemBase::computeUserObjects(), FEProblemBase::computeUserObjectsInternal(), FEProblemBase::createQRules(), DisplacedProblem::createQRules(), MooseApp::createRecoverablePerfGraph(), MeshGenerator::declareMeshProperty(), DumpObjectsProblem::deduceNecessaryParameters(), DumpObjectsProblem::dumpObjectHelper(), FEProblemBase::duplicateVariableCheck(), FEProblemBase::execMultiApps(), FEProblemBase::execMultiAppTransfers(), FEProblemBase::execTransfers(), SteadyBase::execute(), WebServerControl::execute(), ActionWarehouse::executeActionsWithAction(), FEProblemBase::finishMultiAppStep(), FVScalarLagrangeMultiplierInterface::FVScalarLagrangeMultiplierInterface(), Boundary2DDelaunayGenerator::General2DDelaunay(), SurfaceSubdomainsDelaunayRemesher::General2DDelaunay(), Boundary2DDelaunayGenerator::generate(), LowerDBlockFromSidesetGenerator::generate(), SubdomainPerElementGenerator::generate(), PatternedMeshGenerator::generate(), MeshGenerator::generateInternal(), MeshGenerator::generateInternalCSG(), MultiAppTransfer::getAppInfo(), TransfiniteMeshGenerator::getEdge(), ElementGenerator::getElemType(), FEProblemBase::getMaterial(), FEProblemBase::getMaterialData(), FEProblemBase::getMaterialPropertyStorageConsumers(), MaterialOutputAction::getParams(), ReporterData::getReporterInfo(), MooseServer::getSyntaxMetadata(), FEProblemBase::getTransfers(), FEProblemBase::getUOQuery(), SubProblem::getVectorTags(), DisplacedProblem::getVectorTags(), CommonOutputAction::hasConsole(), FEProblemBase::hasMultiApps(), AdvancedOutput::hasOutput(), FEProblemBase::incrementMultiAppTStep(), NEML2Action::inferMOOSEIOType(), AdvancedOutput::initAvailableLists(), FunctorPositions::initialize(), FunctorTimes::initialize(), LinearFVAdvection::initialSetup(), LinearFVAnisotropicDiffusion::initialSetup(), LinearFVDiffusion::initialSetup(), MultiAppConservativeTransfer::initialSetup(), ArrayDGDiffusion::initQpResidual(), AdvancedOutput::initShowHideLists(), RelationshipManager::isType(), FEProblemBase::logAdd(), MaterialFunctorConverterTempl< T >::MaterialFunctorConverterTempl(), MFEMProblem::mesh(), MooseObject::MooseObject(), SubProblem::numVectorTags(), DisplacedProblem::numVectorTags(), AdvancedOutput::output(), Console::output(), ConsoleUtils::outputExecutionInformation(), Output::outputStep(), SampledOutput::outputStep(), FEProblemBase::outputStep(), MooseServer::parseDocumentForDiagnostics(), MooseMesh::prepare(), ProjectedStatefulMaterialStorageAction::processProperty(), MooseApp::recursivelyCreateExecutors(), SolutionInvalidInterface::registerInvalidSolutionInternal(), FEProblemBase::restoreMultiApps(), MeshRepairGenerator::separateSubdomainsByElementType(), FEProblemBase::setCoupling(), MooseApp::setupOptions(), ExplicitRK2::solve(), ExplicitTVDRK2::solve(), Reporter::store(), MooseBase::typeAndName(), AuxScalarKernel::uOld(), ScalarKernelBase::uOld(), DisplacedProblem::updateGeomSearch(), FEProblemBase::updateGeomSearch(), UserObjectInterface::userObjectType(), and AdvancedOutput::wantOutput().

◆ typeAndName()

std::string MooseBase::typeAndName ( ) const
inherited

Get the class's combined type and name; useful in error handling.

Returns
The type and name of this class in the form '<type()> "<name()>"'.

Definition at line 57 of file MooseBase.C.

58{
59 return type() + std::string(" \"") + name() + std::string("\"");
60}

Referenced by MaterialPropertyStorage::addProperty(), FEProblemBase::checkUserObjectNameCollision(), MeshGeneratorSystem::dataDrivenError(), ReporterContext< T >::finalize(), ReporterData::getReporterInfo(), MFEMSamplerBase::initialSetup(), MFEMVariableSamplerBase::initialSetup(), WebServerControl::outputMessage(), and Action::timedAct().

◆ uDot()

const FieldVariableValue & MooseVariableFE< Real >::uDot ( ) const
inlineinherited

element dots

Definition at line 402 of file MooseVariableFE.h.

402{ return _element_data->uDot(); }

◆ uDotDot()

const FieldVariableValue & MooseVariableFE< Real >::uDotDot ( ) const
inlineinherited

Definition at line 403 of file MooseVariableFE.h.

403{ return _element_data->uDotDot(); }

◆ uDotDotNeighbor()

const FieldVariableValue & MooseVariableFE< Real >::uDotDotNeighbor ( ) const
inlineinherited

Definition at line 497 of file MooseVariableFE.h.

497{ return _neighbor_data->uDotDot(); }

◆ uDotDotOld()

const FieldVariableValue & MooseVariableFE< Real >::uDotDotOld ( ) const
inlineinherited

Definition at line 405 of file MooseVariableFE.h.

405{ return _element_data->uDotDotOld(); }

◆ uDotDotOldNeighbor()

const FieldVariableValue & MooseVariableFE< Real >::uDotDotOldNeighbor ( ) const
inlineinherited

Definition at line 499 of file MooseVariableFE.h.

499{ return _neighbor_data->uDotDotOld(); }

◆ uDotNeighbor()

const FieldVariableValue & MooseVariableFE< Real >::uDotNeighbor ( ) const
inlineinherited

neighbor dots

Definition at line 496 of file MooseVariableFE.h.

496{ return _neighbor_data->uDot(); }

◆ uDotOld()

const FieldVariableValue & MooseVariableFE< Real >::uDotOld ( ) const
inlineinherited

Definition at line 404 of file MooseVariableFE.h.

404{ return _element_data->uDotOld(); }

◆ uDotOldNeighbor()

const FieldVariableValue & MooseVariableFE< Real >::uDotOldNeighbor ( ) const
inlineinherited

Definition at line 498 of file MooseVariableFE.h.

498{ return _neighbor_data->uDotOld(); }

◆ uniqueName()

MooseObjectName MooseBase::uniqueName ( ) const
inherited
Returns
The unique name for accessing input parameters of this object in the InputParameterWarehouse

Definition at line 69 of file MooseBase.C.

70{
71 if (!_pars.have_parameter<std::string>(unique_name_param))
72 mooseError("uniqueName(): Object does not have a unique name");
73 return MooseObjectName(_pars.get<std::string>(unique_name_param));
74}
bool have_parameter(std::string_view name) const
A wrapper around the Parameters base class method.
static const std::string unique_name_param
The name of the parameter that contains the unique object name.
Definition MooseBase.h:57
A class for storing the names of MooseObject by tag and object name.

Referenced by MooseBase::connectControllableParams(), and Action::uniqueActionName().

◆ uniqueParameterName()

MooseObjectParameterName MooseBase::uniqueParameterName ( const std::string &  parameter_name) const
inherited
Returns
The unique parameter name of a valid parameter of this object for accessing parameter controls

Definition at line 63 of file MooseBase.C.

64{
65 return MooseObjectParameterName(getBase(), name(), parameter_name);
66}
const std::string & getBase() const
Definition MooseBase.h:147

◆ useDual()

bool MooseVariableBase::useDual ( ) const
inlineinherited

Get dual mortar option.

Definition at line 80 of file MooseVariableBase.h.

80{ return _use_dual; }
bool _use_dual
If dual mortar approach is used.

Referenced by MortarConstraintBase::MortarConstraintBase().

◆ usesGradPhi()

bool MooseVariableFE< Real >::usesGradPhi ( ) const
inlineinherited

Whether or not this variable is actually using the shape function gradient.

Currently hardcoded to true because we always compute the value.

Definition at line 121 of file MooseVariableFE.h.

121{ return true; }

◆ usesGradPhiNeighbor()

template<typename OutputType >
bool MooseVariableField< OutputType >::usesGradPhiNeighbor ( ) const
inlineinherited

Whether or not this variable is actually using the shape function gradient.

Currently hardcoded to true because we always compute the value.

Definition at line 346 of file MooseVariableField.h.

346{ return true; }

Referenced by Assembly::copyNeighborShapes().

◆ usesPhi()

bool MooseVariableFE< Real >::usesPhi ( ) const
inlineinherited

Whether or not this variable is actually using the shape function value.

Currently hardcoded to true because we always compute the value.

Definition at line 115 of file MooseVariableFE.h.

115{ return true; }

◆ usesPhiNeighbor()

template<typename OutputType >
bool MooseVariableField< OutputType >::usesPhiNeighbor ( ) const
inlineinherited

Whether or not this variable is actually using the shape function value.

Currently hardcoded to true because we always compute the value.

Definition at line 339 of file MooseVariableField.h.

339{ return true; }

Referenced by Assembly::copyNeighborShapes().

◆ usesSecondPhi()

bool MooseVariableFE< Real >::usesSecondPhi ( ) const
inherited

Whether or not this variable is computing any second derivatives.

Definition at line 126 of file MooseVariableFE.C.

801{
802 return _element_data->usesSecondPhi();
803}

◆ usesSecondPhiNeighbor()

bool MooseVariableFE< Real >::usesSecondPhiNeighbor ( ) const
finaloverridevirtualinherited

Whether or not this variable is actually using the shape function second derivative on a neighbor.

Implements MooseVariableField< OutputType >.

Definition at line 132 of file MooseVariableFE.C.

808{
809 return _neighbor_data->usesSecondPhi();
810}

◆ validParams()

InputParameters MooseVariableConstMonomial::validParams ( )
static

Definition at line 21 of file MooseVariableConstMonomial.C.

22{
23 auto params = MooseVariableBase::validParams();
24 params.addClassDescription("Specialization for constant monomials that avoids unnecessary loops");
25 params.set<MooseEnum>("family") = "MONOMIAL";
26 params.set<MooseEnum>("order") = "CONSTANT";
27 return params;
28}
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition MooseEnum.h:55
static InputParameters validParams()

◆ vectorTagDofValue()

const DofValues & MooseVariableFE< Real >::vectorTagDofValue ( TagID  tag) const
inlineoverridevirtualinherited

Implements MooseVariableField< OutputType >.

Definition at line 278 of file MooseVariableFE.h.

279 {
280 return _element_data->vectorTagDofValue(tag);
281 }

◆ vectorTagGradient()

const FieldVariableGradient & MooseVariableFE< Real >::vectorTagGradient ( TagID  tag) const
inlineinherited

Definition at line 274 of file MooseVariableFE.h.

275 {
276 return _element_data->vectorTagGradient(tag);
277 }

◆ vectorTagValue()

const FieldVariableValue & MooseVariableFE< Real >::vectorTagValue ( TagID  tag) const
inlineoverridevirtualinherited

tag values getters

Implements MooseVariableField< OutputType >.

Definition at line 270 of file MooseVariableFE.h.

271 {
272 return _element_data->vectorTagValue(tag);
273 }

Member Data Documentation

◆ _action_factory

ActionFactory& ParallelParamObject::_action_factory
protectedinherited

◆ _ad_real_dummy

template<typename OutputType >
ADReal MooseVariableField< OutputType >::_ad_real_dummy = 0
mutableprotectedinherited

A dummy ADReal variable.

Definition at line 409 of file MooseVariableField.h.

◆ _always_evaluate

bool Moose::FunctorBase< Moose::ADType< OutputType >::type >::_always_evaluate
privateinherited

Boolean to check if we always need evaluation.

Definition at line 523 of file MooseFunctor.h.

◆ _app

MooseApp& MooseBase::_app
protectedinherited

The MOOSE application this is associated with.

Definition at line 375 of file MooseBase.h.

Referenced by AB2PredictorCorrector::AB2PredictorCorrector(), FEProblemBase::acceptInvalidSolution(), FEProblemBase::addAnyRedistributers(), MeshGenerator::addChildMeshGenerator(), FEProblemBase::addMaterialHelper(), MeshGenerator::addMeshSubgenerator(), MeshGenerator::addMeshSubgenerator(), FEProblemBase::addOutput(), MeshGenerator::addParentMeshGenerator(), FEProblemBase::allowOutput(), AStableDirk4::AStableDirk4(), FileMesh::buildMesh(), MooseMesh::buildTypedMesh(), MooseMesh::cacheFaceInfoVariableOwnership(), MooseMesh::cacheFVElementalDoFs(), DefaultNonlinearConvergence::checkConvergence(), MeshGenerator::checkGetMesh(), FEProblemBase::checkICRestartError(), FEProblemBase::checkProblemIntegrity(), LibmeshPartitioner::clone(), BlockWeightedPartitioner::clone(), CopyMeshPartitioner::clone(), GridPartitioner::clone(), HierarchicalGridPartitioner::clone(), PetscExternalPartitioner::clone(), RandomPartitioner::clone(), SingleRankPartitioner::clone(), ElementPointNeighborLayers::clone(), ElementSideNeighborLayers::clone(), GhostAllPointNeighbors::clone(), GhostBoundary::clone(), GhostEverything::clone(), GhostHigherDLowerDPointNeighbors::clone(), GhostLowerDElems::clone(), GhostPrimaryFace::clone(), ProxyRelationshipManager::clone(), RedistributeProperties::clone(), SampledOutput::cloneMesh(), FEProblemBase::computeJacobianSys(), FEProblemBase::computeJacobianTags(), FEProblemBase::computeLinearSystemTags(), FEProblemBase::computeResidualAndJacobian(), FEProblemBase::computeResidualSys(), FEProblemBase::computeResidualTags(), Console::Console(), TimeStepper::constrainStep(), Control::Control(), CopyMeshPartitioner::CopyMeshPartitioner(), MultiApp::createApp(), MultiApp::createApps(), FEProblemBase::customSetup(), MeshGenerator::declareMeshProperty(), MeshGenerator::declareNullMeshName(), MooseMesh::determineUseDistributedMesh(), DumpObjectsProblem::dumpObjectHelper(), DumpObjectsProblem::DumpObjectsProblem(), DumpObjectsProblem::dumpVariableHelper(), EigenExecutionerBase::EigenExecutionerBase(), EigenKernel::EigenKernel(), PIDTransientControl::execute(), Eigenvalue::execute(), InversePowerMethod::execute(), NonlinearEigen::execute(), SteadyBase::execute(), TransientBase::execute(), MFEMSteady::execute(), PseudoTimestep::execute(), IterationInfo::execute(), EigenProblem::execute(), Executioner::Executioner(), Executioner::Executioner(), ExtraIDIntegralReporter::ExtraIDIntegralReporter(), FEProblemBase::FEProblemBase(), FileOutput::FileOutput(), NEML2Assembly::finalize(), ChangeOverFixedPointPostprocessor::finalize(), RadialAverage::finalize(), FixedPointSolve::FixedPointSolve(), FEProblemBase::forceOutput(), FullSolveMultiApp::FullSolveMultiApp(), FunctorSmootherTempl< T >::FunctorSmootherTempl(), FVAdvection::FVAdvection(), FileMeshGenerator::generate(), MeshGenerator::generateInternal(), MeshGenerator::generateInternalCSG(), MeshGenerator::getCSGBaseByName(), FEProblemBase::getExecutor(), MeshGenerator::getMeshByName(), NumFixedPointIterations::getValue(), NumRelationshipManagers::getValue(), GhostingUserObject::GhostingUserObject(), MooseMesh::init(), Eigenvalue::init(), InversePowerMethod::init(), NonlinearEigen::init(), TransientBase::init(), MFEMMesh::init(), FEProblemBase::init(), CompositionDT::init(), SubProblem::initialSetup(), PIDTransientControl::initialSetup(), RealFunctionControl::initialSetup(), TimePeriod::initialSetup(), EigenProblemSolve::initialSetup(), FEProblemSolve::initialSetup(), Console::initialSetup(), FEProblemBase::initialSetup(), AdvancedOutput::initOutputList(), FEProblemBase::initPetscOutputAndSomeSolverSettings(), EigenProblem::initPetscOutputAndSomeSolverSettings(), AdvancedOutput::initPostprocessorOrVectorPostprocessorLists(), FEProblemBase::meshChanged(), MeshGenerator::MeshGenerator(), MFEMProblemSolve::MFEMProblemSolve(), MooseMesh::MooseMesh(), MooseMesh::MooseMesh(), MooseObject::MooseObject(), MultiAppGeneralFieldTransfer::MultiAppGeneralFieldTransfer(), EigenExecutionerBase::normalizeSolution(), NumFailedTimeSteps::NumFailedTimeSteps(), Checkpoint::output(), Exodus::output(), Nemesis::output(), PerfGraphOutput::output(), Tecplot::output(), MortarNodalGeometryOutput::output(), ControlOutput::outputActiveObjects(), ControlOutput::outputChangedControls(), ControlOutput::outputControls(), Exodus::outputEmptyTimestep(), Console::outputInput(), Exodus::outputInput(), Exodus::outputNodalVariables(), JSONOutput::outputReporters(), Output::outputStep(), SampledOutput::outputStep(), FEProblemBase::outputStep(), Console::outputSystemInformation(), JSONOutput::outputSystemInformation(), OverlayMeshGenerator::OverlayMeshGenerator(), MultiApp::parentOutputPositionChanged(), TransientBase::preExecute(), FEProblemBase::projectSolution(), AnnularMesh::safeClone(), ConcentricCircleMesh::safeClone(), FileMesh::safeClone(), GeneratedMesh::safeClone(), ImageMesh::safeClone(), MeshGeneratorMesh::safeClone(), PatternedMesh::safeClone(), RinglebMesh::safeClone(), SpiralAnnularMesh::safeClone(), StitchedMesh::safeClone(), TiledMesh::safeClone(), MFEMMesh::safeClone(), MultiApp::setAppOutputFileBase(), FileOutput::setFileBaseInternal(), MeshGenerator::setMeshProperty(), MeshGenerator::setMeshPropertyHelper(), FEProblemBase::setRestartFile(), TransientMultiApp::setupApp(), TimeSequenceStepperBase::setupSequence(), TransientBase::setupTimeIntegrator(), Output::setWallTimeIntervalFromCommandLineParam(), SideSetExtruderGenerator::SideSetExtruderGenerator(), SolutionInvalidityReporter::SolutionInvalidityReporter(), FixedPointSolve::solve(), FEProblemBase::solve(), EigenProblem::solve(), FEProblemBase::solveLinearSystem(), PetscOutput::solveSetup(), FixedPointSolve::solveStep(), TransientMultiApp::solveStep(), FEProblemBase::subdomainSetup(), FEProblemBase::theWarehouse(), TimeExtremeValue::TimeExtremeValue(), TimeIntegratedPostprocessor::TimeIntegratedPostprocessor(), TimeIntervalTimes::TimeIntervalTimes(), TimePeriod::TimePeriod(), SubProblem::timestepSetup(), PIDTransientControl::timestepSetup(), FEProblemBase::timestepSetup(), TransientBase::TransientBase(), MooseMesh::update(), NEML2FEInterpolation::updateDofMap(), NEML2FEInterpolation::updateGradPhi(), NEML2FEInterpolation::updateInterpolations(), FEProblemBase::updateMortarMesh(), NEML2FEInterpolation::updatePhi(), Console::write(), and FEProblemBase::~FEProblemBase().

◆ _array_var_component_names

std::vector<std::string> MooseVariableBase::_array_var_component_names
protectedinherited

Array variable names when the variable is an array variable.

Definition at line 269 of file MooseVariableBase.h.

Referenced by MooseVariableBase::arrayVariableComponent(), MooseVariableBase::isArray(), and MooseVariableBase::MooseVariableBase().

◆ _assembly

Assembly& MooseVariableBase::_assembly
protectedinherited

Assembly data.

Definition at line 242 of file MooseVariableBase.h.

Referenced by MooseVariableFE< OutputType >::MooseVariableFE().

◆ _blk_dim

unsigned int BlockRestrictable::_blk_dim
privateinherited

Largest mesh dimension of the elements in the blocks for this object.

Definition at line 336 of file BlockRestrictable.h.

Referenced by BlockRestrictable::blocksMaxDimension(), and BlockRestrictable::initializeBlockRestrictable().

◆ _blk_dual_restrictable

const bool BlockRestrictable::_blk_dual_restrictable
privateinherited

Flag for allowing dual restriction.

Definition at line 315 of file BlockRestrictable.h.

Referenced by BlockRestrictable::initializeBlockRestrictable().

◆ _blk_feproblem

FEProblemBase* BlockRestrictable::_blk_feproblem
privateinherited

◆ _blk_ids

std::set<SubdomainID> BlockRestrictable::_blk_ids
privateinherited

◆ _blk_material_data

const MaterialData* BlockRestrictable::_blk_material_data
protectedinherited

Pointer to the MaterialData class for this object.

Definition at line 232 of file BlockRestrictable.h.

Referenced by BlockRestrictable::hasBlockMaterialProperty(), and BlockRestrictable::initializeBlockRestrictable().

◆ _blk_mesh

const MooseMesh* BlockRestrictable::_blk_mesh
privateinherited

◆ _blk_name

const std::string& BlockRestrictable::_blk_name
privateinherited

Name of the object.

Definition at line 333 of file BlockRestrictable.h.

Referenced by BlockRestrictable::checkVariable(), and BlockRestrictable::initializeBlockRestrictable().

◆ _blk_tid

THREAD_ID BlockRestrictable::_blk_tid
privateinherited

Thread id for this object.

Definition at line 330 of file BlockRestrictable.h.

Referenced by BlockRestrictable::initializeBlockRestrictable().

◆ _blocks

std::vector<SubdomainName> BlockRestrictable::_blocks
privateinherited

Vector the block names supplied by the user via the input file.

Definition at line 312 of file BlockRestrictable.h.

Referenced by BlockRestrictable::blocks(), and BlockRestrictable::initializeBlockRestrictable().

◆ _boundary_ids

const std::set<BoundaryID>& BlockRestrictable::_boundary_ids
privateinherited

Reference to the boundary_ids, defaults to an empty set if not provided.

Definition at line 327 of file BlockRestrictable.h.

Referenced by BlockRestrictable::initializeBlockRestrictable().

◆ _clearance_schedule

std::set<ExecFlagType> Moose::FunctorBase< Moose::ADType< OutputType >::type >::_clearance_schedule
privateinherited

How often to clear the material property cache.

Definition at line 520 of file MooseFunctor.h.

◆ _console

const ConsoleStream ConsoleStreamInterface::_console
inherited

An instance of helper class to write streams to the Console objects.

Definition at line 31 of file ConsoleStreamInterface.h.

Referenced by IterationAdaptiveDT::acceptStep(), MaterialOutputAction::act(), MeshOnlyAction::act(), SetupDebugAction::act(), FEProblemBase::adaptMesh(), Adaptivity::adaptMesh(), PerfGraph::addToExecutionList(), SimplePredictor::apply(), SystemBase::applyScalingFactors(), MultiApp::backup(), FEProblemBase::backupMultiApps(), CoarsenedPiecewiseLinear::buildCoarsenedGrid(), DefaultSteadyStateConvergence::checkConvergence(), MeshDiagnosticsGenerator::checkElementOverlap(), MeshDiagnosticsGenerator::checkElementTypes(), MeshDiagnosticsGenerator::checkElementVolumes(), FEProblemBase::checkExceptionAndStopSolve(), SolverSystem::checkInvalidSolution(), MeshDiagnosticsGenerator::checkLocalJacobians(), MeshDiagnosticsGenerator::checkNonConformalMesh(), MeshDiagnosticsGenerator::checkNonConformalMeshFromAdaptivity(), MeshDiagnosticsGenerator::checkNonMatchingEdges(), MeshDiagnosticsGenerator::checkNonPlanarSides(), MeshDiagnosticsGenerator::checkPolygons(), FEProblemBase::checkProblemIntegrity(), ReferenceResidualConvergence::checkResidualConvergence(), MeshDiagnosticsGenerator::checkSidesetsOrientation(), MeshDiagnosticsGenerator::checkWatertightNodesets(), MeshDiagnosticsGenerator::checkWatertightSidesets(), IterationAdaptiveDT::computeAdaptiveDT(), TransientBase::computeConstrainedDT(), DefaultMultiAppFixedPointConvergence::computeCustomConvergencePostprocessor(), NonlinearSystemBase::computeDamping(), FixedPointIterationAdaptiveDT::computeDT(), IterationAdaptiveDT::computeDT(), IterationAdaptiveDT::computeFailedDT(), IterationAdaptiveDT::computeInitialDT(), IterationAdaptiveDT::computeInterpolationDT(), FEProblemBase::computeLinearSystemTags(), LinearSystem::computeLinearSystemTags(), NonlinearSystemBase::computeScaling(), Problem::console(), TimeStepper::constrainStep(), IterationAdaptiveDT::constrainStep(), MultiApp::createApp(), FEProblemBase::execMultiApps(), FEProblemBase::execMultiAppTransfers(), Eigenvalue::execute(), SteadyBase::execute(), MFEMSteady::execute(), MessageFromInput::execute(), ActionWarehouse::executeActionsWithAction(), ActionWarehouse::executeAllActions(), MeshGeneratorSystem::executeMeshGenerators(), SidesetAroundSubdomainUpdater::finalize(), ElementQualityChecker::finalize(), FEProblemBase::finishMultiAppStep(), MeshRepairGenerator::fixOverlappingNodes(), SurfaceSubdomainsDelaunayRemesher::General2DDelaunay(), CoarsenBlockGenerator::generate(), OrientSurfaceMeshGenerator::generate(), PolyLineMeshFollowingNodeSetGenerator::generate(), MeshGenerator::generateInternal(), VariableCondensationPreconditioner::getDofToCondense(), InversePowerMethod::init(), NonlinearEigen::init(), FEProblemBase::initialAdaptMesh(), DefaultMultiAppFixedPointConvergence::initialize(), SubProblem::initialSetup(), EigenExecutionerBase::inversePowerIteration(), FEProblemBase::joinAndFinalize(), TransientBase::keepGoing(), IterationAdaptiveDT::limitDTByFunction(), IterationAdaptiveDT::limitDTToPostprocessorValue(), FEProblemBase::logAdd(), EigenExecutionerBase::makeBXConsistent(), Console::meshChanged(), SurfaceDelaunayGeneratorBase::meshNormalDeviation2D(), MooseBase::mooseDeprecated(), MooseBase::mooseDeprecatedNoTrace(), MooseBase::mooseInfo(), MooseBase::mooseWarning(), MooseBase::mooseWarningNonPrefixed(), ReferenceResidualConvergence::nonlinearConvergenceSetup(), Console::output(), DOFMapOutput::output(), MaterialPropertyDebugOutput::output(), PerfGraphOutput::output(), ReporterDebugOutput::output(), SolutionInvalidityOutput::output(), VariableResidualNormsDebugOutput::output(), ControlOutput::outputActiveObjects(), ControlOutput::outputChangedControls(), ControlOutput::outputControls(), Console::outputInput(), WebServerControl::outputMessage(), Console::outputPostprocessors(), PseudoTimestep::outputPseudoTimestep(), Console::outputReporters(), DefaultMultiAppFixedPointConvergence::outputResidualNorm(), Console::outputScalarVariables(), Console::outputSystemInformation(), FEProblemBase::possiblyRebuildGeomSearchPatches(), EigenExecutionerBase::postExecute(), AB2PredictorCorrector::postSolve(), ActionWarehouse::printActionDependencySets(), BlockRestrictionDebugOutput::printBlockRestrictionGroups(), BlockRestrictionDebugOutput::printBlockRestrictionMap(), BlockRestrictionDebugOutput::printBoundaryRestrictionGroups(), SolutionInvalidity::printDebug(), EigenExecutionerBase::printEigenvalue(), PicardSolve::printFixedPointConvergenceHistory(), SecantSolve::printFixedPointConvergenceHistory(), SteffensenSolve::printFixedPointConvergenceHistory(), FixedPointSolve::printFixedPointConvergenceReason(), PerfGraphLivePrint::printLiveMessage(), MaterialPropertyDebugOutput::printMaterialMap(), PerfGraphLivePrint::printStats(), NEML2Action::printSummary(), AutomaticMortarGeneration::projectPrimaryNodesSinglePair(), AutomaticMortarGeneration::projectSecondaryNodesSinglePair(), CoarsenBlockGenerator::recursiveCoarsen(), SolutionTimeAdaptiveDT::rejectStep(), MultiApp::restore(), FEProblemBase::restoreMultiApps(), FEProblemBase::restoreSolutions(), NonlinearSystemBase::setInitialSolution(), MooseApp::setupOptions(), Checkpoint::shouldOutput(), SubProblem::showFunctorRequestors(), SubProblem::showFunctors(), FullSolveMultiApp::showStatusMessage(), FEProblemSolve::solve(), FixedPointSolve::solve(), LinearSystem::solve(), NonlinearSystem::solve(), AStableDirk4::solve(), ExplicitRK2::solve(), ExplicitTVDRK2::solve(), ImplicitMidpoint::solve(), LStableDirk2::solve(), LStableDirk3::solve(), LStableDirk4::solve(), EigenProblem::solve(), FixedPointSolve::solveStep(), TransientMultiApp::solveStep(), MeshRepairGenerator::splitNonConvexPolygons(), PerfGraphLivePrint::start(), WebServerControl::startServer(), AB2PredictorCorrector::step(), NonlinearEigen::takeStep(), TransientBase::takeStep(), MFEMTransient::takeStep(), TerminateChainControl::terminate(), SubProblem::timestepSetup(), FEProblemBase::updateMeshXFEM(), Convergence::verboseOutput(), Console::writeTimestepInformation(), Console::writeVariableNorms(), and FEProblemBase::~FEProblemBase().

◆ _count

const unsigned int MooseVariableBase::_count
protectedinherited

◆ _current_elem_qp_functor_dot

std::vector<DotType> MooseVariableFE< Real >::_current_elem_qp_functor_dot
mutableprivateinherited

The values of the time derivative for the _current_elem_qp_functor_elem.

Definition at line 816 of file MooseVariableFE.h.

◆ _current_elem_qp_functor_elem

const Elem* MooseVariableFE< Real >::_current_elem_qp_functor_elem
mutableprivateinherited

Keep track of the current elem-qp functor element in order to enable local caching (e.g.

if we call evaluate on the same element, but just with a different quadrature point, we can return previously computed results indexed at the different qp

Definition at line 807 of file MooseVariableFE.h.

◆ _current_elem_qp_functor_grad_dot

std::vector<GradientType> MooseVariableFE< Real >::_current_elem_qp_functor_grad_dot
mutableprivateinherited

The values of the gradient of the time derivative for the _current_elem_qp_functor_elem.

Definition at line 819 of file MooseVariableFE.h.

◆ _current_elem_qp_functor_gradient

std::vector<GradientType> MooseVariableFE< Real >::_current_elem_qp_functor_gradient
mutableprivateinherited

The values of the gradient for the _current_elem_qp_functor_elem.

Definition at line 813 of file MooseVariableFE.h.

◆ _current_elem_qp_functor_sln

std::vector<ValueType> MooseVariableFE< Real >::_current_elem_qp_functor_sln
mutableprivateinherited

The values of the solution for the _current_elem_qp_functor_elem.

Definition at line 810 of file MooseVariableFE.h.

◆ _current_elem_side_qp_functor_dot

std::vector<DotType> MooseVariableFE< Real >::_current_elem_side_qp_functor_dot
mutableprivateinherited

The values of the time derivative for the _current_elem_side_qp_functor_elem_side.

Definition at line 834 of file MooseVariableFE.h.

◆ _current_elem_side_qp_functor_elem_side

std::pair<const Elem *, unsigned int> MooseVariableFE< Real >::_current_elem_side_qp_functor_elem_side
mutableprivateinherited

Keep track of the current elem-side-qp functor element and side in order to enable local caching (e.g.

if we call evaluate with the same element and side, but just with a different quadrature point, we can return previously computed results indexed at the different qp

Definition at line 824 of file MooseVariableFE.h.

824 {
825 nullptr, libMesh::invalid_uint};

◆ _current_elem_side_qp_functor_grad_dot

std::vector<GradientType> MooseVariableFE< Real >::_current_elem_side_qp_functor_grad_dot
mutableprivateinherited

The values of the gradient of the time derivative for the _current_elem_side_qp_functor_elem_side.

Definition at line 838 of file MooseVariableFE.h.

◆ _current_elem_side_qp_functor_gradient

std::vector<GradientType> MooseVariableFE< Real >::_current_elem_side_qp_functor_gradient
mutableprivateinherited

The values of the gradient for the _current_elem_side_qp_functor_elem_side.

Definition at line 831 of file MooseVariableFE.h.

◆ _current_elem_side_qp_functor_sln

std::vector<ValueType> MooseVariableFE< Real >::_current_elem_side_qp_functor_sln
mutableprivateinherited

The values of the solution for the _current_elem_side_qp_functor_elem_side.

Definition at line 828 of file MooseVariableFE.h.

◆ _current_execute_flag

const ExecFlagType& SetupInterface::_current_execute_flag
protectedinherited

Reference to FEProblemBase.

Definition at line 86 of file SetupInterface.h.

Referenced by PseudoTimestep::execute().

◆ _current_qp_map_key

dof_id_type Moose::FunctorBase< Moose::ADType< OutputType >::type >::_current_qp_map_key
mutableprivateinherited

Current key for qp map cache.

Definition at line 529 of file MooseFunctor.h.

◆ _current_qp_map_value

std::vector<std::pair<bool, ValueType> >* Moose::FunctorBase< Moose::ADType< OutputType >::type >::_current_qp_map_value
mutableprivateinherited

Current value for qp map cache.

Definition at line 532 of file MooseFunctor.h.

◆ _current_side_qp_map_key

dof_id_type Moose::FunctorBase< Moose::ADType< OutputType >::type >::_current_side_qp_map_key
mutableprivateinherited

Current key for side-qp map cache.

Definition at line 545 of file MooseFunctor.h.

◆ _current_side_qp_map_value

std::vector<std::vector<std::pair<bool, ValueType> > >* Moose::FunctorBase< Moose::ADType< OutputType >::type >::_current_side_qp_map_value
mutableprivateinherited

Current value for side-qp map cache.

Definition at line 548 of file MooseFunctor.h.

◆ _dof_indices

std::vector<dof_id_type> MooseVariableBase::_dof_indices
protectedinherited

◆ _dof_map

const libMesh::DofMap& MooseVariableBase::_dof_map
protectedinherited

◆ _elem_arg_to_value

std::map<ElemArg, ValueType> Moose::FunctorBase< Moose::ADType< OutputType >::type >::_elem_arg_to_value
mutableprivateinherited

Map from element arguments to their cached evaluations.

Definition at line 561 of file MooseFunctor.h.

◆ _element_data

std::unique_ptr<MooseVariableData<Real > > MooseVariableFE< Real >::_element_data
protectedinherited

Holder for all the data associated with the "main" element.

Definition at line 725 of file MooseVariableFE.h.

◆ _empty_boundary_ids

const std::set<BoundaryID> BlockRestrictable::_empty_boundary_ids
privateinherited

An empty set for referencing when boundary_ids is not included.

Definition at line 324 of file BlockRestrictable.h.

◆ _empty_execute_enum

ExecFlagEnum SetupInterface::_empty_execute_enum
privateinherited

Empty ExecFlagEnum for the case when the "execute_on" parameter is not included.

This is private because others should not be messing with it.

Definition at line 79 of file SetupInterface.h.

Referenced by SetupInterface::SetupInterface().

◆ _enabled

const bool& MooseObject::_enabled
protectedinherited

Reference to the "enable" InputParameters, used by Controls for toggling on/off MooseObjects.

Definition at line 71 of file MooseObject.h.

Referenced by MooseObject::enabled().

◆ _execute_enum

const ExecFlagEnum& SetupInterface::_execute_enum
protectedinherited

◆ _face_arg_to_value

std::map<FaceArg, ValueType> Moose::FunctorBase< Moose::ADType< OutputType >::type >::_face_arg_to_value
mutableprivateinherited

Map from face arguments to their cached evaluations.

Definition at line 564 of file MooseFunctor.h.

◆ _factory

Factory& ParallelParamObject::_factory
protectedinherited

◆ _fe_type

libMesh::FEType MooseVariableBase::_fe_type
protectedinherited

The FEType associated with this variable.

Definition at line 221 of file MooseVariableBase.h.

Referenced by MooseVariableBase::feType(), MooseVariableBase::MooseVariableBase(), MooseVariableConstMonomial(), and MooseVariableBase::order().

◆ _functor_name

MooseFunctorName Moose::FunctorBase< Moose::ADType< OutputType >::type >::_functor_name
privateinherited

name of the functor

Definition at line 570 of file MooseFunctor.h.

◆ _index

unsigned int MooseVariableBase::_index
protectedinherited

variable number within MOOSE

Definition at line 227 of file MooseVariableBase.h.

◆ _is_eigen

bool MooseVariableBase::_is_eigen
protectedinherited

Whether or not this variable operates on eigen kernels.

Definition at line 230 of file MooseVariableBase.h.

Referenced by MooseVariableBase::eigen(), and MooseVariableBase::eigen().

◆ _is_lower_d

bool MooseVariableBase::_is_lower_d
protectedinherited

Whether this variable lives on lower dimensional blocks.

Definition at line 266 of file MooseVariableBase.h.

◆ _kokkos_element_ids

Moose::Kokkos::Array<ContiguousElementID> BlockRestrictable::_kokkos_element_ids
privateinherited

List of contiguous element IDs this Kokkos object is operating on.

Definition at line 345 of file BlockRestrictable.h.

Referenced by BlockRestrictable::kokkosBlockElementID(), and BlockRestrictable::numKokkosBlockElements().

◆ _kokkos_element_side_ids

Moose::Kokkos::Array<Moose::Kokkos::Pair<ContiguousElementID, unsigned int> > BlockRestrictable::_kokkos_element_side_ids
privateinherited

List of contiguous local element ID - side index pairs this Kokkos object is operating on.

Definition at line 354 of file BlockRestrictable.h.

Referenced by BlockRestrictable::kokkosBlockElementSideID(), and BlockRestrictable::numKokkosBlockSides().

◆ _kokkos_node_ids

Moose::Kokkos::Array<ContiguousNodeID> BlockRestrictable::_kokkos_node_ids
privateinherited

List of contiguous node IDs this Kokkos object is operating on.

Definition at line 349 of file BlockRestrictable.h.

Referenced by BlockRestrictable::kokkosBlockNodeID(), and BlockRestrictable::numKokkosBlockNodes().

◆ _lower_data

std::unique_ptr<MooseVariableData<Real > > MooseVariableFE< Real >::_lower_data
protectedinherited

Holder for all the data associated with the lower dimeensional element.

Definition at line 731 of file MooseVariableFE.h.

◆ _mci_feproblem

FEProblemBase& MeshChangedInterface::_mci_feproblem
protectedinherited

Reference to FEProblemBase instance.

Definition at line 44 of file MeshChangedInterface.h.

Referenced by MeshChangedInterface::MeshChangedInterface().

◆ _mesh

MooseMesh& MooseVariableBase::_mesh
protectedinherited

◆ _moose_object

const MooseObject* BlockRestrictable::_moose_object
privateinherited

◆ _name

const std::string& MooseBase::_name
protectedinherited

The name of this class.

Definition at line 381 of file MooseBase.h.

Referenced by AddFieldSplitAction::act(), AddBCAction::act(), AddConstraintAction::act(), AddControlAction::act(), AddConvergenceAction::act(), AddCorrectorAction::act(), AddDamperAction::act(), AddDGKernelAction::act(), AddDiracKernelAction::act(), AddDistributionAction::act(), AddFunctionAction::act(), AddFunctorMaterialAction::act(), AddFVBCAction::act(), AddFVInitialConditionAction::act(), AddFVInterfaceKernelAction::act(), AddFVInterpolationMethodAction::act(), AddFVKernelAction::act(), AddHDGKernelAction::act(), AddIndicatorAction::act(), AddInitialConditionAction::act(), AddInterfaceKernelAction::act(), AddKernelAction::act(), AddLinearFVBCAction::act(), AddLinearFVKernelAction::act(), AddMarkerAction::act(), AddMaterialAction::act(), AddMeshDivisionAction::act(), AddMeshGeneratorAction::act(), AddMeshModifiersAction::act(), AddMultiAppAction::act(), AddNodalKernelAction::act(), AddOutputAction::act(), AddPositionsAction::act(), AddPostprocessorAction::act(), AddReporterAction::act(), AddSamplerAction::act(), AddScalarKernelAction::act(), AddTimesAction::act(), AddTimeStepperAction::act(), AddTransferAction::act(), AddUserObjectAction::act(), AddVectorPostprocessorAction::act(), PartitionerAction::act(), ReadExecutorParamsAction::act(), SetupPreconditionerAction::act(), SetupTimeIntegratorAction::act(), AddMFEMComplexBCComponentAction::act(), AddMFEMComplexKernelComponentAction::act(), AddMFEMFESpaceAction::act(), AddMFEMFESpaceHierarchyAction::act(), AddMFEMQuadratureFunctionAction::act(), AddMFEMSolverAction::act(), AddMFEMSubMeshAction::act(), ADPiecewiseLinearInterpolationMaterial::ADPiecewiseLinearInterpolationMaterial(), BatchMeshGeneratorAction::BatchMeshGeneratorAction(), PiecewiseLinearBase::buildInterpolation(), CombinerGenerator::CombinerGenerator(), Executor::Executor(), ExtraIDIntegralReporter::ExtraIDIntegralReporter(), MultiApp::fillPositions(), CentroidMultiApp::fillPositions(), QuadraturePointMultiApp::fillPositions(), FunctionDT::FunctionDT(), FillBetweenCurvesGenerator::generate(), FillBetweenPointVectorsGenerator::generate(), FillBetweenSidesetsGenerator::generate(), MooseBase::MooseBase(), MooseBase::name(), ReferenceResidualConvergence::nonlinearConvergenceSetup(), ParsedFunctorMaterialTempl< is_ad >::ParsedFunctorMaterialTempl(), PiecewiseBilinear::PiecewiseBilinear(), PiecewiseLinearInterpolationMaterial::PiecewiseLinearInterpolationMaterial(), PiecewiseBase::setData(), and AddVariableAction::varName().

◆ _neighbor_data

std::unique_ptr<MooseVariableData<Real > > MooseVariableFE< Real >::_neighbor_data
protectedinherited

Holder for all the data associated with the neighbor element.

Definition at line 728 of file MooseVariableFE.h.

◆ _node_arg_to_value

std::map<NodeArg, ValueType> Moose::FunctorBase< Moose::ADType< OutputType >::type >::_node_arg_to_value
mutableprivateinherited

Map from nodal arguments to their cached evaluations.

Definition at line 567 of file MooseFunctor.h.

◆ _oi_moose_app

MooseApp& OutputInterface::_oi_moose_app
privateinherited

Reference the the MooseApp; neede for access to the OutputWarehouse.

Definition at line 72 of file OutputInterface.h.

◆ _oi_output_warehouse

OutputWarehouse& OutputInterface::_oi_output_warehouse
privateinherited

Reference to the OutputWarehouse for populating the Output object hide lists.

Definition at line 75 of file OutputInterface.h.

Referenced by OutputInterface::buildOutputHideVariableList().

◆ _oi_outputs

std::set<OutputName> OutputInterface::_oi_outputs
privateinherited

The set of Output object names listed in the 'outputs' parameter.

Definition at line 78 of file OutputInterface.h.

Referenced by OutputInterface::buildOutputHideVariableList(), and OutputInterface::getOutputs().

◆ _parent

const ParallelParamObject& DataFileInterface::_parent
privateinherited

◆ _pars

const InputParameters& MooseBase::_pars
protectedinherited

The object's parameters.

Definition at line 384 of file MooseBase.h.

Referenced by AddAuxKernelAction::act(), AddFVICAction::act(), AddICAction::act(), CommonOutputAction::act(), ComposeTimeStepperAction::act(), CreateProblemAction::act(), CreateProblemDefaultAction::act(), SetupDebugAction::act(), SetupMeshAction::act(), AddMFEMComplexBCComponentAction::act(), AddMFEMComplexKernelComponentAction::act(), FunctorMaterial::addFunctorPropertyByBlocks(), BreakMeshByBlockGenerator::BreakMeshByBlockGenerator(), PNGOutput::calculateRescalingValues(), MooseBase::callMooseError(), MooseBase::connectControllableParams(), Console::Console(), MooseApp::copyInputs(), MaterialBase::declareADProperty(), Moose::Kokkos::MaterialBase::declareKokkosOnDemandProperty(), Moose::Kokkos::MaterialBase::declareKokkosProperty(), MaterialBase::declareProperty(), FEProblemSolve::FEProblemSolve(), FileMeshGenerator::generate(), MooseBase::getBase(), MooseBase::getCheckedPointerParam(), MaterialBase::getGenericZeroMaterialProperty(), MooseBase::getHitNode(), MeshGenerator::getMeshGeneratorNameFromParam(), MeshGenerator::getMeshGeneratorNamesFromParam(), MooseBase::getParam(), MooseBase::getParam(), MooseBase::hasBase(), MeshGenerator::hasGenerateCSG(), MeshGenerator::hasGenerateData(), AddVariableAction::init(), AdvancedOutput::initExecutionTypes(), EigenProblemSolve::initialSetup(), Console::initialSetup(), MooseBase::isParamSetByUser(), MooseBase::isParamValid(), MultiApp::keepSolutionDuringRestore(), MooseBase::messagePrefix(), MooseBase::MooseBase(), MultiSystemSolveObject::MultiSystemSolveObject(), MooseApp::outputMachineReadableData(), MooseBase::paramError(), MooseBase::parameters(), MooseBase::paramInfo(), MooseBase::paramWarning(), MooseMesh::prepare(), MooseBase::queryParam(), MooseMesh::setCoordSystem(), MooseMesh::setPartitionerHelper(), SetupMeshAction::setupMesh(), TransientBase::setupTimeIntegrator(), MooseApp::showInputs(), and MooseBase::uniqueName().

◆ _qp_to_value

std::unordered_map<dof_id_type, std::vector<std::pair<bool, ValueType> > > Moose::FunctorBase< Moose::ADType< OutputType >::type >::_qp_to_value
mutableprivateinherited

Cached element quadrature point functor property evaluations.

The map key is the element id. The map values should have size corresponding to the number of quadrature points on the element. The vector elements are pairs. The first member of the pair indicates whether a cached value has been computed. The second member of the pair is the (cached) value. If the boolean is false, then the value cannot be trusted

Definition at line 539 of file MooseFunctor.h.

◆ _scaling_factor

std::vector<Real> MooseVariableBase::_scaling_factor
protectedinherited

◆ _si_moose_base

const MooseBase& SolutionInvalidInterface::_si_moose_base
privateinherited

◆ _si_problem

const FEProblemBase* SolutionInvalidInterface::_si_problem
privateinherited

A pointer to FEProblem base.

Definition at line 114 of file SolutionInvalidInterface.h.

Referenced by SolutionInvalidInterface::flagInvalidSolutionInternal().

◆ _side_qp_to_value

std::unordered_map<dof_id_type, std::vector<std::vector<std::pair<bool, ValueType> > > > Moose::FunctorBase< Moose::ADType< OutputType >::type >::_side_qp_to_value
mutableprivateinherited

Cached element quadrature point functor property evaluations.

The map key is the element id. The map values are a multi-dimensional vector (or vector of vectors) with the first index corresponding to the side and the second index corresponding to the quadrature point index. The elements returned after double indexing are pairs. The first member of the pair indicates whether a cached value has been computed. The second member of the pair is the (cached) value. If the boolean is false, then the value cannot be trusted

Definition at line 558 of file MooseFunctor.h.

◆ _subproblem

SubProblem& MooseVariableBase::_subproblem
protectedinherited

◆ _sys

SystemBase& MooseVariableBase::_sys
protectedinherited

◆ _tid

THREAD_ID MooseVariableBase::_tid
protectedinherited

◆ _time_integrator

template<typename OutputType >
const TimeIntegrator* const MooseVariableField< OutputType >::_time_integrator
protectedinherited

the time integrator used for computing time derivatives

Definition at line 406 of file MooseVariableField.h.

◆ _type

const std::string& MooseBase::_type
protectedinherited

◆ _use_dual

bool MooseVariableBase::_use_dual
protectedinherited

If dual mortar approach is used.

Definition at line 263 of file MooseVariableBase.h.

Referenced by MooseVariableBase::useDual().

◆ _var_kind

Moose::VarKindType MooseVariableBase::_var_kind
protectedinherited

Variable type (see MooseTypes.h)

Definition at line 233 of file MooseVariableBase.h.

Referenced by MooseVariableBase::initialSetup(), and MooseVariableBase::kind().

◆ _var_num

unsigned int MooseVariableBase::_var_num
protectedinherited

◆ _variable

const libMesh::Variable& MooseVariableBase::_variable
protectedinherited

libMesh variable object for this variable

Definition at line 239 of file MooseVariableBase.h.

◆ _vec_ids

std::vector<SubdomainID> BlockRestrictable::_vec_ids
privateinherited

Vector of block ids supplied by the user via the input file (for error reporting)

Definition at line 309 of file BlockRestrictable.h.

Referenced by BlockRestrictable::initializeBlockRestrictable().

◆ app_param

const std::string MooseBase::app_param = "_moose_app"
staticinherited

◆ kokkos_object_param

const std::string MooseBase::kokkos_object_param = "_kokkos_object"
staticinherited

The name of the parameter that indicates an object is a Kokkos functor.

Definition at line 64 of file MooseBase.h.

Referenced by InputParameters::isKokkosObject().

◆ moose_base_param

const std::string MooseBase::moose_base_param = "_moose_base"
staticinherited

The name of the parameter that contains the moose system base.

Definition at line 61 of file MooseBase.h.

Referenced by InputParameters::getBase(), InputParameters::hasBase(), and InputParameters::registerBase().

◆ name_param

const std::string MooseBase::name_param = "_object_name"
staticinherited

◆ type_param

const std::string MooseBase::type_param = "_type"
staticinherited

◆ unique_name_param

const std::string MooseBase::unique_name_param = "_unique_name"
staticinherited

The name of the parameter that contains the unique object name.

Definition at line 57 of file MooseBase.h.

Referenced by InputParameterWarehouse::addInputParameters(), AppFactory::create(), InputParameterWarehouse::removeInputParameters(), MooseBase::uniqueName(), and MooseBase::validParams().

◆ usingCombinedWarningSolutionWarnings

MooseObject::usingCombinedWarningSolutionWarnings
inherited

Definition at line 67 of file MooseObject.h.

◆ usingMooseVariableFieldMembers

MooseVariableFE< Real >::usingMooseVariableFieldMembers
protectedinherited

Definition at line 722 of file MooseVariableFE.h.


The documentation for this class was generated from the following files: