www.mooseframework.org
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
KernelGrad Class Referenceabstract

The KernelGrad class is responsible for calculating the residuals in form: More...

#include <KernelGrad.h>

Inheritance diagram for KernelGrad:
[legend]

Public Member Functions

 KernelGrad (const InputParameters &parameters)
 Factory constructor initializes all internal references needed for residual computation. More...
 
virtual void computeResidual () override
 Compute this Kernel's contribution to the residual. More...
 
virtual void computeJacobian () override
 Compute this Kernel's contribution to the diagonal Jacobian entries. More...
 
virtual void computeOffDiagJacobian (MooseVariableFEBase &jvar) override
 Computes d-residual / d-jvar... storing the result in Ke. More...
 
virtual void computeOffDiagJacobian (MooseVariableFEBase &jvar) override
 Computes d-residual / d-jvar... storing the result in Ke. More...
 
virtual void computeOffDiagJacobian (unsigned jvar)
 Deprecated method. More...
 
virtual void computeOffDiagJacobian (unsigned jvar)
 Deprecated method. More...
 
virtual void computeOffDiagJacobianScalar (unsigned int jvar) override
 Computes jacobian block with respect to a scalar variable. More...
 
virtual MooseVariablevariable () override
 Returns the variable that this Kernel operates on. More...
 
virtual void computeADOffDiagJacobian ()
 
virtual void computeNonlocalJacobian ()
 Compute this Kernel's contribution to the diagonal Jacobian entries corresponding to nonlocal dofs of the variable. More...
 
virtual void computeNonlocalOffDiagJacobian (unsigned int)
 Computes d-residual / d-jvar... More...
 
SubProblemsubProblem ()
 Returns a reference to the SubProblem for which this Kernel is active. More...
 
const std::string & type () const
 Get the type of this object. More...
 
virtual const std::string & name () const
 Get the name of the object. More...
 
const InputParametersparameters () const
 Get the parameters of the object. More...
 
template<typename T >
const T & getParamTempl (const std::string &name) const
 Retrieve a parameter for the object. More...
 
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. More...
 
bool isParamValid (const std::string &name) const
 Test if the supplied parameter is valid. More...
 
MooseAppgetMooseApp () const
 Get the MooseApp this object is associated with. More...
 
virtual bool enabled () const
 Return the enabled status of the object. More...
 
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. More...
 
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. More...
 
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. More...
 
template<typename... Args>
void mooseError (Args &&... args) const
 
template<typename... Args>
void mooseWarning (Args &&... args) const
 
template<typename... Args>
void mooseDeprecated (Args &&... args) const
 
template<typename... Args>
void mooseInfo (Args &&... args) const
 
const std::vector< SubdomainName > & blocks () const
 Return the block names for this object. More...
 
unsigned int numBlocks () const
 Return the number of blocks for this object. More...
 
const virtual std::set< SubdomainID > & blockIDs () const
 Return the block subdomain ids for this object. More...
 
bool hasBlocks (const SubdomainName &name) const
 Test if the supplied block name is valid for this object. More...
 
bool hasBlocks (const std::vector< SubdomainName > &names) const
 Test if the supplied vector of block names are valid for this object. More...
 
bool hasBlocks (const SubdomainID &id) const
 Test if the supplied block ids are valid for this object. More...
 
bool hasBlocks (const std::vector< SubdomainID > &ids) const
 Test if the supplied vector block ids are valid for this object. More...
 
bool hasBlocks (const std::set< SubdomainID > &ids) const
 Test if the supplied set of block ids are valid for this object. More...
 
bool isBlockSubset (const std::set< SubdomainID > &ids) const
 Test if the class block ids are a subset of the supplied objects. More...
 
bool isBlockSubset (const std::vector< SubdomainID > &ids) const
 Test if the class block ids are a subset of the supplied objects. More...
 
template<typename T >
bool hasBlockMaterialProperty (const std::string &prop_name)
 Check if a material property is valid for all blocks of this object. More...
 
const std::set< SubdomainID > & meshBlockIDs () const
 Return all of the SubdomainIDs for the mesh. More...
 
virtual bool blockRestricted () const
 Returns true if this object has been restricted to a boundary. More...
 
void checkVariable (const MooseVariableFEBase &variable) const
 Helper for checking that the ids for this object are in agreement with the variables on the supplied variable. More...
 
virtual void initialSetup ()
 Gets called at the beginning of the simulation before this object is asked to do its job. More...
 
virtual void timestepSetup ()
 Gets called at the beginning of the timestep before this object is asked to do its job. More...
 
virtual void jacobianSetup ()
 Gets called just before the Jacobian is computed and before this object is asked to do its job. More...
 
virtual void residualSetup ()
 Gets called just before the residual is computed and before this object is asked to do its job. More...
 
virtual void subdomainSetup ()
 Gets called when the subdomain changes (i.e. More...
 
const ExecFlagEnumgetExecuteOnEnum () const
 Return the execute on MultiMooseEnum for this object. More...
 
virtual const std::vector< ExecFlagType > & execFlags () const
 (DEPRECATED) Get the execution flag for the object TODO: ExecFlagType More...
 
ExecFlagType execBitFlags () const
 (DEPRECATED) Build and return the execution flags as a bitfield TODO: ExecFlagType More...
 
const std::unordered_map< std::string, std::vector< MooseVariableFEBase * > > & getCoupledVars ()
 Get the list of coupled variables. More...
 
const std::vector< MooseVariableFEBase * > & getCoupledMooseVars () const
 Get the list of all coupled variables. More...
 
const std::vector< MooseVariable * > & getCoupledStandardMooseVars () const
 Get the list of standard coupled variables. More...
 
const std::vector< VectorMooseVariable * > & getCoupledVectorMooseVars () const
 Get the list of vector coupled variables. More...
 
const std::vector< ArrayMooseVariable * > & getCoupledArratMooseVars () const
 Get the list of array coupled variables. More...
 
void addFEVariableCoupleableVectorTag (TagID tag)
 
void addFEVariableCoupleableMatrixTag (TagID tag)
 
std::set< TagID > & getFEVariableCoupleableVectorTags ()
 
std::set< TagID > & getFEVariableCoupleableMatrixTags ()
 
template<ComputeStage compute_stage>
ADVariableValue * getADDefaultValue (const std::string &var_name)
 Helper method to return (and insert if necessary) the default value for Automatic Differentiation for an uncoupled variable. More...
 
template<>
VariableValuegetADDefaultValue (const std::string &var_name)
 
template<>
VariableValuegetADDefaultValue (const std::string &var_name)
 
template<ComputeStage compute_stage>
ADVectorVariableValue * getADDefaultVectorValue (const std::string &var_name)
 Helper method to return (and insert if necessary) the default vector value for Automatic Differentiation for an uncoupled variable. More...
 
template<>
VectorVariableValuegetADDefaultVectorValue (const std::string &var_name)
 
template<>
VectorVariableValuegetADDefaultVectorValue (const std::string &var_name)
 
template<ComputeStage compute_stage>
ADVariableGradient & getADDefaultGradient ()
 Helper method to return (and insert if necessary) the default gradient for Automatic Differentiation for an uncoupled variable. More...
 
template<>
VariableGradientgetADDefaultGradient ()
 
template<>
VariableGradientgetADDefaultGradient ()
 
template<ComputeStage compute_stage>
ADVectorVariableGradient & getADDefaultVectorGradient ()
 Helper method to return (and insert if necessary) the default gradient for Automatic Differentiation for an uncoupled vector variable. More...
 
template<>
VectorVariableGradientgetADDefaultVectorGradient ()
 
template<>
VectorVariableGradientgetADDefaultVectorGradient ()
 
template<ComputeStage compute_stage>
ADVariableSecond & getADDefaultSecond ()
 Helper method to return (and insert if necessary) the default second derivatives for Automatic Differentiation for an uncoupled variable. More...
 
template<>
VariableSecondgetADDefaultSecond ()
 
template<>
VariableSecondgetADDefaultSecond ()
 
const std::vector< MooseVariableScalar * > & getCoupledMooseScalarVars ()
 Get the list of coupled scalar variables. More...
 
std::set< TagID > & getScalarVariableCoupleableVectorTags ()
 
std::set< TagID > & getScalarVariableCoupleableMatrixTags ()
 
void addScalarVariableCoupleableVectorTag (TagID tag)
 
void addScalarVariableCoupleableMatrixTag (TagID tag)
 
const std::set< MooseVariableFEBase * > & getMooseVariableDependencies () const
 Retrieve the set of MooseVariableFEBases that this object depends on. More...
 
const FunctiongetFunction (const std::string &name) const
 Get a function with a given name. More...
 
const FunctiongetFunctionByName (const FunctionName &name) const
 Get a function with a given name. More...
 
template<class T >
const T & getUserObjectTempl (const std::string &name)
 Get an user object with a given parameter name. More...
 
template<class T >
const T & getUserObjectByNameTempl (const std::string &name)
 Get an user object with a given name. More...
 
const UserObjectgetUserObjectBase (const std::string &name)
 Get an user object with a given parameter name. More...
 
const UserObjectgetUserObjectBaseByName (const std::string &name)
 Get an user object with a given name. More...
 
bool isImplicit ()
 
bool hasPostprocessor (const std::string &name, unsigned int index=0) const
 Determine if the Postprocessor exists. More...
 
bool hasPostprocessorByName (const PostprocessorName &name)
 Determine if the Postprocessor exists. More...
 
unsigned int coupledPostprocessors (const std::string &name) const
 Returns number of Postprocessors coupled under parameter name. More...
 
bool singlePostprocessor (const std::string &name) const
 Checks if there is a single postprocessor coupled by parameter name. More...
 
virtual const VectorPostprocessorValuegetVectorPostprocessorValue (const std::string &name, const std::string &vector_name)
 DEPRECATED: Use the new version where you need to specify whether or not the vector must be broadcast. More...
 
virtual const VectorPostprocessorValuegetVectorPostprocessorValue (const std::string &name, const std::string &vector_name, bool needs_broadcast)
 Retrieve the value of a VectorPostprocessor. More...
 
virtual const VectorPostprocessorValuegetVectorPostprocessorValueByName (const VectorPostprocessorName &name, const std::string &vector_name)
 DEPRECATED: Use the new version where you need to specify whether or not the vector must be broadcast. More...
 
virtual const VectorPostprocessorValuegetVectorPostprocessorValueByName (const VectorPostprocessorName &name, const std::string &vector_name, bool needs_broadcast)
 Retrieve the value of the VectorPostprocessor. More...
 
const VectorPostprocessorValuegetVectorPostprocessorValueOld (const std::string &name, const std::string &vector_name)
 DEPRECATED: Use the new version where you need to specify whether or not the vector must be broadcast. More...
 
virtual const VectorPostprocessorValuegetVectorPostprocessorValueOld (const std::string &name, const std::string &vector_name, bool needs_broadcast)
 Retrieve the old value of a VectorPostprocessor. More...
 
const VectorPostprocessorValuegetVectorPostprocessorValueOldByName (const VectorPostprocessorName &name, const std::string &vector_name)
 DEPRECATED: Use the new version where you need to specify whether or not the vector must be broadcast. More...
 
virtual const VectorPostprocessorValuegetVectorPostprocessorValueOldByName (const VectorPostprocessorName &name, const std::string &vector_name, bool needs_broadcast)
 Retrieve the old value of a VectorPostprocessor. More...
 
virtual const ScatterVectorPostprocessorValuegetScatterVectorPostprocessorValue (const std::string &name, const std::string &vector_name)
 Return the scatter value for the post processor. More...
 
virtual const ScatterVectorPostprocessorValuegetScatterVectorPostprocessorValueByName (const std::string &name, const std::string &vector_name)
 Return the scatter value for the post processor. More...
 
virtual const ScatterVectorPostprocessorValuegetScatterVectorPostprocessorValueOld (const std::string &name, const std::string &vector_name)
 Return the old scatter value for the post processor. More...
 
virtual const ScatterVectorPostprocessorValuegetScatterVectorPostprocessorValueOldByName (const std::string &name, const std::string &vector_name)
 Return the old scatter value for the post processor. More...
 
bool hasVectorPostprocessor (const std::string &name) const
 Determine if the VectorPostprocessor exists. More...
 
bool hasVectorPostprocessorByName (const VectorPostprocessorName &name) const
 Determine if the VectorPostprocessor exists. More...
 
template<typename T >
std::pair< const MaterialProperty< T > *, std::set< SubdomainID > > getBlockMaterialProperty (const MaterialPropertyName &name)
 Retrieve pointer to a material property with the mesh blocks where it is defined The name required by this method is the name defined in the input file. More...
 
template<typename T >
const MaterialProperty< T > & getZeroMaterialProperty (const std::string &prop_name)
 Return a material property that is initialized to zero by default and does not need to (but can) be declared by another material. More...
 
std::set< SubdomainIDgetMaterialPropertyBlocks (const std::string &name)
 Retrieve the block ids that the material property is defined. More...
 
std::vector< SubdomainName > getMaterialPropertyBlockNames (const std::string &name)
 Retrieve the block names that the material property is defined. More...
 
std::set< BoundaryIDgetMaterialPropertyBoundaryIDs (const std::string &name)
 Retrieve the boundary ids that the material property is defined. More...
 
std::vector< BoundaryName > getMaterialPropertyBoundaryNames (const std::string &name)
 Retrieve the boundary namess that the material property is defined. More...
 
void checkBlockAndBoundaryCompatibility (std::shared_ptr< MaterialBase > discrete)
 Check if block and boundary restrictions of a given material are compatible with the current material. More...
 
template<>
MaterialBasegetMaterialByName (const std::string &name, bool no_warn)
 
template<>
MaterialBasegetMaterialByName (const std::string &name, bool no_warn)
 
void statefulPropertiesAllowed (bool)
 Derived classes can declare whether or not they work with stateful material properties. More...
 
bool getMaterialPropertyCalled () const
 Returns true if getMaterialProperty() has been called, false otherwise. More...
 
const std::set< unsigned int > & getMatPropDependencies () const
 Retrieve the set of material properties that this object depends on. More...
 
void setRandomResetFrequency (ExecFlagType exec_flag)
 This interface should be called from a derived class to enable random number generation in this object. More...
 
unsigned long getRandomLong () const
 Returns the next random number (long) from the generator tied to this object (elem/node). More...
 
Real getRandomReal () const
 Returns the next random number (Real) from the generator tied to this object (elem/node). More...
 
unsigned int getSeed (std::size_t id)
 Get the seed for the passed in elem/node id. More...
 
unsigned int getMasterSeed () const
 
bool isNodal () const
 
ExecFlagType getResetOnTime () const
 
void setRandomDataPointer (RandomData *random_data)
 
virtual void meshChanged ()
 Called on this object when the mesh changes. More...
 
void useVectorTag (const TagName &tag_name)
 
void useVectorTag (TagID tag_id)
 
void useMatrixTag (const TagName &tag_name)
 
void useMatrixTag (TagID tag_id)
 
bool isVectorTagged ()
 
bool isMatrixTagged ()
 
const std::set< TagID > & getVectorTags () const
 
const std::set< TagID > & getMatrixTags () const
 
void prepareVectorTag (Assembly &assembly, unsigned int ivar)
 Prepare data for computing element residual the according to active tags. More...
 
void prepareVectorTagNeighbor (Assembly &assembly, unsigned int ivar)
 Prepare data for computing element residual the according to active tags for DG and interface kernels. More...
 
void prepareVectorTagLower (Assembly &assembly, unsigned int ivar)
 Prepare data for computing the residual according to active tags for mortar constraints. More...
 
void prepareMatrixTag (Assembly &assembly, unsigned int ivar, unsigned int jvar)
 Prepare data for computing element jacobian according to the ative tags. More...
 
void prepareMatrixTagNeighbor (Assembly &assembly, unsigned int ivar, unsigned int jvar, Moose::DGJacobianType type)
 Prepare data for computing element jacobian according to the ative tags for DG and interface kernels. More...
 
void prepareMatrixTagLower (Assembly &assembly, unsigned int ivar, unsigned int jvar, Moose::ConstraintJacobianType type)
 Prepare data for computing the jacobian according to the ative tags for mortar. More...
 
void accumulateTaggedLocalResidual ()
 Local residual blocks will be appended by adding the current local kernel residual. More...
 
void assignTaggedLocalResidual ()
 Local residual blocks will assigned as the current local kernel residual. More...
 
void accumulateTaggedLocalMatrix ()
 Local Jacobian blocks will be appended by adding the current local kernel Jacobian. More...
 
void assignTaggedLocalMatrix ()
 Local Jacobian blocks will assigned as the current local kernel Jacobian. More...
 
virtual unsigned int getElementIDIndex (const std::string &id_parameter_name, unsigned int comp=0) const
 Gets index of an element integer with a parameter of the object derived from this interface. More...
 
virtual const dof_id_type & getElementID (const std::string &id_parameter_name, unsigned int comp=0) const
 Gets an element integer with a parameter of the object derived from this interface. More...
 
MooseVariableFE< Real > * mooseVariable () const
 Get the variable that this object is using. More...
 
const PostprocessorValuegetPostprocessorValue (const std::string &name, unsigned int index=0)
 doco-normal-methods-begin Retrieve the value of a Postprocessor or one of it's old or older values More...
 
const PostprocessorValuegetPostprocessorValueOld (const std::string &name, unsigned int index=0)
 
const PostprocessorValuegetPostprocessorValueOlder (const std::string &name, unsigned int index=0)
 
const PostprocessorValuegetPostprocessorValueByName (const PostprocessorName &name)
 Retrieve the value of the Postprocessor. More...
 
const PostprocessorValuegetPostprocessorValueOldByName (const PostprocessorName &name)
 
const PostprocessorValuegetPostprocessorValueOlderByName (const PostprocessorName &name)
 
const PostprocessorValuegetDefaultPostprocessorValue (const std::string &name)
 Return the default postprocessor value. More...
 
template<typename T >
const MaterialProperty< T > & getMaterialPropertyTempl (const std::string &name)
 Retrieve reference to material property or one of it's old or older values. More...
 
template<typename T >
const ADMaterialPropertyObject< T > & getADMaterialPropertyTempl (const std::string &name)
 
template<typename T >
const MaterialProperty< T > & getMaterialPropertyOldTempl (const std::string &name)
 
template<typename T >
const MaterialProperty< T > & getMaterialPropertyOlderTempl (const std::string &name)
 
template<typename T >
const MaterialProperty< T > & getMaterialPropertyByNameTempl (const MaterialPropertyName &name)
 Retrieve reference to material property or its old or older value The name required by this method is the name defined in the input file. More...
 
template<typename T >
const ADMaterialPropertyObject< T > & getADMaterialPropertyByNameTempl (const MaterialPropertyName &name)
 
template<typename T >
const MaterialProperty< T > & getMaterialPropertyOldByNameTempl (const MaterialPropertyName &name)
 
template<typename T >
const MaterialProperty< T > & getMaterialPropertyOlderByNameTempl (const MaterialPropertyName &name)
 
MaterialBasegetMaterial (const std::string &name)
 Return a MaterialBase reference - usable for computing directly. More...
 
template<ComputeStage >
MaterialBasegetMaterial (const std::string &name)
 
MaterialBasegetMaterialByName (const std::string &name, bool no_warn=false)
 
template<ComputeStage >
MaterialBasegetMaterialByName (const std::string &name, bool no_warn=false)
 
template<typename T >
bool hasMaterialPropertyTempl (const std::string &name)
 Check if the material property exists. More...
 
template<typename T >
bool hasMaterialPropertyByNameTempl (const std::string &name)
 

Static Public Member Functions

static InputParameters validParams ()
 
static ExecFlagEnum getExecuteOptions ()
 (DEPRECATED) Returns the available options for the 'execute_on' input parameters TODO: ExecFlagType More...
 

Public Attributes

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

Protected Member Functions

virtual RealGradient precomputeQpResidual ()=0
 Called before forming the residual for an element. More...
 
virtual RealGradient precomputeQpJacobian ()
 Called before forming the jacobian for an element. More...
 
virtual Real computeQpResidual () override
 Compute this Kernel's contribution to the residual at the current quadrature point. More...
 
virtual Real computeQpJacobian ()
 Compute this Kernel's contribution to the Jacobian at the current quadrature point. More...
 
virtual Real computeQpOffDiagJacobian (unsigned int)
 This is the virtual that derived classes should override for computing an off-diagonal Jacobian component. More...
 
virtual RealEigenVector computeQpOffDiagJacobianArray (ArrayMooseVariable &jvar)
 For coupling array variables. More...
 
virtual void precalculateResidual ()
 Following methods are used for Kernels that need to perform a per-element calculation. More...
 
virtual void precalculateJacobian ()
 
virtual void precalculateOffDiagJacobian (unsigned int)
 
virtual bool hasBlockMaterialPropertyHelper (const std::string &prop_name)
 A helper method to allow the Material object to specialize the behavior of hasBlockMaterialProperty. More...
 
void initializeBlockRestrictable (const MooseObject *moose_object)
 An initialization routine needed for dual constructors. More...
 
Moose::CoordinateSystemType getBlockCoordSystem ()
 Check if the blocks this object operates on all have the same coordinate system, and if so return it. More...
 
virtual void coupledCallback (const std::string &, bool)
 A call-back function provided by the derived object for actions before coupling a variable with functions such as coupledValue. More...
 
virtual bool isCoupled (const std::string &var_name, unsigned int i=0)
 Returns true if a variables has been coupled as name. More...
 
unsigned int coupledComponents (const std::string &var_name)
 Number of coupled components. More...
 
virtual unsigned int coupled (const std::string &var_name, unsigned int comp=0)
 Returns the index for a coupled variable by name. More...
 
virtual const VariableValuecoupledValue (const std::string &var_name, unsigned int comp=0)
 Returns value of a coupled variable. More...
 
template<ComputeStage compute_stage>
const ADVariableValue & adCoupledValueTemplate (const std::string &var_name, unsigned int comp=0)
 Returns value of a coupled variable for use in Automatic Differentiation. More...
 
template<ComputeStage compute_stage>
const ADVectorVariableValue & adCoupledVectorValueTemplate (const std::string &var_name, unsigned int comp=0)
 Returns value of a coupled vector variable for use in Automatic Differentiation. More...
 
virtual const VariableValuecoupledVectorTagValue (const std::string &var_name, TagID tag, unsigned int comp=0)
 Returns value of a coupled variable for a given tag. More...
 
virtual const VariableValuecoupledMatrixTagValue (const std::string &var_name, TagID tag, unsigned int comp=0)
 Returns value of a coupled variable for a given tag. More...
 
virtual const VectorVariableValuecoupledVectorValue (const std::string &var_name, unsigned int comp=0)
 Returns value of a coupled vector variable. More...
 
virtual const ArrayVariableValuecoupledArrayValue (const std::string &var_name, unsigned int comp=0)
 Returns value of a coupled array variable. More...
 
virtual VariableValuewritableCoupledValue (const std::string &var_name, unsigned int comp=0)
 Returns a writable reference to a coupled variable. More...
 
virtual const VariableValuecoupledValueOld (const std::string &var_name, unsigned int comp=0)
 Returns an old value from previous time step of a coupled variable. More...
 
virtual const VariableValuecoupledValueOlder (const std::string &var_name, unsigned int comp=0)
 Returns an old value from two time steps previous of a coupled variable. More...
 
virtual const VariableValuecoupledValuePreviousNL (const std::string &var_name, unsigned int comp=0)
 Returns value of previous Newton iterate of a coupled variable. More...
 
virtual const VectorVariableValuecoupledVectorValueOld (const std::string &var_name, unsigned int comp=0)
 Returns an old value from previous time step of a coupled vector variable. More...
 
virtual const VectorVariableValuecoupledVectorValueOlder (const std::string &var_name, unsigned int comp=0)
 Returns an old value from two time steps previous of a coupled vector variable. More...
 
virtual const ArrayVariableValuecoupledArrayValueOld (const std::string &var_name, unsigned int comp=0)
 Returns an old value from previous time step of a coupled array variable. More...
 
virtual const ArrayVariableValuecoupledArrayValueOlder (const std::string &var_name, unsigned int comp=0)
 Returns an old value from two time steps previous of a coupled array variable. More...
 
virtual const VariableGradientcoupledGradient (const std::string &var_name, unsigned int comp=0)
 Returns gradient of a coupled variable. More...
 
template<ComputeStage compute_stage>
const ADVariableGradient & adCoupledGradientTemplate (const std::string &var_name, unsigned int comp=0)
 Returns gradient of a coupled variable for use in Automatic Differentation. More...
 
template<ComputeStage compute_stage>
const ADVectorVariableGradient & adCoupledVectorGradientTemplate (const std::string &var_name, unsigned int comp=0)
 Returns gradient of a coupled vector variable for use in Automatic Differentation. More...
 
template<ComputeStage compute_stage>
const ADVariableSecond & adCoupledSecondTemplate (const std::string &var_name, unsigned int comp=0)
 Returns second derivatives of a coupled variable for use in Automatic Differentation. More...
 
template<ComputeStage compute_stage>
const ADVectorVariableSecond & adCoupledVectorSecondTemplate (const std::string &var_name, unsigned int comp=0)
 Returns second derivatives of a coupled vector variable for use in Automatic Differentation. More...
 
virtual const VariableGradientcoupledGradientOld (const std::string &var_name, unsigned int comp=0)
 Returns an old gradient from previous time step of a coupled variable. More...
 
virtual const VariableGradientcoupledGradientOlder (const std::string &var_name, unsigned int comp=0)
 Returns an old gradient from two time steps previous of a coupled variable. More...
 
virtual const VariableGradientcoupledGradientPreviousNL (const std::string &var_name, unsigned int comp=0)
 Returns gradient of a coupled variable for previous Newton iterate. More...
 
virtual const VariableGradientcoupledGradientDot (const std::string &var_name, unsigned int comp=0)
 Time derivative of the gradient of a coupled variable. More...
 
virtual const VariableGradientcoupledGradientDotDot (const std::string &var_name, unsigned int comp=0)
 Second time derivative of the gradient of a coupled variable. More...
 
virtual const VectorVariableGradientcoupledVectorGradient (const std::string &var_name, unsigned int comp=0)
 Returns gradient of a coupled vector variable. More...
 
virtual const VectorVariableGradientcoupledVectorGradientOld (const std::string &var_name, unsigned int comp=0)
 Returns an old gradient from previous time step of a coupled vector variable. More...
 
virtual const VectorVariableGradientcoupledVectorGradientOlder (const std::string &var_name, unsigned int comp=0)
 Returns an old gradient from two time steps previous of a coupled vector variable. More...
 
virtual const ArrayVariableGradientcoupledArrayGradient (const std::string &var_name, unsigned int comp=0)
 Returns gradient of a coupled array variable. More...
 
virtual const ArrayVariableGradientcoupledArrayGradientOld (const std::string &var_name, unsigned int comp=0)
 Returns an old gradient from previous time step of a coupled array variable. More...
 
virtual const ArrayVariableGradientcoupledArrayGradientOlder (const std::string &var_name, unsigned int comp=0)
 Returns an old gradient from two time steps previous of a coupled array variable. More...
 
virtual const VectorVariableCurlcoupledCurl (const std::string &var_name, unsigned int comp=0)
 Returns curl of a coupled variable. More...
 
virtual const VectorVariableCurlcoupledCurlOld (const std::string &var_name, unsigned int comp=0)
 Returns an old curl from previous time step of a coupled variable. More...
 
virtual const VectorVariableCurlcoupledCurlOlder (const std::string &var_name, unsigned int comp=0)
 Returns an old curl from two time steps previous of a coupled variable. More...
 
virtual const VariableSecondcoupledSecond (const std::string &var_name, unsigned int comp=0)
 Returns second derivative of a coupled variable. More...
 
virtual const VariableSecondcoupledSecondOld (const std::string &var_name, unsigned int comp=0)
 Returns an old second derivative from previous time step of a coupled variable. More...
 
virtual const VariableSecondcoupledSecondOlder (const std::string &var_name, unsigned int comp=0)
 Returns an old second derivative from two time steps previous of a coupled variable. More...
 
virtual const VariableSecondcoupledSecondPreviousNL (const std::string &var_name, unsigned int comp=0)
 Returns second derivative of a coupled variable for the previous Newton iterate. More...
 
virtual const VariableValuecoupledDot (const std::string &var_name, unsigned int comp=0)
 Time derivative of a coupled variable. More...
 
virtual const VariableValuecoupledDotDot (const std::string &var_name, unsigned int comp=0)
 Second time derivative of a coupled variable. More...
 
virtual const VariableValuecoupledDotOld (const std::string &var_name, unsigned int comp=0)
 Old time derivative of a coupled variable. More...
 
virtual const VariableValuecoupledDotDotOld (const std::string &var_name, unsigned int comp=0)
 Old second time derivative of a coupled variable. More...
 
template<ComputeStage compute_stage>
const ADVariableValue & adCoupledDotTemplate (const std::string &var_name, unsigned int comp=0)
 Time derivative of a coupled variable for ad simulations. More...
 
template<ComputeStage compute_stage>
const ADVectorVariableValue & adCoupledVectorDotTemplate (const std::string &var_name, unsigned int comp=0)
 Time derivative of a vector coupled variable for ad simulations. More...
 
virtual const VectorVariableValuecoupledVectorDot (const std::string &var_name, unsigned int comp=0)
 Time derivative of a coupled vector variable. More...
 
virtual const VectorVariableValuecoupledVectorDotDot (const std::string &var_name, unsigned int comp=0)
 Second time derivative of a coupled vector variable. More...
 
virtual const VectorVariableValuecoupledVectorDotOld (const std::string &var_name, unsigned int comp=0)
 Old time derivative of a coupled vector variable. More...
 
virtual const VectorVariableValuecoupledVectorDotDotOld (const std::string &var_name, unsigned int comp=0)
 Old second time derivative of a coupled vector variable. More...
 
virtual const VariableValuecoupledVectorDotDu (const std::string &var_name, unsigned int comp=0)
 Time derivative of a coupled vector variable with respect to the coefficients. More...
 
virtual const VariableValuecoupledVectorDotDotDu (const std::string &var_name, unsigned int comp=0)
 Second time derivative of a coupled vector variable with respect to the coefficients. More...
 
virtual const ArrayVariableValuecoupledArrayDot (const std::string &var_name, unsigned int comp=0)
 Time derivative of a coupled array variable. More...
 
virtual const ArrayVariableValuecoupledArrayDotDot (const std::string &var_name, unsigned int comp=0)
 Second time derivative of a coupled array variable. More...
 
virtual const ArrayVariableValuecoupledArrayDotOld (const std::string &var_name, unsigned int comp=0)
 Old time derivative of a coupled array variable. More...
 
virtual const ArrayVariableValuecoupledArrayDotDotOld (const std::string &var_name, unsigned int comp=0)
 Old second time derivative of a coupled array variable. More...
 
virtual const VariableValuecoupledDotDu (const std::string &var_name, unsigned int comp=0)
 Time derivative of a coupled variable with respect to the coefficients. More...
 
virtual const VariableValuecoupledDotDotDu (const std::string &var_name, unsigned int comp=0)
 Second time derivative of a coupled variable with respect to the coefficients. More...
 
template<typename T >
const T & coupledNodalValue (const std::string &var_name, unsigned int comp=0)
 Returns nodal values of a coupled variable. More...
 
template<typename T , ComputeStage compute_stage>
const Moose::ValueType< T, compute_stage >::typeadCoupledNodalValueTemplate (const std::string &var_name, unsigned int comp=0)
 Returns AD nodal values of a coupled variable. More...
 
template<typename T >
const T & coupledNodalValueOld (const std::string &var_name, unsigned int comp=0)
 Returns an old nodal value from previous time step of a coupled variable. More...
 
template<typename T >
const T & coupledNodalValueOlder (const std::string &var_name, unsigned int comp=0)
 Returns an old nodal value from two time steps previous of a coupled variable. More...
 
template<typename T >
const T & coupledNodalValuePreviousNL (const std::string &var_name, unsigned int comp=0)
 Returns nodal values of a coupled variable for previous Newton iterate. More...
 
template<typename T >
const T & coupledNodalDot (const std::string &var_name, unsigned int comp=0)
 Nodal values of time derivative of a coupled variable. More...
 
virtual const VariableValuecoupledNodalDotDot (const std::string &var_name, unsigned int comp=0)
 Nodal values of second time derivative of a coupled variable. More...
 
virtual const VariableValuecoupledNodalDotOld (const std::string &var_name, unsigned int comp=0)
 Nodal values of old time derivative of a coupled variable. More...
 
virtual const VariableValuecoupledNodalDotDotOld (const std::string &var_name, unsigned int comp=0)
 Nodal values of old second time derivative of a coupled variable. More...
 
virtual const VariableValuecoupledDofValues (const std::string &var_name, unsigned int comp=0)
 Returns DoFs in the current solution vector of a coupled variable for the local element. More...
 
virtual const VariableValuecoupledDofValuesOld (const std::string &var_name, unsigned int comp=0)
 Returns DoFs in the old solution vector of a coupled variable for the local element. More...
 
virtual const VariableValuecoupledDofValuesOlder (const std::string &var_name, unsigned int comp=0)
 Returns DoFs in the older solution vector of a coupled variable for the local element. More...
 
template<ComputeStage compute_stage>
const ADVariableValue & adZeroValueTemplate ()
 Template method that returns _zero to RESIDUAL computing objects and _ad_zero to JACOBIAN computing objects. More...
 
template<>
const VariableValueadZeroValueTemplate ()
 
template<>
const VariableValueadZeroValueTemplate ()
 
template<ComputeStage compute_stage>
const ADVariableGradient & adZeroGradientTemplate ()
 Template method that returns _grad_zero to RESIDUAL computing objects and _ad_grad_zero to JACOBIAN computing objects. More...
 
template<>
const VariableGradientadZeroGradientTemplate ()
 
template<>
const VariableGradientadZeroGradientTemplate ()
 
template<ComputeStage compute_stage>
const ADVariableSecond & adZeroSecondTemplate ()
 Retrieve a zero second for automatic differentiation. More...
 
template<>
const VariableSecondadZeroSecondTemplate ()
 
template<>
const VariableSecondadZeroSecondTemplate ()
 
bool checkVar (const std::string &var_name, unsigned int comp=0, unsigned int comp_bound=0)
 Check that the right kind of variable is being coupled in. More...
 
void checkVar (const std::string &var_name)
 Check that the right kind of variable is being coupled in. More...
 
MooseVariableFEBasegetFEVar (const std::string &var_name, unsigned int comp)
 Extract pointer to a base finite element coupled variable. More...
 
template<typename T >
MooseVariableFE< T > * getVarHelper (const std::string &var_name, unsigned int comp)
 Helper that segues off to either getVar of getVectorVar depending on template paramter. More...
 
MooseVariablegetVar (const std::string &var_name, unsigned int comp)
 Extract pointer to a coupled variable. More...
 
VectorMooseVariablegetVectorVar (const std::string &var_name, unsigned int comp)
 Extract pointer to a coupled vector variable. More...
 
ArrayMooseVariablegetArrayVar (const std::string &var_name, unsigned int comp)
 Extract pointer to a coupled array variable. More...
 
void validateExecutionerType (const std::string &name, const std::string &fn_name) const
 Checks to make sure that the current Executioner has set "_is_transient" when old/older values are coupled in. More...
 
void validateExecutionerType (const std::string &name, const std::string &fn_name) const
 Checks to make sure that the current Executioner has set "_is_transient" when old/older values are coupled in. More...
 
template<ComputeStage compute_stage>
ADVariableValue * getADDefaultValue (const std::string &var_name)
 Helper method to return (and insert if necessary) the AD default value for an uncoupled variable. More...
 
VariableValuegetDefaultValue (const std::string &var_name)
 Helper method to return (and insert if necessary) the default value for an uncoupled variable. More...
 
virtual bool isCoupledScalar (const std::string &var_name, unsigned int i=0)
 Returns true if a variables has been coupled_as name. More...
 
virtual unsigned int coupledScalarComponents (const std::string &var_name)
 Return the number of components to the coupled scalar variable. More...
 
virtual unsigned int coupledScalar (const std::string &var_name, unsigned int comp=0)
 Returns the index for a scalar coupled variable by name. More...
 
virtual Order coupledScalarOrder (const std::string &var_name, unsigned int comp=0)
 Returns the order for a scalar coupled variable by name. More...
 
virtual VariableValuecoupledScalarValue (const std::string &var_name, unsigned int comp=0)
 Returns value of a scalar coupled variable. More...
 
template<ComputeStage compute_stage>
const ADVariableValue & adCoupledScalarValueTempl (const std::string &var_name, unsigned int comp=0)
 Returns AD value of a scalar coupled variable. More...
 
virtual VariableValuecoupledVectorTagScalarValue (const std::string &var_name, TagID tag, unsigned int comp=0)
 Returns value of a scalar coupled variable. More...
 
virtual VariableValuecoupledMatrixTagScalarValue (const std::string &var_name, TagID tag, unsigned int comp=0)
 Returns value of a scalar coupled variable. More...
 
virtual VariableValuecoupledScalarValueOld (const std::string &var_name, unsigned int comp=0)
 Returns the old (previous time step) value of a scalar coupled variable. More...
 
virtual VariableValuecoupledScalarValueOlder (const std::string &var_name, unsigned int comp=0)
 Returns the older (two time steps previous) value of a scalar coupled variable. More...
 
virtual VariableValuecoupledScalarDot (const std::string &var_name, unsigned int comp=0)
 Returns the time derivative of a scalar coupled variable. More...
 
virtual VariableValuecoupledScalarDotDot (const std::string &var_name, unsigned int comp=0)
 Returns the second time derivative of a scalar coupled variable. More...
 
virtual VariableValuecoupledScalarDotOld (const std::string &var_name, unsigned int comp=0)
 Returns the old time derivative of a scalar coupled variable. More...
 
virtual VariableValuecoupledScalarDotDotOld (const std::string &var_name, unsigned int comp=0)
 Returns the old second time derivative of a scalar coupled variable. More...
 
virtual VariableValuecoupledScalarDotDu (const std::string &var_name, unsigned int comp=0)
 Time derivative of a scalar coupled variable with respect to the coefficients. More...
 
virtual VariableValuecoupledScalarDotDotDu (const std::string &var_name, unsigned int comp=0)
 Second time derivative of a scalar coupled variable with respect to the coefficients. More...
 
MooseVariableScalargetScalarVar (const std::string &var_name, unsigned int comp)
 Extract pointer to a scalar coupled variable. More...
 
void addMooseVariableDependency (MooseVariableFEBase *var)
 Call this function to add the passed in MooseVariableFEBase as a variable that this object depends on. More...
 
void addMooseVariableDependency (std::vector< MooseVariableFEBase * > vars)
 
void checkMaterialProperty (const std::string &name)
 A helper method for checking material properties This method was required to avoid a compiler problem with the template getMaterialProperty method. More...
 
void markMatPropRequested (const std::string &)
 A proxy method for _mi_feproblem.markMatPropRequested(name) More...
 
std::string deducePropertyName (const std::string &name)
 Small helper to look up a material property name through the input parameter keys. More...
 
template<typename T >
const MaterialProperty< T > * defaultMaterialProperty (const std::string &name)
 Helper function to parse default material property values. More...
 
template<>
const MaterialProperty< Real > * defaultMaterialProperty (const std::string &name)
 
template<typename T >
const ADMaterialPropertyObject< T > * defaultADMaterialProperty (const std::string &name)
 Helper function to parse default material property values. More...
 
template<>
const ADMaterialPropertyObject< Real > * defaultADMaterialProperty (const std::string &name)
 
template<>
const ADMaterialPropertyObject< RealVectorValue > * defaultADMaterialProperty (const std::string &name)
 
void checkExecutionStage ()
 Check and throw an error if the execution has progressed past the construction stage. More...
 
PenetrationLocatorgetPenetrationLocator (const BoundaryName &master, const BoundaryName &slave, Order order)
 Retrieve the PentrationLocator associated with the two sides. More...
 
PenetrationLocatorgetQuadraturePenetrationLocator (const BoundaryName &master, const BoundaryName &slave, Order order)
 Retrieve the Quadrature PentrationLocator associated with the two sides. More...
 
NearestNodeLocatorgetNearestNodeLocator (const BoundaryName &master, const BoundaryName &slave)
 Retrieve the PentrationLocator associated with the two sides. More...
 
NearestNodeLocatorgetQuadratureNearestNodeLocator (const BoundaryName &master, const BoundaryName &slave)
 Retrieve a Quadrature NearestNodeLocator associated with the two sides. More...
 
template<typename T >
T & declareRestartableDataTempl (const std::string &data_name)
 Declare a piece of data as "restartable". More...
 
template<typename T >
T & declareRestartableDataTempl (const std::string &data_name, const T &init_value)
 Declare a piece of data as "restartable" and initialize it. More...
 
template<typename T >
T & declareRestartableDataWithContext (const std::string &data_name, void *context)
 Declare a piece of data as "restartable". More...
 
template<typename T >
T & declareRestartableDataWithContext (const std::string &data_name, const T &init_value, void *context)
 Declare a piece of data as "restartable" and initialize it. More...
 
template<typename T >
T & declareRestartableDataWithPrefixOverrideAndContext (const std::string &data_name, const std::string &prefix, void *context)
 Declare a piece of data as "restartable". More...
 
template<typename T >
T & declareRecoverableData (const std::string &data_name)
 Declare a piece of data as "recoverable". More...
 
template<typename T >
T & declareRecoverableData (const std::string &data_name, const T &init_value)
 Declare a piece of data as "restartable" and initialize it. More...
 
template<typename T >
T & declareRestartableDataWithObjectName (const std::string &data_name, const std::string &object_name)
 Declare a piece of data as "restartable". More...
 
template<typename T >
T & declareRestartableDataWithObjectNameWithContext (const std::string &data_name, const std::string &object_name, void *context)
 Declare a piece of data as "restartable". More...
 
virtual const OutputTools< Real >::VariableValuevalue ()
 The value of the variable this object is operating on. More...
 
virtual const OutputTools< Real >::VariableValuevalueOld ()
 The old value of the variable this object is operating on. More...
 
virtual const OutputTools< Real >::VariableValuevalueOlder ()
 The older value of the variable this object is operating on. More...
 
virtual const OutputTools< Real >::VariableValuedot ()
 The time derivative of the variable this object is operating on. More...
 
virtual const OutputTools< Real >::VariableValuedotDot ()
 The second time derivative of the variable this object is operating on. More...
 
virtual const OutputTools< Real >::VariableValuedotOld ()
 The old time derivative of the variable this object is operating on. More...
 
virtual const OutputTools< Real >::VariableValuedotDotOld ()
 The old second time derivative of the variable this object is operating on. More...
 
virtual const VariableValuedotDu ()
 The derivative of the time derivative of the variable this object is operating on with respect to this variable's coefficients. More...
 
virtual const VariableValuedotDotDu ()
 The derivative of the second time derivative of the variable this object is operating on with respect to this variable's coefficients. More...
 
virtual const OutputTools< Real >::VariableGradientgradient ()
 The gradient of the variable this object is operating on. More...
 
virtual const OutputTools< Real >::VariableGradientgradientOld ()
 The old gradient of the variable this object is operating on. More...
 
virtual const OutputTools< Real >::VariableGradientgradientOlder ()
 The older gradient of the variable this object is operating on. More...
 
virtual const OutputTools< Real >::VariableSecondsecond ()
 The second derivative of the variable this object is operating on. More...
 
virtual const OutputTools< Real >::VariableSecondsecondOld ()
 The old second derivative of the variable this object is operating on. More...
 
virtual const OutputTools< Real >::VariableSecondsecondOlder ()
 The older second derivative of the variable this object is operating on. More...
 
virtual const OutputTools< Real >::VariableTestSecondsecondTest ()
 The second derivative of the test function. More...
 
virtual const OutputTools< Real >::VariableTestSecondsecondTestFace ()
 The second derivative of the test function on the current face. More...
 
virtual const OutputTools< Real >::VariablePhiSecondsecondPhi ()
 The second derivative of the trial function. More...
 
virtual const OutputTools< Real >::VariablePhiSecondsecondPhiFace ()
 The second derivative of the trial function on the current face. More...
 

Protected Attributes

MooseVariable_var
 This is a regular kernel so we cast to a regular MooseVariable. More...
 
const VariableTestValue_test
 the current test function More...
 
const VariableTestGradient_grad_test
 gradient of the test function More...
 
const VariablePhiValue_phi
 the current shape functions More...
 
const VariablePhiGradient_grad_phi
 gradient of the shape function More...
 
const VariableValue_u
 Holds the solution at current quadrature points. More...
 
const VariableGradient_grad_u
 Holds the solution gradient at the current quadrature points. More...
 
SubProblem_subproblem
 Reference to this kernel's SubProblem. More...
 
FEProblemBase_fe_problem
 Reference to this kernel's FEProblemBase. More...
 
SystemBase_sys
 Reference to the EquationSystem object. More...
 
THREAD_ID _tid
 The thread ID for this kernel. More...
 
Assembly_assembly
 Reference to this Kernel's assembly object. More...
 
MooseMesh_mesh
 Reference to this Kernel's mesh object. More...
 
const Elem *const & _current_elem
 
const Real & _current_elem_volume
 Volume of the current element. More...
 
unsigned int _qp
 The current quadrature point index. More...
 
const MooseArray< Point > & _q_point
 The physical location of the element's quadrature Points, indexed by _qp. More...
 
const QBase *const & _qrule
 active quadrature rule More...
 
const MooseArray< Real > & _JxW
 The current quadrature point weight value. More...
 
const MooseArray< Real > & _coord
 The scaling factor to convert from cartesian to another coordinate system (e.g rz, spherical, etc.) More...
 
unsigned int _i
 current index for the test function More...
 
unsigned int _j
 current index for the shape function More...
 
bool _has_save_in
 The aux variables to save the residual contributions to. More...
 
std::vector< MooseVariableFEBase * > _save_in
 
std::vector< AuxVariableName > _save_in_strings
 
bool _has_diag_save_in
 The aux variables to save the diagonal Jacobian contributions to. More...
 
std::vector< MooseVariableFEBase * > _diag_save_in
 
std::vector< AuxVariableName > _diag_save_in_strings
 
std::vector< unsigned int > _displacements
 
const InputParameters_pars
 Parameters of this object, references the InputParameters stored in the InputParametersWarehouse. More...
 
MooseApp_app
 The MooseApp this object is associated with. More...
 
const std::string & _type
 The type of this object (the Class name) More...
 
const std::string & _name
 The name of this object, reference to value stored in InputParameters. More...
 
const bool & _enabled
 Reference to the "enable" InputParaemters, used by Controls for toggling on/off MooseObjects. More...
 
std::shared_ptr< MaterialData_blk_material_data
 Pointer to the MaterialData class for this object. More...
 
const ExecFlagEnum_execute_enum
 Execute settings for this oejct. More...
 
const std::vector< ExecFlagType_exec_flags
 (DEPRECATED) execution flag (when is the object executed/evaluated) TODO: ExecFlagType More...
 
const ExecFlagType_current_execute_flag
 Reference to FEProblemBase. More...
 
const InputParameters_c_parameters
 
const std::string & _c_name
 The name of the object this interface is part of. More...
 
FEProblemBase_c_fe_problem
 
std::unordered_map< std::string, std::vector< MooseVariableFEBase * > > _coupled_vars
 Coupled vars whose values we provide. More...
 
std::vector< MooseVariableFEBase * > _coupled_moose_vars
 Vector of all coupled variables. More...
 
std::vector< MooseVariable * > _coupled_standard_moose_vars
 Vector of standard coupled variables. More...
 
std::vector< VectorMooseVariable * > _coupled_vector_moose_vars
 Vector of vector coupled variables. More...
 
std::vector< ArrayMooseVariable * > _coupled_array_moose_vars
 Vector of array coupled variables. More...
 
bool _c_nodal
 True if we provide coupling to nodal values. More...
 
bool _c_is_implicit
 True if implicit value is required. More...
 
THREAD_ID _c_tid
 Thread ID of the thread using this object. More...
 
std::unordered_map< std::string, std::vector< std::unique_ptr< VariableValue > > > _default_value
 Will hold the default value for optional coupled variables. More...
 
std::unordered_map< std::string, std::unique_ptr< VariableValue > > _default_value
 Will hold the default value for optional coupled scalar variables. More...
 
std::unordered_map< std::string, std::unique_ptr< MooseArray< DualReal > > > _ad_default_value
 Will hold the default value for optional coupled variables for automatic differentiation. More...
 
std::unordered_map< std::string, std::unique_ptr< VectorVariableValue > > _default_vector_value
 Will hold the default value for optional vector coupled variables. More...
 
std::map< std::string, ArrayVariableValue * > _default_array_value
 Will hold the default value for optional array coupled variables. More...
 
std::unordered_map< std::string, std::unique_ptr< MooseArray< DualRealVectorValue > > > _ad_default_vector_value
 Will hold the default value for optional vector coupled variables for automatic differentiation. More...
 
VariableValue _default_value_zero
 This will always be zero because the default values for optionally coupled variables is always constant and this is used for time derivative info. More...
 
VariableGradient _default_gradient
 This will always be zero because the default values for optionally coupled variables is always constant. More...
 
MooseArray< DualRealVectorValue_ad_default_gradient
 This will always be zero because the default values for optionally coupled variables is always constant. More...
 
MooseArray< DualRealTensorValue_ad_default_vector_gradient
 This will always be zero because the default values for optionally coupled vector variables is always constant. More...
 
VariableSecond _default_second
 This will always be zero because the default values for optionally coupled variables is always constant. More...
 
MooseArray< DualRealTensorValue_ad_default_second
 This will always be zero because the default values for optionally coupled variables is always constant. More...
 
const VariableValue_zero
 Zero value of a variable. More...
 
const MooseArray< DualReal > & _ad_zero
 
const VariableGradient_grad_zero
 Zero gradient of a variable. More...
 
const MooseArray< DualRealVectorValue > & _ad_grad_zero
 
const VariableSecond_second_zero
 Zero second derivative of a variable. More...
 
const MooseArray< DualRealTensorValue > & _ad_second_zero
 
const VariablePhiSecond_second_phi_zero
 Zero second derivative of a test function. More...
 
const VectorVariableValue_vector_zero
 Zero value of a vector variable. More...
 
const VectorVariableCurl_vector_curl_zero
 Zero value of the curl of a vector variable. More...
 
VectorVariableValue _default_vector_value_zero
 This will always be zero because the default values for optionally coupled variables is always constant and this is used for time derivative info. More...
 
VectorVariableGradient _default_vector_gradient
 This will always be zero because the default values for optionally coupled variables is always constant. More...
 
VectorVariableCurl _default_vector_curl
 This will always be zero because the default values for optionally coupled variables is always constant. More...
 
ArrayVariableValue _default_array_value_zero
 This will always be zero because the default values for optionally coupled variables is always constant and this is used for time derivative info. More...
 
ArrayVariableGradient _default_array_gradient
 This will always be zero because the default values for optionally coupled variables is always constant. More...
 
ArrayVariableCurl _default_array_curl
 This will always be zero because the default values for optionally coupled variables is always constant. More...
 
bool _coupleable_neighbor
 Whether or not this object is a "neighbor" object: ie all of it's coupled values should be neighbor values. More...
 
const InputParameters_sc_parameters
 
const std::string & _sc_name
 The name of the object this interface is part of. More...
 
FEProblemBase_sc_fe_problem
 
std::unordered_map< std::string, std::vector< MooseVariableScalar * > > _coupled_scalar_vars
 Coupled vars whose values we provide. More...
 
std::unordered_map< std::string, std::unique_ptr< DualVariableValue > > _dual_default_value
 Will hold the default AD value for optional coupled scalar variables. More...
 
std::vector< MooseVariableScalar * > _coupled_moose_scalar_vars
 Vector of coupled variables. More...
 
bool _sc_is_implicit
 True if implicit value is required. More...
 
const InputParameters_coupleable_params
 Local InputParameters. More...
 
THREAD_ID _sc_tid
 Thread ID of the thread using this object. More...
 
const Real & _real_zero
 Scalar zero. More...
 
const VariableValue_scalar_zero
 Zero value of a scalar variable. More...
 
const Point & _point_zero
 Zero point. More...
 
const InputParameters_ti_params
 
FEProblemBase_ti_feproblem
 
bool _is_implicit
 If the object is using implicit or explicit form. More...
 
Real & _t
 Time. More...
 
int & _t_step
 The number of the time step. More...
 
Real & _dt
 Time step size. More...
 
Real & _dt_old
 Size of the old time step. More...
 
bool _is_transient
 
const InputParameters_mi_params
 Parameters of the object with this interface. More...
 
const std::string _mi_name
 The name of the object that this interface belongs to. More...
 
Moose::MaterialDataType _material_data_type
 The type of data. More...
 
std::shared_ptr< MaterialData_material_data
 Pointer to the material data class that stores properties. More...
 
FEProblemBase_mi_feproblem
 Reference to the FEProblemBase class. More...
 
const THREAD_ID _mi_tid
 Current threaded it. More...
 
bool _stateful_allowed
 True by default. More...
 
bool _get_material_property_called
 Initialized to false. More...
 
std::vector< std::unique_ptr< MaterialProperty< Real > > > _default_real_properties
 Storage vector for MaterialProperty<Real> default objects. More...
 
std::vector< std::unique_ptr< ADMaterialPropertyObject< Real > > > _default_ad_real_properties
 Storage vector for ADMaterialPropertyObject<Real> default objects. More...
 
std::vector< std::unique_ptr< ADMaterialPropertyObject< RealVectorValue > > > _default_ad_real_vector_properties
 Storage vector for ADMaterialPropertyObject<RealVectorValue> default objects. More...
 
std::set< unsigned int > _material_property_dependencies
 The set of material properties (as given by their IDs) that this object depends on. More...
 
GeometricSearchData_geometric_search_data
 
FEProblemBase_mci_feproblem
 Reference to FEProblemBase instance. More...
 
std::set< TagID_vector_tags
 The vectors this Kernel will contribute to. More...
 
std::set< TagID_matrix_tags
 The matrices this Kernel will contribute to. More...
 
const MooseObject_moose_object
 Moose objct this tag works on. More...
 
const InputParameters_tag_params
 Parameters from moose object. More...
 
std::vector< DenseVector< Number > * > _re_blocks
 Residual blocks Vectors For each Tag. More...
 
std::vector< DenseMatrix< Number > * > _ke_blocks
 Kernel blocks Vectors For each Tag. More...
 
DenseVector< Number > _local_re
 Holds residual entries as they are accumulated by this Kernel. More...
 
DenseMatrix< Number > _local_ke
 Holds residual entries as they are accumulated by this Kernel. More...
 
bool _nodal
 Whether or not this object is acting only at nodes. More...
 
MooseVariableFE< Real > * _variable
 The variable this object is acting on. More...
 
Assembly_mvi_assembly
 

Private Types

enum  FuncAge { FuncAge::Curr, FuncAge::Old, FuncAge::Older }
 
enum  VarType { VarType::Ignore, VarType::Gradient, VarType::GradientDot, VarType::Dot }
 

Private Member Functions

template<typename... Args>
std::string paramErrorMsg (const std::string &param, Args... args) const
 
void checkFuncType (const std::string var_name, VarType t, FuncAge age)
 
VariableValuegetDefaultValue (const std::string &var_name, unsigned int comp)
 Helper method to return (and insert if necessary) the default value for an uncoupled variable. More...
 
VectorVariableValuegetDefaultVectorValue (const std::string &var_name)
 Helper method to return (and insert if necessary) the default value for an uncoupled vector variable. More...
 
ArrayVariableValuegetDefaultArrayValue (const std::string &var_name)
 Helper method to return (and insert if necessary) the default value for an uncoupled array variable. More...
 
template<typename T >
const T & getDefaultNodalValue (const std::string &var_name, unsigned int comp=0)
 Get nodal default value. More...
 
template<>
const RealVectorValue & getDefaultNodalValue (const std::string &var_name, unsigned int)
 
template<>
const RealEigenVector & getDefaultNodalValue (const std::string &var_name, unsigned int)
 
bool needThreadedCopy (const UserObject &uo) const
 Check if the threaded copy of the user object is needed. More...
 
RestartableDataValueregisterRestartableDataOnApp (const std::string &name, std::unique_ptr< RestartableDataValue > data, THREAD_ID tid)
 Helper function for actually registering the restartable data. More...
 
void registerRestartableNameWithFilterOnApp (const std::string &name, Moose::RESTARTABLE_FILTER filter)
 Helper function for actually registering the restartable data. More...
 

Private Attributes

std::set< SubdomainID_blk_ids
 Set of block ids supplied by the user via the input file (for error reporting) More...
 
std::vector< SubdomainName > _blocks
 Vector the block names supplied by the user via the input file. More...
 
const bool _blk_dual_restrictable
 Flag for allowing dual restriction. More...
 
FEProblemBase_blk_feproblem
 Pointer to FEProblemBase. More...
 
MooseMesh_blk_mesh
 Pointer to Mesh. More...
 
const std::set< BoundaryID_empty_boundary_ids
 An empty set for referencing when boundary_ids is not included. More...
 
const std::set< BoundaryID > & _boundary_ids
 Reference to the boundary_ids, defaults to an empty set if not provided. More...
 
THREAD_ID _blk_tid
 Thread id for this object. More...
 
const std::string & _blk_name
 Name of the object. More...
 
ExecFlagEnum _empty_execute_enum
 Empty ExecFlagEnum for the case when the "execute_on" parameter is not included. More...
 
unsigned int _coupleable_max_qps
 Maximum qps for any element in this system. More...
 
std::unordered_map< std::string, std::vector< unsigned int > > _optional_var_index
 Unique indices for optionally coupled vars that weren't provided. More...
 
std::unordered_map< std::string, std::vector< MooseVariableScalar * > > _c_coupled_scalar_vars
 Scalar variables coupled into this object (for error checking) More...
 
std::set< TagID_fe_coupleable_vector_tags
 
std::set< TagID_fe_coupleable_matrix_tags
 
const MooseObject_obj
 
std::unordered_map< std::string, std::vector< MooseVariableFEBase * > > _sc_coupled_vars
 Field variables coupled into this object (for error checking) More...
 
std::set< TagID_sc_coupleable_vector_tags
 
std::set< TagID_sc_coupleable_matrix_tags
 
std::set< MooseVariableFEBase * > _moose_variable_dependencies
 
const InputParameters_fni_params
 Parameters of the object with this interface. More...
 
FEProblemBase_fni_feproblem
 Reference to FEProblemBase instance. More...
 
const THREAD_ID _fni_tid
 Thread ID. More...
 
const InputParameters_uoi_params
 Parameters of the object with this interface. More...
 
FEProblemBase_uoi_feproblem
 Reference to the FEProblemBase instance. More...
 
THREAD_ID _uoi_tid
 Thread ID. More...
 
const std::string _ti_name
 
const InputParameters_ppi_params
 PostprocessorInterface Parameters. More...
 
FEProblemBase_pi_feproblem
 Reference the the FEProblemBase class. More...
 
bool _broadcast_by_default
 Whether or not to force broadcasting by default. More...
 
const InputParameters_vpi_params
 VectorPostprocessorInterface Parameters. More...
 
FEProblemBase_vpi_feproblem
 Reference the the FEProblemBase class. More...
 
THREAD_ID _vpi_tid
 Thread ID. More...
 
const bool _mi_boundary_restricted
 BoundaryRestricted flag. More...
 
const std::set< SubdomainID > & _mi_block_ids
 Storage for the block ids created by BlockRestrictable. More...
 
const std::set< BoundaryID > & _mi_boundary_ids
 Storage for the boundary ids created by BoundaryRestrictable. More...
 
RandomData_random_data
 
MooseRandom_generator
 
FEProblemBase_ri_problem
 
const std::string _ri_name
 
unsigned int _master_seed
 
bool _is_nodal
 
ExecFlagType _reset_on
 
const Node *const & _curr_node
 
const Elem *const & _curr_element
 
MooseApp_restartable_app
 Reference to the application. More...
 
std::string _restartable_name
 The name of the object. More...
 
std::string _restartable_system_name
 The system name this object is in. More...
 
THREAD_ID _restartable_tid
 The thread ID for this object. More...
 
const InputParameters_obj_parameters
 Reference to the object's input parameters. More...
 

Detailed Description

The KernelGrad class is responsible for calculating the residuals in form:

JxW[_qp] * _vector[_qp] * _grad_test[_i][_qp]

Definition at line 27 of file KernelGrad.h.

Member Enumeration Documentation

◆ FuncAge

enum Coupleable::FuncAge
strongprivateinherited
Enumerator
Curr 
Old 
Older 

Definition at line 971 of file Coupleable.h.

972  {
973  Curr,
974  Old,
975  Older,
976  };

◆ VarType

enum Coupleable::VarType
strongprivateinherited
Enumerator
Ignore 
Gradient 
GradientDot 
Dot 

Definition at line 978 of file Coupleable.h.

979  {
980  Ignore,
981  Gradient,
982  GradientDot,
983  Dot,
984  };

Constructor & Destructor Documentation

◆ KernelGrad()

KernelGrad::KernelGrad ( const InputParameters parameters)

Factory constructor initializes all internal references needed for residual computation.

Parameters
parametersThe parameters object for holding additional parameters for kernels and derived kernels

Definition at line 23 of file KernelGrad.C.

23 : Kernel(parameters) {}

Member Function Documentation

◆ accumulateTaggedLocalMatrix()

void TaggingInterface::accumulateTaggedLocalMatrix ( )
inherited

◆ accumulateTaggedLocalResidual()

void TaggingInterface::accumulateTaggedLocalResidual ( )
inherited

◆ adCoupledDotTemplate()

template<ComputeStage compute_stage>
const ADVariableValue & Coupleable::adCoupledDotTemplate ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedinherited

Time derivative of a coupled variable for ad simulations.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue containing the time derivative of the coupled variable
See also
Kernel::dot

Definition at line 1196 of file Coupleable.h.

1197 {
1198  MooseVariable * var = getVar(var_name, comp);
1199  if (!var)
1200  return *getADDefaultValue<compute_stage>(var_name);
1202 
1203  if (_c_nodal)
1204  mooseError("Not implemented");
1205 
1206  if (!_coupleable_neighbor)
1207  return var->adUDot<compute_stage>();
1208  return var->adUDotNeighbor<compute_stage>();
1209 }

◆ adCoupledGradientTemplate()

template<ComputeStage compute_stage>
const ADVariableGradient & Coupleable::adCoupledGradientTemplate ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedinherited

Returns gradient of a coupled variable for use in Automatic Differentation.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableGradient containing the gradient of the coupled variable
See also
Kernel::gradient

Definition at line 1153 of file Coupleable.h.

1154 {
1155  MooseVariable * var = getVar(var_name, comp);
1156  if (!var)
1157  return getADDefaultGradient<compute_stage>();
1159 
1160  if (!_c_is_implicit)
1161  mooseError("Not implemented");
1162 
1163  if (!_coupleable_neighbor)
1164  return var->adGradSln<compute_stage>();
1165  return var->adGradSlnNeighbor<compute_stage>();
1166 }

◆ adCoupledNodalValueTemplate()

template<typename T , ComputeStage compute_stage>
const template libMesh::VectorValue< DualReal > & Coupleable::adCoupledNodalValueTemplate< RealVectorValue, JACOBIAN > ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedinherited

Returns AD nodal values of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue for the coupled variable

Definition at line 1406 of file Coupleable.C.

1407 {
1408  static const typename Moose::ValueType<T, compute_stage>::type zero = 0;
1409  if (!isCoupled(var_name))
1410  return zero;
1411 
1412  if (!_c_nodal)
1413  mooseError("The adCoupledNodalValue method should only be called for nodal computing objects");
1415  mooseError(
1416  "The adCoupledNodalValue method shouldn't be called for neighbor computing objects. I "
1417  "don't even know what that would mean, although maybe someone could explain it to me.");
1418  if (!_c_is_implicit)
1419  mooseError("If you're going to use an explicit scheme, then use coupledNodalValue instead of "
1420  "adCoupledNodalValue");
1421 
1422  coupledCallback(var_name, false);
1423  MooseVariableFE<T> * var = getVarHelper<T>(var_name, comp);
1424 
1425  return var->template adNodalValue<compute_stage>();
1426 }

◆ adCoupledScalarValueTempl()

template<ComputeStage compute_stage>
const ADVariableValue & ScalarCoupleable::adCoupledScalarValueTempl ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedinherited

Returns AD value of a scalar coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a ADVariableValue for the coupled variable

Definition at line 138 of file ScalarCoupleable.C.

139 {
140  checkVar(var_name);
141  if (!isCoupledScalar(var_name, comp))
142  return *getADDefaultValue<compute_stage>(var_name);
143 
144  MooseVariableScalar * var = getScalarVar(var_name, comp);
145 
146  if (_sc_is_implicit)
147  return var->adSln<compute_stage>();
148  else
149  mooseError("adCoupledValue for non-implicit calculations is not currently supported. Use "
150  "coupledValue instead for non-implicit");
151 }

◆ adCoupledSecondTemplate()

template<ComputeStage compute_stage>
const ADVariableSecond & Coupleable::adCoupledSecondTemplate ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedinherited

Returns second derivatives of a coupled variable for use in Automatic Differentation.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableSecond containing the second derivatives of the coupled variable

Definition at line 1170 of file Coupleable.h.

1171 {
1172  MooseVariable * var = getVar(var_name, comp);
1173  if (!var)
1174  return getADDefaultSecond<compute_stage>();
1176 
1177  if (!_c_is_implicit)
1178  mooseError("Not implemented");
1179 
1180  if (!_coupleable_neighbor)
1181  return var->adSecondSln<compute_stage>();
1182  else
1183  return var->adSecondSlnNeighbor<compute_stage>();
1184 }

◆ adCoupledValueTemplate()

template<ComputeStage compute_stage>
const ADVariableValue & Coupleable::adCoupledValueTemplate ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedinherited

Returns value of a coupled variable for use in Automatic Differentiation.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue for the coupled variable
See also
Kernel::value

Definition at line 1134 of file Coupleable.h.

1135 {
1136  MooseVariable * var = getVar(var_name, comp);
1137  if (!var)
1138  return *getADDefaultValue<compute_stage>(var_name);
1140 
1141  if (_c_nodal)
1142  mooseError("Not implemented");
1143  if (!_c_is_implicit)
1144  mooseError("Not implemented");
1145 
1146  if (!_coupleable_neighbor)
1147  return var->adSln<compute_stage>();
1148  return var->adSlnNeighbor<compute_stage>();
1149 }

◆ adCoupledVectorDotTemplate()

template<ComputeStage compute_stage>
const ADVectorVariableValue & Coupleable::adCoupledVectorDotTemplate ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedinherited

Time derivative of a vector coupled variable for ad simulations.

Parameters
var_nameName of vector coupled variable
compComponent number
Returns
Reference to a VectorVariableValue containing the time derivative of the coupled variable
See also
Kernel::dot

Definition at line 1213 of file Coupleable.h.

1214 {
1215  VectorMooseVariable * var = getVectorVar(var_name, comp);
1216  if (!var)
1217  return *getADDefaultVectorValue<compute_stage>(var_name);
1219 
1220  if (_c_nodal)
1221  mooseError("Not implemented");
1222 
1223  if (!_coupleable_neighbor)
1224  return var->adUDot<compute_stage>();
1225  return var->adUDotNeighbor<compute_stage>();
1226 }

◆ adCoupledVectorGradientTemplate()

template<ComputeStage compute_stage>
const ADVectorVariableGradient & Coupleable::adCoupledVectorGradientTemplate ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedinherited

Returns gradient of a coupled vector variable for use in Automatic Differentation.

Parameters
var_nameName of coupled vector variable
compComponent number for vector of coupled vector variables
Returns
Reference to a VectorVariableGradient containing the gradient of the coupled variable
See also
Kernel::gradient

Definition at line 1249 of file Coupleable.h.

1250 {
1251  VectorMooseVariable * var = getVectorVar(var_name, comp);
1252  if (!var)
1253  return getADDefaultVectorGradient<compute_stage>();
1255 
1256  if (!_c_is_implicit)
1257  mooseError("Not implemented");
1258 
1259  if (!_coupleable_neighbor)
1260  return var->adGradSln<compute_stage>();
1261  return var->adGradSlnNeighbor<compute_stage>();
1262 }

◆ adCoupledVectorSecondTemplate()

template<ComputeStage compute_stage>
const ADVectorVariableSecond& Coupleable::adCoupledVectorSecondTemplate ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedinherited

Returns second derivatives of a coupled vector variable for use in Automatic Differentation.

Parameters
var_nameName of coupled vector variable
compComponent number for vector of coupled vector variables
Returns
Reference to a VectorVariableSecond containing the second derivatives of the coupled variable

◆ adCoupledVectorValueTemplate()

template<ComputeStage compute_stage>
const ADVectorVariableValue & Coupleable::adCoupledVectorValueTemplate ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedinherited

Returns value of a coupled vector variable for use in Automatic Differentiation.

Parameters
var_nameName of coupled vector variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue for the coupled variable
See also
Kernel::value

Definition at line 1230 of file Coupleable.h.

1231 {
1232  VectorMooseVariable * var = getVectorVar(var_name, comp);
1233  if (!var)
1234  return *getADDefaultVectorValue<compute_stage>(var_name);
1236 
1237  if (_c_nodal)
1238  mooseError("Not implemented");
1239  if (!_c_is_implicit)
1240  mooseError("Not implemented");
1241 
1242  if (!_coupleable_neighbor)
1243  return var->adSln<compute_stage>();
1244  return var->adSlnNeighbor<compute_stage>();
1245 }

◆ addFEVariableCoupleableMatrixTag()

void Coupleable::addFEVariableCoupleableMatrixTag ( TagID  tag)
inlineinherited

Definition at line 119 of file Coupleable.h.

119 { _fe_coupleable_matrix_tags.insert(tag); }

Referenced by Coupleable::coupledMatrixTagValue().

◆ addFEVariableCoupleableVectorTag()

void Coupleable::addFEVariableCoupleableVectorTag ( TagID  tag)
inlineinherited

Definition at line 117 of file Coupleable.h.

117 { _fe_coupleable_vector_tags.insert(tag); }

Referenced by Coupleable::coupledVectorTagValue().

◆ addMooseVariableDependency() [1/2]

void MooseVariableDependencyInterface::addMooseVariableDependency ( MooseVariableFEBase var)
inlineprotectedinherited

Call this function to add the passed in MooseVariableFEBase as a variable that this object depends on.

Definition at line 36 of file MooseVariableDependencyInterface.h.

37  {
38  _moose_variable_dependencies.insert(var);
39  }

Referenced by ADDGKernel< compute_stage >::ADDGKernel(), ADIntegratedBCTempl< T, compute_stage >::ADIntegratedBCTempl(), ADKernelTempl< T, compute_stage >::ADKernelTempl(), ADNodalBCTempl< T, compute_stage >::ADNodalBCTempl(), ArrayDGKernel::ArrayDGKernel(), ArrayIntegratedBC::ArrayIntegratedBC(), ArrayKernel::ArrayKernel(), ArrayNodalBC::ArrayNodalBC(), AuxKernelTempl< ComputeValueType >::AuxKernelTempl(), AuxNodalScalarKernel::AuxNodalScalarKernel(), CoupleableMooseVariableDependencyIntermediateInterface::CoupleableMooseVariableDependencyIntermediateInterface(), DGKernel::DGKernel(), DiracKernel::DiracKernel(), ElemElemConstraint::ElemElemConstraint(), ElementIndicator::ElementIndicator(), ElementIntegralArrayVariablePostprocessor::ElementIntegralArrayVariablePostprocessor(), ElementIntegralVariablePostprocessor::ElementIntegralVariablePostprocessor(), ElementIntegralVariableUserObject::ElementIntegralVariableUserObject(), ElementUserObject::ElementUserObject(), ElementVariablePostprocessor::ElementVariablePostprocessor(), IntegratedBC::IntegratedBC(), InterfaceIntegralVariableValuePostprocessor::InterfaceIntegralVariableValuePostprocessor(), InterfaceKernelTempl< T >::InterfaceKernelTempl(), InterfaceMaterial::InterfaceMaterial(), InterfaceUserObject::InterfaceUserObject(), InternalSideIndicator::InternalSideIndicator(), InternalSideUserObject::InternalSideUserObject(), Kernel::Kernel(), Marker::Marker(), Material::Material(), NeighborCoupleableMooseVariableDependencyIntermediateInterface::NeighborCoupleableMooseVariableDependencyIntermediateInterface(), NodalBC::NodalBC(), NodalConstraint::NodalConstraint(), NodalKernel::NodalKernel(), NodalScalarKernel::NodalScalarKernel(), NodalUserObject::NodalUserObject(), NodeElemConstraint::NodeElemConstraint(), NodeFaceConstraint::NodeFaceConstraint(), PointSamplerBase::PointSamplerBase(), QuadraturePointMarker::QuadraturePointMarker(), SideIntegralVariablePostprocessor::SideIntegralVariablePostprocessor(), SideIntegralVariableUserObject::SideIntegralVariableUserObject(), SideUserObject::SideUserObject(), VectorIntegratedBC::VectorIntegratedBC(), VectorKernel::VectorKernel(), and VectorNodalBC::VectorNodalBC().

◆ addMooseVariableDependency() [2/2]

void MooseVariableDependencyInterface::addMooseVariableDependency ( std::vector< MooseVariableFEBase * >  vars)
inlineprotectedinherited

Definition at line 40 of file MooseVariableDependencyInterface.h.

41  {
42  _moose_variable_dependencies.insert(vars.begin(), vars.end());
43  }

◆ addScalarVariableCoupleableMatrixTag()

void ScalarCoupleable::addScalarVariableCoupleableMatrixTag ( TagID  tag)
inlineinherited

Definition at line 55 of file ScalarCoupleable.h.

55 { _sc_coupleable_matrix_tags.insert(tag); }

Referenced by ScalarCoupleable::coupledMatrixTagScalarValue().

◆ addScalarVariableCoupleableVectorTag()

void ScalarCoupleable::addScalarVariableCoupleableVectorTag ( TagID  tag)
inlineinherited

Definition at line 53 of file ScalarCoupleable.h.

53 { _sc_coupleable_vector_tags.insert(tag); }

Referenced by ScalarCoupleable::coupledVectorTagScalarValue().

◆ adZeroGradientTemplate() [1/3]

template<ComputeStage compute_stage>
const ADVariableGradient & Coupleable::adZeroGradientTemplate ( )
protectedinherited

Template method that returns _grad_zero to RESIDUAL computing objects and _ad_grad_zero to JACOBIAN computing objects.

Definition at line 1342 of file Coupleable.h.

1343 {
1344  return _ad_grad_zero;
1345 }

◆ adZeroGradientTemplate() [2/3]

template<>
const VariableGradient& Coupleable::adZeroGradientTemplate ( )
protectedinherited

◆ adZeroGradientTemplate() [3/3]

template<>
const VariableGradient& Coupleable::adZeroGradientTemplate ( )
protectedinherited

Definition at line 1392 of file Coupleable.C.

1393 {
1394  return _grad_zero;
1395 }

◆ adZeroSecondTemplate() [1/3]

template<ComputeStage compute_stage>
const ADVariableSecond & Coupleable::adZeroSecondTemplate ( )
protectedinherited

Retrieve a zero second for automatic differentiation.

Definition at line 1349 of file Coupleable.h.

1350 {
1351  return _ad_second_zero;
1352 }

◆ adZeroSecondTemplate() [2/3]

template<>
const VariableSecond& Coupleable::adZeroSecondTemplate ( )
protectedinherited

◆ adZeroSecondTemplate() [3/3]

template<>
const VariableSecond& Coupleable::adZeroSecondTemplate ( )
protectedinherited

Definition at line 1399 of file Coupleable.C.

1400 {
1401  return _second_zero;
1402 }

◆ adZeroValueTemplate() [1/3]

template<ComputeStage compute_stage>
const ADVariableValue & Coupleable::adZeroValueTemplate ( )
protectedinherited

Template method that returns _zero to RESIDUAL computing objects and _ad_zero to JACOBIAN computing objects.

Definition at line 1335 of file Coupleable.h.

1336 {
1337  return _ad_zero;
1338 }

◆ adZeroValueTemplate() [2/3]

template<>
const VariableValue& Coupleable::adZeroValueTemplate ( )
protectedinherited

◆ adZeroValueTemplate() [3/3]

template<>
const VariableValue& Coupleable::adZeroValueTemplate ( )
protectedinherited

Definition at line 1385 of file Coupleable.C.

1386 {
1387  return _zero;
1388 }

◆ assignTaggedLocalMatrix()

void TaggingInterface::assignTaggedLocalMatrix ( )
inherited

Local Jacobian blocks will assigned as the current local kernel Jacobian.

It should be called after the local element matrix has been computed.

Definition at line 220 of file TaggingInterface.C.

221 {
222  for (auto & ke : _ke_blocks)
223  *ke = _local_ke;
224 }

Referenced by NodalEqualValueConstraint::computeJacobian().

◆ assignTaggedLocalResidual()

void TaggingInterface::assignTaggedLocalResidual ( )
inherited

Local residual blocks will assigned as the current local kernel residual.

It should be called after the local element vector has been computed.

Definition at line 206 of file TaggingInterface.C.

207 {
208  for (auto & re : _re_blocks)
209  *re = _local_re;
210 }

Referenced by NodalEqualValueConstraint::computeResidual().

◆ blockIDs()

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

Return the block subdomain ids for this object.

Returns
a set of SudomainIDs that are valid for this object

Definition at line 174 of file BlockRestrictable.C.

175 {
176  return _blk_ids;
177 }

Referenced by BlockRestrictable::getBlockCoordSystem(), MaterialBase::getZeroMaterialProperty(), BlockRestrictable::hasBlockMaterialPropertyHelper(), and MaterialBase::registerPropName().

◆ blockRestricted()

bool BlockRestrictable::blockRestricted ( ) const
virtualinherited

Returns true if this object has been restricted to a boundary.

See also
MooseObject

Definition at line 162 of file BlockRestrictable.C.

163 {
164  return _blk_ids.find(Moose::ANY_BLOCK_ID) == _blk_ids.end();
165 }

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

◆ 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 168 of file BlockRestrictable.C.

169 {
170  return _blocks;
171 }

Referenced by MaterialOutputAction::getParams().

◆ checkBlockAndBoundaryCompatibility()

void MaterialPropertyInterface::checkBlockAndBoundaryCompatibility ( std::shared_ptr< MaterialBase discrete)
inherited

Check if block and boundary restrictions of a given material are compatible with the current material.

Error out otherwise.

Definition at line 212 of file MaterialPropertyInterface.C.

214 {
215  // Check block compatibility
216  if (!discrete->hasBlocks(_mi_block_ids))
217  {
218  std::ostringstream oss;
219  oss << "Incompatible material and object blocks:";
220 
221  oss << "\n " << paramErrorPrefix(discrete->parameters(), "block")
222  << " material defined on blocks ";
223  for (const auto & sbd_id : discrete->blockIDs())
224  oss << sbd_id << ", ";
225 
226  oss << "\n " << paramErrorPrefix(_mi_params, "block") << " object needs material on blocks ";
227  for (const auto & block_id : _mi_block_ids)
228  oss << block_id << ", ";
229 
230  mooseError(oss.str());
231  }
232 
233  // Check boundary compatibility
234  if (!discrete->hasBoundary(_mi_boundary_ids))
235  {
236  std::ostringstream oss;
237  oss << "Incompatible material and object boundaries:";
238 
239  oss << "\n " << paramErrorPrefix(discrete->parameters(), "boundary")
240  << " material defined on boundaries ";
241  for (const auto & bnd_id : discrete->boundaryIDs())
242  oss << bnd_id << ", ";
243 
244  oss << "\n " << paramErrorPrefix(_mi_params, "boundary")
245  << " object needs material on boundaries ";
246  for (const auto & bnd_id : _mi_boundary_ids)
247  oss << bnd_id << ", ";
248 
249  mooseError(oss.str());
250  }
251 }

Referenced by MaterialPropertyInterface::getMaterialByName().

◆ checkExecutionStage()

void MaterialPropertyInterface::checkExecutionStage ( )
protectedinherited

Check and throw an error if the execution has progressed past the construction stage.

Definition at line 290 of file MaterialPropertyInterface.C.

291 {
293  mooseError("Material properties must be retrieved during object construction. This is a code "
294  "problem.");
295 }

Referenced by MaterialPropertyInterface::getADMaterialPropertyByNameTempl(), MaterialPropertyInterface::getMaterialPropertyByNameTempl(), and TwoMaterialPropertyInterface::getNeighborMaterialPropertyByNameTempl().

◆ checkFuncType()

void Coupleable::checkFuncType ( const std::string  var_name,
VarType  t,
FuncAge  age 
)
privateinherited

Definition at line 156 of file Coupleable.C.

157 {
158  if (t == VarType::Gradient && _c_nodal)
159  mooseError(_c_name, ": nodal variables do not have gradients");
160 
161  if (age == FuncAge::Old || age == FuncAge::Older || t == VarType::GradientDot ||
162  t == VarType::Dot)
163  validateExecutionerType(var_name, "coupled[Vector][Gradient/Dot]Old[er]");
164  if (age == FuncAge::Older && !_c_is_implicit)
165  mooseError("object '",
166  _c_name,
167  "' uses older variable values that are unavailable with explicit schemes");
168 
169  // this goes at end after all error checks
170  coupledCallback(var_name, age == FuncAge::Old || age == FuncAge::Older);
171 }

Referenced by Coupleable::adCoupledDotTemplate(), Coupleable::adCoupledGradientTemplate(), Coupleable::adCoupledSecondTemplate(), Coupleable::adCoupledValueTemplate(), Coupleable::adCoupledVectorDotTemplate(), Coupleable::adCoupledVectorGradientTemplate(), Coupleable::adCoupledVectorValueTemplate(), Coupleable::coupled(), Coupleable::coupledArrayDot(), Coupleable::coupledArrayDotDot(), Coupleable::coupledArrayDotDotOld(), Coupleable::coupledArrayDotOld(), Coupleable::coupledArrayGradient(), Coupleable::coupledArrayGradientOld(), Coupleable::coupledArrayGradientOlder(), Coupleable::coupledArrayValue(), Coupleable::coupledArrayValueOld(), Coupleable::coupledArrayValueOlder(), Coupleable::coupledCurl(), Coupleable::coupledCurlOld(), Coupleable::coupledCurlOlder(), Coupleable::coupledDofValues(), Coupleable::coupledDofValuesOld(), Coupleable::coupledDofValuesOlder(), Coupleable::coupledDot(), Coupleable::coupledDotDot(), Coupleable::coupledDotDotDu(), Coupleable::coupledDotDotOld(), Coupleable::coupledDotDu(), Coupleable::coupledDotOld(), Coupleable::coupledGradient(), Coupleable::coupledGradientDot(), Coupleable::coupledGradientDotDot(), Coupleable::coupledGradientOld(), Coupleable::coupledGradientOlder(), Coupleable::coupledGradientPreviousNL(), Coupleable::coupledMatrixTagValue(), Coupleable::coupledNodalDot(), Coupleable::coupledNodalDotDot(), Coupleable::coupledNodalDotDotOld(), Coupleable::coupledNodalDotOld(), Coupleable::coupledNodalValue(), Coupleable::coupledNodalValueOld(), Coupleable::coupledNodalValueOlder(), Coupleable::coupledNodalValuePreviousNL(), Coupleable::coupledSecond(), Coupleable::coupledSecondOld(), Coupleable::coupledSecondOlder(), Coupleable::coupledSecondPreviousNL(), Coupleable::coupledValue(), Coupleable::coupledValueOld(), Coupleable::coupledValueOlder(), Coupleable::coupledValuePreviousNL(), Coupleable::coupledVectorDot(), Coupleable::coupledVectorDotDot(), Coupleable::coupledVectorDotDotDu(), Coupleable::coupledVectorDotDotOld(), Coupleable::coupledVectorDotDu(), Coupleable::coupledVectorDotOld(), Coupleable::coupledVectorGradient(), Coupleable::coupledVectorGradientOld(), Coupleable::coupledVectorGradientOlder(), Coupleable::coupledVectorTagValue(), Coupleable::coupledVectorValue(), Coupleable::coupledVectorValueOld(), and Coupleable::coupledVectorValueOlder().

◆ checkMaterialProperty()

void MaterialPropertyInterface::checkMaterialProperty ( const std::string &  name)
protectedinherited

A helper method for checking material properties This method was required to avoid a compiler problem with the template getMaterialProperty method.

Definition at line 180 of file MaterialPropertyInterface.C.

181 {
182  // If the material property is boundary restrictable, add to the list of materials to check
184  for (const auto & bnd_id : _mi_boundary_ids)
186 
187  // The default is to assume block restrictions
188  else
189  for (const auto & blk_ids : _mi_block_ids)
191 }

Referenced by MaterialPropertyInterface::getADMaterialPropertyByNameTempl(), MaterialPropertyInterface::getMaterialPropertyByNameTempl(), and TwoMaterialPropertyInterface::getNeighborMaterialPropertyByNameTempl().

◆ checkVar() [1/2]

void ScalarCoupleable::checkVar ( const std::string &  var_name)
protectedinherited

Check that the right kind of variable is being coupled in.

Parameters
var_nameThe name of the coupled variable

Definition at line 294 of file ScalarCoupleable.C.

295 {
296  auto it = _sc_coupled_vars.find(var_name);
297  if (it != _sc_coupled_vars.end())
298  {
299  std::string cvars;
300  for (auto jt : it->second)
301  cvars += " " + jt->name();
303  ": Trying to couple a field variable where scalar variable is expected, '",
304  var_name,
305  " =",
306  cvars,
307  "'");
308  }
309  // NOTE: non-existent variables are handled in the constructor
310 }

Referenced by ScalarCoupleable::adCoupledScalarValueTempl(), ScalarCoupleable::coupledMatrixTagScalarValue(), ScalarCoupleable::coupledScalar(), ScalarCoupleable::coupledScalarDot(), ScalarCoupleable::coupledScalarDotDot(), ScalarCoupleable::coupledScalarDotDotDu(), ScalarCoupleable::coupledScalarDotDotOld(), ScalarCoupleable::coupledScalarDotDu(), ScalarCoupleable::coupledScalarDotOld(), ScalarCoupleable::coupledScalarOrder(), ScalarCoupleable::coupledScalarValue(), ScalarCoupleable::coupledScalarValueOld(), ScalarCoupleable::coupledScalarValueOlder(), and ScalarCoupleable::coupledVectorTagScalarValue().

◆ checkVar() [2/2]

bool Coupleable::checkVar ( const std::string &  var_name,
unsigned int  comp = 0,
unsigned int  comp_bound = 0 
)
protectedinherited

Check that the right kind of variable is being coupled in.

Parameters
var_nameThe name of the coupled variable

Definition at line 174 of file Coupleable.C.

175 {
176  auto it = _c_coupled_scalar_vars.find(var_name);
177  if (it != _c_coupled_scalar_vars.end())
178  {
179  std::string cvars;
180  for (auto jt : it->second)
181  cvars += " " + jt->name();
182 
183  _obj->paramError(var_name,
184  "cannot couple '",
185  var_name,
186  "' to a scalar variable (",
187  cvars,
188  ") where field variable is expected");
189  }
190 
191  if (!isCoupled(var_name, comp))
192  return false; // return false since variable is *not* coupled
193 
194  auto bound = comp_bound ? comp_bound : _coupled_vars[var_name].size();
195  checkComponent(_obj, comp, bound, var_name);
196 
197  if (!(_coupled_vars[var_name][comp])->isNodal() && _c_nodal)
198  mooseError(_c_name, ": cannot couple elemental variables into nodal objects");
199 
200  return true;
201 }

Referenced by Coupleable::getFEVar(), and Coupleable::getVarHelper().

◆ checkVariable()

void BlockRestrictable::checkVariable ( const MooseVariableFEBase variable) const
inherited

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.

Definition at line 314 of file BlockRestrictable.C.

315 {
316  if (!isBlockSubset(variable.activeSubdomains()))
317  {
318  std::string var_ids = Moose::stringify(variable.activeSubdomains(), ", ");
319  std::string obj_ids = Moose::stringify(blockRestricted() ? _blk_ids : meshBlockIDs(), ", ");
320  mooseError("The 'block' parameter of the object '",
321  _blk_name,
322  "' must be a subset of the 'block' parameter of the variable '",
323  variable.name(),
324  "':\n Object '",
325  _blk_name,
326  "': ",
327  obj_ids,
328  "\n Variable '",
329  variable.name(),
330  "': ",
331  var_ids);
332  }
333 }

◆ computeADOffDiagJacobian()

virtual void KernelBase::computeADOffDiagJacobian ( )
inlinevirtualinherited

◆ computeJacobian()

void KernelGrad::computeJacobian ( )
overridevirtual

Compute this Kernel's contribution to the diagonal Jacobian entries.

Reimplemented from Kernel.

Definition at line 51 of file KernelGrad.C.

52 {
53  DenseMatrix<Number> & ke = _assembly.jacobianBlock(_var.number(), _var.number());
54  _local_ke.resize(ke.m(), ke.n());
55  _local_ke.zero();
56 
57  const unsigned int n_test = _test.size();
58  for (_qp = 0; _qp < _qrule->n_points(); _qp++)
59  for (_j = 0; _j < _phi.size(); _j++)
60  {
61  RealGradient value = precomputeQpJacobian() * _JxW[_qp] * _coord[_qp];
62  for (_i = 0; _i < n_test; _i++) // target for auto vectorization
63  _local_ke(_i, _j) += value * _grad_test[_i][_qp];
64  }
65 
66  ke += _local_ke;
67 
69  {
70  const unsigned int rows = ke.m();
71  DenseVector<Number> diag(rows);
72  for (unsigned int i = 0; i < rows; i++) // target for auto vectorization
73  diag(i) = _local_ke(i, i);
74 
75  Threads::spin_mutex::scoped_lock lock(Threads::spin_mtx);
76  for (const auto & var : _diag_save_in)
77  var->sys().solution().add_vector(diag, var->dofIndices());
78  }
79 }

Referenced by computeOffDiagJacobian().

◆ computeNonlocalJacobian()

virtual void KernelBase::computeNonlocalJacobian ( )
inlinevirtualinherited

Compute this Kernel's contribution to the diagonal Jacobian entries corresponding to nonlocal dofs of the variable.

Reimplemented in NonlocalKernel.

Definition at line 93 of file KernelBase.h.

93 {}

◆ computeNonlocalOffDiagJacobian()

virtual void KernelBase::computeNonlocalOffDiagJacobian ( unsigned int  )
inlinevirtualinherited

Computes d-residual / d-jvar...

corresponding to nonlocal dofs of the jvar and stores the result in nonlocal ke

Reimplemented in NonlocalKernel.

Definition at line 99 of file KernelBase.h.

99 {}

◆ computeOffDiagJacobian() [1/4]

void KernelGrad::computeOffDiagJacobian ( MooseVariableFEBase jvar)
overridevirtual

Computes d-residual / d-jvar... storing the result in Ke.

Reimplemented from Kernel.

Definition at line 82 of file KernelGrad.C.

83 {
84  size_t jvar_num = jvar.number();
85  if (jvar_num == _var.number())
87  else
88  {
89  DenseMatrix<Number> & Ke = _assembly.jacobianBlock(_var.number(), jvar_num);
90 
91  // This (undisplaced) jvar could potentially yield the wrong phi size if this object is acting
92  // on the displaced mesh
93  auto phi_size = _sys.getVariable(_tid, jvar.number()).dofIndices().size();
94 
95  for (_j = 0; _j < phi_size; _j++)
96  for (_qp = 0; _qp < _qrule->n_points(); _qp++)
97  for (_i = 0; _i < _test.size(); _i++)
98  Ke(_i, _j) += _JxW[_qp] * _coord[_qp] * computeQpOffDiagJacobian(jvar_num);
99  }
100 }

◆ computeOffDiagJacobian() [2/4]

void Kernel::computeOffDiagJacobian
override

Computes d-residual / d-jvar... storing the result in Ke.

Definition at line 135 of file Kernel.C.

136 {
137  auto jvar_num = jvar.number();
138  if (jvar_num == _var.number())
139  computeJacobian();
140  else
141  {
142  prepareMatrixTag(_assembly, _var.number(), jvar_num);
143 
144  // This (undisplaced) jvar could potentially yield the wrong phi size if this object is acting
145  // on the displaced mesh
146  auto phi_size = _sys.getVariable(_tid, jvar.number()).dofIndices().size();
147  mooseAssert(
148  phi_size * jvar.count() == _local_ke.n(),
149  "The size of the phi container does not match the number of local Jacobian columns");
150 
151  if (_local_ke.m() != _test.size())
152  return;
153 
154  precalculateOffDiagJacobian(jvar_num);
155  if (jvar.count() == 1)
156  {
157  for (_i = 0; _i < _test.size(); _i++)
158  for (_j = 0; _j < phi_size; _j++)
159  for (_qp = 0; _qp < _qrule->n_points(); _qp++)
160  _local_ke(_i, _j) += _JxW[_qp] * _coord[_qp] * computeQpOffDiagJacobian(jvar_num);
161  }
162  else
163  {
164  unsigned int n = phi_size;
165  for (_i = 0; _i < _test.size(); _i++)
166  for (_j = 0; _j < n; _j++)
167  for (_qp = 0; _qp < _qrule->n_points(); _qp++)
168  {
169  RealEigenVector v =
170  _JxW[_qp] * _coord[_qp] *
171  computeQpOffDiagJacobianArray(static_cast<ArrayMooseVariable &>(jvar));
172  for (unsigned int k = 0; k < v.size(); ++k)
173  _local_ke(_i, _j + k * n) += v(k);
174  }
175  }
176 
178  }
179 }

◆ computeOffDiagJacobian() [3/4]

virtual void Kernel::computeOffDiagJacobian ( unsigned  jvar)
virtualinherited

Deprecated method.

◆ computeOffDiagJacobian() [4/4]

virtual void Kernel::computeOffDiagJacobian

Deprecated method.

◆ computeOffDiagJacobianScalar()

void Kernel::computeOffDiagJacobianScalar ( unsigned int  jvar)
overridevirtualinherited

Computes jacobian block with respect to a scalar variable.

Parameters
jvarThe number of the scalar variable

Implements KernelBase.

Reimplemented in EigenKernel.

Definition at line 203 of file Kernel.C.

204 {
207 
208  for (_i = 0; _i < _test.size(); _i++)
209  for (_j = 0; _j < jv.order(); _j++)
210  for (_qp = 0; _qp < _qrule->n_points(); _qp++)
212 
214 }

◆ computeQpJacobian()

virtual Real Kernel::computeQpJacobian ( )
inlineprotectedvirtualinherited

◆ computeQpOffDiagJacobian()

virtual Real Kernel::computeQpOffDiagJacobian ( unsigned int  )
inlineprotectedvirtualinherited

◆ computeQpOffDiagJacobianArray()

virtual RealEigenVector Kernel::computeQpOffDiagJacobianArray ( ArrayMooseVariable jvar)
inlineprotectedvirtualinherited

For coupling array variables.

Definition at line 69 of file Kernel.h.

70  {
71  return RealEigenVector::Zero(jvar.count());
72  }

Referenced by Kernel::computeOffDiagJacobian().

◆ computeQpResidual()

Real KernelGrad::computeQpResidual ( )
overrideprotectedvirtual

Compute this Kernel's contribution to the residual at the current quadrature point.

Implements Kernel.

Definition at line 103 of file KernelGrad.C.

104 {
105  return 0.0;
106 }

◆ computeResidual()

void KernelGrad::computeResidual ( )
overridevirtual

Compute this Kernel's contribution to the residual.

Reimplemented from Kernel.

Definition at line 26 of file KernelGrad.C.

27 {
28  DenseVector<Number> & re = _assembly.residualBlock(_var.number());
29  _local_re.resize(re.size());
30  _local_re.zero();
31 
32  const unsigned int n_test = _test.size();
33  for (_qp = 0; _qp < _qrule->n_points(); _qp++)
34  {
35  RealGradient value = precomputeQpResidual() * _JxW[_qp] * _coord[_qp];
36  for (_i = 0; _i < n_test; _i++) // target for auto vectorization
38  }
39 
40  re += _local_re;
41 
42  if (_has_save_in)
43  {
44  Threads::spin_mutex::scoped_lock lock(Threads::spin_mtx);
45  for (const auto & var : _save_in)
46  var->sys().solution().add_vector(_local_re, var->dofIndices());
47  }
48 }

◆ coupled()

unsigned int Coupleable::coupled ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns the index for a coupled variable by name.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Index of coupled variable, if this is an optionally coupled variable that wasn't provided this will return a unique "invalid" index.

Reimplemented in ShapeUserObject< ElementUserObject >, and ShapeUserObject< SideUserObject >.

Definition at line 364 of file Coupleable.C.

365 {
366  MooseVariableFEBase * var = getFEVar(var_name, comp);
367  if (!var)
368  {
369  // make sure we don't try to access default var ids that were not provided
370  checkComponent(_obj, comp, _optional_var_index[var_name].size(), var_name);
371  return _optional_var_index[var_name][comp];
372  }
374 
375  switch (var->kind())
376  {
378  return var->number();
380  return std::numeric_limits<unsigned int>::max() - var->number();
381  default:
382  mooseError(_c_name, ": Unknown variable kind. Corrupted binary?");
383  }
384 }

Referenced by FunctionMaterialBase::FunctionMaterialBase(), KernelBase::KernelBase(), and NodalEqualValueConstraint::NodalEqualValueConstraint().

◆ coupledArrayDot()

const ArrayVariableValue & Coupleable::coupledArrayDot ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Time derivative of a coupled array variable.

Parameters
var_nameName of coupled array variable
compComponent number for vector of coupled array variables
Returns
Reference to a ArrayVariableValue containing the time derivative of the coupled variable

Definition at line 786 of file Coupleable.C.

787 {
788  ArrayMooseVariable * var = getArrayVar(var_name, comp);
789  if (!var)
792 
794  {
795  if (_c_nodal)
796  return var->dofValuesDot();
797  return var->uDot();
798  }
799  else
800  {
801  if (_c_nodal)
802  return var->dofValuesDotNeighbor();
803  return var->uDotNeighbor();
804  }
805 }

◆ coupledArrayDotDot()

const ArrayVariableValue & Coupleable::coupledArrayDotDot ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Second time derivative of a coupled array variable.

Parameters
var_nameName of coupled array variable
compComponent number for vector of coupled array variables
Returns
Reference to a ArrayVariableValue containing the time derivative of the coupled variable

Definition at line 808 of file Coupleable.C.

809 {
810  ArrayMooseVariable * var = getArrayVar(var_name, comp);
811  if (!var)
814 
816  {
817  if (_c_nodal)
818  return var->dofValuesDotDot();
819  return var->uDotDot();
820  }
821  else
822  {
823  if (_c_nodal)
824  return var->dofValuesDotDotNeighbor();
825  return var->uDotDotNeighbor();
826  }
827 }

◆ coupledArrayDotDotOld()

const ArrayVariableValue & Coupleable::coupledArrayDotDotOld ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Old second time derivative of a coupled array variable.

Parameters
var_nameName of coupled array variable
compComponent number for vector of coupled array variables
Returns
Reference to a ArrayVariableValue containing the time derivative of the coupled variable

Definition at line 852 of file Coupleable.C.

853 {
854  ArrayMooseVariable * var = getArrayVar(var_name, comp);
855  if (!var)
858 
860  {
861  if (_c_nodal)
862  return var->dofValuesDotDotOld();
863  return var->uDotDotOld();
864  }
865  else
866  {
867  if (_c_nodal)
868  return var->dofValuesDotDotOldNeighbor();
869  return var->uDotDotOldNeighbor();
870  }
871 }

◆ coupledArrayDotOld()

const ArrayVariableValue & Coupleable::coupledArrayDotOld ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Old time derivative of a coupled array variable.

Parameters
var_nameName of coupled array variable
compComponent number for vector of coupled array variables
Returns
Reference to a ArrayVariableValue containing the time derivative of the coupled variable

Definition at line 830 of file Coupleable.C.

831 {
832  ArrayMooseVariable * var = getArrayVar(var_name, comp);
833  if (!var)
836 
838  {
839  if (_c_nodal)
840  return var->dofValuesDotOld();
841  return var->uDotOld();
842  }
843  else
844  {
845  if (_c_nodal)
846  return var->dofValuesDotOldNeighbor();
847  return var->uDotOldNeighbor();
848  }
849 }

◆ coupledArrayGradient()

const ArrayVariableGradient & Coupleable::coupledArrayGradient ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns gradient of a coupled array variable.

Parameters
var_nameName of coupled array variable
compComponent number for vector of coupled array variables
Returns
Reference to a VectorVariableGradient containing the gradient of the coupled array variable

Definition at line 1036 of file Coupleable.C.

1037 {
1038  ArrayMooseVariable * var = getArrayVar(var_name, comp);
1039  if (!var)
1040  return _default_array_gradient;
1042 
1043  if (!_coupleable_neighbor)
1044  return (_c_is_implicit) ? var->gradSln() : var->gradSlnOld();
1045  return (_c_is_implicit) ? var->gradSlnNeighbor() : var->gradSlnOldNeighbor();
1046 }

◆ coupledArrayGradientOld()

const ArrayVariableGradient & Coupleable::coupledArrayGradientOld ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns an old gradient from previous time step of a coupled array variable.

Parameters
var_nameName of coupled array variable
compComponent number for vector of coupled array variables
Returns
Reference to a VectorVariableGradient containing the old gradient of the coupled array variable

Definition at line 1049 of file Coupleable.C.

1050 {
1051  ArrayMooseVariable * var = getArrayVar(var_name, comp);
1052  if (!var)
1053  return _default_array_gradient;
1055 
1056  if (!_coupleable_neighbor)
1057  return (_c_is_implicit) ? var->gradSlnOld() : var->gradSlnOlder();
1058  return (_c_is_implicit) ? var->gradSlnOldNeighbor() : var->gradSlnOlderNeighbor();
1059 }

◆ coupledArrayGradientOlder()

const ArrayVariableGradient & Coupleable::coupledArrayGradientOlder ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns an old gradient from two time steps previous of a coupled array variable.

Parameters
var_nameName of coupled array variable
compComponent number for vector of coupled array variables
Returns
Reference to a ArrayVariableGradient containing the older gradient of the coupled array variable

Definition at line 1062 of file Coupleable.C.

1063 {
1064  ArrayMooseVariable * var = getArrayVar(var_name, comp);
1065  if (!var)
1066  return _default_array_gradient;
1068 
1069  if (!_coupleable_neighbor)
1070  return var->gradSlnOlder();
1071  return var->gradSlnOlderNeighbor();
1072 }

◆ coupledArrayValue()

const ArrayVariableValue & Coupleable::coupledArrayValue ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns value of a coupled array variable.

Parameters
var_nameName of coupled vector variable
compComponent number for vector of coupled vector variables
Returns
Reference to a ArrayVariableValue for the coupled vector variable
See also
ArrayKernel::_u

Definition at line 455 of file Coupleable.C.

456 {
457  ArrayMooseVariable * var = getArrayVar(var_name, comp);
458  if (!var)
459  return *getDefaultArrayValue(var_name);
461 
463  {
464  if (_c_nodal)
465  return (_c_is_implicit) ? var->dofValues() : var->dofValuesOld();
466  return (_c_is_implicit) ? var->sln() : var->slnOld();
467  }
468  else
469  {
470  if (_c_nodal)
471  return (_c_is_implicit) ? var->dofValuesNeighbor() : var->dofValuesOldNeighbor();
472  return (_c_is_implicit) ? var->slnNeighbor() : var->slnOldNeighbor();
473  }
474 }

◆ coupledArrayValueOld()

const ArrayVariableValue & Coupleable::coupledArrayValueOld ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns an old value from previous time step of a coupled array variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a ArrayVariableValue containing the old value of the coupled variable
See also
ArrayKernel::_u_old

Definition at line 576 of file Coupleable.C.

577 {
578  ArrayMooseVariable * var = getArrayVar(var_name, comp);
579  if (!var)
580  return *getDefaultArrayValue(var_name);
582 
584  {
585  if (_c_nodal)
586  return (_c_is_implicit) ? var->dofValuesOld() : var->dofValuesOlder();
587  return (_c_is_implicit) ? var->slnOld() : var->slnOlder();
588  }
589  else
590  {
591  if (_c_nodal)
593  return (_c_is_implicit) ? var->slnOldNeighbor() : var->slnOlderNeighbor();
594  }
595 }

◆ coupledArrayValueOlder()

const ArrayVariableValue & Coupleable::coupledArrayValueOlder ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns an old value from two time steps previous of a coupled array variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a ArrayVariableValue containing the older value of the coupled variable
See also
ArrayKernel::_u_older

Definition at line 598 of file Coupleable.C.

599 {
600  ArrayMooseVariable * var = getArrayVar(var_name, comp);
601  if (!var)
602  return *getDefaultArrayValue(var_name);
604 
606  {
607  if (_c_nodal)
608  return var->dofValuesOlder();
609  return var->slnOlder();
610  }
611  else
612  {
613  if (_c_nodal)
614  return var->dofValuesOlderNeighbor();
615  return var->slnOlderNeighbor();
616  }
617 }

◆ coupledCallback()

virtual void Coupleable::coupledCallback ( const std::string &  ,
bool   
)
inlineprotectedvirtualinherited

A call-back function provided by the derived object for actions before coupling a variable with functions such as coupledValue.

Reimplemented in AuxKernelTempl< ComputeValueType >.

Definition at line 130 of file Coupleable.h.

130 {}

Referenced by Coupleable::adCoupledNodalValueTemplate(), and Coupleable::checkFuncType().

◆ coupledComponents()

unsigned int Coupleable::coupledComponents ( const std::string &  var_name)
protectedinherited

Number of coupled components.

Parameters
var_nameName of the variable
Returns
number of components this variable has (usually 1)

Definition at line 128 of file Coupleable.C.

129 {
130  if (isCoupled(var_name))
131  return _coupled_vars[var_name].size();
132  else
133  {
135  return _c_parameters.numberDefaultCoupledValues(var_name);
136  else
137  return 0;
138  }
139 }

Referenced by KernelBase::KernelBase(), NodalEqualValueConstraint::NodalEqualValueConstraint(), SpatialAverageBase::SpatialAverageBase(), and VolumeHistogram::VolumeHistogram().

◆ coupledCurl()

const VectorVariableCurl & Coupleable::coupledCurl ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns curl of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VectorVariableCurl containing the curl of the coupled variable
See also
Kernel::_curl_u

Definition at line 1075 of file Coupleable.C.

1076 {
1077  VectorMooseVariable * var = getVectorVar(var_name, comp);
1078  if (!var)
1079  return _default_vector_curl;
1081 
1082  if (!_coupleable_neighbor)
1083  return (_c_is_implicit) ? var->curlSln() : var->curlSlnOld();
1084  return (_c_is_implicit) ? var->curlSlnNeighbor() : var->curlSlnOldNeighbor();
1085 }

◆ coupledCurlOld()

const VectorVariableCurl & Coupleable::coupledCurlOld ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns an old curl from previous time step of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VectorVariableCurl containing the old curl of the coupled variable
See also
Kernel::_curl_u_old

Definition at line 1088 of file Coupleable.C.

1089 {
1090  VectorMooseVariable * var = getVectorVar(var_name, comp);
1091  if (!var)
1092  return _default_vector_curl;
1094 
1095  if (!_coupleable_neighbor)
1096  return (_c_is_implicit) ? var->curlSlnOld() : var->curlSlnOlder();
1097  return (_c_is_implicit) ? var->curlSlnOldNeighbor() : var->curlSlnOlderNeighbor();
1098 }

◆ coupledCurlOlder()

const VectorVariableCurl & Coupleable::coupledCurlOlder ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns an old curl from two time steps previous of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VectorVariableCurl containing the older curl of the coupled variable
See also
Kernel::_curl_u_older

Definition at line 1101 of file Coupleable.C.

1102 {
1103  VectorMooseVariable * var = getVectorVar(var_name, comp);
1104  if (!var)
1105  return _default_vector_curl;
1107 
1108  if (!_coupleable_neighbor)
1109  return var->curlSlnOlder();
1110  return var->curlSlnOlderNeighbor();
1111 }

◆ coupledDofValues()

const VariableValue & Coupleable::coupledDofValues ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns DoFs in the current solution vector of a coupled variable for the local element.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue for the DoFs of the coupled variable

Definition at line 1297 of file Coupleable.C.

1298 {
1299  MooseVariable * var = getVar(var_name, comp);
1300  if (!var)
1301  return *getDefaultValue(var_name, comp);
1303 
1304  if (!_coupleable_neighbor)
1305  return (_c_is_implicit) ? var->dofValues() : var->dofValuesOld();
1306  return (_c_is_implicit) ? var->dofValuesNeighbor() : var->dofValuesOldNeighbor();
1307 }

◆ coupledDofValuesOld()

const VariableValue & Coupleable::coupledDofValuesOld ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns DoFs in the old solution vector of a coupled variable for the local element.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue for the old DoFs of the coupled variable

Definition at line 1310 of file Coupleable.C.

1311 {
1312  MooseVariable * var = getVar(var_name, comp);
1313  if (!var)
1314  return *getDefaultValue(var_name, comp);
1316 
1317  if (!_coupleable_neighbor)
1318  return (_c_is_implicit) ? var->dofValuesOld() : var->dofValuesOlder();
1319  return (_c_is_implicit) ? var->dofValuesOldNeighbor() : var->dofValuesOlderNeighbor();
1320 }

◆ coupledDofValuesOlder()

const VariableValue & Coupleable::coupledDofValuesOlder ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns DoFs in the older solution vector of a coupled variable for the local element.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue for the older DoFs of the coupled variable

Definition at line 1323 of file Coupleable.C.

1324 {
1325  MooseVariable * var = getVar(var_name, comp);
1326  if (!var)
1327  return *getDefaultValue(var_name, comp);
1329 
1330  if (!_coupleable_neighbor)
1331  return var->dofValuesOlder();
1332  return var->dofValuesOlderNeighbor();
1333 }

◆ coupledDot()

const VariableValue & Coupleable::coupledDot ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Time derivative of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue containing the time derivative of the coupled variable

Reimplemented in AuxKernelTempl< ComputeValueType >.

Definition at line 620 of file Coupleable.C.

621 {
622  MooseVariable * var = getVar(var_name, comp);
623  if (!var)
624  return _default_value_zero;
626 
628  {
629  if (_c_nodal)
630  return var->dofValuesDot();
631  return var->uDot();
632  }
633  else
634  {
635  if (_c_nodal)
636  return var->dofValuesDotNeighbor();
637  return var->uDotNeighbor();
638  }
639 }

Referenced by AuxKernelTempl< ComputeValueType >::coupledDot().

◆ coupledDotDot()

const VariableValue & Coupleable::coupledDotDot ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Second time derivative of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue containing the time derivative of the coupled variable

Definition at line 642 of file Coupleable.C.

643 {
644  MooseVariable * var = getVar(var_name, comp);
645  if (!var)
646  return _default_value_zero;
648 
650  {
651  if (_c_nodal)
652  return var->dofValuesDotDot();
653  return var->uDotDot();
654  }
655  else
656  {
657  if (_c_nodal)
658  return var->dofValuesDotDotNeighbor();
659  return var->uDotDotNeighbor();
660  }
661 }

◆ coupledDotDotDu()

const VariableValue & Coupleable::coupledDotDotDu ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Second time derivative of a coupled variable with respect to the coefficients.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue containing the time derivative of the coupled variable with respect to the coefficients

Definition at line 896 of file Coupleable.C.

897 {
898  MooseVariable * var = getVar(var_name, comp);
899  if (!var)
900  return _default_value_zero;
902 
904  {
905  if (_c_nodal)
906  return var->dofValuesDuDotDotDu();
907  return var->duDotDotDu();
908  }
909  else
910  {
911  if (_c_nodal)
912  return var->dofValuesDuDotDotDuNeighbor();
913  return var->duDotDotDuNeighbor();
914  }
915 }

◆ coupledDotDotOld()

const VariableValue & Coupleable::coupledDotDotOld ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Old second time derivative of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue containing the time derivative of the coupled variable

Definition at line 686 of file Coupleable.C.

687 {
688  MooseVariable * var = getVar(var_name, comp);
689  if (!var)
690  return _default_value_zero;
692 
694  {
695  if (_c_nodal)
696  return var->dofValuesDotDotOld();
697  return var->uDotDotOld();
698  }
699  else
700  {
701  if (_c_nodal)
702  return var->dofValuesDotDotOldNeighbor();
703  return var->uDotDotOldNeighbor();
704  }
705 }

◆ coupledDotDu()

const VariableValue & Coupleable::coupledDotDu ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Time derivative of a coupled variable with respect to the coefficients.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue containing the time derivative of the coupled variable with respect to the coefficients

Reimplemented in AuxKernelTempl< ComputeValueType >.

Definition at line 874 of file Coupleable.C.

875 {
876  MooseVariable * var = getVar(var_name, comp);
877  if (!var)
878  return _default_value_zero;
880 
882  {
883  if (_c_nodal)
884  return var->dofValuesDuDotDu();
885  return var->duDotDu();
886  }
887  else
888  {
889  if (_c_nodal)
890  return var->dofValuesDuDotDuNeighbor();
891  return var->duDotDuNeighbor();
892  }
893 }

Referenced by AuxKernelTempl< ComputeValueType >::coupledDotDu().

◆ coupledDotOld()

const VariableValue & Coupleable::coupledDotOld ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Old time derivative of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue containing the time derivative of the coupled variable

Definition at line 664 of file Coupleable.C.

665 {
666  MooseVariable * var = getVar(var_name, comp);
667  if (!var)
668  return _default_value_zero;
670 
672  {
673  if (_c_nodal)
674  return var->dofValuesDotOld();
675  return var->uDotOld();
676  }
677  else
678  {
679  if (_c_nodal)
680  return var->dofValuesDotOldNeighbor();
681  return var->uDotOldNeighbor();
682  }
683 }

◆ coupledGradient()

const VariableGradient & Coupleable::coupledGradient ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns gradient of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableGradient containing the gradient of the coupled variable
See also
Kernel::gradient

Definition at line 918 of file Coupleable.C.

919 {
920  MooseVariable * var = getVar(var_name, comp);
921  if (!var)
922  return _default_gradient;
924 
926  return (_c_is_implicit) ? var->gradSln() : var->gradSlnOld();
927  return (_c_is_implicit) ? var->gradSlnNeighbor() : var->gradSlnOldNeighbor();
928 }

Referenced by NodeElemConstraint::coupledSlaveGradient(), and NodeFaceConstraint::coupledSlaveGradient().

◆ coupledGradientDot()

const VariableGradient & Coupleable::coupledGradientDot ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Time derivative of the gradient of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableGradient containing the time derivative of the gradient of a coupled variable

Definition at line 971 of file Coupleable.C.

972 {
973  MooseVariable * var = getVar(var_name, comp);
974  if (!var)
975  return _default_gradient;
977 
979  return var->gradSlnDot();
980  return var->gradSlnNeighborDot();
981 }

◆ coupledGradientDotDot()

const VariableGradient & Coupleable::coupledGradientDotDot ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Second time derivative of the gradient of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableGradient containing the time derivative of the gradient of a coupled variable

Definition at line 984 of file Coupleable.C.

985 {
986  MooseVariable * var = getVar(var_name, comp);
987  if (!var)
988  return _default_gradient;
990 
992  return var->gradSlnDotDot();
993  return var->gradSlnNeighborDotDot();
994 }

◆ coupledGradientOld()

const VariableGradient & Coupleable::coupledGradientOld ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns an old gradient from previous time step of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableGradient containing the old gradient of the coupled variable
See also
Kernel::gradientOld

Definition at line 931 of file Coupleable.C.

932 {
933  MooseVariable * var = getVar(var_name, comp);
934  if (!var)
935  return _default_gradient;
937 
939  return (_c_is_implicit) ? var->gradSlnOld() : var->gradSlnOlder();
940  return (_c_is_implicit) ? var->gradSlnOldNeighbor() : var->gradSlnOlderNeighbor();
941 }

Referenced by NodeElemConstraint::coupledSlaveGradientOld(), and NodeFaceConstraint::coupledSlaveGradientOld().

◆ coupledGradientOlder()

const VariableGradient & Coupleable::coupledGradientOlder ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns an old gradient from two time steps previous of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableGradient containing the older gradient of the coupled variable
See also
Kernel::gradientOlder

Definition at line 944 of file Coupleable.C.

945 {
946  MooseVariable * var = getVar(var_name, comp);
947  if (!var)
948  return _default_gradient;
950 
952  return var->gradSlnOlder();
953  return var->gradSlnOlderNeighbor();
954 }

Referenced by NodeElemConstraint::coupledSlaveGradientOlder(), and NodeFaceConstraint::coupledSlaveGradientOlder().

◆ coupledGradientPreviousNL()

const VariableGradient & Coupleable::coupledGradientPreviousNL ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns gradient of a coupled variable for previous Newton iterate.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableGradient containing the gradient of the coupled variable

Definition at line 957 of file Coupleable.C.

958 {
959  MooseVariable * var = getVar(var_name, comp);
961  if (!var)
962  return _default_gradient;
964 
966  return var->gradSlnPreviousNL();
967  return var->gradSlnPreviousNLNeighbor();
968 }

◆ coupledMatrixTagScalarValue()

VariableValue & ScalarCoupleable::coupledMatrixTagScalarValue ( const std::string &  var_name,
TagID  tag,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns value of a scalar coupled variable.

Parameters
var_nameName of coupled variable
tagTag ID of coupled matrix;
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue for the coupled variable

Definition at line 199 of file ScalarCoupleable.C.

202 {
203  checkVar(var_name);
204  if (!isCoupledScalar(var_name, comp))
205  return *getDefaultValue(var_name);
206 
208 
209  MooseVariableScalar * var = getScalarVar(var_name, comp);
210  return var->matrixTagSln(tag);
211 }

◆ coupledMatrixTagValue()

const VariableValue & Coupleable::coupledMatrixTagValue ( const std::string &  var_name,
TagID  tag,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns value of a coupled variable for a given tag.

This couples the diag vector of matrix

Parameters
var_nameName of coupled variable
tagmatrix tag ID
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue for the coupled variable
See also
Kernel::_u

Definition at line 427 of file Coupleable.C.

428 {
429  MooseVariable * var = getVar(var_name, comp);
430  if (!var)
431  mooseError(var_name, ": invalid variable name for coupledMatrixTagValue");
433 
435 
436  if (_c_nodal)
437  return var->nodalMatrixTagValue(tag);
438  return var->matrixTagValue(tag);
439 }

◆ coupledNodalDot()

template<typename T >
const template RealVectorValue & Coupleable::coupledNodalDot< RealVectorValue > ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedinherited

Nodal values of time derivative of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue containing the nodal values of time derivative of the coupled variable

Definition at line 1244 of file Coupleable.C.

1245 {
1246  static const T zero = 0;
1247  MooseVariableFE<T> * var = getVarHelper<T>(var_name, comp);
1248  if (!var)
1249  return zero;
1251 
1252  if (!_coupleable_neighbor)
1253  return var->nodalValueDot();
1254  mooseError("Neighbor version not implemented");
1255 }

◆ coupledNodalDotDot()

const VariableValue & Coupleable::coupledNodalDotDot ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Nodal values of second time derivative of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue containing the nodal values of second time derivative of the coupled variable

Definition at line 1258 of file Coupleable.C.

1259 {
1260  MooseVariable * var = getVar(var_name, comp);
1261  if (!var)
1262  return _default_value_zero;
1264 
1265  if (!_coupleable_neighbor)
1266  return var->dofValuesDotDot();
1267  return var->dofValuesDotDotNeighbor();
1268 }

◆ coupledNodalDotDotOld()

const VariableValue & Coupleable::coupledNodalDotDotOld ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Nodal values of old second time derivative of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue containing the nodal values of second time derivative of the coupled variable

Definition at line 1284 of file Coupleable.C.

1285 {
1286  MooseVariable * var = getVar(var_name, comp);
1287  if (!var)
1288  return _default_value_zero;
1290 
1291  if (!_coupleable_neighbor)
1292  return var->dofValuesDotDotOld();
1293  return var->dofValuesDotDotOldNeighbor();
1294 }

◆ coupledNodalDotOld()

const VariableValue & Coupleable::coupledNodalDotOld ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Nodal values of old time derivative of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue containing the nodal values of time derivative of the coupled variable

Definition at line 1271 of file Coupleable.C.

1272 {
1273  MooseVariable * var = getVar(var_name, comp);
1274  if (!var)
1275  return _default_value_zero;
1277 
1278  if (!_coupleable_neighbor)
1279  return var->dofValuesDotOld();
1280  return var->dofValuesDotOldNeighbor();
1281 }

◆ coupledNodalValue()

template<typename T >
const template RealVectorValue & Coupleable::coupledNodalValue< RealVectorValue > ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedinherited

Returns nodal values of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue for the coupled variable

Definition at line 1168 of file Coupleable.C.

1169 {
1170  MooseVariableFE<T> * var = getVarHelper<T>(var_name, comp);
1171  if (!var)
1172  return getDefaultNodalValue<T>(var_name, comp);
1174 
1175  if (!var->isNodal())
1177  ": Trying to get nodal values of variable '",
1178  var->name(),
1179  "', but it is not nodal.");
1180 
1181  if (!_coupleable_neighbor)
1182  return (_c_is_implicit) ? var->nodalValue() : var->nodalValueOld();
1183  return (_c_is_implicit) ? var->nodalValueNeighbor() : var->nodalValueOldNeighbor();
1184 }

◆ coupledNodalValueOld()

template<typename T >
const template RealVectorValue & Coupleable::coupledNodalValueOld< RealVectorValue > ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedinherited

Returns an old nodal value from previous time step of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue containing the old value of the coupled variable

Definition at line 1188 of file Coupleable.C.

1189 {
1190  MooseVariableFE<T> * var = getVarHelper<T>(var_name, comp);
1191  if (!var)
1192  return getDefaultNodalValue<T>(var_name, comp);
1194 
1195  if (!var->isNodal())
1197  ": Trying to get old nodal values of variable '",
1198  var->name(),
1199  "', but it is not nodal.");
1200 
1201  if (!_coupleable_neighbor)
1202  return (_c_is_implicit) ? var->nodalValueOld() : var->nodalValueOlder();
1204 }

◆ coupledNodalValueOlder()

template<typename T >
const template RealVectorValue & Coupleable::coupledNodalValueOlder< RealVectorValue > ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedinherited

Returns an old nodal value from two time steps previous of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue containing the older value of the coupled variable

Definition at line 1208 of file Coupleable.C.

1209 {
1210  MooseVariableFE<T> * var = getVarHelper<T>(var_name, comp);
1211  if (!var)
1212  return getDefaultNodalValue<T>(var_name, comp);
1214 
1215  if (!var->isNodal())
1217  ": Trying to get older nodal values of variable '",
1218  var->name(),
1219  "', but it is not nodal.");
1220 
1221  if (!_coupleable_neighbor)
1222  return var->nodalValueOlder();
1223  return var->nodalValueOlderNeighbor();
1224 }

◆ coupledNodalValuePreviousNL()

template<typename T >
const template RealVectorValue & Coupleable::coupledNodalValuePreviousNL< RealVectorValue > ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedinherited

Returns nodal values of a coupled variable for previous Newton iterate.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue for the coupled variable

Definition at line 1228 of file Coupleable.C.

1229 {
1230  MooseVariableFE<T> * var = getVarHelper<T>(var_name, comp);
1231  if (!var)
1232  return getDefaultNodalValue<T>(var_name, comp);
1234 
1236 
1237  if (!_coupleable_neighbor)
1238  return var->nodalValuePreviousNL();
1239  return var->nodalValuePreviousNLNeighbor();
1240 }

◆ coupledPostprocessors()

unsigned int PostprocessorInterface::coupledPostprocessors ( const std::string &  name) const
inherited

Returns number of Postprocessors coupled under parameter name.

Parameters
nameThe name of the Postprocessor parameter
Returns
Number of coupled post-processors, 1 if it's a single

Definition at line 146 of file PostprocessorInterface.C.

147 {
148  if (singlePostprocessor(name))
149  return 1;
150  return _ppi_params.get<std::vector<PostprocessorName>>(name).size();
151 }

◆ coupledScalar()

unsigned int ScalarCoupleable::coupledScalar ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns the index for a scalar coupled variable by name.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Index of coupled variable

Definition at line 95 of file ScalarCoupleable.C.

96 {
97  checkVar(var_name);
98  return getScalarVar(var_name, comp)->number();
99 }

Referenced by ParsedODEKernel::ParsedODEKernel().

◆ coupledScalarComponents()

unsigned int ScalarCoupleable::coupledScalarComponents ( const std::string &  var_name)
protectedvirtualinherited

Return the number of components to the coupled scalar variable.

Parameters
var_nameThe of the coupled variable

Definition at line 341 of file ScalarCoupleable.C.

342 {
343  return _coupled_scalar_vars[var_name].size();
344 }

◆ coupledScalarDot()

VariableValue & ScalarCoupleable::coupledScalarDot ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns the time derivative of a scalar coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a time derivative VariableValue for the coupled variable

Definition at line 241 of file ScalarCoupleable.C.

242 {
243  checkVar(var_name);
244  validateExecutionerType(var_name, "coupledScalarDot");
245  MooseVariableScalar * var = getScalarVar(var_name, comp);
246  return var->uDot();
247 }

◆ coupledScalarDotDot()

VariableValue & ScalarCoupleable::coupledScalarDotDot ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns the second time derivative of a scalar coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a time derivative VariableValue for the coupled variable

Definition at line 250 of file ScalarCoupleable.C.

251 {
252  checkVar(var_name);
253  validateExecutionerType(var_name, "coupledScalarDotDot");
254  MooseVariableScalar * var = getScalarVar(var_name, comp);
255  return var->uDotDot();
256 }

◆ coupledScalarDotDotDu()

VariableValue & ScalarCoupleable::coupledScalarDotDotDu ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Second time derivative of a scalar coupled variable with respect to the coefficients.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue containing the time derivative of the coupled variable with respect to the coefficients

Definition at line 285 of file ScalarCoupleable.C.

286 {
287  checkVar(var_name);
288  validateExecutionerType(var_name, "coupledScalarDotDotDu");
289  MooseVariableScalar * var = getScalarVar(var_name, comp);
290  return var->duDotDotDu();
291 }

◆ coupledScalarDotDotOld()

VariableValue & ScalarCoupleable::coupledScalarDotDotOld ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns the old second time derivative of a scalar coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a time derivative VariableValue for the coupled variable

Definition at line 268 of file ScalarCoupleable.C.

269 {
270  checkVar(var_name);
271  validateExecutionerType(var_name, "coupledScalarDotDotOld");
272  MooseVariableScalar * var = getScalarVar(var_name, comp);
273  return var->uDotDotOld();
274 }

◆ coupledScalarDotDu()

VariableValue & ScalarCoupleable::coupledScalarDotDu ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Time derivative of a scalar coupled variable with respect to the coefficients.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue containing the time derivative of the coupled variable with respect to the coefficients

Definition at line 276 of file ScalarCoupleable.C.

277 {
278  checkVar(var_name);
279  validateExecutionerType(var_name, "coupledScalarDotDu");
280  MooseVariableScalar * var = getScalarVar(var_name, comp);
281  return var->duDotDu();
282 }

◆ coupledScalarDotOld()

VariableValue & ScalarCoupleable::coupledScalarDotOld ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns the old time derivative of a scalar coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a time derivative VariableValue for the coupled variable

Definition at line 259 of file ScalarCoupleable.C.

260 {
261  checkVar(var_name);
262  validateExecutionerType(var_name, "coupledScalarDotOld");
263  MooseVariableScalar * var = getScalarVar(var_name, comp);
264  return var->uDotOld();
265 }

◆ coupledScalarOrder()

Order ScalarCoupleable::coupledScalarOrder ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns the order for a scalar coupled variable by name.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Order of coupled variable

Definition at line 102 of file ScalarCoupleable.C.

103 {
104  checkVar(var_name);
105  if (!isCoupledScalar(var_name, comp))
107 
108  return getScalarVar(var_name, comp)->order();
109 }

◆ coupledScalarValue()

VariableValue & ScalarCoupleable::coupledScalarValue ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns value of a scalar coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue for the coupled variable

Definition at line 126 of file ScalarCoupleable.C.

127 {
128  checkVar(var_name);
129  if (!isCoupledScalar(var_name, comp))
130  return *getDefaultValue(var_name);
131 
132  MooseVariableScalar * var = getScalarVar(var_name, comp);
133  return (_sc_is_implicit) ? var->sln() : var->slnOld();
134 }

Referenced by ParsedODEKernel::ParsedODEKernel().

◆ coupledScalarValueOld()

VariableValue & ScalarCoupleable::coupledScalarValueOld ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns the old (previous time step) value of a scalar coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a old VariableValue for the coupled variable

Definition at line 214 of file ScalarCoupleable.C.

215 {
216  checkVar(var_name);
217  if (!isCoupledScalar(var_name, comp))
218  return *getDefaultValue(var_name);
219 
220  validateExecutionerType(var_name, "coupledScalarValueOld");
221  MooseVariableScalar * var = getScalarVar(var_name, comp);
222  return (_sc_is_implicit) ? var->slnOld() : var->slnOlder();
223 }

◆ coupledScalarValueOlder()

VariableValue & ScalarCoupleable::coupledScalarValueOlder ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns the older (two time steps previous) value of a scalar coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a older VariableValue for the coupled variable

Definition at line 226 of file ScalarCoupleable.C.

227 {
228  checkVar(var_name);
229  if (!isCoupledScalar(var_name, comp))
230  return *getDefaultValue(var_name);
231 
232  validateExecutionerType(var_name, "coupledScalarValueOlder");
233  MooseVariableScalar * var = getScalarVar(var_name, comp);
234  if (_sc_is_implicit)
235  return var->slnOlder();
236  else
237  mooseError("Older values not available for explicit schemes");
238 }

◆ coupledSecond()

const VariableSecond & Coupleable::coupledSecond ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns second derivative of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableSecond containing the second derivative of the coupled variable
See also
Kernel::second

Definition at line 1114 of file Coupleable.C.

1115 {
1116  MooseVariable * var = getVar(var_name, comp);
1117  if (!var)
1118  return _default_second;
1120 
1121  if (!_coupleable_neighbor)
1122  return (_c_is_implicit) ? var->secondSln() : var->secondSlnOlder();
1123  return (_c_is_implicit) ? var->secondSlnNeighbor() : var->secondSlnOlderNeighbor();
1124 }

Referenced by NodeElemConstraint::coupledSlaveSecond(), and NodeFaceConstraint::coupledSlaveSecond().

◆ coupledSecondOld()

const VariableSecond & Coupleable::coupledSecondOld ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns an old second derivative from previous time step of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableSecond containing the old second derivative of the coupled variable
See also
Kernel::secondOld

Definition at line 1127 of file Coupleable.C.

1128 {
1129  MooseVariable * var = getVar(var_name, comp);
1130  if (!var)
1131  return _default_second;
1133 
1134  if (!_coupleable_neighbor)
1135  return (_c_is_implicit) ? var->secondSlnOld() : var->secondSlnOlder();
1136  return (_c_is_implicit) ? var->secondSlnOldNeighbor() : var->secondSlnOlderNeighbor();
1137 }

◆ coupledSecondOlder()

const VariableSecond & Coupleable::coupledSecondOlder ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns an old second derivative from two time steps previous of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableSecond containing the older second derivative of the coupled variable
See also
Kernel::secondOlder

Definition at line 1140 of file Coupleable.C.

1141 {
1142  MooseVariable * var = getVar(var_name, comp);
1143  if (!var)
1144  return _default_second;
1146 
1147  if (!_coupleable_neighbor)
1148  return var->secondSlnOlder();
1149  return var->secondSlnOlderNeighbor();
1150 }

◆ coupledSecondPreviousNL()

const VariableSecond & Coupleable::coupledSecondPreviousNL ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns second derivative of a coupled variable for the previous Newton iterate.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableSecond containing the second derivative of the coupled variable

Definition at line 1153 of file Coupleable.C.

1154 {
1155  MooseVariable * var = getVar(var_name, comp);
1157  if (!var)
1158  return _default_second;
1160 
1161  if (!_coupleable_neighbor)
1162  return var->secondSlnPreviousNL();
1163  return var->secondSlnPreviousNLNeighbor();
1164 }

◆ coupledValue()

const VariableValue & Coupleable::coupledValue ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns value of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue for the coupled variable
See also
Kernel::_u

Definition at line 387 of file Coupleable.C.

388 {
389  MooseVariable * var = getVar(var_name, comp);
390  if (!var)
391  return *getDefaultValue(var_name, comp);
393 
395  {
396  if (_c_nodal)
397  return (_c_is_implicit) ? var->dofValues() : var->dofValuesOld();
398  else
399  return (_c_is_implicit) ? var->sln() : var->slnOld();
400  }
401  else
402  {
403  if (_c_nodal)
404  return (_c_is_implicit) ? var->dofValuesNeighbor() : var->dofValuesOldNeighbor();
405  else
406  return (_c_is_implicit) ? var->slnNeighbor() : var->slnOldNeighbor();
407  }
408 }

Referenced by NodeElemConstraint::coupledSlaveValue(), NodeFaceConstraint::coupledSlaveValue(), FunctionMaterialBase::FunctionMaterialBase(), NodalEqualValueConstraint::NodalEqualValueConstraint(), ParsedAux::ParsedAux(), SpatialAverageBase::SpatialAverageBase(), VariableTimeIntegrationAux::VariableTimeIntegrationAux(), and Coupleable::writableCoupledValue().

◆ coupledValueOld()

const VariableValue & Coupleable::coupledValueOld ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns an old value from previous time step of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue containing the old value of the coupled variable
See also
Kernel::valueOld

Definition at line 483 of file Coupleable.C.

484 {
485  MooseVariable * var = getVar(var_name, comp);
486  if (!var)
487  return *getDefaultValue(var_name, comp);
489 
491  {
492  if (_c_nodal)
493  return (_c_is_implicit) ? var->dofValuesOld() : var->dofValuesOlder();
494  return (_c_is_implicit) ? var->slnOld() : var->slnOlder();
495  }
496  else
497  {
498  if (_c_nodal)
500  return (_c_is_implicit) ? var->slnOldNeighbor() : var->slnOlderNeighbor();
501  }
502 }

Referenced by NodeElemConstraint::coupledSlaveValueOld(), NodeFaceConstraint::coupledSlaveValueOld(), and VariableTimeIntegrationAux::VariableTimeIntegrationAux().

◆ coupledValueOlder()

const VariableValue & Coupleable::coupledValueOlder ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns an old value from two time steps previous of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue containing the older value of the coupled variable
See also
Kernel::valueOlder

Definition at line 505 of file Coupleable.C.

506 {
507  MooseVariable * var = getVar(var_name, comp);
508  if (!var)
509  return *getDefaultValue(var_name, comp);
511 
513  {
514  if (_c_nodal)
515  return var->dofValuesOlder();
516  return var->slnOlder();
517  }
518  else
519  {
520  if (_c_nodal)
521  return var->dofValuesOlderNeighbor();
522  return var->slnOlderNeighbor();
523  }
524 }

Referenced by NodeElemConstraint::coupledSlaveValueOlder(), NodeFaceConstraint::coupledSlaveValueOlder(), and VariableTimeIntegrationAux::VariableTimeIntegrationAux().

◆ coupledValuePreviousNL()

const VariableValue & Coupleable::coupledValuePreviousNL ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns value of previous Newton iterate of a coupled variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue containing the older value of the coupled variable

Definition at line 527 of file Coupleable.C.

528 {
529  MooseVariable * var = getVar(var_name, comp);
530  if (!var)
531  return *getDefaultValue(var_name, comp);
533 
536  {
537  if (_c_nodal)
538  return var->dofValuesPreviousNL();
539  return var->slnPreviousNL();
540  }
541  else
542  {
543  if (_c_nodal)
544  return var->dofValuesPreviousNLNeighbor();
545  return var->slnPreviousNLNeighbor();
546  }
547 }

◆ coupledVectorDot()

const VectorVariableValue & Coupleable::coupledVectorDot ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Time derivative of a coupled vector variable.

Parameters
var_nameName of coupled vector variable
compComponent number for vector of coupled vector variables
Returns
Reference to a VectorVariableValue containing the time derivative of the coupled variable

Definition at line 708 of file Coupleable.C.

709 {
710  VectorMooseVariable * var = getVectorVar(var_name, comp);
711  if (!var)
714 
716  return var->uDot();
717  return var->uDotNeighbor();
718 }

◆ coupledVectorDotDot()

const VectorVariableValue & Coupleable::coupledVectorDotDot ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Second time derivative of a coupled vector variable.

Parameters
var_nameName of coupled vector variable
compComponent number for vector of coupled vector variables
Returns
Reference to a VectorVariableValue containing the time derivative of the coupled variable

Definition at line 721 of file Coupleable.C.

722 {
723  VectorMooseVariable * var = getVectorVar(var_name, comp);
724  if (!var)
727 
729  return var->uDotDot();
730  return var->uDotDotNeighbor();
731 }

◆ coupledVectorDotDotDu()

const VariableValue & Coupleable::coupledVectorDotDotDu ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Second time derivative of a coupled vector variable with respect to the coefficients.

Parameters
var_nameName of coupled vector variable
compComponent number for vector of coupled vector variables
Returns
Reference to a VariableValue containing the time derivative of the coupled vector variable with respect to the coefficients

Definition at line 773 of file Coupleable.C.

774 {
775  VectorMooseVariable * var = getVectorVar(var_name, comp);
776  if (!var)
777  return _default_value_zero;
779 
781  return var->duDotDotDu();
782  return var->duDotDotDuNeighbor();
783 }

◆ coupledVectorDotDotOld()

const VectorVariableValue & Coupleable::coupledVectorDotDotOld ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Old second time derivative of a coupled vector variable.

Parameters
var_nameName of coupled vector variable
compComponent number for vector of coupled vector variables
Returns
Reference to a VectorVariableValue containing the time derivative of the coupled variable

Definition at line 747 of file Coupleable.C.

748 {
749  VectorMooseVariable * var = getVectorVar(var_name, comp);
750  if (!var)
753 
755  return var->uDotDotOld();
756  return var->uDotDotOldNeighbor();
757 }

◆ coupledVectorDotDu()

const VariableValue & Coupleable::coupledVectorDotDu ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Time derivative of a coupled vector variable with respect to the coefficients.

Parameters
var_nameName of coupled vector variable
compComponent number for vector of coupled vector variables
Returns
Reference to a VariableValue containing the time derivative of the coupled vector variable with respect to the coefficients

Definition at line 760 of file Coupleable.C.

761 {
762  VectorMooseVariable * var = getVectorVar(var_name, comp);
763  if (!var)
764  return _default_value_zero;
766 
768  return var->duDotDu();
769  return var->duDotDuNeighbor();
770 }

◆ coupledVectorDotOld()

const VectorVariableValue & Coupleable::coupledVectorDotOld ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Old time derivative of a coupled vector variable.

Parameters
var_nameName of coupled vector variable
compComponent number for vector of coupled vector variables
Returns
Reference to a VectorVariableValue containing the time derivative of the coupled variable

Definition at line 734 of file Coupleable.C.

735 {
736  VectorMooseVariable * var = getVectorVar(var_name, comp);
737  if (!var)
740 
742  return var->uDotOld();
743  return var->uDotOldNeighbor();
744 }

◆ coupledVectorGradient()

const VectorVariableGradient & Coupleable::coupledVectorGradient ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns gradient of a coupled vector variable.

Parameters
var_nameName of coupled vector variable
compComponent number for vector of coupled vector variables
Returns
Reference to a VectorVariableGradient containing the gradient of the coupled vector variable

Definition at line 997 of file Coupleable.C.

998 {
999  VectorMooseVariable * var = getVectorVar(var_name, comp);
1000  if (!var)
1001  return _default_vector_gradient;
1003 
1004  if (!_coupleable_neighbor)
1005  return (_c_is_implicit) ? var->gradSln() : var->gradSlnOld();
1006  return (_c_is_implicit) ? var->gradSlnNeighbor() : var->gradSlnOldNeighbor();
1007 }

◆ coupledVectorGradientOld()

const VectorVariableGradient & Coupleable::coupledVectorGradientOld ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns an old gradient from previous time step of a coupled vector variable.

Parameters
var_nameName of coupled vector variable
compComponent number for vector of coupled vector variables
Returns
Reference to a VectorVariableGradient containing the old gradient of the coupled vector variable

Definition at line 1010 of file Coupleable.C.

1011 {
1012  VectorMooseVariable * var = getVectorVar(var_name, comp);
1013  if (!var)
1014  return _default_vector_gradient;
1016 
1017  if (!_coupleable_neighbor)
1018  return (_c_is_implicit) ? var->gradSlnOld() : var->gradSlnOlder();
1019  return (_c_is_implicit) ? var->gradSlnOldNeighbor() : var->gradSlnOlderNeighbor();
1020 }

◆ coupledVectorGradientOlder()

const VectorVariableGradient & Coupleable::coupledVectorGradientOlder ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns an old gradient from two time steps previous of a coupled vector variable.

Parameters
var_nameName of coupled vector variable
compComponent number for vector of coupled vector variables
Returns
Reference to a VectorVariableGradient containing the older gradient of the coupled vector variable

Definition at line 1023 of file Coupleable.C.

1024 {
1025  VectorMooseVariable * var = getVectorVar(var_name, comp);
1026  if (!var)
1027  return _default_vector_gradient;
1029 
1030  if (!_coupleable_neighbor)
1031  return var->gradSlnOlder();
1032  return var->gradSlnOlderNeighbor();
1033 }

◆ coupledVectorTagScalarValue()

VariableValue & ScalarCoupleable::coupledVectorTagScalarValue ( const std::string &  var_name,
TagID  tag,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns value of a scalar coupled variable.

Parameters
var_nameName of coupled variable
tagTag ID of coupled vector ;
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue for the coupled variable

Definition at line 184 of file ScalarCoupleable.C.

187 {
188  checkVar(var_name);
189  if (!isCoupledScalar(var_name, comp))
190  return *getDefaultValue(var_name);
191 
193 
194  MooseVariableScalar * var = getScalarVar(var_name, comp);
195  return var->vectorTagSln(tag);
196 }

◆ coupledVectorTagValue()

const VariableValue & Coupleable::coupledVectorTagValue ( const std::string &  var_name,
TagID  tag,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns value of a coupled variable for a given tag.

Parameters
var_nameName of coupled variable
tagvector tag ID
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue for the coupled variable
See also
Kernel::_u

Definition at line 411 of file Coupleable.C.

412 {
413  MooseVariable * var = getVar(var_name, comp);
414  if (!var)
415  mooseError(var_name, ": invalid variable name for coupledVectorTagValue");
417 
419 
420  if (_c_nodal)
421  return var->nodalVectorTagValue(tag);
422  else
423  return var->vectorTagValue(tag);
424 }

◆ coupledVectorValue()

const VectorVariableValue & Coupleable::coupledVectorValue ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns value of a coupled vector variable.

Parameters
var_nameName of coupled vector variable
compComponent number for vector of coupled vector variables
Returns
Reference to a VectorVariableValue for the coupled vector variable
See also
VectorKernel::_u

Definition at line 442 of file Coupleable.C.

443 {
444  VectorMooseVariable * var = getVectorVar(var_name, comp);
445  if (!var)
446  return *getDefaultVectorValue(var_name);
448 
450  return (_c_is_implicit) ? var->sln() : var->slnOld();
451  return (_c_is_implicit) ? var->slnNeighbor() : var->slnOldNeighbor();
452 }

◆ coupledVectorValueOld()

const VectorVariableValue & Coupleable::coupledVectorValueOld ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns an old value from previous time step of a coupled vector variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VectorVariableValue containing the old value of the coupled variable
See also
VectorKernel::_u_old

Definition at line 550 of file Coupleable.C.

551 {
552  VectorMooseVariable * var = getVectorVar(var_name, comp);
553  if (!var)
554  return *getDefaultVectorValue(var_name);
556 
558  return (_c_is_implicit) ? var->slnOld() : var->slnOlder();
559  return (_c_is_implicit) ? var->slnOldNeighbor() : var->slnOlderNeighbor();
560 }

◆ coupledVectorValueOlder()

const VectorVariableValue & Coupleable::coupledVectorValueOlder ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns an old value from two time steps previous of a coupled vector variable.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VectorVariableValue containing the older value of the coupled variable
See also
VectorKernel::_u_older

Definition at line 563 of file Coupleable.C.

564 {
565  VectorMooseVariable * var = getVectorVar(var_name, comp);
566  if (!var)
567  return *getDefaultVectorValue(var_name);
569 
571  return var->slnOlder();
572  return var->slnOlderNeighbor();
573 }

◆ declareRecoverableData() [1/2]

template<typename T >
T & Restartable::declareRecoverableData ( const std::string &  data_name)
protectedinherited

Declare a piece of data as "recoverable".

This means that in the event of a recovery this piece of data will be restored back to its previous value.

Note - this data will NOT be restored on Restart!

NOTE: This returns a reference! Make sure you store it in a reference!

Parameters
data_nameThe name of the data (usually just use the same name as the member variable)

Definition at line 295 of file Restartable.h.

296 {
297  std::string full_name = _restartable_system_name + "/" + _restartable_name + "/" + data_name;
298 
300 
301  return declareRestartableDataWithContext<T>(data_name, nullptr);
302 }

◆ declareRecoverableData() [2/2]

template<typename T >
T & Restartable::declareRecoverableData ( const std::string &  data_name,
const T &  init_value 
)
protectedinherited

Declare a piece of data as "restartable" and initialize it.

This means that in the event of a restart this piece of data will be restored back to its previous value.

Note - this data will NOT be restored on Restart!

NOTE: This returns a reference! Make sure you store it in a reference!

Parameters
data_nameThe name of the data (usually just use the same name as the member variable)
init_valueThe initial value of the data

Definition at line 306 of file Restartable.h.

307 {
308  std::string full_name = _restartable_system_name + "/" + _restartable_name + "/" + data_name;
309 
311 
312  return declareRestartableDataWithContext<T>(data_name, init_value, nullptr);
313 }

◆ declareRestartableDataTempl() [1/2]

template<typename T >
T & Restartable::declareRestartableDataTempl ( const std::string &  data_name)
protectedinherited

Declare a piece of data as "restartable".

This means that in the event of a restart this piece of data will be restored back to its previous value.

NOTE: This returns a reference! Make sure you store it in a reference!

Parameters
data_nameThe name of the data (usually just use the same name as the member variable)

Definition at line 222 of file Restartable.h.

223 {
224  return declareRestartableDataWithContext<T>(data_name, nullptr);
225 }

◆ declareRestartableDataTempl() [2/2]

template<typename T >
T & Restartable::declareRestartableDataTempl ( const std::string &  data_name,
const T &  init_value 
)
protectedinherited

Declare a piece of data as "restartable" and initialize it.

This means that in the event of a restart this piece of data will be restored back to its previous value.

NOTE: This returns a reference! Make sure you store it in a reference!

Parameters
data_nameThe name of the data (usually just use the same name as the member variable)
init_valueThe initial value of the data

Definition at line 229 of file Restartable.h.

230 {
231  return declareRestartableDataWithContext<T>(data_name, init_value, nullptr);
232 }

◆ declareRestartableDataWithContext() [1/2]

template<typename T >
T & Restartable::declareRestartableDataWithContext ( const std::string &  data_name,
const T &  init_value,
void *  context 
)
protectedinherited

Declare a piece of data as "restartable" and initialize it.

This means that in the event of a restart this piece of data will be restored back to its previous value.

NOTE: This returns a reference! Make sure you store it in a reference!

Parameters
data_nameThe name of the data (usually just use the same name as the member variable)
init_valueThe initial value of the data
contextContext pointer that will be passed to the load and store functions

Definition at line 250 of file Restartable.h.

253 {
254  std::string full_name = _restartable_system_name + "/" + _restartable_name + "/" + data_name;
255 
256  // Here we will create the RestartableData even though we may not use this instance.
257  // If it's already in use, the App will return a reference to the existing instance and we'll
258  // return that one instead. We might refactor this to have the app create the RestartableData
259  // at a later date.
260  auto data_ptr = libmesh_make_unique<RestartableData<T>>(full_name, context);
261  auto & restartable_data_ref = static_cast<RestartableData<T> &>(
262  registerRestartableDataOnApp(full_name, std::move(data_ptr), _restartable_tid));
263 
264  restartable_data_ref.set() = init_value;
265  return restartable_data_ref.get();
266 }

◆ declareRestartableDataWithContext() [2/2]

template<typename T >
T & Restartable::declareRestartableDataWithContext ( const std::string &  data_name,
void *  context 
)
protectedinherited

Declare a piece of data as "restartable".

This means that in the event of a restart this piece of data will be restored back to its previous value.

NOTE: This returns a reference! Make sure you store it in a reference!

Parameters
data_nameThe name of the data (usually just use the same name as the member variable)
contextContext pointer that will be passed to the load and store functions

Definition at line 236 of file Restartable.h.

237 {
238  std::string full_name = _restartable_system_name + "/" + _restartable_name + "/" + data_name;
239  auto data_ptr = libmesh_make_unique<RestartableData<T>>(full_name, context);
240 
241  // See comment in overloaded version of this function with "init_value"
242  auto & restartable_data_ref = static_cast<RestartableData<T> &>(
243  registerRestartableDataOnApp(full_name, std::move(data_ptr), _restartable_tid));
244 
245  return restartable_data_ref.get();
246 }

◆ declareRestartableDataWithObjectName()

template<typename T >
T & Restartable::declareRestartableDataWithObjectName ( const std::string &  data_name,
const std::string &  object_name 
)
protectedinherited

Declare a piece of data as "restartable".

This means that in the event of a restart this piece of data will be restored back to its previous value.

NOTE: This returns a reference! Make sure you store it in a reference!

Parameters
data_nameThe name of the data (usually just use the same name as the member variable)
object_nameA supplied name for the object that is declaring this data.

Definition at line 270 of file Restartable.h.

272 {
273  return declareRestartableDataWithObjectNameWithContext<T>(data_name, object_name, nullptr);
274 }

◆ declareRestartableDataWithObjectNameWithContext()

template<typename T >
T & Restartable::declareRestartableDataWithObjectNameWithContext ( const std::string &  data_name,
const std::string &  object_name,
void *  context 
)
protectedinherited

Declare a piece of data as "restartable".

This means that in the event of a restart this piece of data will be restored back to its previous value.

NOTE: This returns a reference! Make sure you store it in a reference!

Parameters
data_nameThe name of the data (usually just use the same name as the member variable)
object_nameA supplied name for the object that is declaring this data.
contextContext pointer that will be passed to the load and store functions

Definition at line 278 of file Restartable.h.

281 {
282  std::string old_name = _restartable_name;
283 
284  _restartable_name = object_name;
285 
286  T & value = declareRestartableDataWithContext<T>(data_name, context);
287 
288  _restartable_name = old_name;
289 
290  return value;
291 }

◆ declareRestartableDataWithPrefixOverrideAndContext()

template<typename T >
T& Restartable::declareRestartableDataWithPrefixOverrideAndContext ( const std::string &  data_name,
const std::string &  prefix,
void *  context 
)
protectedinherited

Declare a piece of data as "restartable".

This means that in the event of a restart this piece of data will be restored back to its previous value.

NOTE: This returns a reference! Make sure you store it in a reference!

Parameters
data_nameThe name of the data (usually just use the same name as the member variable)
prefixThe prefix to prepend to the data_name, to retrieve data from another object.
contextContext pointer that will be passed to the load and store functions

◆ deducePropertyName()

std::string MaterialPropertyInterface::deducePropertyName ( const std::string &  name)
protectedinherited

◆ defaultADMaterialProperty() [1/3]

template<typename T >
const ADMaterialPropertyObject< T > * MaterialPropertyInterface::defaultADMaterialProperty ( const std::string &  name)
protectedinherited

Helper function to parse default material property values.

This is implemented as a specialization for supported types and returns NULL in all other cases.

Definition at line 365 of file MaterialPropertyInterface.h.

366 {
367  return NULL;
368 }

◆ defaultADMaterialProperty() [2/3]

const ADMaterialPropertyObject< Real > * MaterialPropertyInterface::defaultADMaterialProperty ( const std::string &  name)
protectedinherited

Definition at line 94 of file MaterialPropertyInterface.C.

95 {
96  std::istringstream ss(name);
97  Real real_value;
98 
99  // check if the string parsed cleanly into a Real number
100  if (ss >> real_value && ss.eof())
101  {
102  _default_ad_real_properties.emplace_back(
103  libmesh_make_unique<ADMaterialPropertyObject<Real>>(true));
104  auto & default_property = _default_ad_real_properties.back();
105 
106  // resize to accomodate maximum number obf qpoints
107  auto nqp = _mi_feproblem.getMaxQps();
108  default_property->resize(nqp);
109 
110  // set values for all qpoints to the given default
111  for (decltype(nqp) qp = 0; qp < nqp; ++qp)
112  {
113  // This sets the dual number member of the MooseADWrapper for Jacobian calculations
114  (*default_property)[qp] = real_value;
115  // This sets the value member of the MooseADWrapper for residual calculations
116  default_property->set()[qp].value() = real_value;
117  }
118 
119  // return the raw pointer inside the shared pointer
120  return default_property.get();
121  }
122 
123  return nullptr;
124 }

◆ defaultADMaterialProperty() [3/3]

const ADMaterialPropertyObject< RealVectorValue > * MaterialPropertyInterface::defaultADMaterialProperty ( const std::string &  name)
protectedinherited

Definition at line 128 of file MaterialPropertyInterface.C.

129 {
130  std::istringstream ss(name);
131  Real real_value;
132 
133  // check if the string parsed cleanly into a Real number
134  if (ss >> real_value && ss.eof())
135  {
137  libmesh_make_unique<ADMaterialPropertyObject<RealVectorValue>>());
138  auto & default_property = _default_ad_real_vector_properties.back();
139 
140  // resize to accomodate maximum number obf qpoints
141  auto nqp = _mi_feproblem.getMaxQps();
142  default_property->resize(nqp);
143 
144  // set values for all qpoints to the given default
145  for (decltype(nqp) qp = 0; qp < nqp; ++qp)
146  (*default_property)[qp] = real_value;
147 
148  // return the raw pointer inside the shared pointer
149  return default_property.get();
150  }
151 
152  return nullptr;
153 }

◆ defaultMaterialProperty() [1/2]

template<typename T >
const MaterialProperty< T > * MaterialPropertyInterface::defaultMaterialProperty ( const std::string &  name)
protectedinherited

Helper function to parse default material property values.

This is implemented as a specialization for supported types and returns NULL in all other cases.

Definition at line 357 of file MaterialPropertyInterface.h.

358 {
359  return NULL;
360 }

◆ defaultMaterialProperty() [2/2]

const MaterialProperty< Real > * MaterialPropertyInterface::defaultMaterialProperty ( const std::string &  name)
protectedinherited

Definition at line 66 of file MaterialPropertyInterface.C.

67 {
68  std::istringstream ss(name);
69  Real real_value;
70 
71  // check if the string parsed cleanly into a Real number
72  if (ss >> real_value && ss.eof())
73  {
74  _default_real_properties.emplace_back(libmesh_make_unique<MaterialProperty<Real>>());
75  auto & default_property = _default_real_properties.back();
76 
77  // resize to accomodate maximum number obf qpoints
78  auto nqp = _mi_feproblem.getMaxQps();
79  default_property->resize(nqp);
80 
81  // set values for all qpoints to the given default
82  for (decltype(nqp) qp = 0; qp < nqp; ++qp)
83  (*default_property)[qp] = real_value;
84 
85  // return the raw pointer inside the shared pointer
86  return default_property.get();
87  }
88 
89  return nullptr;
90 }

◆ dot()

const OutputTools< Real >::VariableValue & MooseVariableInterface< Real >::dot ( )
protectedvirtualinherited

The time derivative of the variable this object is operating on.

Returns
The reference to be stored off and used later.

Definition at line 137 of file MooseVariableInterface.C.

138 {
139  if (_nodal)
140  return _variable->dofValuesDot();
141  else
142  return _variable->uDot();
143 }

◆ dotDot()

const OutputTools< Real >::VariableValue & MooseVariableInterface< Real >::dotDot ( )
protectedvirtualinherited

The second time derivative of the variable this object is operating on.

Returns
The reference to be stored off and used later.

Definition at line 147 of file MooseVariableInterface.C.

148 {
149  if (_nodal)
150  return _variable->dofValuesDotDot();
151  else
152  return _variable->uDotDot();
153 }

◆ dotDotDu()

const VariableValue & MooseVariableInterface< Real >::dotDotDu ( )
protectedvirtualinherited

The derivative of the second time derivative of the variable this object is operating on with respect to this variable's coefficients.

This is useful for creating Jacobian entries for residual statements that use _u_dotdot

Returns
The reference to be stored off and used later.

Definition at line 227 of file MooseVariableInterface.C.

228 {
229  if (_nodal)
230  return _variable->dofValuesDuDotDotDu();
231  else
232  return _variable->duDotDotDu();
233 }

◆ dotDotOld()

const OutputTools< Real >::VariableValue & MooseVariableInterface< Real >::dotDotOld ( )
protectedvirtualinherited

The old second time derivative of the variable this object is operating on.

Returns
The reference to be stored off and used later.

Definition at line 167 of file MooseVariableInterface.C.

168 {
169  if (_nodal)
170  return _variable->dofValuesDotDotOld();
171  else
172  return _variable->uDotDotOld();
173 }

◆ dotDu()

const VariableValue & MooseVariableInterface< Real >::dotDu ( )
protectedvirtualinherited

The derivative of the time derivative of the variable this object is operating on with respect to this variable's coefficients.

This is useful for creating Jacobian entries for residual statements that use _u_dot

Returns
The reference to be stored off and used later.

Definition at line 217 of file MooseVariableInterface.C.

218 {
219  if (_nodal)
220  return _variable->dofValuesDuDotDu();
221  else
222  return _variable->duDotDu();
223 }

◆ dotOld()

const OutputTools< Real >::VariableValue & MooseVariableInterface< Real >::dotOld ( )
protectedvirtualinherited

The old time derivative of the variable this object is operating on.

Returns
The reference to be stored off and used later.

Definition at line 157 of file MooseVariableInterface.C.

158 {
159  if (_nodal)
160  return _variable->dofValuesDotOld();
161  else
162  return _variable->uDotOld();
163 }

◆ enabled()

virtual bool MooseObject::enabled ( ) const
inlinevirtualinherited

Return the enabled status of the object.

Reimplemented in EigenKernel.

Definition at line 110 of file MooseObject.h.

110 { return _enabled; }

Referenced by EigenKernel::enabled().

◆ execBitFlags()

ExecFlagType SetupInterface::execBitFlags ( ) const
inherited

(DEPRECATED) Build and return the execution flags as a bitfield TODO: ExecFlagType

Definition at line 87 of file SetupInterface.C.

88 {
89  // TODO: ExecFlagType
90  mooseDeprecated("The execBitFlags method is being removed because MOOSE was updated to use a "
91  "ExecFlagEnum for execute flags. This method maintains the behavior of the "
92  "original method but the use of this method should be removed from your "
93  "application. The ExecFlagEnum should be inspected directly via the "
94  "getExecuteOnEnum() method.");
95 
96  unsigned int exec_bit_field = EXEC_NONE;
97  for (const auto & flag : _exec_flags)
98  exec_bit_field |= flag.id();
99  return ExecFlagType("deprecated", exec_bit_field);
100 }

◆ execFlags()

const std::vector< ExecFlagType > & SetupInterface::execFlags ( ) const
virtualinherited

(DEPRECATED) Get the execution flag for the object TODO: ExecFlagType

Reimplemented in MultiAppTransfer.

Definition at line 75 of file SetupInterface.C.

76 {
77  // TODO: ExecFlagType
78  mooseDeprecated("The execFlags() method is being removed because MOOSE has been updated to use a "
79  "ExecFlagEnum for execute flags. The current flags should be retrieved from "
80  "the \"exeucte_on\" parameters of your object or by using the \"_execute_enum\" "
81  "reference to the parameter or the getExecuteOnEnum() method.");
82 
83  return _exec_flags;
84 }

◆ getADDefaultGradient() [1/3]

template<ComputeStage compute_stage>
ADVariableGradient & Coupleable::getADDefaultGradient ( )
inherited

Helper method to return (and insert if necessary) the default gradient for Automatic Differentiation for an uncoupled variable.

Parameters
var_namethe name of the variable for which to retrieve a default gradient
Returns
VariableGradient * a pointer to the associated VariableGradient.

Definition at line 1305 of file Coupleable.h.

1306 {
1307  return _ad_default_gradient;
1308 }

◆ getADDefaultGradient() [2/3]

template<>
VariableGradient& Coupleable::getADDefaultGradient ( )
inherited

◆ getADDefaultGradient() [3/3]

template<>
VariableGradient& Coupleable::getADDefaultGradient ( )
inherited

Definition at line 1364 of file Coupleable.C.

1365 {
1366  return _default_gradient;
1367 }

◆ getADDefaultSecond() [1/3]

template<ComputeStage compute_stage>
ADVariableSecond & Coupleable::getADDefaultSecond ( )
inherited

Helper method to return (and insert if necessary) the default second derivatives for Automatic Differentiation for an uncoupled variable.

Parameters
var_namethe name of the variable for which to retrieve a default second derivative
Returns
VariableSecond * a pointer to the associated VariableSecond.

Definition at line 1325 of file Coupleable.h.

1326 {
1327  return _ad_default_second;
1328 }

◆ getADDefaultSecond() [2/3]

template<>
VariableSecond& Coupleable::getADDefaultSecond ( )
inherited

◆ getADDefaultSecond() [3/3]

template<>
VariableSecond& Coupleable::getADDefaultSecond ( )
inherited

Definition at line 1378 of file Coupleable.C.

1379 {
1380  return _default_second;
1381 }

◆ getADDefaultValue() [1/4]

template<ComputeStage compute_stage>
ADVariableValue* ScalarCoupleable::getADDefaultValue ( const std::string &  var_name)
protectedinherited

Helper method to return (and insert if necessary) the AD default value for an uncoupled variable.

Parameters
var_namethe name of the variable for which to retrieve a default value
Returns
ADVariableValue * a pointer to the associated ADVariableValue.

◆ getADDefaultValue() [2/4]

template<ComputeStage compute_stage>
ADVariableValue * Coupleable::getADDefaultValue ( const std::string &  var_name)
inherited

Helper method to return (and insert if necessary) the default value for Automatic Differentiation for an uncoupled variable.

Parameters
var_namethe name of the variable for which to retrieve a default value
Returns
VariableValue * a pointer to the associated VarirableValue.

Definition at line 1266 of file Coupleable.h.

1267 {
1268  auto default_value_it = _ad_default_value.find(var_name);
1269  if (default_value_it == _ad_default_value.end())
1270  {
1271  auto value = libmesh_make_unique<ADVariableValue>(_coupleable_max_qps,
1273  default_value_it = _ad_default_value.insert(std::make_pair(var_name, std::move(value))).first;
1274  }
1275 
1276  return default_value_it->second.get();
1277 }

◆ getADDefaultValue() [3/4]

template<>
VariableValue* Coupleable::getADDefaultValue ( const std::string &  var_name)
inherited

◆ getADDefaultValue() [4/4]

template<>
VariableValue* Coupleable::getADDefaultValue ( const std::string &  var_name)
inherited

Definition at line 1350 of file Coupleable.C.

1351 {
1352  return getDefaultValue(var_name, 0);
1353 }

◆ getADDefaultVectorGradient() [1/3]

template<ComputeStage compute_stage>
ADVectorVariableGradient & Coupleable::getADDefaultVectorGradient ( )
inherited

Helper method to return (and insert if necessary) the default gradient for Automatic Differentiation for an uncoupled vector variable.

Parameters
var_namethe name of the vector variable for which to retrieve a default gradient
Returns
VariableGradient * a pointer to the associated VectorVariableGradient.

Definition at line 1315 of file Coupleable.h.

1316 {
1318 }

◆ getADDefaultVectorGradient() [2/3]

template<>
VectorVariableGradient& Coupleable::getADDefaultVectorGradient ( )
inherited

◆ getADDefaultVectorGradient() [3/3]

template<>
VectorVariableGradient& Coupleable::getADDefaultVectorGradient ( )
inherited

Definition at line 1371 of file Coupleable.C.

1372 {
1373  return _default_vector_gradient;
1374 }

◆ getADDefaultVectorValue() [1/3]

template<ComputeStage compute_stage>
ADVectorVariableValue * Coupleable::getADDefaultVectorValue ( const std::string &  var_name)
inherited

Helper method to return (and insert if necessary) the default vector value for Automatic Differentiation for an uncoupled variable.

Parameters
var_namethe name of the vector variable for which to retrieve a default value
Returns
VariableVectorValue * a pointer to the associated VarirableVectorValue.

Definition at line 1284 of file Coupleable.h.

1285 {
1286  auto default_value_it = _ad_default_vector_value.find(var_name);
1287  if (default_value_it == _ad_default_vector_value.end())
1288  {
1289  RealVectorValue default_vec;
1290  for (unsigned int i = 0; i < _c_parameters.numberDefaultCoupledValues(var_name); ++i)
1291  default_vec(i) = _c_parameters.defaultCoupledValue(var_name, i);
1292  auto value = libmesh_make_unique<ADVectorVariableValue>(_coupleable_max_qps, default_vec);
1293  default_value_it =
1294  _ad_default_vector_value.insert(std::make_pair(var_name, std::move(value))).first;
1295  }
1296 
1297  return default_value_it->second.get();
1298 }

◆ getADDefaultVectorValue() [2/3]

template<>
VectorVariableValue* Coupleable::getADDefaultVectorValue ( const std::string &  var_name)
inherited

◆ getADDefaultVectorValue() [3/3]

template<>
VectorVariableValue* Coupleable::getADDefaultVectorValue ( const std::string &  var_name)
inherited

Definition at line 1357 of file Coupleable.C.

1358 {
1359  return getDefaultVectorValue(var_name);
1360 }

◆ getADMaterialPropertyByNameTempl()

template<typename T >
const ADMaterialPropertyObject< T > & MaterialPropertyInterface::getADMaterialPropertyByNameTempl ( const MaterialPropertyName &  name)
inherited

Definition at line 403 of file MaterialPropertyInterface.h.

404 {
406 
408  checkMaterialProperty(name);
409 
410  // mark property as requested
411  markMatPropRequested(name);
412 
413  // Update the boolean flag.
415 
416  _material_property_dependencies.insert(_material_data->getPropertyId(name));
417 
418  return _material_data->getADProperty<T>(name);
419 }

◆ getADMaterialPropertyTempl()

template<typename T >
const ADMaterialPropertyObject< T > & MaterialPropertyInterface::getADMaterialPropertyTempl ( const std::string &  name)
inherited

Definition at line 299 of file MaterialPropertyInterface.h.

300 {
301  // Check if the supplied parameter is a valid input parameter key
302  std::string prop_name = deducePropertyName(name);
303 
304  // Check if it's just a constant
305  const ADMaterialPropertyObject<T> * default_property = defaultADMaterialProperty<T>(prop_name);
306  if (default_property)
307  return *default_property;
308 
309  return getADMaterialPropertyByName<T>(prop_name);
310 }

◆ getArrayVar()

ArrayMooseVariable * Coupleable::getArrayVar ( const std::string &  var_name,
unsigned int  comp 
)
protectedinherited

◆ 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 292 of file BlockRestrictable.C.

293 {
294  if (!_blk_mesh)
295  mooseError("No mesh available in BlockRestrictable::checkCoordSystem()");
296  if (!_blk_feproblem)
297  mooseError("No problem available in BlockRestrictable::checkCoordSystem()");
298 
299  const auto & subdomains = blockRestricted() ? blockIDs() : meshBlockIDs();
300 
301  if (subdomains.empty())
302  mooseError("No subdomains found in the problem.");
303 
304  // make sure all subdomains are using the same coordinate system
305  auto coord_system = _blk_feproblem->getCoordSystem(*subdomains.begin());
306  for (auto subdomain : subdomains)
307  if (_blk_feproblem->getCoordSystem(subdomain) != coord_system)
308  mooseError("This object requires all subdomains to have the same coordinate system.");
309 
310  return coord_system;
311 }

◆ getBlockMaterialProperty()

template<typename T >
std::pair< const MaterialProperty< T > *, std::set< SubdomainID > > MaterialPropertyInterface::getBlockMaterialProperty ( const MaterialPropertyName &  name)
inherited

Retrieve pointer to a material property with the mesh blocks where it is defined The name required by this method is the name defined in the input file.

This function can be thought as the combination of getMaterialPropertyByName and getMaterialPropertyBlocks. It can be called after the action of all actions.

Parameters
nameThe name of the material property to retrieve
Returns
Pointer to the material property with the name 'name' and the set of blocks where the property is valid

Definition at line 459 of file MaterialPropertyInterface.h.

460 {
461  if (_mi_block_ids.empty())
462  mooseError("getBlockMaterialProperty must be called by a block restrictable object");
463 
464  if (!hasMaterialPropertyByName<T>(name))
465  return std::pair<const MaterialProperty<T> *, std::set<SubdomainID>>(NULL,
466  std::set<SubdomainID>());
467 
468  _material_property_dependencies.insert(_material_data->getPropertyId(name));
469 
470  return std::pair<const MaterialProperty<T> *, std::set<SubdomainID>>(
471  &_material_data->getProperty<T>(name), _mi_feproblem.getMaterialPropertyBlocks(name));
472 }

◆ getCheckedPointerParam()

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

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 91 of file MooseObject.h.

92  {
93  return parameters().getCheckedPointerParam<T>(name, error_string);
94  }

◆ getCoupledArratMooseVars()

const std::vector<ArrayMooseVariable *>& Coupleable::getCoupledArratMooseVars ( ) const
inlineinherited

Get the list of array coupled variables.

Returns
The list of array coupled variables

Definition at line 112 of file Coupleable.h.

113  {
115  }

◆ getCoupledMooseScalarVars()

const std::vector< MooseVariableScalar * > & ScalarCoupleable::getCoupledMooseScalarVars ( )
inherited

Get the list of coupled scalar variables.

Returns
The list of coupled variables

Definition at line 68 of file ScalarCoupleable.C.

69 {
71 }

Referenced by AuxScalarKernel::AuxScalarKernel(), and ScalarInitialCondition::ScalarInitialCondition().

◆ getCoupledMooseVars()

const std::vector<MooseVariableFEBase *>& Coupleable::getCoupledMooseVars ( ) const
inlineinherited

◆ getCoupledStandardMooseVars()

const std::vector<MooseVariable *>& Coupleable::getCoupledStandardMooseVars ( ) const
inlineinherited

Get the list of standard coupled variables.

Returns
The list of standard coupled variables

Definition at line 94 of file Coupleable.h.

95  {
97  }

◆ getCoupledVars()

const std::unordered_map<std::string, std::vector<MooseVariableFEBase *> >& Coupleable::getCoupledVars ( )
inlineinherited

Get the list of coupled variables.

Returns
The list of coupled variables

Definition at line 76 of file Coupleable.h.

77  {
78  return _coupled_vars;
79  }

Referenced by AuxKernelTempl< ComputeValueType >::AuxKernelTempl(), and InitialConditionBase::InitialConditionBase().

◆ getCoupledVectorMooseVars()

const std::vector<VectorMooseVariable *>& Coupleable::getCoupledVectorMooseVars ( ) const
inlineinherited

Get the list of vector coupled variables.

Returns
The list of vector coupled variables

Definition at line 103 of file Coupleable.h.

104  {
106  }

◆ getDefaultArrayValue()

ArrayVariableValue * Coupleable::getDefaultArrayValue ( const std::string &  var_name)
privateinherited

Helper method to return (and insert if necessary) the default value for an uncoupled array variable.

Parameters
var_namethe name of the vector variable for which to retrieve a default value
Returns
a pointer to the associated VectorVariableValue.

Definition at line 319 of file Coupleable.C.

320 {
321  std::map<std::string, ArrayVariableValue *>::iterator default_value_it =
322  _default_array_value.find(var_name);
323  if (default_value_it == _default_array_value.end())
324  {
326  for (unsigned int qp = 0; qp < _coupleable_max_qps; ++qp)
327  {
328  auto n = _c_parameters.numberDefaultCoupledValues(var_name);
329  (*value)[qp].resize(n);
330  for (unsigned int i = 0; i < n; ++i)
331  (*value)[qp](i) = _c_parameters.defaultCoupledValue(var_name, i);
332  }
333  default_value_it = _default_array_value.insert(std::make_pair(var_name, value)).first;
334  }
335 
336  return default_value_it->second;
337 }

Referenced by Coupleable::coupledArrayValue(), Coupleable::coupledArrayValueOld(), Coupleable::coupledArrayValueOlder(), and Coupleable::getDefaultNodalValue().

◆ getDefaultNodalValue() [1/3]

template<typename T >
const T & Coupleable::getDefaultNodalValue ( const std::string &  var_name,
unsigned int  comp = 0 
)
privateinherited

Get nodal default value.

Definition at line 341 of file Coupleable.C.

342 {
343  auto && default_variable_value = getDefaultValue(var_name, comp);
344  return *default_variable_value->data();
345 }

◆ getDefaultNodalValue() [2/3]

template<>
const RealVectorValue& Coupleable::getDefaultNodalValue ( const std::string &  var_name,
unsigned int   
)
privateinherited

Definition at line 349 of file Coupleable.C.

350 {
351  auto && default_variable_value = getDefaultVectorValue(var_name);
352  return *default_variable_value->data();
353 }

◆ getDefaultNodalValue() [3/3]

template<>
const RealEigenVector& Coupleable::getDefaultNodalValue ( const std::string &  var_name,
unsigned int   
)
privateinherited

Definition at line 357 of file Coupleable.C.

358 {
359  auto && default_variable_value = getDefaultArrayValue(var_name);
360  return *default_variable_value->data();
361 }

◆ getDefaultPostprocessorValue()

const PostprocessorValue & PostprocessorInterface::getDefaultPostprocessorValue ( const std::string &  name)
inherited

Return the default postprocessor value.

Parameters
nameThe name of the postprocessor parameter
Returns
A const reference to the default value

Definition at line 166 of file PostprocessorInterface.C.

167 {
169 }

Referenced by EigenKernel::EigenKernel().

◆ getDefaultValue() [1/2]

VariableValue * ScalarCoupleable::getDefaultValue ( const std::string &  var_name)
protectedinherited

Helper method to return (and insert if necessary) the default value for an uncoupled variable.

Parameters
var_namethe name of the variable for which to retrieve a default value
Returns
VariableValue * a pointer to the associated VarirableValue.

Definition at line 112 of file ScalarCoupleable.C.

113 {
114  auto default_value_it = _default_value.find(var_name);
115  if (default_value_it == _default_value.end())
116  {
117  auto value = libmesh_make_unique<VariableValue>(
119  default_value_it = _default_value.insert(std::make_pair(var_name, std::move(value))).first;
120  }
121 
122  return default_value_it->second.get();
123 }

Referenced by ScalarCoupleable::coupledMatrixTagScalarValue(), ScalarCoupleable::coupledScalarValue(), ScalarCoupleable::coupledScalarValueOld(), ScalarCoupleable::coupledScalarValueOlder(), and ScalarCoupleable::coupledVectorTagScalarValue().

◆ getDefaultValue() [2/2]

VariableValue * Coupleable::getDefaultValue ( const std::string &  var_name,
unsigned int  comp 
)
privateinherited

Helper method to return (and insert if necessary) the default value for an uncoupled variable.

Parameters
var_namethe name of the variable for which to retrieve a default value
Returns
a pointer to the associated VariableValue.

Definition at line 264 of file Coupleable.C.

265 {
266  // make sure we don't access values that were not provided
267  checkComponent(_obj, comp, _c_parameters.numberDefaultCoupledValues(var_name), var_name);
268 
269  auto default_value_it = _default_value.find(var_name);
270  if (default_value_it == _default_value.end())
271  {
272  _default_value[var_name].emplace_back(libmesh_make_unique<VariableValue>(
274  for (unsigned int j = 1; j < _c_parameters.numberDefaultCoupledValues(var_name); ++j)
275  _default_value[var_name].emplace_back(libmesh_make_unique<VariableValue>(
277  default_value_it = _default_value.find(var_name);
278  }
279 
280  return default_value_it->second[comp].get();
281 }

Referenced by Coupleable::coupledDofValues(), Coupleable::coupledDofValuesOld(), Coupleable::coupledDofValuesOlder(), Coupleable::coupledValue(), Coupleable::coupledValueOld(), Coupleable::coupledValueOlder(), Coupleable::coupledValuePreviousNL(), Coupleable::getADDefaultValue(), and Coupleable::getDefaultNodalValue().

◆ getDefaultVectorValue()

VectorVariableValue * Coupleable::getDefaultVectorValue ( const std::string &  var_name)
privateinherited

Helper method to return (and insert if necessary) the default value for an uncoupled vector variable.

Parameters
var_namethe name of the vector variable for which to retrieve a default value
Returns
a pointer to the associated VectorVariableValue.

Definition at line 284 of file Coupleable.C.

285 {
286  auto default_value_it = _default_vector_value.find(var_name);
287  if (default_value_it == _default_vector_value.end())
288  {
289  auto value = libmesh_make_unique<VectorVariableValue>(_coupleable_max_qps, 0);
290  bool already_warned = false;
291  for (unsigned int qp = 0; qp < _coupleable_max_qps; ++qp)
292  for (unsigned int i = 0; i < LIBMESH_DIM; ++i)
293  {
294  try
295  {
296  (*value)[qp](i) = _c_parameters.defaultCoupledValue(var_name, i);
297  }
298  catch (const std::out_of_range &)
299  {
300  if (!already_warned)
301  mooseWarning(
302  "You supplied less than 3 arguments for the default vector value for variable ",
303  var_name,
304  ". Did you accidently leave something off? We are going to assign 0s, assuming "
305  "this "
306  "was intentional.");
307  already_warned = true;
308  (*value)[qp](i) = 0;
309  }
310  }
311  default_value_it =
312  _default_vector_value.insert(std::make_pair(var_name, std::move(value))).first;
313  }
314 
315  return default_value_it->second.get();
316 }

Referenced by Coupleable::coupledVectorValue(), Coupleable::coupledVectorValueOld(), Coupleable::coupledVectorValueOlder(), Coupleable::getADDefaultVectorValue(), and Coupleable::getDefaultNodalValue().

◆ getElementID()

const dof_id_type & ElementIDInterface::getElementID ( const std::string &  id_parameter_name,
unsigned int  comp = 0 
) const
virtualinherited

Gets an element integer with a parameter of the object derived from this interface.

Parameters
id_nameName of object parameter
compComponent number for vector of integer names
Returns
Integer for the current element

Definition at line 50 of file ElementIDInterface.C.

51 {
52  auto id = getElementIDIndex(id_parameter_name, comp);
53 
54  auto & _subproblem = *_obj_parameters.getCheckedPointerParam<SubProblem *>("_subproblem");
55 
56  auto tid = _obj_parameters.get<THREAD_ID>("_tid");
57 
58  auto & assembly = _subproblem.assembly(tid);
59 
60  return assembly.extraElemID(id);
61 }

◆ getElementIDIndex()

unsigned int ElementIDInterface::getElementIDIndex ( const std::string &  id_parameter_name,
unsigned int  comp = 0 
) const
virtualinherited

Gets index of an element integer with a parameter of the object derived from this interface.

Parameters
id_nameName of object parameter
compComponent number for vector of integer names
Returns
Index of the element integer

Definition at line 29 of file ElementIDInterface.C.

31 {
32  auto & p = _obj_parameters.get<std::vector<ExtraElementIDName>>(id_parameter_name);
33  if (comp >= p.size())
34  mooseError(id_parameter_name, " does not have enough integer names");
35 
36  if (!_mesh.get())
37  mooseError("Mesh is not available for getting element integers");
38 
39  auto & mesh_base = _mesh->getMesh();
40 
41  if (!mesh_base.has_elem_integer(p[comp]))
42  mooseError("Mesh does not have an element integer names as ", p[comp]);
43 
44  auto id = mesh_base.get_elem_integer_index(p[comp]);
45 
46  return id;
47 }

Referenced by ElementIDInterface::getElementID().

◆ getExecuteOnEnum()

const ExecFlagEnum & SetupInterface::getExecuteOnEnum ( ) const
inherited

Return the execute on MultiMooseEnum for this object.

Definition at line 69 of file SetupInterface.C.

70 {
71  return _execute_enum;
72 }

Referenced by ChangeOverTimePostprocessor::ChangeOverTimePostprocessor(), and MultiAppTransfer::checkMultiAppExecuteOn().

◆ getExecuteOptions()

ExecFlagEnum SetupInterface::getExecuteOptions ( )
staticinherited

(DEPRECATED) Returns the available options for the 'execute_on' input parameters TODO: ExecFlagType

Returns
A MooseEnum with the available 'execute_on' options, the default is 'residual'

Definition at line 103 of file SetupInterface.C.

104 {
105  // TODO: ExecFlagType
106  ::mooseDeprecated("The 'getExecuteOptions' was replaced by the ExecFlagEnum class because MOOSE "
107  "was updated to use this for the execute flags and the new function provides "
108  "additional arguments for modification of the enum.");
110 }

◆ getFEVar()

MooseVariableFEBase * Coupleable::getFEVar ( const std::string &  var_name,
unsigned int  comp 
)
protectedinherited

Extract pointer to a base finite element coupled variable.

Parameters
var_nameName of parameter desired
compComponent number of multiple coupled variables
Returns
Pointer to the desired variable

Definition at line 204 of file Coupleable.C.

205 {
206  if (!checkVar(var_name, comp, 0))
207  return nullptr;
208  return _coupled_vars[var_name][comp];
209 }

Referenced by Coupleable::coupled().

◆ getFEVariableCoupleableMatrixTags()

std::set<TagID>& Coupleable::getFEVariableCoupleableMatrixTags ( )
inlineinherited

Definition at line 123 of file Coupleable.h.

123 { return _fe_coupleable_matrix_tags; }

◆ getFEVariableCoupleableVectorTags()

std::set<TagID>& Coupleable::getFEVariableCoupleableVectorTags ( )
inlineinherited

Definition at line 121 of file Coupleable.h.

121 { return _fe_coupleable_vector_tags; }

◆ getFunction()

const Function & FunctionInterface::getFunction ( const std::string &  name) const
inherited

Get a function with a given name.

Parameters
nameThe name of the parameter key of the function to retrieve
Returns
The function with name associated with the parameter 'name'

Definition at line 31 of file FunctionInterface.C.

32 {
33  return _fni_feproblem.getFunction(_fni_params.get<FunctionName>(name), _fni_tid);
34 }

Referenced by FunctionDT::FunctionDT().

◆ getFunctionByName()

const Function & FunctionInterface::getFunctionByName ( const FunctionName &  name) const
inherited

◆ getMasterSeed()

unsigned int RandomInterface::getMasterSeed ( ) const
inlineinherited

Definition at line 70 of file RandomInterface.h.

71 { return _master_seed; }

◆ getMaterial() [1/2]

template MaterialBase & MaterialPropertyInterface::getMaterial< JACOBIAN > ( const std::string &  name)
inherited

Return a MaterialBase reference - usable for computing directly.

Parameters
nameThe name of the input parameter or explicit material name.
no_warnIf true, suppress warning about retrieving the material potentially during its calculation. If you don't know what this is/means, then you don't need it.

Definition at line 206 of file MaterialPropertyInterface.C.

207 {
208  return getMaterialByName(_mi_params.get<MaterialName>(name));
209 }

◆ getMaterial() [2/2]

template<ComputeStage compute_stage>
MaterialBase & MaterialPropertyInterface::getMaterial ( const std::string &  name)
inherited

Definition at line 265 of file MaterialPropertyInterface.C.

266 {
267  return getMaterialByName<compute_stage>(_mi_params.get<MaterialName>(name));
268 }

◆ getMaterialByName() [1/4]

template<>
MaterialBase& MaterialPropertyInterface::getMaterialByName ( const std::string &  name,
bool  no_warn 
)
inherited

Definition at line 272 of file MaterialPropertyInterface.C.

273 {
274  const std::string new_name = name + "_residual";
275  return getMaterialByName(new_name, no_warn);
276 }

◆ getMaterialByName() [2/4]

template<>
MaterialBase& MaterialPropertyInterface::getMaterialByName ( const std::string &  name,
bool  no_warn 
)
inherited

Definition at line 280 of file MaterialPropertyInterface.C.

281 {
282  const std::string new_name = name + "_jacobian";
283  return getMaterialByName(new_name, no_warn);
284 }

◆ getMaterialByName() [3/4]

MaterialBase & MaterialPropertyInterface::getMaterialByName ( const std::string &  name,
bool  no_warn = false 
)
inherited

Definition at line 254 of file MaterialPropertyInterface.C.

255 {
256  std::shared_ptr<MaterialBase> discrete =
258 
260  return *discrete;
261 }

Referenced by MaterialPropertyInterface::getMaterial(), MaterialPropertyInterface::getMaterialByName(), and MaterialVectorPostprocessor::MaterialVectorPostprocessor().

◆ getMaterialByName() [4/4]

template<ComputeStage >
MaterialBase& MaterialPropertyInterface::getMaterialByName ( const std::string &  name,
bool  no_warn = false 
)
inherited

◆ getMaterialPropertyBlockNames()

std::vector< SubdomainName > MaterialPropertyInterface::getMaterialPropertyBlockNames ( const std::string &  name)
inherited

Retrieve the block names that the material property is defined.

Parameters
nameThe name of the material property
Returns
A vector the the block names for the property

Definition at line 162 of file MaterialPropertyInterface.C.

163 {
165 }

◆ getMaterialPropertyBlocks()

std::set< SubdomainID > MaterialPropertyInterface::getMaterialPropertyBlocks ( const std::string &  name)
inherited

Retrieve the block ids that the material property is defined.

Parameters
nameThe name of the material property
Returns
A vector the the block ids for the property

Definition at line 156 of file MaterialPropertyInterface.C.

157 {
159 }

◆ getMaterialPropertyBoundaryIDs()

std::set< BoundaryID > MaterialPropertyInterface::getMaterialPropertyBoundaryIDs ( const std::string &  name)
inherited

Retrieve the boundary ids that the material property is defined.

Parameters
nameThe name of the material property
Returns
A vector the the boundary ids for the property

Definition at line 168 of file MaterialPropertyInterface.C.

169 {
171 }

◆ getMaterialPropertyBoundaryNames()

std::vector< BoundaryName > MaterialPropertyInterface::getMaterialPropertyBoundaryNames ( const std::string &  name)
inherited

Retrieve the boundary namess that the material property is defined.

Parameters
nameThe name of the material property
Returns
A vector the the boundary names for the property

Definition at line 174 of file MaterialPropertyInterface.C.

175 {
177 }

◆ getMaterialPropertyByNameTempl()

template<typename T >
const MaterialProperty< T > & MaterialPropertyInterface::getMaterialPropertyByNameTempl ( const MaterialPropertyName &  name)
inherited

Retrieve reference to material property or its old or older value The name required by this method is the name defined in the input file.

Parameters
nameThe name of the material property to retrieve
Returns
Reference to the material property with the name 'name'

Definition at line 385 of file MaterialPropertyInterface.h.

386 {
388  checkMaterialProperty(name);
389 
390  // mark property as requested
391  markMatPropRequested(name);
392 
393  // Update the boolean flag.
395 
396  _material_property_dependencies.insert(_material_data->getPropertyId(name));
397 
398  return _material_data->getProperty<T>(name);
399 }

◆ getMaterialPropertyCalled()

bool MaterialPropertyInterface::getMaterialPropertyCalled ( ) const
inlineinherited

Returns true if getMaterialProperty() has been called, false otherwise.

Definition at line 179 of file MaterialPropertyInterface.h.

◆ getMaterialPropertyOldByNameTempl()

template<typename T >
const MaterialProperty< T > & MaterialPropertyInterface::getMaterialPropertyOldByNameTempl ( const MaterialPropertyName &  name)
inherited

Definition at line 423 of file MaterialPropertyInterface.h.

424 {
425  if (!_stateful_allowed)
426  mooseError("Stateful material properties not allowed for this object."
427  " Old property for \"",
428  name,
429  "\" was requested.");
430 
431  // mark property as requested
432  markMatPropRequested(name);
433 
434  _material_property_dependencies.insert(_material_data->getPropertyId(name));
435 
436  return _material_data->getPropertyOld<T>(name);
437 }

◆ getMaterialPropertyOlderByNameTempl()

template<typename T >
const MaterialProperty< T > & MaterialPropertyInterface::getMaterialPropertyOlderByNameTempl ( const MaterialPropertyName &  name)
inherited

Definition at line 441 of file MaterialPropertyInterface.h.

442 {
443  if (!_stateful_allowed)
444  mooseError("Stateful material properties not allowed for this object."
445  " Older property for \"",
446  name,
447  "\" was requested.");
448 
449  // mark property as requested
450  markMatPropRequested(name);
451 
452  _material_property_dependencies.insert(_material_data->getPropertyId(name));
453 
454  return _material_data->getPropertyOlder<T>(name);
455 }

◆ getMaterialPropertyOlderTempl()

template<typename T >
const MaterialProperty< T > & MaterialPropertyInterface::getMaterialPropertyOlderTempl ( const std::string &  name)
inherited

Definition at line 335 of file MaterialPropertyInterface.h.

336 {
337  if (!_stateful_allowed)
338  mooseError("Stateful material properties not allowed for this object."
339  " Older property for \"",
340  name,
341  "\" was requested.");
342 
343  // Check if the supplied parameter is a valid input parameter key
344  std::string prop_name = deducePropertyName(name);
345 
346  // Check if it's just a constant
347  const MaterialProperty<T> * default_property = defaultMaterialProperty<T>(prop_name);
348  if (default_property)
349  return *default_property;
350 
351  return getMaterialPropertyOlderByName<T>(prop_name);
352 }

◆ getMaterialPropertyOldTempl()

template<typename T >
const MaterialProperty< T > & MaterialPropertyInterface::getMaterialPropertyOldTempl ( const std::string &  name)
inherited

Definition at line 314 of file MaterialPropertyInterface.h.

315 {
316  if (!_stateful_allowed)
317  mooseError("Stateful material properties not allowed for this object."
318  " Old property for \"",
319  name,
320  "\" was requested.");
321 
322  // Check if the supplied parameter is a valid input parameter key
323  std::string prop_name = deducePropertyName(name);
324 
325  // Check if it's just a constant
326  const MaterialProperty<T> * default_property = defaultMaterialProperty<T>(prop_name);
327  if (default_property)
328  return *default_property;
329 
330  return getMaterialPropertyOldByName<T>(prop_name);
331 }

◆ getMaterialPropertyTempl()

template<typename T >
const MaterialProperty< T > & MaterialPropertyInterface::getMaterialPropertyTempl ( const std::string &  name)
inherited

Retrieve reference to material property or one of it's old or older values.

The name required by this method is the name that is hard-coded into your source code as the input parameter key. If no input parameter is found this behaves like the getMaterialPropertyByName family as a fall back.

Parameters
nameThe name of the parameter key of the material property to retrieve
Returns
Reference to the desired material property

Definition at line 284 of file MaterialPropertyInterface.h.

285 {
286  // Check if the supplied parameter is a valid input parameter key
287  std::string prop_name = deducePropertyName(name);
288 
289  // Check if it's just a constant
290  const MaterialProperty<T> * default_property = defaultMaterialProperty<T>(prop_name);
291  if (default_property)
292  return *default_property;
293 
294  return getMaterialPropertyByName<T>(prop_name);
295 }

◆ getMatPropDependencies()

const std::set<unsigned int>& MaterialPropertyInterface::getMatPropDependencies ( ) const
inlineinherited

Retrieve the set of material properties that this object depends on.

Returns
The IDs corresponding to the material properties that MUST be reinited before evaluating this object

Definition at line 187 of file MaterialPropertyInterface.h.

188  {
190  }

Referenced by Material::getMatPropDependencies(), InterfaceMaterial::getMatPropDependencies(), and NodalPatchRecovery::reinitPatch().

◆ getMatrixTags()

const std::set<TagID>& TaggingInterface::getMatrixTags ( ) const
inlineinherited

Definition at line 53 of file TaggingInterface.h.

53 { return _matrix_tags; }

◆ getMooseApp()

MooseApp& MooseObject::getMooseApp ( ) const
inlineinherited

Get the MooseApp this object is associated with.

Definition at line 105 of file MooseObject.h.

105 { return _app; }

Referenced by MortarData::createMortarInterface(), Executioner::Executioner(), and ConsoleUtils::outputMeshInformation().

◆ getMooseVariableDependencies()

const std::set<MooseVariableFEBase *>& MooseVariableDependencyInterface::getMooseVariableDependencies ( ) const
inlineinherited

Retrieve the set of MooseVariableFEBases that this object depends on.

Returns
The MooseVariableFEBases that MUST be reinited before evaluating this object

Definition at line 26 of file MooseVariableDependencyInterface.h.

27  {
29  }

◆ getNearestNodeLocator()

NearestNodeLocator & GeometricSearchInterface::getNearestNodeLocator ( const BoundaryName &  master,
const BoundaryName &  slave 
)
inherited

Retrieve the PentrationLocator associated with the two sides.

Definition at line 44 of file GeometricSearchInterface.C.

46 {
47  return _geometric_search_data.getNearestNodeLocator(master, slave);
48 }

◆ getParamTempl()

template<typename T >
const T & MooseObject::getParamTempl ( const std::string &  name) const
inherited

◆ getPenetrationLocator()

PenetrationLocator & GeometricSearchInterface::getPenetrationLocator ( const BoundaryName &  master,
const BoundaryName &  slave,
Order  order 
)
inherited

Retrieve the PentrationLocator associated with the two sides.

Definition at line 28 of file GeometricSearchInterface.C.

31 {
32  return _geometric_search_data.getPenetrationLocator(master, slave, order);
33 }

◆ getPostprocessorValue()

const PostprocessorValue & PostprocessorInterface::getPostprocessorValue ( const std::string &  name,
unsigned int  index = 0 
)
inherited

doco-normal-methods-begin Retrieve the value of a Postprocessor or one of it's old or older values

Parameters
nameThe name of the Postprocessor parameter (see below)
indexThe index of the Postprocessor
Returns
A reference to the desired value

The name required by this method is the name that is hard-coded into your source code. For example, if you have a Kernel that requires a Postprocessor you may have an input file with "pp = my_pp", this function requires the "pp" name as input (see .../moose_test/functions/PostprocessorFunction.C)

see getPostprocessorValueByName getPostprocessorValueOldByName getPostprocessorValueOlderByName

Definition at line 23 of file PostprocessorInterface.C.

24 {
25  if (singlePostprocessor(name) && index > 0)
26  mooseError("Postprocessor requested with index ",
27  index,
28  " when only a single postprocessor is coupled.");
29 
30  // Return the default if the Postprocessor does not exist and a default does, otherwise
31  // continue as usual
32  if (!hasPostprocessor(name, index) && _ppi_params.hasDefaultPostprocessorValue(name, index))
33  return _ppi_params.getDefaultPostprocessorValue(name, false, index);
34  else
35  {
36  if (singlePostprocessor(name))
37  return _pi_feproblem.getPostprocessorValue(_ppi_params.get<PostprocessorName>(name));
38 
39  // check size of parameter array here
40  if (index >= _ppi_params.get<std::vector<PostprocessorName>>(name).size())
41  mooseError("Postprocessor requested with index ",
42  index,
43  " but parameter ",
44  name,
45  " has only ",
46  _ppi_params.get<std::vector<PostprocessorName>>(name).size(),
47  " entries.");
48 
50  _ppi_params.get<std::vector<PostprocessorName>>(name)[index]);
51  }
52 }

Referenced by GeneralUserObject::getPostprocessorValue(), and AuxKernelTempl< ComputeValueType >::getPostprocessorValue().

◆ getPostprocessorValueByName()

const PostprocessorValue & PostprocessorInterface::getPostprocessorValueByName ( const PostprocessorName &  name)
inherited

Retrieve the value of the Postprocessor.

Parameters
namePostprocessor name (see below)
Returns
A reference to the desired value

The name required by this method is the name defined in the input file. For example, if you have a Kernel that requires a Postprocessor you may have an input file with "pp = my_pp", this method requires the "my_pp" name as input (see .../moose_test/functions/PostprocessorFunction.C)

see getPostprocessorValue getPostprocessorValueOld getPostprocessorValueOlder

Definition at line 119 of file PostprocessorInterface.C.

120 {
122 }

Referenced by EigenKernel::EigenKernel(), GeneralUserObject::getPostprocessorValueByName(), AuxKernelTempl< ComputeValueType >::getPostprocessorValueByName(), EigenExecutionerBase::inversePowerIteration(), and ParsedODEKernel::ParsedODEKernel().

◆ getPostprocessorValueOld()

const PostprocessorValue & PostprocessorInterface::getPostprocessorValueOld ( const std::string &  name,
unsigned int  index = 0 
)
inherited

Definition at line 55 of file PostprocessorInterface.C.

56 {
57  if (singlePostprocessor(name) && index > 0)
58  mooseError("Postprocessor requested with index ",
59  index,
60  " when only a single postprocessor is coupled.");
61 
62  // Return the default if the Postprocessor does not exist and a default does, otherwise
63  // continue as usual
64  if (!hasPostprocessor(name, index) && _ppi_params.hasDefaultPostprocessorValue(name, index))
65  return _ppi_params.getDefaultPostprocessorValue(name, false, index);
66  else
67  {
68  if (singlePostprocessor(name))
69  return _pi_feproblem.getPostprocessorValueOld(_ppi_params.get<PostprocessorName>(name));
70 
71  // check size of parameter array here
72  if (index >= _ppi_params.get<std::vector<PostprocessorName>>(name).size())
73  mooseError("Postprocessor requested with index ",
74  index,
75  " but parameter ",
76  name,
77  " has only ",
78  _ppi_params.get<std::vector<PostprocessorName>>(name).size(),
79  " entries.");
80 
82  _ppi_params.get<std::vector<PostprocessorName>>(name)[index]);
83  }
84 }

◆ getPostprocessorValueOldByName()

const PostprocessorValue & PostprocessorInterface::getPostprocessorValueOldByName ( const PostprocessorName &  name)
inherited

Definition at line 125 of file PostprocessorInterface.C.

126 {
128 }

Referenced by EigenKernel::EigenKernel().

◆ getPostprocessorValueOlder()

const PostprocessorValue & PostprocessorInterface::getPostprocessorValueOlder ( const std::string &  name,
unsigned int  index = 0 
)
inherited

Definition at line 87 of file PostprocessorInterface.C.

88 {
89  if (singlePostprocessor(name) && index > 0)
90  mooseError("Postprocessor requested with index ",
91  index,
92  " when only a single postprocessor is coupled.");
93 
94  // Return the default if the Postprocessor does not exist and a default does, otherwise
95  // continue as usual
96  if (!hasPostprocessor(name, index) && _ppi_params.hasDefaultPostprocessorValue(name, index))
97  return _ppi_params.getDefaultPostprocessorValue(name, false, index);
98  else
99  {
100  if (singlePostprocessor(name))
101  return _pi_feproblem.getPostprocessorValueOlder(_ppi_params.get<PostprocessorName>(name));
102 
103  // check size of parameter array here
104  if (index >= _ppi_params.get<std::vector<PostprocessorName>>(name).size())
105  mooseError("Postprocessor requested with index ",
106  index,
107  " but parameter ",
108  name,
109  " has only ",
110  _ppi_params.get<std::vector<PostprocessorName>>(name).size(),
111  " entries.");
112 
114  _ppi_params.get<std::vector<PostprocessorName>>(name)[index]);
115  }
116 }

◆ getPostprocessorValueOlderByName()

const PostprocessorValue & PostprocessorInterface::getPostprocessorValueOlderByName ( const PostprocessorName &  name)
inherited

Definition at line 131 of file PostprocessorInterface.C.

132 {
134 }

◆ getQuadratureNearestNodeLocator()

NearestNodeLocator & GeometricSearchInterface::getQuadratureNearestNodeLocator ( const BoundaryName &  master,
const BoundaryName &  slave 
)
inherited

Retrieve a Quadrature NearestNodeLocator associated with the two sides.

A "Quadrature" version means that it's going to find the nearest nodes to each quadrature point on this boundary

Definition at line 51 of file GeometricSearchInterface.C.

53 {
55 }

◆ getQuadraturePenetrationLocator()

PenetrationLocator & GeometricSearchInterface::getQuadraturePenetrationLocator ( const BoundaryName &  master,
const BoundaryName &  slave,
Order  order 
)
inherited

Retrieve the Quadrature PentrationLocator associated with the two sides.

A "Quadrature" version means that it's going to find the penetration each quadrature point on this boundary

Definition at line 36 of file GeometricSearchInterface.C.

39 {
40  return _geometric_search_data.getQuadraturePenetrationLocator(master, slave, order);
41 }

◆ getRandomLong()

unsigned long RandomInterface::getRandomLong ( ) const
inherited

Returns the next random number (long) from the generator tied to this object (elem/node).

Definition at line 71 of file RandomInterface.C.

72 {
73  mooseAssert(_generator, "Random Generator is NULL, did you call setRandomResetFrequency()?");
74 
75  dof_id_type id;
76  if (_is_nodal)
77  id = _curr_node->id();
78  else
79  id = _curr_element->id();
80 
81  return _generator->randl(id);
82 }

◆ getRandomReal()

Real RandomInterface::getRandomReal ( ) const
inherited

Returns the next random number (Real) from the generator tied to this object (elem/node).

Definition at line 85 of file RandomInterface.C.

86 {
87  mooseAssert(_generator, "Random Generator is NULL, did you call setRandomResetFrequency()?");
88 
89  dof_id_type id;
90  if (_is_nodal)
91  id = _curr_node->id();
92  else
93  id = _curr_element->id();
94 
95  return _generator->rand(id);
96 }

◆ getResetOnTime()

ExecFlagType RandomInterface::getResetOnTime ( ) const
inlineinherited

Definition at line 72 of file RandomInterface.h.

72 { return _is_nodal; }

◆ getScalarVar()

MooseVariableScalar * ScalarCoupleable::getScalarVar ( const std::string &  var_name,
unsigned int  comp 
)
protectedinherited

Extract pointer to a scalar coupled variable.

Parameters
var_nameName of parameter desired
compComponent number of multiple coupled variables
Returns
Pointer to the desired variable

Definition at line 313 of file ScalarCoupleable.C.

314 {
315  if (_coupled_scalar_vars.find(var_name) != _coupled_scalar_vars.end())
316  {
317  if (comp < _coupled_scalar_vars[var_name].size())
318  return _coupled_scalar_vars[var_name][comp];
319  else
320  mooseError(_sc_name, ": Trying to get a non-existent component of variable '", var_name, "'");
321  }
322  else
323  mooseError(_sc_name, ": Trying to get a non-existent variable '", var_name, "'");
324 }

Referenced by ScalarCoupleable::adCoupledScalarValueTempl(), ScalarCoupleable::coupledMatrixTagScalarValue(), ScalarCoupleable::coupledScalar(), ScalarCoupleable::coupledScalarDot(), ScalarCoupleable::coupledScalarDotDot(), ScalarCoupleable::coupledScalarDotDotDu(), ScalarCoupleable::coupledScalarDotDotOld(), ScalarCoupleable::coupledScalarDotDu(), ScalarCoupleable::coupledScalarDotOld(), ScalarCoupleable::coupledScalarOrder(), ScalarCoupleable::coupledScalarValue(), ScalarCoupleable::coupledScalarValueOld(), ScalarCoupleable::coupledScalarValueOlder(), ScalarCoupleable::coupledVectorTagScalarValue(), and ParsedODEKernel::ParsedODEKernel().

◆ getScalarVariableCoupleableMatrixTags()

std::set<TagID>& ScalarCoupleable::getScalarVariableCoupleableMatrixTags ( )
inlineinherited

Definition at line 51 of file ScalarCoupleable.h.

◆ getScalarVariableCoupleableVectorTags()

std::set<TagID>& ScalarCoupleable::getScalarVariableCoupleableVectorTags ( )
inlineinherited

Definition at line 49 of file ScalarCoupleable.h.

◆ getScatterVectorPostprocessorValue()

const ScatterVectorPostprocessorValue & VectorPostprocessorInterface::getScatterVectorPostprocessorValue ( const std::string &  name,
const std::string &  vector_name 
)
virtualinherited

Return the scatter value for the post processor.

This is only valid when you expec the vector to be of lenghth "num_procs" In that case - this will return a reference to a value that will be this processor's value from that vector

Parameters
nameThe name of the parameter holding the vpp name
vector_nameThe name of the vector
Returns
The reference to the current scatter value

Reimplemented in AuxKernelTempl< ComputeValueType >.

Definition at line 92 of file VectorPostprocessorInterface.C.

94 {
96  _vpi_params.get<VectorPostprocessorName>(name), vector_name);
97 }

Referenced by AuxKernelTempl< ComputeValueType >::getScatterVectorPostprocessorValue().

◆ getScatterVectorPostprocessorValueByName()

const ScatterVectorPostprocessorValue & VectorPostprocessorInterface::getScatterVectorPostprocessorValueByName ( const std::string &  name,
const std::string &  vector_name 
)
virtualinherited

Return the scatter value for the post processor.

This is only valid when you expec the vector to be of lenghth "num_procs" In that case - this will return a reference to a value that will be this processor's value from that vector

Parameters
vpp_nameThe name of the VectorPostprocessor
vector_nameThe name of the vector
Returns
The reference to the current scatter value

Reimplemented in AuxKernelTempl< ComputeValueType >.

Definition at line 100 of file VectorPostprocessorInterface.C.

102 {
103  return _vpi_feproblem.getScatterVectorPostprocessorValue(name, vector_name);
104 }

Referenced by AuxKernelTempl< ComputeValueType >::getScatterVectorPostprocessorValueByName().

◆ getScatterVectorPostprocessorValueOld()

const ScatterVectorPostprocessorValue & VectorPostprocessorInterface::getScatterVectorPostprocessorValueOld ( const std::string &  name,
const std::string &  vector_name 
)
virtualinherited

Return the old scatter value for the post processor.

This is only valid when you expec the vector to be of lenghth "num_procs" In that case - this will return a reference to a value that will be this processor's value from that vector

Parameters
nameThe name of the parameter holding the vpp name
vector_nameThe name of the vector
Returns
The reference to the old scatter value

Definition at line 107 of file VectorPostprocessorInterface.C.

109 {
111  _vpi_params.get<VectorPostprocessorName>(name), vector_name);
112 }

◆ getScatterVectorPostprocessorValueOldByName()

const ScatterVectorPostprocessorValue & VectorPostprocessorInterface::getScatterVectorPostprocessorValueOldByName ( const std::string &  name,
const std::string &  vector_name 
)
virtualinherited

Return the old scatter value for the post processor.

This is only valid when you expec the vector to be of lenghth "num_procs" In that case - this will return a reference to a value that will be this processor's value from that vector

Parameters
vpp_nameThe name of the VectorPostprocessor
vector_nameThe name of the vector
Returns
The reference to the old scatter value

Definition at line 115 of file VectorPostprocessorInterface.C.

117 {
118  return _vpi_feproblem.getScatterVectorPostprocessorValueOld(name, vector_name);
119 }

◆ getSeed()

unsigned int RandomInterface::getSeed ( std::size_t  id)
inherited

Get the seed for the passed in elem/node id.

Parameters
id- dof object id
Returns
current seed for this id

Definition at line 63 of file RandomInterface.C.

64 {
65  mooseAssert(_random_data, "RandomData object is NULL!");
66 
67  return _random_data->getSeed(id);
68 }

◆ getUserObjectBase()

const UserObject & UserObjectInterface::getUserObjectBase ( const std::string &  name)
inherited

Get an user object with a given parameter name.

Parameters
nameThe name of the parameter key of the user object to retrieve
Returns
The user object with name associated with the parameter 'name'

Definition at line 24 of file UserObjectInterface.C.

25 {
26  return _uoi_feproblem.getUserObjectBase(_uoi_params.get<UserObjectName>(name));
27 }

Referenced by InitialConditionBase::getUserObjectBase(), AuxKernelTempl< ComputeValueType >::getUserObjectBase(), and UserObjectInterface::getUserObjectTempl().

◆ getUserObjectBaseByName()

const UserObject & UserObjectInterface::getUserObjectBaseByName ( const std::string &  name)
inherited

Get an user object with a given name.

Parameters
nameThe name of the user object to retrieve
Returns
The user object with the name

Definition at line 30 of file UserObjectInterface.C.

31 {
32  return _uoi_feproblem.getUserObjectBase(name);
33 }

Referenced by UserObjectInterface::getUserObjectByNameTempl().

◆ getUserObjectByNameTempl()

template<class T >
const T & UserObjectInterface::getUserObjectByNameTempl ( const std::string &  name)
inherited

Get an user object with a given name.

Parameters
nameThe name of the user object to retrieve
Returns
The user object with the name

Definition at line 93 of file UserObjectInterface.h.

94 {
95  unsigned int tid = needThreadedCopy(getUserObjectBaseByName(name)) ? _uoi_tid : 0;
96  return _uoi_feproblem.getUserObjectTempl<T>(name, tid);
97 }

◆ getUserObjectTempl()

template<class T >
const T & UserObjectInterface::getUserObjectTempl ( const std::string &  name)
inherited

Get an user object with a given parameter name.

Parameters
nameThe name of the parameter key of the user object to retrieve
Returns
The user object with name associated with the parameter 'name'

Definition at line 85 of file UserObjectInterface.h.

86 {
87  unsigned int tid = needThreadedCopy(getUserObjectBase(name)) ? _uoi_tid : 0;
88  return _uoi_feproblem.getUserObjectTempl<T>(_uoi_params.get<UserObjectName>(name), tid);
89 }

◆ getVar()

MooseVariable * Coupleable::getVar ( const std::string &  var_name,
unsigned int  comp 
)
protectedinherited

Extract pointer to a coupled variable.

Parameters
var_nameName of parameter desired
compComponent number of multiple coupled variables
Returns
Pointer to the desired variable

Definition at line 240 of file Coupleable.C.

241 {
242  return getVarHelper<Real>(var_name, comp);
243 }

Referenced by Coupleable::adCoupledDotTemplate(), Coupleable::adCoupledGradientTemplate(), Coupleable::adCoupledSecondTemplate(), Coupleable::adCoupledValueTemplate(), ShapeUserObject< SideUserObject >::coupled(), Coupleable::coupledDofValues(), Coupleable::coupledDofValuesOld(), Coupleable::coupledDofValuesOlder(), Coupleable::coupledDot(), Coupleable::coupledDotDot(), Coupleable::coupledDotDotDu(), Coupleable::coupledDotDotOld(), Coupleable::coupledDotDu(), Coupleable::coupledDotOld(), Coupleable::coupledGradient(), Coupleable::coupledGradientDot(), Coupleable::coupledGradientDotDot(), Coupleable::coupledGradientOld(), Coupleable::coupledGradientOlder(), Coupleable::coupledGradientPreviousNL(), Coupleable::coupledMatrixTagValue(), NeighborCoupleable::coupledNeighborDofValues(), NeighborCoupleable::coupledNeighborDofValuesOld(), NeighborCoupleable::coupledNeighborDofValuesOlder(), NeighborCoupleable::coupledNeighborGradient(), NeighborCoupleable::coupledNeighborGradientOld(), NeighborCoupleable::coupledNeighborGradientOlder(), NeighborCoupleable::coupledNeighborSecond(), NeighborCoupleable::coupledNeighborValue(), NeighborCoupleable::coupledNeighborValueDot(), NeighborCoupleable::coupledNeighborValueDotDu(), NeighborCoupleable::coupledNeighborValueOld(), NeighborCoupleable::coupledNeighborValueOlder(), Coupleable::coupledNodalDotDot(), Coupleable::coupledNodalDotDotOld(), Coupleable::coupledNodalDotOld(), Coupleable::coupledSecond(), Coupleable::coupledSecondOld(), Coupleable::coupledSecondOlder(), Coupleable::coupledSecondPreviousNL(), Coupleable::coupledValue(), Coupleable::coupledValueOld(), Coupleable::coupledValueOlder(), Coupleable::coupledValuePreviousNL(), Coupleable::coupledVectorTagValue(), ParsedAux::ParsedAux(), and SpatialAverageBase::SpatialAverageBase().

◆ getVarHelper()

template<typename T >
template MooseVariableFE< RealVectorValue > * Coupleable::getVarHelper< RealVectorValue > ( const std::string &  var_name,
unsigned int  comp 
)
protectedinherited

Helper that segues off to either getVar of getVectorVar depending on template paramter.

Definition at line 213 of file Coupleable.C.

214 {
215  if (!checkVar(var_name, comp, 0))
216  return nullptr;
217 
218  if (auto * coupled_var = dynamic_cast<MooseVariableFE<T> *>(_coupled_vars[var_name][comp]))
219  return coupled_var;
220  else
221  {
222  for (auto & var : _coupled_standard_moose_vars)
223  if (var->name() == var_name)
224  mooseError("The named variable is a standard variable, try a "
225  "'coupled[Value/Gradient/Dot/etc]...' function instead");
226  for (auto & var : _coupled_vector_moose_vars)
227  if (var->name() == var_name)
228  mooseError("The named variable is a vector variable, try a "
229  "'coupledVector[Value/Gradient/Dot/etc]...' function instead");
230  for (auto & var : _coupled_array_moose_vars)
231  if (var->name() == var_name)
232  mooseError("The named variable is an array variable, try a "
233  "'coupledArray[Value/Gradient/Dot/etc]...' function instead");
234  mooseError(
235  "Variable '", var_name, "' is of a different C++ type than you tried to fetch it as.");
236  }
237 }

◆ getVectorPostprocessorValue() [1/2]

const VectorPostprocessorValue & VectorPostprocessorInterface::getVectorPostprocessorValue ( const std::string &  name,
const std::string &  vector_name 
)
virtualinherited

DEPRECATED: Use the new version where you need to specify whether or not the vector must be broadcast.

Retrieve the value of a VectorPostprocessor

Parameters
nameThe name of the VectorPostprocessor parameter (see below)
vector_nameThe name of the particular vector you want.
Returns
A reference to the desired value

The name required by this method is the name that is hard-coded into your source code. For example, if you have a Kernel that requires a VectorPostprocessor you may have an input file with "pp = my_pp", this function requires the "pp" name as input (see .../moose_test/functions/VectorPostprocessorFunction.C)

see getVectorPostprocessorValueOld getVectorPostprocessorValueByName getVectorPostprocessorValueOldByName

Reimplemented in AuxKernelTempl< ComputeValueType >, and GeneralUserObject.

Definition at line 25 of file VectorPostprocessorInterface.C.

27 {
29  _vpi_params.get<VectorPostprocessorName>(name), vector_name, _broadcast_by_default);
30 }

Referenced by GeneralUserObject::getVectorPostprocessorValue(), and AuxKernelTempl< ComputeValueType >::getVectorPostprocessorValue().

◆ getVectorPostprocessorValue() [2/2]

const VectorPostprocessorValue & VectorPostprocessorInterface::getVectorPostprocessorValue ( const std::string &  name,
const std::string &  vector_name,
bool  needs_broadcast 
)
virtualinherited

Retrieve the value of a VectorPostprocessor.

Parameters
nameThe name of the VectorPostprocessor parameter (see below)
vector_nameThe name of the particular vector you want.
need_broadcastWhether or not this object requires the vector to be replicated in parallel
Returns
A reference to the desired value

The name required by this method is the name that is hard-coded into your source code. For example, if you have a Kernel that requires a VectorPostprocessor you may have an input file with "pp = my_pp", this function requires the "pp" name as input (see .../moose_test/functions/VectorPostprocessorFunction.C)

see getVectorPostprocessorValueOld getVectorPostprocessorValueByName getVectorPostprocessorValueOldByName

Reimplemented in GeneralUserObject, and AuxKernelTempl< ComputeValueType >.

Definition at line 55 of file VectorPostprocessorInterface.C.

58 {
59  return _vpi_feproblem.getVectorPostprocessorValue(_vpi_params.get<VectorPostprocessorName>(name),
60  vector_name,
61  needs_broadcast || _broadcast_by_default);
62 }

◆ getVectorPostprocessorValueByName() [1/2]

const VectorPostprocessorValue & VectorPostprocessorInterface::getVectorPostprocessorValueByName ( const VectorPostprocessorName &  name,
const std::string &  vector_name 
)
virtualinherited

DEPRECATED: Use the new version where you need to specify whether or not the vector must be broadcast.

Retrieve the value of the VectorPostprocessor

Parameters
nameVectorPostprocessor name (see below)
vector_nameThe name of the particular vector you want.
Returns
A reference to the desired value

The name required by this method is the name defined in the input file. For example, if you have a Kernel that requires a VectorPostprocessor you may have an input file with "pp = my_pp", this method requires the "my_pp" name as input (see .../moose_test/functions/VectorPostprocessorFunction.C)

see getVectorPostprocessorValue getVectorPostprocessorValueOldByName getVectorPostprocessorValueByName

Reimplemented in GeneralUserObject, and AuxKernelTempl< ComputeValueType >.

Definition at line 33 of file VectorPostprocessorInterface.C.

35 {
37 }

Referenced by GeneralUserObject::getVectorPostprocessorValueByName(), and AuxKernelTempl< ComputeValueType >::getVectorPostprocessorValueByName().

◆ getVectorPostprocessorValueByName() [2/2]

const VectorPostprocessorValue & VectorPostprocessorInterface::getVectorPostprocessorValueByName ( const VectorPostprocessorName &  name,
const std::string &  vector_name,
bool  needs_broadcast 
)
virtualinherited

Retrieve the value of the VectorPostprocessor.

Parameters
nameVectorPostprocessor name (see below)
vector_nameThe name of the particular vector you want.
need_broadcastWhether or not this object requires the vector to be replicated in parallel
Returns
A reference to the desired value

The name required by this method is the name defined in the input file. For example, if you have a Kernel that requires a VectorPostprocessor you may have an input file with "pp = my_pp", this method requires the "my_pp" name as input (see .../moose_test/functions/VectorPostprocessorFunction.C)

see getVectorPostprocessorValue getVectorPostprocessorValueOldByName getVectorPostprocessorValueByName

Reimplemented in GeneralUserObject, and AuxKernelTempl< ComputeValueType >.

Definition at line 65 of file VectorPostprocessorInterface.C.

67 {
69  name, vector_name, needs_broadcast || _broadcast_by_default);
70 }

◆ getVectorPostprocessorValueOld() [1/2]

const VectorPostprocessorValue & VectorPostprocessorInterface::getVectorPostprocessorValueOld ( const std::string &  name,
const std::string &  vector_name 
)
inherited

DEPRECATED: Use the new version where you need to specify whether or not the vector must be broadcast.

Retrieve the old value of a VectorPostprocessor

Parameters
nameThe name of the VectorPostprocessor parameter
vector_nameThe name of the particular vector you want.
Returns
The value of the VectorPostprocessor

see getVectorPostprocessorValue

Definition at line 40 of file VectorPostprocessorInterface.C.

42 {
44  _vpi_params.get<VectorPostprocessorName>(name), vector_name, _broadcast_by_default);
45 }

◆ getVectorPostprocessorValueOld() [2/2]

const VectorPostprocessorValue & VectorPostprocessorInterface::getVectorPostprocessorValueOld ( const std::string &  name,
const std::string &  vector_name,
bool  needs_broadcast 
)
virtualinherited

Retrieve the old value of a VectorPostprocessor.

Parameters
nameThe name of the VectorPostprocessor parameter
vector_nameThe name of the particular vector you want.
need_broadcastWhether or not this object requires the vector to be replicated in parallel
Returns
The value of the VectorPostprocessor

see getVectorPostprocessorValue

Definition at line 73 of file VectorPostprocessorInterface.C.

76 {
78  _vpi_params.get<VectorPostprocessorName>(name),
79  vector_name,
80  needs_broadcast || _broadcast_by_default);
81 }

◆ getVectorPostprocessorValueOldByName() [1/2]

const VectorPostprocessorValue & VectorPostprocessorInterface::getVectorPostprocessorValueOldByName ( const VectorPostprocessorName &  name,
const std::string &  vector_name 
)
inherited

DEPRECATED: Use the new version where you need to specify whether or not the vector must be broadcast.

Retrieve the old value of a VectorPostprocessor

Parameters
nameThe name of the VectorPostprocessor
vector_nameThe name of the particular vector you want.
Returns
The value of the VectorPostprocessor

If within the validParams for the object the addVectorPostprocessorParam was called this method will retun a reference to the default value specified in the call to the addVectorPostprocessorParam function if the postVectorPostprocessor does not exist.

see getVectorPostprocessorValueByName

Definition at line 48 of file VectorPostprocessorInterface.C.

50 {
52 }

◆ getVectorPostprocessorValueOldByName() [2/2]

const VectorPostprocessorValue & VectorPostprocessorInterface::getVectorPostprocessorValueOldByName ( const VectorPostprocessorName &  name,
const std::string &  vector_name,
bool  needs_broadcast 
)
virtualinherited

Retrieve the old value of a VectorPostprocessor.

Parameters
nameThe name of the VectorPostprocessor
vector_nameThe name of the particular vector you want.
need_broadcastWhether or not this object requires the vector to be replicated in parallel
Returns
The value of the VectorPostprocessor

If within the validParams for the object the addVectorPostprocessorParam was called this method will retun a reference to the default value specified in the call to the addVectorPostprocessorParam function if the postVectorPostprocessor does not exist.

see getVectorPostprocessorValueByName

Definition at line 84 of file VectorPostprocessorInterface.C.

86 {
88  name, vector_name, needs_broadcast || _broadcast_by_default);
89 }

◆ getVectorTags()

const std::set<TagID>& TaggingInterface::getVectorTags ( ) const
inlineinherited

Definition at line 51 of file TaggingInterface.h.

51 { return _vector_tags; }

◆ getVectorVar()

VectorMooseVariable * Coupleable::getVectorVar ( const std::string &  var_name,
unsigned int  comp 
)
protectedinherited

◆ getZeroMaterialProperty()

template<typename T >
const MaterialProperty< T > & MaterialPropertyInterface::getZeroMaterialProperty ( const std::string &  prop_name)
inherited

Return a material property that is initialized to zero by default and does not need to (but can) be declared by another material.

Definition at line 492 of file MaterialPropertyInterface.h.

493 {
494  // static zero property storage
495  static MaterialProperty<T> zero;
496 
497  // resize to accomodate maximum number of qpoints
498  // (in multiapp scenarios getMaxQps can return different values in each app; we need the max)
499  unsigned int nqp = _mi_feproblem.getMaxQps();
500  if (nqp > zero.size())
501  zero.resize(nqp);
502 
503  // set values for all qpoints to zero
504  for (unsigned int qp = 0; qp < nqp; ++qp)
505  MathUtils::mooseSetToZero<T>(zero[qp]);
506 
507  return zero;
508 }

◆ gradient()

const OutputTools< Real >::VariableGradient & MooseVariableInterface< Real >::gradient ( )
protectedvirtualinherited

The gradient of the variable this object is operating on.

This is computed by default and should already be available as _grad_u

Returns
The reference to be stored off and used later.

Definition at line 237 of file MooseVariableInterface.C.

238 {
239  if (_nodal)
240  mooseError("gradients are not defined at nodes");
241 
242  return _variable->gradSln();
243 }

◆ gradientOld()

const OutputTools< Real >::VariableGradient & MooseVariableInterface< Real >::gradientOld ( )
protectedvirtualinherited

The old gradient of the variable this object is operating on.

Returns
The reference to be stored off and used later.

Definition at line 247 of file MooseVariableInterface.C.

248 {
249  if (_nodal)
250  mooseError("gradients are not defined at nodes");
251 
252  return _variable->gradSlnOld();
253 }

◆ gradientOlder()

const OutputTools< Real >::VariableGradient & MooseVariableInterface< Real >::gradientOlder ( )
protectedvirtualinherited

The older gradient of the variable this object is operating on.

Returns
The reference to be stored off and used later.

Definition at line 257 of file MooseVariableInterface.C.

258 {
259  if (_nodal)
260  mooseError("gradients are not defined at nodes");
261 
262  return _variable->gradSlnOlder();
263 }

◆ hasBlockMaterialProperty()

template<typename T >
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 256 of file BlockRestrictable.h.

257 {
258  mooseAssert(_blk_material_data != NULL, "MaterialData pointer is not defined");
259  return hasBlockMaterialPropertyHelper(prop_name) &&
260  _blk_material_data->haveProperty<T>(prop_name);
261 }

◆ 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 256 of file BlockRestrictable.C.

257 {
258 
259  // Reference to MaterialWarehouse for testing and retrieving block ids
261 
262  // Complete set of ids that this object is active
263  const std::set<SubdomainID> & ids = blockRestricted() ? blockIDs() : meshBlockIDs();
264 
265  // Loop over each id for this object
266  for (const auto & id : ids)
267  {
268  // Storage of material properties that have been DECLARED on this id
269  std::set<std::string> declared_props;
270 
271  // If block materials exist, populated the set of properties that were declared
272  if (warehouse.hasActiveBlockObjects(id))
273  {
274  const std::vector<std::shared_ptr<MaterialBase>> & mats = warehouse.getActiveBlockObjects(id);
275  for (const auto & mat : mats)
276  {
277  const std::set<std::string> & mat_props = mat->getSuppliedItems();
278  declared_props.insert(mat_props.begin(), mat_props.end());
279  }
280  }
281 
282  // If the supplied property is not in the list of properties on the current id, return false
283  if (declared_props.find(prop_name) == declared_props.end())
284  return false;
285  }
286 
287  // If you get here the supplied property is defined on all blocks
288  return true;
289 }

Referenced by BlockRestrictable::hasBlockMaterialProperty().

◆ hasBlocks() [1/5]

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 the all of the given ids are found within the ids for this object
See also
isSubset

Definition at line 218 of file BlockRestrictable.C.

219 {
220  if (_blk_ids.empty() || _blk_ids.find(Moose::ANY_BLOCK_ID) != _blk_ids.end())
221  return true;
222  else
223  return std::includes(_blk_ids.begin(), _blk_ids.end(), ids.begin(), ids.end());
224 }

◆ hasBlocks() [2/5]

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 the all of the given ids are found within the ids for this object

Definition at line 211 of file BlockRestrictable.C.

212 {
213  std::set<SubdomainID> ids_set(ids.begin(), ids.end());
214  return hasBlocks(ids_set);
215 }

◆ hasBlocks() [3/5]

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 196 of file BlockRestrictable.C.

197 {
198  return hasBlocks(_blk_mesh->getSubdomainIDs(names));
199 }

◆ hasBlocks() [4/5]

bool BlockRestrictable::hasBlocks ( const SubdomainID id) const
inherited

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

Parameters
idA SubdomainID to check
Returns
True if the given id is valid for this object

Definition at line 202 of file BlockRestrictable.C.

203 {
204  if (_blk_ids.empty() || _blk_ids.find(Moose::ANY_BLOCK_ID) != _blk_ids.end())
205  return true;
206  else
207  return _blk_ids.find(id) != _blk_ids.end();
208 }

◆ hasBlocks() [5/5]

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 186 of file BlockRestrictable.C.

187 {
188  // Create a vector and utilize the getSubdomainIDs function, which
189  // handles the ANY_BLOCK_ID (getSubdomainID does not)
190  std::vector<SubdomainName> names(1);
191  names[0] = name;
192  return hasBlocks(_blk_mesh->getSubdomainIDs(names));
193 }

Referenced by CentroidMultiApp::fillPositions(), and BlockRestrictable::hasBlocks().

◆ hasMaterialPropertyByNameTempl()

template<typename T >
bool MaterialPropertyInterface::hasMaterialPropertyByNameTempl ( const std::string &  name)
inherited

Definition at line 485 of file MaterialPropertyInterface.h.

486 {
487  return _material_data->haveProperty<T>(name);
488 }

◆ hasMaterialPropertyTempl()

template<typename T >
bool MaterialPropertyInterface::hasMaterialPropertyTempl ( const std::string &  name)
inherited

Check if the material property exists.

Parameters
namethe name of the property to query
Returns
true if the property exists, otherwise false

Definition at line 476 of file MaterialPropertyInterface.h.

477 {
478  // Check if the supplied parameter is a valid input parameter key
479  std::string prop_name = deducePropertyName(name);
480  return hasMaterialPropertyByName<T>(prop_name);
481 }

◆ hasPostprocessor()

bool PostprocessorInterface::hasPostprocessor ( const std::string &  name,
unsigned int  index = 0 
) const
inherited

Determine if the Postprocessor exists.

Parameters
nameThe name of the Postprocessor parameter
indexThe index of the Postprocessor
Returns
True if the Postprocessor exists
See also
hasPostprocessorByName getPostprocessorValue

Definition at line 137 of file PostprocessorInterface.C.

138 {
139  if (singlePostprocessor(name))
140  return _pi_feproblem.hasPostprocessor(_ppi_params.get<PostprocessorName>(name));
142  _ppi_params.get<std::vector<PostprocessorName>>(name)[index]);
143 }

Referenced by EigenKernel::EigenKernel(), PostprocessorInterface::getPostprocessorValue(), PostprocessorInterface::getPostprocessorValueOld(), PostprocessorInterface::getPostprocessorValueOlder(), and TestSetupPostprocessorDataActionFunction::TestSetupPostprocessorDataActionFunction().

◆ hasPostprocessorByName()

bool PostprocessorInterface::hasPostprocessorByName ( const PostprocessorName &  name)
inherited

Determine if the Postprocessor exists.

Parameters
nameThe name of the Postprocessor
Returns
True if the Postprocessor exists
See also
hasPostprocessor getPostprocessorValueByName

Definition at line 160 of file PostprocessorInterface.C.

161 {
162  return _pi_feproblem.hasPostprocessor(name);
163 }

Referenced by VectorOfPostprocessors::VectorOfPostprocessors().

◆ hasVectorPostprocessor()

bool VectorPostprocessorInterface::hasVectorPostprocessor ( const std::string &  name) const
inherited

Determine if the VectorPostprocessor exists.

Parameters
nameThe name of the VectorPostprocessor parameter
Returns
True if the VectorPostprocessor exists
See also
hasVectorPostprocessorByName getVectorPostprocessorValue

Definition at line 122 of file VectorPostprocessorInterface.C.

123 {
124  return _vpi_feproblem.hasVectorPostprocessor(_vpi_params.get<VectorPostprocessorName>(name));
125 }

◆ hasVectorPostprocessorByName()

bool VectorPostprocessorInterface::hasVectorPostprocessorByName ( const VectorPostprocessorName &  name) const
inherited

Determine if the VectorPostprocessor exists.

Parameters
nameThe name of the VectorPostprocessor
Returns
True if the VectorPostprocessor exists
See also
hasVectorPostprocessor getVectorPostprocessorValueByName

Definition at line 128 of file VectorPostprocessorInterface.C.

130 {
132 }

◆ initializeBlockRestrictable()

void BlockRestrictable::initializeBlockRestrictable ( const MooseObject moose_object)
protectedinherited

An initialization routine needed for dual constructors.

Definition at line 79 of file BlockRestrictable.C.

80 {
81  // If the mesh pointer is not defined, but FEProblemBase is, get it from there
82  if (_blk_feproblem != NULL && _blk_mesh == NULL)
84 
85  // Check that the mesh pointer was defined, it is required for this class to operate
86  if (_blk_mesh == NULL)
87  mooseError("The input parameters must contain a pointer to FEProblem via '_fe_problem' or a "
88  "pointer to the MooseMesh via '_mesh'");
89 
90  // Populate the MaterialData pointer
91  if (_blk_feproblem != NULL)
93 
94  // The 'block' input is defined
95  if (moose_object->isParamValid("block"))
96  {
97  // Extract the blocks from the input
98  _blocks = moose_object->getParamTempl<std::vector<SubdomainName>>("block");
99 
100  // Get the IDs from the supplied names
101  std::vector<SubdomainID> vec_ids = _blk_mesh->getSubdomainIDs(_blocks);
102 
103  // Store the IDs, handling ANY_BLOCK_ID if supplied
104  if (std::find(_blocks.begin(), _blocks.end(), "ANY_BLOCK_ID") != _blocks.end())
106  else
107  _blk_ids.insert(vec_ids.begin(), vec_ids.end());
108  }
109 
110  // When 'blocks' is not set and there is a "variable", use the blocks from the variable
111  else if (moose_object->isParamValid("variable"))
112  {
113  std::string variable_name = moose_object->parameters().getMooseType("variable");
114  if (!variable_name.empty())
116  ->getVariable(_blk_tid,
117  variable_name,
120  .activeSubdomains();
121  }
122 
123  // Produce error if the object is not allowed to be both block and boundary restricted
124  if (!_blk_dual_restrictable && !_boundary_ids.empty() && !_boundary_ids.empty())
125  if (!_boundary_ids.empty() && _boundary_ids.find(Moose::ANY_BOUNDARY_ID) == _boundary_ids.end())
126  moose_object->paramError("block",
127  "Attempted to restrict the object '",
128  _blk_name,
129  "' to a block, but the object is already restricted by boundary");
130 
131  // If no blocks were defined above, specify that it is valid on all blocks
132  if (_blk_ids.empty() && !moose_object->isParamValid("boundary"))
133  {
135  _blocks = {"ANY_BLOCK_ID"};
136  }
137 
138  // If this object is block restricted, check that defined blocks exist on the mesh
139  if (_blk_ids.find(Moose::ANY_BLOCK_ID) == _blk_ids.end())
140  {
141  const std::set<SubdomainID> & valid_ids = _blk_mesh->meshSubdomains();
142  std::vector<SubdomainID> diff;
143 
144  std::set_difference(_blk_ids.begin(),
145  _blk_ids.end(),
146  valid_ids.begin(),
147  valid_ids.end(),
148  std::back_inserter(diff));
149 
150  if (!diff.empty())
151  {
152  std::ostringstream msg;
153  msg << "the following block ids do not exist on the mesh:";
154  for (const auto & id : diff)
155  msg << " " << id;
156  moose_object->paramError("block", msg.str());
157  }
158  }
159 }

Referenced by BlockRestrictable::BlockRestrictable().

◆ initialSetup()

void SetupInterface::initialSetup ( )
virtualinherited

◆ 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 227 of file BlockRestrictable.C.

228 {
229  // An empty input is assumed to be ANY_BLOCK_ID
230  if (ids.empty() || ids.find(Moose::ANY_BLOCK_ID) != ids.end())
231  return true;
232 
233  if (_blk_ids.find(Moose::ANY_BLOCK_ID) != _blk_ids.end())
234  return std::includes(ids.begin(),
235  ids.end(),
236  _blk_mesh->meshSubdomains().begin(),
237  _blk_mesh->meshSubdomains().end());
238  else
239  return std::includes(ids.begin(), ids.end(), _blk_ids.begin(), _blk_ids.end());
240 }

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

◆ 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 243 of file BlockRestrictable.C.

244 {
245  std::set<SubdomainID> ids_set(ids.begin(), ids.end());
246  return isBlockSubset(ids_set);
247 }

◆ isCoupled()

bool Coupleable::isCoupled ( const std::string &  var_name,
unsigned int  i = 0 
)
protectedvirtualinherited

Returns true if a variables has been coupled as name.

Parameters
var_nameThe name the kernel wants to refer to the variable as.
iBy default 0, in general the index to test in a vector of MooseVariable pointers.
Returns
True if a coupled variable has the supplied name

Definition at line 107 of file Coupleable.C.

108 {
109  auto it = _coupled_vars.find(var_name);
110  if (it != _coupled_vars.end())
111  return (i < it->second.size());
112  else
113  {
114  // Make sure the user originally requested this value in the InputParameter syntax
115  if (!_c_parameters.hasCoupledValue(var_name))
117  ": The coupled variable \"",
118  var_name,
119  "\" was never added to this objects's "
120  "InputParameters, please double-check your "
121  "spelling");
122 
123  return false;
124  }
125 }

Referenced by Coupleable::adCoupledNodalValueTemplate(), Coupleable::checkVar(), Coupleable::coupledComponents(), and MatDiffusionBase< Real >::MatDiffusionBase().

◆ isCoupledScalar()

bool ScalarCoupleable::isCoupledScalar ( const std::string &  var_name,
unsigned int  i = 0 
)
protectedvirtualinherited

Returns true if a variables has been coupled_as name.

Parameters
var_nameThe of the coupled variable
iBy default 0, in general the index to test in a vector of MooseVariable pointers.

Definition at line 74 of file ScalarCoupleable.C.

75 {
76  auto it = _coupled_scalar_vars.find(var_name);
77  if (it != _coupled_scalar_vars.end())
78  return (i < it->second.size());
79  else
80  {
81  // Make sure the user originally requested this value in the InputParameter syntax
82  if (!_coupleable_params.hasCoupledValue(var_name))
84  ": The coupled scalar variable \"",
85  var_name,
86  "\" was never added to this objects's "
87  "InputParameters, please double-check "
88  "your spelling");
89 
90  return false;
91  }
92 }

Referenced by ScalarCoupleable::adCoupledScalarValueTempl(), ScalarCoupleable::coupledMatrixTagScalarValue(), ScalarCoupleable::coupledScalarOrder(), ScalarCoupleable::coupledScalarValue(), ScalarCoupleable::coupledScalarValueOld(), ScalarCoupleable::coupledScalarValueOlder(), and ScalarCoupleable::coupledVectorTagScalarValue().

◆ isImplicit()

bool TransientInterface::isImplicit ( )
inlineinherited

Definition at line 42 of file TransientInterface.h.

42 { return _is_implicit; }

◆ isMatrixTagged()

bool TaggingInterface::isMatrixTagged ( )
inlineinherited

Definition at line 49 of file TaggingInterface.h.

49 { return _matrix_tags.size() > 0; }

◆ isNodal()

bool RandomInterface::isNodal ( ) const
inlineinherited

Definition at line 71 of file RandomInterface.h.

71 { return _master_seed; }

◆ isParamValid()

bool MooseObject::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 100 of file MooseObject.h.

100 { return _pars.isParamValid(name); }

Referenced by AdvancedOutput::AdvancedOutput(), BicubicSplineFunction::BicubicSplineFunction(), DistributedGeneratedMesh::buildMesh(), GeneratedMesh::buildMesh(), CartesianMeshGenerator::CartesianMeshGenerator(), LibmeshPartitioner::clone(), OversampleOutput::cloneMesh(), ConstantVectorPostprocessor::ConstantVectorPostprocessor(), CSVReader::CSVReader(), DGKernelBase::DGKernelBase(), MultiAppNearestNodeTransfer::execute(), Executioner::Executioner(), Exodus::Exodus(), FEProblemBase::FEProblemBase(), FileOutput::FileOutput(), MultiApp::fillPositions(), FunctionDT::FunctionDT(), ExtraNodesetGenerator::generate(), RenameBoundaryGenerator::generate(), RenameBlockGenerator::generate(), BreakBoundaryOnSubdomainGenerator::generate(), ElementSubdomainIDGenerator::generate(), LowerDBlockFromSidesetGenerator::generate(), MeshSideSetGenerator::generate(), GeneratedMeshGenerator::generate(), ParsedSubdomainMeshGenerator::generate(), MeshExtruderGenerator::generate(), SubdomainBoundingBoxGenerator::generate(), MultiAppNearestNodeTransfer::getLocalEntities(), MultiAppNearestNodeTransfer::getLocalEntitiesAndComponents(), MeshGenerator::getMesh(), MultiAppNearestNodeTransfer::getNearestNode(), EigenExecutionerBase::init(), IterationAdaptiveDT::init(), AdvancedOutput::initExecutionTypes(), BlockRestrictable::initializeBlockRestrictable(), BoundaryRestrictable::initializeBoundaryRestrictable(), SolutionScalarAux::initialSetup(), SolutionAux::initialSetup(), MooseParsedVectorFunction::initialSetup(), Console::initialSetup(), Receiver::initialSetup(), SolutionFunction::initialSetup(), MooseParsedGradFunction::initialSetup(), MooseParsedFunction::initialSetup(), AdvancedOutput::initialSetup(), AdvancedOutput::initPostprocessorOrVectorPostprocessorLists(), IterationAdaptiveDT::IterationAdaptiveDT(), LeastSquaresFit::LeastSquaresFit(), LibmeshPartitioner::LibmeshPartitioner(), MatDiffusionBase< Real >::MatDiffusionBase(), MeshGeneratorMesh::MeshGeneratorMesh(), BreakBoundaryOnSubdomain::modify(), MeshExtruder::modify(), MeshSideSet::modify(), LowerDBlockFromSideset::modify(), AssignElementSubdomainID::modify(), ParsedSubdomainMeshModifier::modify(), RenameBlock::modify(), SubdomainBoundingBox::modify(), MooseMesh::MooseMesh(), EigenExecutionerBase::normalizeSolution(), Output::Output(), PetscOutput::PetscOutput(), PiecewiseBase::PiecewiseBase(), SolutionUserObject::readExodusII(), RenameBlock::RenameBlock(), RenameBlockGenerator::RenameBlockGenerator(), RenameBoundaryGenerator::RenameBoundaryGenerator(), SolutionUserObject::SolutionUserObject(), and TimePeriod::TimePeriod().

◆ isVectorTagged()

bool TaggingInterface::isVectorTagged ( )
inlineinherited

Definition at line 47 of file TaggingInterface.h.

47 { return _vector_tags.size() > 0; }

◆ jacobianSetup()

void SetupInterface::jacobianSetup ( )
virtualinherited

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

Reimplemented in EqualValueEmbeddedConstraint.

Definition at line 54 of file SetupInterface.C.

55 {
56 }

◆ markMatPropRequested()

void MaterialPropertyInterface::markMatPropRequested ( const std::string &  name)
protectedinherited

◆ 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 250 of file BlockRestrictable.C.

251 {
252  return _blk_mesh->meshSubdomains();
253 }

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

◆ meshChanged()

virtual void MeshChangedInterface::meshChanged ( )
inlinevirtualinherited

Called on this object when the mesh changes.

Reimplemented in DiracKernel, Console, Exodus, Nemesis, OversampleOutput, GhostingUserObject, ExplicitTimeIntegrator, EqualValueBoundaryConstraint, and GeometryBase.

Definition at line 39 of file MeshChangedInterface.h.

39 {}

◆ mooseDeprecated()

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

Definition at line 156 of file MooseObject.h.

157  {
158  moose::internal::mooseDeprecatedStream(_console, false, std::forward<Args>(args)...);
159  }

Referenced by FEProblemBase::addArrayVariable(), FEProblemBase::addAuxArrayVariable(), FEProblemBase::addAuxScalarVariable(), FEProblemBase::addAuxVariable(), FEProblemBase::addScalarVariable(), FEProblemBase::addVariable(), ADFunctionPresetBC< compute_stage >::ADFunctionPresetBC(), ADPresetBC< compute_stage >::ADPresetBC(), ADPresetNodalBC< compute_stage >::ADPresetNodalBC(), FEProblemBase::advanceMultiApps(), MultiApp::appProblem(), MooseMesh::buildSideList(), ChangeOverTimestepPostprocessor::ChangeOverTimestepPostprocessor(), FEProblemBase::computeResidual(), MaterialBase::declarePropertyOlderTempl(), MaterialBase::declarePropertyOldTempl(), MooseMesh::elem(), MultiAppTransfer::execFlags(), UserForcingFunction::f(), FaceFaceConstraint< compute_stage >::FaceFaceConstraint(), FunctionDT::FunctionDT(), FunctionPresetBC::FunctionPresetBC(), RandomICBase::generateRandom(), Control::getExecuteOptions(), FEProblemBase::getNonlinearSystem(), Sampler::getSamples(), FEProblemBase::getUserObjects(), FEProblemBase::getVectorPostprocessorValue(), FEProblemBase::getVectorPostprocessorValueOld(), MatDiffusionBase< Real >::MatDiffusionBase(), NodalScalarKernel::NodalScalarKernel(), MooseMesh::node(), PercentChangePostprocessor::PercentChangePostprocessor(), PresetBC::PresetBC(), PresetNodalBC::PresetNodalBC(), Sampler::rand(), ReferenceResidualProblem::ReferenceResidualProblem(), MooseMesh::setBoundaryToNormalMap(), Exodus::setOutputDimension(), and UserForcingFunction::UserForcingFunction().

◆ mooseError()

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

Definition at line 141 of file MooseObject.h.

142  {
143  std::ostringstream oss;
144  moose::internal::mooseStreamAll(oss, std::forward<Args>(args)...);
145  std::string msg = oss.str();
146  callMooseErrorRaw(msg, &_app);
147  }

Referenced by GridPartitioner::_do_partition(), PetscExternalPartitioner::_do_partition(), FEProblemBase::addConstraint(), ADDGKernel< compute_stage >::ADDGKernel(), FEProblemBase::addInitialCondition(), FEProblem::addLineSearch(), FEProblemBase::addLineSearch(), FEProblemBase::addOutput(), DiracKernel::addPointWithValidId(), FEProblemBase::addPostprocessor(), MooseMesh::addQuadratureNode(), FEProblemBase::addVectorPostprocessor(), MultiAppConservativeTransfer::adjustTransferedSolution(), MultiAppConservativeTransfer::adjustTransferedSolutionNearestPoint(), ADKernelTempl< T, compute_stage >::ADKernelTempl(), ADPiecewiseLinearInterpolationMaterial< compute_stage >::ADPiecewiseLinearInterpolationMaterial(), Output::advancedExecuteOn(), MooseVariableBase::allDofIndices(), MultiApp::appPostprocessorValue(), MultiApp::appProblem(), MultiApp::appProblemBase(), MultiApp::appUserObjectBase(), ArrayConstantIC::ArrayConstantIC(), ArrayDGKernel::ArrayDGKernel(), ArrayDiffusion::ArrayDiffusion(), ArrayFunctionIC::ArrayFunctionIC(), ArrayReaction::ArrayReaction(), ArrayTimeDerivative::ArrayTimeDerivative(), Function::average(), Axisymmetric2D3DSolutionFunction::Axisymmetric2D3DSolutionFunction(), BicubicSplineFunction::BicubicSplineFunction(), BoundingValueElementDamper::BoundingValueElementDamper(), BoundingValueNodalDamper::BoundingValueNodalDamper(), BoundsAux::BoundsAux(), BreakMeshByBlockGenerator::BreakMeshByBlockGenerator(), BreakMeshByBlockGeneratorBase::BreakMeshByBlockGeneratorBase(), MooseMesh::buildCoarseningMap(), PiecewiseBase::buildFromFile(), PiecewiseBase::buildFromXY(), PiecewiseLinearBase::buildInterpolation(), TiledMesh::buildMesh(), FileMesh::buildMesh(), DistributedGeneratedMesh::buildMesh(), GeneratedMesh::buildMesh(), SpiralAnnularMesh::buildMesh(), ImageMeshGenerator::buildMesh3D(), ImageMesh::buildMesh3D(), MooseMesh::buildMeshBaseObject(), MooseMesh::buildRefinementMap(), MooseMesh::buildSideList(), CartesianMeshGenerator::CartesianMeshGenerator(), ChangeOverTimePostprocessor::ChangeOverTimePostprocessor(), EigenExecutionerBase::chebyshev(), SubProblem::checkBlockMatProps(), SubProblem::checkBoundaryMatProps(), FEProblemBase::checkCoordinateSystems(), FEProblemBase::checkDependMaterialsHelper(), FEProblemBase::checkDisplacementOrders(), MaterialBase::checkExecutionStage(), BreakMeshByBlockBase::checkInputParameter(), Steady::checkIntegrity(), EigenExecutionerBase::checkIntegrity(), ExplicitTimeIntegrator::checkLinearConvergence(), FEProblemBase::checkProblemIntegrity(), MaterialBase::checkStatefulSanity(), FEProblemBase::checkUserObjects(), MultiAppTransfer::checkVariable(), LibmeshPartitioner::clone(), MooseMesh::clone(), ComparisonPostprocessor::comparisonIsTrue(), CompositeFunction::CompositeFunction(), ElementLpNormAux::compute(), ElementH1ErrorFunctionAux::compute(), NodalPatchRecovery::compute(), KernelBase::computeADOffDiagJacobian(), BlockWeightedPartitioner::computeElementWeight(), ArrayDGKernel::computeElemNeighJacobian(), ArrayDGKernel::computeElemNeighResidual(), TimeSequenceStepperBase::computeFailedDT(), IterationAdaptiveDT::computeFailedDT(), TimeStepper::computeFailedDT(), HistogramVectorPostprocessor::computeHistogram(), ArrayKernel::computeJacobian(), ArrayIntegratedBC::computeJacobian(), ArrayIntegratedBC::computeJacobianBlock(), ArrayDGKernel::computeOffDiagElemNeighJacobian(), ArrayKernel::computeOffDiagJacobian(), MaterialBase::computeProperties(), CoupledTiedValueConstraint::computeQpJacobian(), TiedValueConstraint::computeQpJacobian(), LinearNodalConstraint::computeQpJacobian(), EqualValueBoundaryConstraint::computeQpJacobian(), EqualValueEmbeddedConstraint::computeQpJacobian(), CoupledTiedValueConstraint::computeQpOffDiagJacobian(), EqualValueEmbeddedConstraint::computeQpOffDiagJacobian(), KernelValue::computeQpResidual(), ArrayKernel::computeResidual(), ArrayIntegratedBC::computeResidual(), FEProblemBase::computeResidualInternal(), FEProblemBase::computeResidualTag(), FEProblemBase::computeResidualType(), StatisticsVectorPostprocessor::computeStatValue(), MaterialBase::computeSubdomainProperties(), ActuallyExplicitEuler::computeTimeDerivatives(), ExplicitEuler::computeTimeDerivatives(), ImplicitEuler::computeTimeDerivatives(), BDF2::computeTimeDerivatives(), NewmarkBeta::computeTimeDerivatives(), CrankNicolson::computeTimeDerivatives(), LStableDirk2::computeTimeDerivatives(), LStableDirk3::computeTimeDerivatives(), ImplicitMidpoint::computeTimeDerivatives(), ExplicitTVDRK2::computeTimeDerivatives(), AStableDirk4::computeTimeDerivatives(), LStableDirk4::computeTimeDerivatives(), ExplicitRK2::computeTimeDerivatives(), PenetrationAux::computeValue(), ConcentricCircleMesh::ConcentricCircleMesh(), ConditionalEnableControl::ConditionalEnableControl(), TimeStepper::constrainStep(), CoupledForce::CoupledForce(), CoupledForceNodalKernel::CoupledForceNodalKernel(), SidesetInfoVectorPostprocessor::dataHelper(), DebugResidualAux::DebugResidualAux(), FunctorRelationshipManager::delete_remote_elements(), BicubicSplineFunction::derivative(), DerivativeSumMaterial::DerivativeSumMaterial(), DGKernel::DGKernel(), FunctorRelationshipManager::dofmap_reinit(), FEProblemBase::duplicateVariableCheck(), EigenProblem::EigenProblem(), Eigenvalues::Eigenvalues(), ElementalVariableValue::ElementalVariableValue(), ElementIntegerAux::ElementIntegerAux(), ElementQualityAux::ElementQualityAux(), MooseMesh::errorIfDistributedMesh(), SolutionUserObject::evalMeshFunction(), SolutionUserObject::evalMeshFunctionGradient(), SolutionUserObject::evalMultiValuedMeshFunction(), SolutionUserObject::evalMultiValuedMeshFunctionGradient(), MultiAppPostprocessorTransfer::execute(), DiscreteElementUserObject::execute(), MultiAppPostprocessorInterpolationTransfer::execute(), MultiAppVariableValueSamplePostprocessorTransfer::execute(), ElementQualityChecker::execute(), NodalValueSampler::execute(), GreaterThanLessThanPostprocessor::execute(), MultiAppInterpolationTransfer::execute(), MultiAppUserObjectTransfer::execute(), InterfaceQpValueUserObject::execute(), PointValue::execute(), MultiAppPostprocessorToAuxScalarTransfer::execute(), MultiAppScalarToAuxScalarTransfer::execute(), MultiAppVariableValueSampleTransfer::execute(), FindValueOnLine::execute(), MultiAppNearestNodeTransfer::execute(), TimeExtremeValue::execute(), VectorPostprocessorComparison::execute(), LeastSquaresFit::execute(), LeastSquaresFitHistory::execute(), FEProblemBase::executeControls(), MultiAppVectorPostprocessorTransfer::executeFromMultiapp(), MultiAppVectorPostprocessorTransfer::executeToMultiapp(), Exodus::Exodus(), ExplicitSSPRungeKutta::ExplicitSSPRungeKutta(), FileOutput::FileOutput(), CentroidMultiApp::fillPositions(), MultiApp::fillPositions(), VerifyElementUniqueID::finalize(), VerifyNodalUniqueID::finalize(), DiscreteElementUserObject::finalize(), ElementQualityChecker::finalize(), MemoryUsage::finalize(), PointSamplerBase::finalize(), NearestPointIntegralVariablePostprocessor::finalize(), Transfer::find_sys(), BreakMeshByBlockBase::findFreeBoundaryId(), BreakMeshByBlockGeneratorBase::findFreeBoundaryId(), FunctionDT::FunctionDT(), FunctionMaterialBase::FunctionMaterialBase(), ParsedMaterialHelper::functionParse(), FunctionScalarAux::FunctionScalarAux(), FunctionScalarIC::FunctionScalarIC(), GapValueAux::GapValueAux(), WorkBalance::gather(), ExtraNodesetGenerator::generate(), RenameBoundaryGenerator::generate(), RenameBlockGenerator::generate(), ElementSubdomainIDGenerator::generate(), GeneratedMeshGenerator::generate(), CombinerGenerator::generate(), SideSetsFromBoundingBoxGenerator::generate(), MeshExtruderGenerator::generate(), StackGenerator::generate(), SpiralAnnularMeshGenerator::generate(), PatternedMeshGenerator::generate(), SubdomainBoundingBoxGenerator::generate(), BoundingBoxNodeSetGenerator::generate(), GeneratedMesh::GeneratedMesh(), GeneratedMeshGenerator::GeneratedMeshGenerator(), RandomICBase::generateRandom(), GenericConstantMaterial::GenericConstantMaterial(), GenericFunctionMaterial::GenericFunctionMaterial(), DisplacedProblem::getArrayVariable(), FEProblemBase::getArrayVariable(), MooseMesh::getBoundaryID(), MultiApp::getBoundingBox(), MooseMesh::getCoarseningMap(), Control::getControllableParameterByName(), FEProblemBase::getCoordSystem(), PiecewiseConstant::getDirection(), FEProblemBase::getDistribution(), GhostingUserObject::getElementalValue(), ElementGenerator::getElemType(), MultiApp::getExecutioner(), FEProblemBase::getFunction(), SolutionUserObject::getLocalVarIndex(), SubProblem::getMatrixTagID(), AnnularMesh::getMaxInDimension(), DistributedGeneratedMesh::getMaxInDimension(), GeneratedMesh::getMaxInDimension(), FEProblemBase::getMaxQps(), FEProblemBase::getMaxShapeFunctions(), AnnularMesh::getMinInDimension(), DistributedGeneratedMesh::getMinInDimension(), GeneratedMesh::getMinInDimension(), MooseMesh::getNodeBlockIds(), MooseMesh::getNodeList(), FEProblemBase::getNonlinearSystem(), MooseMesh::getPairedBoundaryMapping(), ImageMesh::GetPixelInfo(), ImageMeshGenerator::GetPixelInfo(), InterfaceQpValueUserObject::getQpValue(), MaterialStdVectorAux::getRealValue(), MooseMesh::getRefinementMap(), FEProblemBase::getSampler(), DisplacedProblem::getScalarVariable(), FEProblemBase::getScalarVariable(), DisplacedProblem::getStandardVariable(), FEProblemBase::getStandardVariable(), MooseMesh::getSubdomainBoundaryIds(), MooseMesh::getSubdomainID(), DisplacedProblem::getSystem(), FEProblemBase::getSystem(), FEProblemBase::getUserObjectBase(), FEProblemBase::getUserObjectTempl(), NumRelationshipManagers::getValue(), PerformanceData::getValue(), Residual::getValue(), PerfGraphData::getValue(), LineValueSampler::getValue(), FindValueOnLine::getValueAtPoint(), SubProblem::getVariableHelper(), SubProblem::getVectorTagID(), DisplacedProblem::getVectorVariable(), FEProblemBase::getVectorVariable(), GhostingAux::GhostingAux(), MultiApp::globalAppToLocal(), MooseParsedVectorFunction::gradient(), AdvancedOutput::hasOutputHelper(), CrankNicolson::init(), CSVTimeSequenceStepper::init(), EigenExecutionerBase::init(), IterationAdaptiveDT::init(), Transient::init(), MooseMesh::init(), Sampler::init(), FEProblemBase::init(), NumPicardIterations::initialize(), PiecewiseLinearBase::initialSetup(), FullSolveMultiApp::initialSetup(), ReferenceResidualProblem::initialSetup(), MultiAppConservativeTransfer::initialSetup(), SolutionScalarAux::initialSetup(), SolutionAux::initialSetup(), Axisymmetric2D3DSolutionFunction::initialSetup(), Exodus::initialSetup(), SolutionFunction::initialSetup(), SolutionUserObject::initialSetup(), FEProblemBase::initialSetup(), AdvancedOutput::initOutputList(), AdvancedOutput::initShowHideLists(), MaterialBase::initStatefulProperties(), Function::integral(), InterfaceKernelTempl< T >::InterfaceKernelTempl(), InterfaceTimeKernel::InterfaceTimeKernel(), AugmentSparsityOnInterface::internalInit(), EigenExecutionerBase::inversePowerIteration(), InversePowerMethod::InversePowerMethod(), IterationAdaptiveDT::IterationAdaptiveDT(), LayeredSideIntegral::LayeredSideIntegral(), LeastSquaresFit::LeastSquaresFit(), LibmeshPartitioner::LibmeshPartitioner(), LinearCombinationFunction::LinearCombinationFunction(), LinearCombinationPostprocessor::LinearCombinationPostprocessor(), LinearNodalConstraint::LinearNodalConstraint(), LineMaterialSamplerBase< Real >::LineMaterialSamplerBase(), LineSearch::lineSearch(), LineValueSampler::LineValueSampler(), LowerBoundNodalKernel::LowerBoundNodalKernel(), PNGOutput::makePNG(), MaterialRealTensorValueAux::MaterialRealTensorValueAux(), MaterialRealVectorValueAux::MaterialRealVectorValueAux(), MaterialStdVectorRealGradientAux::MaterialStdVectorRealGradientAux(), MaterialVectorPostprocessor::MaterialVectorPostprocessor(), Distribution::median(), FunctorRelationshipManager::mesh_reinit(), SubProblem::meshChanged(), MeshExtruder::MeshExtruder(), MeshExtruderGenerator::MeshExtruderGenerator(), MeshSideSetGenerator::MeshSideSetGenerator(), SideSetsFromNormals::modify(), SideSetsFromPoints::modify(), AddExtraNodeset::modify(), MeshExtruder::modify(), BreakMeshByBlockBase::modify(), AssignElementSubdomainID::modify(), SmoothMesh::modify(), AddAllSideSetsByNormals::modify(), ElementDeleterBase::modify(), ParsedSubdomainMeshModifier::modify(), RenameBlock::modify(), ImageSubdomain::modify(), OrientedSubdomainBoundingBox::modify(), BoundingBoxNodeSet::modify(), SubdomainBoundingBox::modify(), AddSideSetsFromBoundingBox::modify(), MooseGhostPointNeighbors::MooseGhostPointNeighbors(), MooseMesh::MooseMesh(), MooseVariableBase::MooseVariableBase(), MortarConstraintBase::MortarConstraintBase(), MultiAppPostprocessorTransfer::MultiAppPostprocessorTransfer(), NearestNodeDistanceAux::NearestNodeDistanceAux(), NearestNodeValueAux::NearestNodeValueAux(), RenameBlockGenerator::newBlockID(), RenameBlock::newBlockID(), RenameBlockGenerator::newBlockName(), RenameBlock::newBlockName(), NewmarkBeta::NewmarkBeta(), NodalConstraint::NodalConstraint(), NodalScalarKernel::NodalScalarKernel(), NodalVariableValue::NodalVariableValue(), NumDOFs::NumDOFs(), NumNonlinearIterations::NumNonlinearIterations(), NumVars::NumVars(), FunctorRelationshipManager::operator()(), RelationshipManager::operator==(), XDA::output(), SolutionHistory::output(), Exodus::output(), AdvancedOutput::outputElementalVariables(), AdvancedOutput::outputInput(), AdvancedOutput::outputNodalVariables(), AdvancedOutput::outputPostprocessors(), AdvancedOutput::outputScalarVariables(), AdvancedOutput::outputSystemInformation(), Console::outputVectorPostprocessors(), AdvancedOutput::outputVectorPostprocessors(), MooseObject::paramError(), PiecewiseBilinear::parse(), ParsedAddSideset::ParsedAddSideset(), ParsedAux::ParsedAux(), ParsedGenerateSideset::ParsedGenerateSideset(), ParsedODEKernel::ParsedODEKernel(), ParsedSubdomainMeshGenerator::ParsedSubdomainMeshGenerator(), ParsedSubdomainMeshModifier::ParsedSubdomainMeshModifier(), ExplicitTimeIntegrator::performExplicitSolve(), PetscExternalPartitioner::PetscExternalPartitioner(), PhysicsBasedPreconditioner::PhysicsBasedPreconditioner(), PiecewiseBase::PiecewiseBase(), PiecewiseBilinear::PiecewiseBilinear(), PiecewiseLinearInterpolationMaterial::PiecewiseLinearInterpolationMaterial(), PiecewiseMulticonstant::PiecewiseMulticonstant(), PiecewiseMultiInterpolation::PiecewiseMultiInterpolation(), SolutionUserObject::pointValueGradientWrapper(), SolutionUserObject::pointValueWrapper(), LStableDirk2::postResidual(), LStableDirk3::postResidual(), ImplicitMidpoint::postResidual(), ExplicitTVDRK2::postResidual(), AStableDirk4::postResidual(), LStableDirk4::postResidual(), ExplicitRK2::postResidual(), Eigenvalue::postSolve(), Predictor::Predictor(), Transient::preExecute(), SolutionUserObject::readExodusII(), SolutionUserObject::readXda(), DerivativeParsedMaterialHelper::recurseDerivative(), FunctorRelationshipManager::redistribute(), ReferenceResidualProblem::ReferenceResidualProblem(), EqualValueEmbeddedConstraint::reinitConstraint(), RelativeSolutionDifferenceNorm::RelativeSolutionDifferenceNorm(), RenameBlock::RenameBlock(), RenameBlockGenerator::RenameBlockGenerator(), RenameBoundaryGenerator::RenameBoundaryGenerator(), RinglebMesh::RinglebMesh(), RinglebMeshGenerator::RinglebMeshGenerator(), ScalarComponentIC::ScalarComponentIC(), BicubicSplineFunction::secondDerivative(), FEProblemBase::setCoordSystem(), PiecewiseBase::setData(), EigenProblem::setEigenproblemType(), FEProblemSolve::setInnerSolve(), Sampler::setNumberOfCols(), Sampler::setNumberOfRandomSeeds(), Sampler::setNumberOfRows(), Exodus::setOutputDimensionInExodusWriter(), Split::setup(), TransientMultiApp::setupApp(), TimeSequenceStepperBase::setupSequence(), Transient::setupTimeIntegrator(), SideSetsFromBoundingBoxGenerator::SideSetsFromBoundingBoxGenerator(), SideSetsFromNormals::SideSetsFromNormals(), SideSetsFromNormalsGenerator::SideSetsFromNormalsGenerator(), SideSetsFromPoints::SideSetsFromPoints(), SideSetsFromPointsGenerator::SideSetsFromPointsGenerator(), SolutionTimeAdaptiveDT::SolutionTimeAdaptiveDT(), SolutionUserObject::SolutionUserObject(), PicardSolve::solve(), FullSolveMultiApp::solveStep(), SpatialAverageBase::SpatialAverageBase(), NearestPointIntegralVariablePostprocessor::spatialValue(), UserObject::spatialValue(), SpiralAnnularMesh::SpiralAnnularMesh(), SpiralAnnularMeshGenerator::SpiralAnnularMeshGenerator(), StitchedMesh::StitchedMesh(), NodalUserObject::subdomainSetup(), GeneralUserObject::subdomainSetup(), Constraint::subdomainSetup(), MaterialBase::subdomainSetup(), Console::systemInfoFlags(), TagMatrixAux::TagMatrixAux(), TagVectorAux::TagVectorAux(), Terminator::Terminator(), TestSetupPostprocessorDataActionFunction::TestSetupPostprocessorDataActionFunction(), ThreadedGeneralUserObject::ThreadedGeneralUserObject(), ThreadedGeneralUserObject::threadJoin(), DiscreteElementUserObject::threadJoin(), GeneralUserObject::threadJoin(), TiledMeshGenerator::TiledMeshGenerator(), Function::timeDerivative(), TimeExtremeValue::TimeExtremeValue(), TimePeriod::TimePeriod(), VectorPostprocessorVisualizationAux::timestepSetup(), MultiAppFieldTransfer::transfer(), MultiAppMeshFunctionTransfer::transferVariable(), MooseVariableScalar::uDot(), MooseVariableScalar::uDotDot(), MooseVariableScalar::uDotDotOld(), FEProblemBase::uDotDotOldRequested(), MooseVariableScalar::uDotOld(), FEProblemBase::uDotOldRequested(), EqualValueBoundaryConstraint::updateConstrainedNodes(), SolutionUserObject::updateExodusBracketingTimeIndices(), UpperBoundNodalKernel::UpperBoundNodalKernel(), NearestPointIntegralVariablePostprocessor::userObjectValue(), BoundingBoxIC::value(), Axisymmetric2D3DSolutionFunction::value(), ValueRangeMarker::ValueRangeMarker(), ValueThresholdMarker::ValueThresholdMarker(), MultiAppTransfer::variableIntegrityCheck(), VariableTimeIntegrationAux::VariableTimeIntegrationAux(), VectorNodalBC::VectorNodalBC(), VectorOfPostprocessors::VectorOfPostprocessors(), VectorPostprocessorFunction::VectorPostprocessorFunction(), MooseParsedGradFunction::vectorValue(), MooseParsedFunction::vectorValue(), VolumeHistogram::VolumeHistogram(), VTKOutput::VTKOutput(), DOFMapOutput::writeStreamToFile(), and Console::writeStreamToFile().

◆ mooseInfo()

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

◆ mooseVariable()

MooseVariableFE< Real > * MooseVariableInterface< Real >::mooseVariable ( ) const
inherited

Get the variable that this object is using.

Returns
The variable this object is using.

Definition at line 70 of file MooseVariableInterface.C.

71 {
72  return _variable;
73 }

◆ mooseWarning()

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

◆ name()

virtual const std::string& MooseObject::name ( ) const
inlinevirtualinherited

Get the name of the object.

Returns
The name of the object TODO:MooseVariableToMooseObject (see #10601)

Reimplemented in MooseVariableBase.

Definition at line 70 of file MooseObject.h.

70 { return _name; }

Referenced by GridPartitioner::_do_partition(), FEProblemBase::addADJacobianInterfaceMaterial(), FEProblemBase::addADJacobianMaterial(), FEProblemBase::addADKernel(), FEProblemBase::addADResidualInterfaceMaterial(), FEProblemBase::addADResidualMaterial(), Executioner::addAttributeReporter(), DumpObjectsProblem::addAuxKernel(), FEProblemBase::addAuxKernel(), DumpObjectsProblem::addAuxScalarKernel(), FEProblemBase::addAuxScalarKernel(), DisplacedProblem::addAuxVariable(), DumpObjectsProblem::addBoundaryCondition(), FEProblemBase::addBoundaryCondition(), DumpObjectsProblem::addConstraint(), FEProblemBase::addConstraint(), FEProblemBase::addDamper(), DumpObjectsProblem::addDGKernel(), FEProblemBase::addDGKernel(), DumpObjectsProblem::addDiracKernel(), FEProblemBase::addDiracKernel(), FEProblemBase::addDistribution(), DumpObjectsProblem::addFunction(), FEProblemBase::addFunction(), ADDGKernel< compute_stage >::ADDGKernel(), FEProblemBase::addIndicator(), DumpObjectsProblem::addInitialCondition(), FEProblemBase::addInitialCondition(), DumpObjectsProblem::addInterfaceKernel(), FEProblemBase::addInterfaceKernel(), FEProblemBase::addInterfaceMaterial(), DumpObjectsProblem::addKernel(), FEProblemBase::addKernel(), FEProblemBase::addMarker(), DumpObjectsProblem::addMaterial(), FEProblemBase::addMaterial(), FEProblemBase::addMaterialHelper(), FEProblemBase::addMultiApp(), DumpObjectsProblem::addNodalKernel(), FEProblemBase::addNodalKernel(), FEProblemBase::addPostprocessor(), FEProblemBase::addPredictor(), CreateDisplacedProblemAction::addProxyRelationshipManagers(), FEProblemBase::addSampler(), DumpObjectsProblem::addScalarKernel(), FEProblemBase::addScalarKernel(), FEProblemBase::addTimeIntegrator(), FEProblemBase::addTransfer(), FEProblemBase::addUserObject(), DisplacedProblem::addVariable(), FEProblemBase::addVectorPostprocessor(), ADKernelTempl< T, compute_stage >::ADKernelTempl(), Output::advancedExecuteOn(), MultiApp::appPostprocessorValue(), MultiApp::appProblem(), MultiApp::appProblemBase(), MultiApp::appUserObjectBase(), ArrayDGKernel::ArrayDGKernel(), DerivativeParsedMaterialHelper::assembleDerivatives(), AStableDirk4::AStableDirk4(), Function::average(), MultiApp::backup(), BreakMeshByBlockGenerator::BreakMeshByBlockGenerator(), ChangeOverTimePostprocessor::ChangeOverTimePostprocessor(), FEProblemBase::checkDependMaterialsHelper(), Damper::checkMinDamping(), MaterialBase::checkStatefulSanity(), CoarsenedPiecewiseLinear::CoarsenedPiecewiseLinear(), CompositeFunction::CompositeFunction(), MaterialBase::computeProperties(), MaterialBase::computeSubdomainProperties(), FEProblemBase::computeUserObjectByName(), VectorPostprocessorVisualizationAux::computeValue(), MultiApp::createApp(), MeshGenerator::declareMeshProperty(), FEProblemBase::declareVectorPostprocessorVector(), DOFMapOutput::demangle(), DerivativeSumMaterial::DerivativeSumMaterial(), DGKernel::DGKernel(), DGKernelBase::DGKernelBase(), DumpObjectsProblem::dumpObjectHelper(), ElementValueSampler::ElementValueSampler(), MooseMesh::errorIfDistributedMesh(), AB2PredictorCorrector::estimateTimeError(), SolutionUserObject::evalMeshFunction(), SolutionUserObject::evalMeshFunctionGradient(), SolutionUserObject::evalMultiValuedMeshFunction(), SolutionUserObject::evalMultiValuedMeshFunctionGradient(), MultiAppPostprocessorTransfer::execute(), StatisticsVectorPostprocessor::execute(), MultiAppPostprocessorInterpolationTransfer::execute(), MultiAppVariableValueSamplePostprocessorTransfer::execute(), MultiAppVectorPostprocessorTransfer::execute(), MultiAppCopyTransfer::execute(), MultiAppMeshFunctionTransfer::execute(), MultiAppInterpolationTransfer::execute(), MultiAppUserObjectTransfer::execute(), PointValue::execute(), MultiAppScalarToAuxScalarTransfer::execute(), MultiAppPostprocessorToAuxScalarTransfer::execute(), MultiAppVariableValueSampleTransfer::execute(), MultiAppNearestNodeTransfer::execute(), HistogramVectorPostprocessor::execute(), MultiAppProjectionTransfer::execute(), Exodus::Exodus(), FancyExtruderGenerator::FancyExtruderGenerator(), MultiApp::fillPositions(), PointSamplerBase::finalize(), FunctionDT::FunctionDT(), FunctionPresetBC::FunctionPresetBC(), GeneralUserObject::GeneralUserObject(), LowerDBlockFromSidesetGenerator::generate(), GeneratedMeshGenerator::generate(), StitchedMeshGenerator::generate(), Material::getADMaterialPropertyTempl(), MultiApp::getBoundingBox(), MooseObject::getCheckedPointerParam(), Control::getControllableParameterByName(), Control::getControllableValue(), Control::getControllableValueByName(), DistributionInterface::getDistribution(), FEProblemBase::getDistribution(), DistributionInterface::getDistributionByName(), MultiApp::getExecutioner(), OutputWarehouse::getFileNumbers(), FEProblemBase::getFunction(), FEProblemBase::getInterfaceMaterial(), SolutionUserObject::getLocalVarIndex(), Marker::getMarkerValue(), FEProblemBase::getMaterial(), SubProblem::getMaterialPropertyBlockNames(), SubProblem::getMaterialPropertyBoundaryNames(), Material::getMaterialPropertyOlderTempl(), InterfaceMaterial::getMaterialPropertyOlderTempl(), NodalPatchRecovery::getMaterialPropertyOlderTempl(), AuxKernelTempl< ComputeValueType >::getMaterialPropertyOlderTempl(), Material::getMaterialPropertyOldTempl(), InterfaceMaterial::getMaterialPropertyOldTempl(), NodalPatchRecovery::getMaterialPropertyOldTempl(), AuxKernelTempl< ComputeValueType >::getMaterialPropertyOldTempl(), Material::getMaterialPropertyTempl(), InterfaceMaterial::getMaterialPropertyTempl(), NodalPatchRecovery::getMaterialPropertyTempl(), AuxKernelTempl< ComputeValueType >::getMaterialPropertyTempl(), MeshGenerator::getMesh(), InterfaceMaterial::getNeighborMaterialPropertyOld(), InterfaceMaterial::getNeighborMaterialPropertyOlder(), InterfaceMaterial::getNeighborMaterialPropertyTempl(), OutputWarehouse::getOutput(), MooseObject::getParamTempl(), GeneralUserObject::getPostprocessorValue(), FEProblemBase::getPostprocessorValue(), GeneralUserObject::getPostprocessorValueByName(), FEProblemBase::getPostprocessorValueOld(), FEProblemBase::getPostprocessorValueOlder(), FEProblemBase::getSampler(), FEProblemBase::getScatterVectorPostprocessorValue(), FEProblemBase::getScatterVectorPostprocessorValueOld(), Transient::getTimeStepperName(), InitialConditionBase::getUserObjectBase(), FEProblemBase::getUserObjectBase(), InitialConditionBase::getUserObjectByNameTempl(), InitialConditionBase::getUserObjectTempl(), FEProblemBase::getUserObjectTempl(), GeneralUserObject::getVectorPostprocessorValue(), FEProblemBase::getVectorPostprocessorValue(), GeneralUserObject::getVectorPostprocessorValueByName(), FEProblemBase::getVectorPostprocessorValueOld(), FEProblemBase::hasFunction(), AdvancedOutput::hasOutputHelper(), FEProblemBase::hasPostprocessor(), FEProblemBase::hasUserObject(), FEProblemBase::hasVectorPostprocessor(), FEProblemBase::init(), AdvancedOutput::initExecutionTypes(), AttribName::initFrom(), CSVReader::initialize(), StatisticsVectorPostprocessor::initialize(), HistogramVectorPostprocessor::initialize(), SolutionScalarAux::initialSetup(), MultiAppProjectionTransfer::initialSetup(), DerivativeFunctionMaterialBase::initialSetup(), MultiApp::initialSetup(), SolutionUserObject::initialSetup(), AdvancedOutput::initOutputList(), FEProblemBase::initPostprocessorData(), AdvancedOutput::initPostprocessorOrVectorPostprocessorLists(), MaterialBase::initStatefulProperties(), FEProblemBase::initVectorPostprocessorData(), Function::integral(), InterfaceKernelTempl< T >::InterfaceKernelTempl(), Registry::isADObj(), MooseObject::isParamValid(), Registry::isRegisteredObj(), LinearCombinationFunction::LinearCombinationFunction(), Marker::Marker(), MatDiffusionBase< Real >::MatDiffusionBase(), MaterialDerivativeTestKernelBase< Real >::MaterialDerivativeTestKernelBase(), MaterialOutputAction::materialOutputHelper(), MaterialVectorPostprocessor::MaterialVectorPostprocessor(), Distribution::median(), MemoryUsageReporter::MemoryUsageReporter(), MeshSideSetGenerator::MeshSideSetGenerator(), ElementDeleterBase::modify(), MooseVariableInterface< Real >::MooseVariableInterface(), NodalValueSampler::NodalValueSampler(), NodalVariableValue::NodalVariableValue(), Registry::objData(), DOFMapOutput::output(), Output::Output(), AdvancedOutput::outputElementalVariables(), ConsoleUtils::outputExecutionInformation(), AdvancedOutput::outputInput(), AdvancedOutput::outputNodalVariables(), ConsoleUtils::outputOutputInformation(), Nemesis::outputPostprocessors(), Exodus::outputPostprocessors(), AdvancedOutput::outputPostprocessors(), AdvancedOutput::outputScalarVariables(), OversampleOutput::outputStep(), Output::outputStep(), AdvancedOutput::outputSystemInformation(), AdvancedOutput::outputVectorPostprocessors(), ParsedAddSideset::ParsedAddSideset(), ParsedAux::ParsedAux(), ParsedGenerateSideset::ParsedGenerateSideset(), ParsedODEKernel::ParsedODEKernel(), ParsedSubdomainMeshGenerator::ParsedSubdomainMeshGenerator(), ParsedSubdomainMeshModifier::ParsedSubdomainMeshModifier(), PointSamplerBase::PointSamplerBase(), MultiAppConservativeTransfer::postExecute(), PresetBC::PresetBC(), PresetNodalBC::PresetNodalBC(), Registry::registerObjectsTo(), FEProblemBase::registerRandomInterface(), MaterialBase::resetQpProperties(), MultiApp::restore(), ScalarComponentIC::ScalarComponentIC(), MooseMesh::setBoundaryName(), Control::setControllableValue(), Control::setControllableValueByName(), OutputWarehouse::setFileNumbers(), MooseMesh::setSubdomainName(), Split::setup(), TransientMultiApp::setupApp(), SideSetsFromNormalsGenerator::SideSetsFromNormalsGenerator(), SideSetsFromPointsGenerator::SideSetsFromPointsGenerator(), SideValueSampler::SideValueSampler(), TransientMultiApp::solveStep(), SpatialAverageBase::SpatialAverageBase(), UserObject::spatialValue(), StitchedMesh::StitchedMesh(), SubProblem::storeBoundaryDelayedCheckMatProp(), SubProblem::storeBoundaryMatPropName(), SubProblem::storeBoundaryZeroMatProp(), SubProblem::storeSubdomainDelayedCheckMatProp(), SubProblem::storeSubdomainMatPropName(), SubProblem::storeSubdomainZeroMatProp(), MaterialBase::subdomainSetup(), TaggingInterface::TaggingInterface(), ThreadedGeneralUserObject::ThreadedGeneralUserObject(), Function::timeDerivative(), VectorPostprocessorVisualizationAux::timestepSetup(), TransientMultiApp::TransientMultiApp(), MultiAppTransfer::variableIntegrityCheck(), and AdvancedOutput::wantOutput().

◆ needThreadedCopy()

bool UserObjectInterface::needThreadedCopy ( const UserObject uo) const
privateinherited

Check if the threaded copy of the user object is needed.

Definition at line 36 of file UserObjectInterface.C.

37 {
38  return (dynamic_cast<const DiscreteElementUserObject *>(&uo) != NULL) ||
39  (dynamic_cast<const ThreadedGeneralUserObject *>(&uo) != NULL);
40 }

Referenced by UserObjectInterface::getUserObjectByNameTempl(), and UserObjectInterface::getUserObjectTempl().

◆ numBlocks()

unsigned int BlockRestrictable::numBlocks ( ) const
inherited

Return the number of blocks for this object.

Returns
The number of subdomains

Definition at line 180 of file BlockRestrictable.C.

181 {
182  return (unsigned int)_blk_ids.size();
183 }

◆ paramError()

template<typename... Args>
void MooseObject::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 215 of file MooseObject.h.

216 {
217  Moose::show_trace = false;
218  mooseError(paramErrorMsg(param, std::forward<Args>(args)...));
219  Moose::show_trace = true;
220 }

Referenced by ADDGKernel< compute_stage >::ADDGKernel(), ADIntegratedBCTempl< T, compute_stage >::ADIntegratedBCTempl(), ADKernelTempl< T, compute_stage >::ADKernelTempl(), ADVectorFunctionDirichletBC< compute_stage >::ADVectorFunctionDirichletBC(), AnnularMesh::AnnularMesh(), AnnularMeshGenerator::AnnularMeshGenerator(), ArrayDGKernel::ArrayDGKernel(), ArrayIntegratedBC::ArrayIntegratedBC(), ArrayKernel::ArrayKernel(), BlockWeightedPartitioner::BlockWeightedPartitioner(), checkComponent(), Coupleable::checkVar(), MultiAppTransfer::checkVariable(), CombinerGenerator::CombinerGenerator(), ConcentricCircleMeshGenerator::ConcentricCircleMeshGenerator(), ConstantVectorPostprocessor::ConstantVectorPostprocessor(), Coupleable::Coupleable(), DGKernel::DGKernel(), DGKernelBase::DGKernelBase(), Eigenvalue::Eigenvalue(), ElementValueSampler::ElementValueSampler(), Executioner::Executioner(), FancyExtruderGenerator::FancyExtruderGenerator(), RenameBoundaryGenerator::generate(), MeshCollectionGenerator::generate(), StackGenerator::generate(), StitchedMeshGenerator::generate(), CombinerGenerator::generate(), Sampler::getGlobalSamples(), Sampler::getLocalSamples(), Sampler::getNextLocalRow(), MultiApp::init(), BlockRestrictable::initializeBlockRestrictable(), BoundaryRestrictable::initializeBoundaryRestrictable(), IntegratedBC::IntegratedBC(), InversePowerMethod::InversePowerMethod(), Kernel::Kernel(), PNGOutput::makeMeshFunc(), MeshCollectionGenerator::MeshCollectionGenerator(), MultiAppConservativeTransfer::MultiAppConservativeTransfer(), MultiAppInterpolationTransfer::MultiAppInterpolationTransfer(), MultiAppMeshFunctionTransfer::MultiAppMeshFunctionTransfer(), MultiAppNearestNodeTransfer::MultiAppNearestNodeTransfer(), MultiAppPostprocessorInterpolationTransfer::MultiAppPostprocessorInterpolationTransfer(), MultiAppPostprocessorToAuxScalarTransfer::MultiAppPostprocessorToAuxScalarTransfer(), MultiAppPostprocessorTransfer::MultiAppPostprocessorTransfer(), MultiAppProjectionTransfer::MultiAppProjectionTransfer(), MultiAppScalarToAuxScalarTransfer::MultiAppScalarToAuxScalarTransfer(), MultiAppTransfer::MultiAppTransfer(), MultiAppUserObjectTransfer::MultiAppUserObjectTransfer(), MultiAppVariableValueSamplePostprocessorTransfer::MultiAppVariableValueSamplePostprocessorTransfer(), MultiAppVariableValueSampleTransfer::MultiAppVariableValueSampleTransfer(), MultiAppVectorPostprocessorTransfer::MultiAppVectorPostprocessorTransfer(), NodalBC::NodalBC(), NodalEqualValueConstraint::NodalEqualValueConstraint(), NodalKernel::NodalKernel(), NodalValueSampler::NodalValueSampler(), PatchMeshGenerator::PatchMeshGenerator(), PatternedMeshGenerator::PatternedMeshGenerator(), PiecewiseFunctionTabulate::PiecewiseFunctionTabulate(), PlaneDeletionGenerator::PlaneDeletionGenerator(), RandomIC::RandomIC(), MooseMesh::setPartitioner(), MultiAppFieldTransfer::transfer(), Transfer::Transfer(), TransientMultiApp::TransientMultiApp(), VectorBodyForce::VectorBodyForce(), VectorFunctionDirichletBC::VectorFunctionDirichletBC(), and VectorFunctionIC::VectorFunctionIC().

◆ paramErrorMsg()

template<typename... Args>
std::string MooseObject::paramErrorMsg ( const std::string &  param,
Args...  args 
) const
inlineprivateinherited

Definition at line 185 of file MooseObject.h.

186  {
187  auto prefix = paramErrorPrefix(_pars, param);
188  std::ostringstream oss;
189  moose::internal::mooseStreamAll(oss, std::forward<Args>(args)...);
190  std::string msg = oss.str();
191 
192  // Wrap error message to a separate line from prefix if it is about to
193  // blow past 100 chars. But only wrap if the prefix is long enough (12
194  // chars) for the wrap to buy us much extra length.
195  if ((prefix.size() > 12 && msg.size() + prefix.size() > 99) ||
196  msg.find("\n") != std::string::npos)
197  {
198  if (prefix.size() > 0 && prefix[prefix.size() - 1] != ':')
199  prefix += ":";
200  return prefix + "\n " + MooseUtils::replaceAll(msg, "\n", "\n ");
201  }
202  return prefix + " " + msg;
203  }

Referenced by MooseObject::paramError(), MooseObject::paramInfo(), and MooseObject::paramWarning().

◆ parameters()

const InputParameters& MooseObject::parameters ( ) const
inlineinherited

Get the parameters of the object.

Returns
The parameters of the object

Definition at line 76 of file MooseObject.h.

76 { return _pars; }

Referenced by FEProblemBase::addADJacobianInterfaceMaterial(), FEProblemBase::addADJacobianMaterial(), FEProblemBase::addADKernel(), FEProblemBase::addADResidualInterfaceMaterial(), FEProblemBase::addADResidualMaterial(), DumpObjectsProblem::addAuxKernel(), FEProblemBase::addAuxKernel(), DumpObjectsProblem::addAuxScalarKernel(), FEProblemBase::addAuxScalarKernel(), DisplacedProblem::addAuxVariable(), DumpObjectsProblem::addBoundaryCondition(), FEProblemBase::addBoundaryCondition(), DumpObjectsProblem::addConstraint(), FEProblemBase::addConstraint(), FEProblemBase::addDamper(), DumpObjectsProblem::addDGKernel(), FEProblemBase::addDGKernel(), DumpObjectsProblem::addDiracKernel(), FEProblemBase::addDiracKernel(), FEProblemBase::addDistribution(), DumpObjectsProblem::addFunction(), FEProblemBase::addFunction(), FEProblemBase::addIndicator(), DumpObjectsProblem::addInitialCondition(), FEProblemBase::addInitialCondition(), DumpObjectsProblem::addInterfaceKernel(), FEProblemBase::addInterfaceKernel(), FEProblemBase::addInterfaceMaterial(), DumpObjectsProblem::addKernel(), FEProblemBase::addKernel(), FEProblem::addLineSearch(), FEProblemBase::addMarker(), DumpObjectsProblem::addMaterial(), FEProblemBase::addMaterial(), FEProblemBase::addMaterialHelper(), FEProblemBase::addMultiApp(), DumpObjectsProblem::addNodalKernel(), FEProblemBase::addNodalKernel(), FEProblemBase::addOutput(), FEProblemBase::addPostprocessor(), FEProblemBase::addPredictor(), FEProblemBase::addSampler(), DumpObjectsProblem::addScalarKernel(), FEProblemBase::addScalarKernel(), FEProblemBase::addTimeIntegrator(), FEProblemBase::addTransfer(), FEProblemBase::addUserObject(), DisplacedProblem::addVariable(), FEProblemBase::addVectorPostprocessor(), ADPiecewiseLinearInterpolationMaterial< compute_stage >::ADPiecewiseLinearInterpolationMaterial(), AdvancedOutput::AdvancedOutput(), ADVectorFunctionDirichletBC< compute_stage >::ADVectorFunctionDirichletBC(), AnnularMesh::AnnularMesh(), AnnularMeshGenerator::AnnularMeshGenerator(), assemble_l2(), Moose::assemble_matrix(), AuxKernelTempl< ComputeValueType >::AuxKernelTempl(), AuxScalarKernel::AuxScalarKernel(), BoundsAux::BoundsAux(), LibmeshPartitioner::clone(), OversampleOutput::cloneMesh(), Moose::compute_bounds(), Moose::compute_jacobian(), Moose::compute_nearnullspace(), Moose::compute_nullspace(), Moose::compute_postcheck(), Moose::compute_transpose_nullspace(), Console::Console(), DumpObjectsProblem::deduceNecessaryParameters(), DumpObjectsProblem::dumpObjectHelper(), EigenProblem::EigenProblem(), Eigenvalue::Eigenvalue(), Exodus::Exodus(), FEProblem::FEProblem(), GapValueAux::GapValueAux(), MooseObject::getCheckedPointerParam(), GhostingUserObject::GhostingUserObject(), MooseMesh::init(), BlockRestrictable::initializeBlockRestrictable(), FEProblemBase::initNullSpaceVectors(), InterfaceKernelTempl< T >::InterfaceKernelTempl(), isValid(), LayeredSideIntegral::LayeredSideIntegral(), MooseVariableInterface< Real >::MooseVariableInterface(), NodeFaceConstraint::NodeFaceConstraint(), PatchMeshGenerator::PatchMeshGenerator(), PenetrationAux::PenetrationAux(), PiecewiseBilinear::PiecewiseBilinear(), PiecewiseLinearInterpolationMaterial::PiecewiseLinearInterpolationMaterial(), MultiAppProjectionTransfer::projectSolution(), RandomIC::RandomIC(), InputParameterWarehouse::removeInputParameters(), EigenProblem::scaleEigenvector(), FEProblem::setInputParametersFEProblem(), FEProblemBase::setInputParametersFEProblem(), DumpObjectsProblem::stringifyParameters(), Transient::Transient(), VectorBodyForce::VectorBodyForce(), VectorFunctionDirichletBC::VectorFunctionDirichletBC(), and VectorFunctionIC::VectorFunctionIC().

◆ paramInfo()

template<typename... Args>
void MooseObject::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 231 of file MooseObject.h.

232 {
233  mooseInfo(paramErrorMsg(param, std::forward<Args>(args)...));
234 }

Referenced by TransientMultiApp::TransientMultiApp().

◆ paramWarning()

template<typename... Args>
void MooseObject::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 224 of file MooseObject.h.

225 {
226  mooseWarning(paramErrorMsg(param, std::forward<Args>(args)...));
227 }

Referenced by Executioner::Executioner().

◆ precalculateJacobian()

virtual void KernelBase::precalculateJacobian ( )
inlineprotectedvirtualinherited

◆ precalculateOffDiagJacobian()

virtual void KernelBase::precalculateOffDiagJacobian ( unsigned int  )
inlineprotectedvirtualinherited

◆ precalculateResidual()

virtual void KernelBase::precalculateResidual ( )
inlineprotectedvirtualinherited

Following methods are used for Kernels that need to perform a per-element calculation.

Definition at line 115 of file KernelBase.h.

115 {}

Referenced by Kernel::computeResidual(), VectorKernel::computeResidual(), ArrayKernel::computeResidual(), TimeKernel::computeResidual(), and VectorTimeKernel::computeResidual().

◆ precomputeQpJacobian()

RealGradient KernelGrad::precomputeQpJacobian ( )
protectedvirtual

Called before forming the jacobian for an element.

Definition at line 109 of file KernelGrad.C.

110 {
111  return RealGradient(0.0);
112 }

Referenced by computeJacobian().

◆ precomputeQpResidual()

virtual RealGradient KernelGrad::precomputeQpResidual ( )
protectedpure virtual

Called before forming the residual for an element.

Referenced by computeResidual().

◆ prepareMatrixTag()

void TaggingInterface::prepareMatrixTag ( Assembly assembly,
unsigned int  ivar,
unsigned int  jvar 
)
inherited

Prepare data for computing element jacobian according to the ative tags.

Jacobian blocks for different tags will be extracted from Assembly. A local Jacobian will be zeroed. It should be called right before the local element matrix is computed.

Definition at line 157 of file TaggingInterface.C.

158 {
159  _ke_blocks.resize(_matrix_tags.size());
160  mooseAssert(_matrix_tags.size() >= 1, "we need at least one active tag");
161  auto mat_vector = _matrix_tags.begin();
162  for (MooseIndex(_matrix_tags) i = 0; i < _matrix_tags.size(); i++, ++mat_vector)
163  _ke_blocks[i] = &assembly.jacobianBlock(ivar, jvar, *mat_vector);
164 
165  _local_ke.resize(_ke_blocks[0]->m(), _ke_blocks[0]->n());
166 }

Referenced by DGKernel::computeElemNeighJacobian(), ArrayDGKernel::computeElemNeighJacobian(), TimeDerivative::computeJacobian(), VectorTimeDerivative::computeJacobian(), Kernel::computeJacobian(), ODEKernel::computeJacobian(), ArrayKernel::computeJacobian(), IntegratedBC::computeJacobian(), VectorIntegratedBC::computeJacobian(), ArrayIntegratedBC::computeJacobian(), NodalEqualValueConstraint::computeJacobian(), DiracKernel::computeJacobian(), VectorIntegratedBC::computeJacobianBlock(), ArrayIntegratedBC::computeJacobianBlock(), VectorIntegratedBC::computeJacobianBlockScalar(), ArrayIntegratedBC::computeJacobianBlockScalar(), IntegratedBC::computeJacobianBlockScalar(), DGKernel::computeOffDiagElemNeighJacobian(), ArrayDGKernel::computeOffDiagElemNeighJacobian(), ODEKernel::computeOffDiagJacobian(), Kernel::computeOffDiagJacobian(), ArrayKernel::computeOffDiagJacobian(), DiracKernel::computeOffDiagJacobian(), ArrayKernel::computeOffDiagJacobianScalar(), Kernel::computeOffDiagJacobianScalar(), and ConservativeAdvection::fullUpwind().

◆ prepareMatrixTagLower()

void TaggingInterface::prepareMatrixTagLower ( Assembly assembly,
unsigned int  ivar,
unsigned int  jvar,
Moose::ConstraintJacobianType  type 
)
inherited

Prepare data for computing the jacobian according to the ative tags for mortar.

Jacobian blocks for different tags will be extracted from Assembly. A local Jacobian will be zeroed. It should be called right before the local element matrix is computed.

Definition at line 184 of file TaggingInterface.C.

188 {
189  _ke_blocks.resize(_matrix_tags.size());
190  mooseAssert(_matrix_tags.size() >= 1, "we need at least one active tag");
191  auto mat_vector = _matrix_tags.begin();
192  for (MooseIndex(_matrix_tags) i = 0; i < _matrix_tags.size(); i++, ++mat_vector)
193  _ke_blocks[i] = &assembly.jacobianBlockLower(type, ivar, jvar, *mat_vector);
194 
195  _local_ke.resize(_ke_blocks[0]->m(), _ke_blocks[0]->n());
196 }

Referenced by MortarConstraint::computeJacobian().

◆ prepareMatrixTagNeighbor()

void TaggingInterface::prepareMatrixTagNeighbor ( Assembly assembly,
unsigned int  ivar,
unsigned int  jvar,
Moose::DGJacobianType  type 
)
inherited

Prepare data for computing element jacobian according to the ative tags for DG and interface kernels.

Jacobian blocks for different tags will be extracted from Assembly. A local Jacobian will be zeroed. It should be called right before the local element matrix is computed.

Definition at line 169 of file TaggingInterface.C.

173 {
174  _ke_blocks.resize(_matrix_tags.size());
175  mooseAssert(_matrix_tags.size() >= 1, "we need at least one active tag");
176  auto mat_vector = _matrix_tags.begin();
177  for (MooseIndex(_matrix_tags) i = 0; i < _matrix_tags.size(); i++, ++mat_vector)
178  _ke_blocks[i] = &assembly.jacobianBlockNeighbor(type, ivar, jvar, *mat_vector);
179 
180  _local_ke.resize(_ke_blocks[0]->m(), _ke_blocks[0]->n());
181 }

Referenced by DGKernel::computeElemNeighJacobian(), ArrayDGKernel::computeElemNeighJacobian(), DGKernel::computeOffDiagElemNeighJacobian(), and ArrayDGKernel::computeOffDiagElemNeighJacobian().

◆ prepareVectorTag()

void TaggingInterface::prepareVectorTag ( Assembly assembly,
unsigned int  ivar 
)
inherited

Prepare data for computing element residual the according to active tags.

Residual blocks for different tags will be extracted from Assembly. A local residual will be zeroed. It should be called right before the local element vector is computed.

Definition at line 121 of file TaggingInterface.C.

122 {
123  _re_blocks.resize(_vector_tags.size());
124  mooseAssert(_vector_tags.size() >= 1, "we need at least one active tag");
125  auto vector_tag = _vector_tags.begin();
126  for (MooseIndex(_vector_tags) i = 0; i < _vector_tags.size(); i++, ++vector_tag)
127  _re_blocks[i] = &assembly.residualBlock(ivar, *vector_tag);
128 
129  _local_re.resize(_re_blocks[0]->size());
130 }

Referenced by DGKernel::computeElemNeighResidual(), ArrayDGKernel::computeElemNeighResidual(), Kernel::computeResidual(), ArrayKernel::computeResidual(), ODEKernel::computeResidual(), TimeKernel::computeResidual(), ODETimeKernel::computeResidual(), VectorTimeKernel::computeResidual(), VectorIntegratedBC::computeResidual(), IntegratedBC::computeResidual(), ArrayIntegratedBC::computeResidual(), NodalEqualValueConstraint::computeResidual(), MortarConstraint::computeResidual(), DiracKernel::computeResidual(), and ConservativeAdvection::fullUpwind().

◆ prepareVectorTagLower()

void TaggingInterface::prepareVectorTagLower ( Assembly assembly,
unsigned int  ivar 
)
inherited

Prepare data for computing the residual according to active tags for mortar constraints.

Residual blocks for different tags will be extracted from Assembly. A local residual will be zeroed. It should be called right before the local element vector is computed.

Definition at line 145 of file TaggingInterface.C.

146 {
147  _re_blocks.resize(_vector_tags.size());
148  mooseAssert(_vector_tags.size() >= 1, "we need at least one active tag");
149  auto vector_tag = _vector_tags.begin();
150  for (MooseIndex(_vector_tags) i = 0; i < _vector_tags.size(); i++, ++vector_tag)
151  _re_blocks[i] = &assembly.residualBlockLower(ivar, *vector_tag);
152 
153  _local_re.resize(_re_blocks[0]->size());
154 }

Referenced by MortarConstraint::computeResidual().

◆ prepareVectorTagNeighbor()

void TaggingInterface::prepareVectorTagNeighbor ( Assembly assembly,
unsigned int  ivar 
)
inherited

Prepare data for computing element residual the according to active tags for DG and interface kernels.

Residual blocks for different tags will be extracted from Assembly. A local residual will be zeroed. It should be called right before the local element vector is computed.

Definition at line 133 of file TaggingInterface.C.

134 {
135  _re_blocks.resize(_vector_tags.size());
136  mooseAssert(_vector_tags.size() >= 1, "we need at least one active tag");
137  auto vector_tag = _vector_tags.begin();
138  for (MooseIndex(_vector_tags) i = 0; i < _vector_tags.size(); i++, ++vector_tag)
139  _re_blocks[i] = &assembly.residualBlockNeighbor(ivar, *vector_tag);
140 
141  _local_re.resize(_re_blocks[0]->size());
142 }

Referenced by DGKernel::computeElemNeighResidual(), ArrayDGKernel::computeElemNeighResidual(), and MortarConstraint::computeResidual().

◆ registerRestartableDataOnApp()

RestartableDataValue & Restartable::registerRestartableDataOnApp ( const std::string &  name,
std::unique_ptr< RestartableDataValue data,
THREAD_ID  tid 
)
privateinherited

Helper function for actually registering the restartable data.

Definition at line 48 of file Restartable.C.

51 {
52  return _restartable_app.registerRestartableData(name, std::move(data), tid, false, false);
53 }

Referenced by Restartable::declareRestartableDataWithContext().

◆ registerRestartableNameWithFilterOnApp()

void Restartable::registerRestartableNameWithFilterOnApp ( const std::string &  name,
Moose::RESTARTABLE_FILTER  filter 
)
privateinherited

Helper function for actually registering the restartable data.

Definition at line 56 of file Restartable.C.

58 {
60 }

Referenced by Restartable::declareRecoverableData().

◆ residualSetup()

void SetupInterface::residualSetup ( )
virtualinherited

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

Reimplemented in NodeFaceConstraint.

Definition at line 59 of file SetupInterface.C.

60 {
61 }

◆ second()

const OutputTools< Real >::VariableSecond & MooseVariableInterface< Real >::second ( )
protectedvirtualinherited

The second derivative of the variable this object is operating on.

Returns
The reference to be stored off and used later.

Definition at line 267 of file MooseVariableInterface.C.

268 {
269  if (_nodal)
270  mooseError("second derivatives are not defined at nodes");
271 
272  return _variable->secondSln();
273 }

◆ secondOld()

const OutputTools< Real >::VariableSecond & MooseVariableInterface< Real >::secondOld ( )
protectedvirtualinherited

The old second derivative of the variable this object is operating on.

Returns
The reference to be stored off and used later.

Definition at line 277 of file MooseVariableInterface.C.

278 {
279  if (_nodal)
280  mooseError("second derivatives are not defined at nodes");
281 
282  return _variable->secondSlnOld();
283 }

◆ secondOlder()

const OutputTools< Real >::VariableSecond & MooseVariableInterface< Real >::secondOlder ( )
protectedvirtualinherited

The older second derivative of the variable this object is operating on.

Returns
The reference to be stored off and used later.

Definition at line 287 of file MooseVariableInterface.C.

288 {
289  if (_nodal)
290  mooseError("second derivatives are not defined at nodes");
291 
292  return _variable->secondSlnOlder();
293 }

◆ secondPhi()

const OutputTools< Real >::VariablePhiSecond & MooseVariableInterface< Real >::secondPhi ( )
protectedvirtualinherited

The second derivative of the trial function.

Returns
The reference to be stored off and used later.

Definition at line 317 of file MooseVariableInterface.C.

318 {
319  if (_nodal)
320  mooseError("second derivatives are not defined at nodes");
321 
323 }

◆ secondPhiFace()

const OutputTools< Real >::VariablePhiSecond & MooseVariableInterface< Real >::secondPhiFace ( )
protectedvirtualinherited

The second derivative of the trial function on the current face.

This should be called in e.g. IntegratedBC when you need second derivatives of the trial function function on the boundary.

Returns
The reference to be stored off and used later.

Definition at line 327 of file MooseVariableInterface.C.

328 {
329  if (_nodal)
330  mooseError("second derivatives are not defined at nodes");
331 
333 }

◆ secondTest()

const OutputTools< Real >::VariableTestSecond & MooseVariableInterface< Real >::secondTest ( )
protectedvirtualinherited

The second derivative of the test function.

Returns
The reference to be stored off and used later.

Definition at line 297 of file MooseVariableInterface.C.

298 {
299  if (_nodal)
300  mooseError("second derivatives are not defined at nodes");
301 
302  return _variable->secondPhi();
303 }

◆ secondTestFace()

const OutputTools< Real >::VariableTestSecond & MooseVariableInterface< Real >::secondTestFace ( )
protectedvirtualinherited

The second derivative of the test function on the current face.

This should be called in e.g. IntegratedBC when you need second derivatives of the test function function on the boundary.

Returns
The reference to be stored off and used later.

Definition at line 307 of file MooseVariableInterface.C.

308 {
309  if (_nodal)
310  mooseError("second derivatives are not defined at nodes");
311 
312  return _variable->secondPhiFace();
313 }

◆ setRandomDataPointer()

void RandomInterface::setRandomDataPointer ( RandomData random_data)
inherited

Definition at line 56 of file RandomInterface.C.

57 {
58  _random_data = random_data;
60 }

Referenced by FEProblemBase::registerRandomInterface().

◆ setRandomResetFrequency()

void RandomInterface::setRandomResetFrequency ( ExecFlagType  exec_flag)
inherited

This interface should be called from a derived class to enable random number generation in this object.

Definition at line 49 of file RandomInterface.C.

50 {
51  _reset_on = exec_flag;
53 }

◆ singlePostprocessor()

bool PostprocessorInterface::singlePostprocessor ( const std::string &  name) const
inherited

Checks if there is a single postprocessor coupled by parameter name.

Parameters
nameThe name of the Postprocessor parameter
Returns
Number of coupled post-processors, 1 if it's a single

Definition at line 154 of file PostprocessorInterface.C.

155 {
156  return _ppi_params.isSinglePostprocessor(name);
157 }

Referenced by PostprocessorInterface::coupledPostprocessors(), PostprocessorInterface::getPostprocessorValue(), PostprocessorInterface::getPostprocessorValueOld(), PostprocessorInterface::getPostprocessorValueOlder(), and PostprocessorInterface::hasPostprocessor().

◆ statefulPropertiesAllowed()

void MaterialPropertyInterface::statefulPropertiesAllowed ( bool  stateful_allowed)
inherited

Derived classes can declare whether or not they work with stateful material properties.

See, for example, DiracKernel. By default, they are allowed.

Definition at line 200 of file MaterialPropertyInterface.C.

201 {
202  _stateful_allowed = stateful_allowed;
203 }

Referenced by DiracKernel::DiracKernel().

◆ 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 Constraint, MaterialBase, Material, GeneralUserObject, NodalUserObject, and ThreadedGeneralUserObject.

Definition at line 64 of file SetupInterface.C.

65 {
66 }

◆ subProblem()

SubProblem& KernelBase::subProblem ( )
inlineinherited

Returns a reference to the SubProblem for which this Kernel is active.

Definition at line 109 of file KernelBase.h.

109 { return _subproblem; }

◆ timestepSetup()

void SetupInterface::timestepSetup ( )
virtualinherited

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

Reimplemented in SolutionUserObject, Console, VectorPostprocessorVisualizationAux, NumNonlinearIterations, EqualValueEmbeddedConstraint, VectorMemoryUsage, and MemoryUsage.

Definition at line 49 of file SetupInterface.C.

50 {
51 }

◆ type()

const std::string& MooseObject::type ( ) const
inlineinherited

Get the type of this object.

Returns
the name of the type of this object

Definition at line 63 of file MooseObject.h.

63 { return _type; }

Referenced by FEProblemBase::addArrayVariable(), FEProblemBase::addAuxArrayVariable(), DumpObjectsProblem::addAuxKernel(), DumpObjectsProblem::addAuxScalarKernel(), FEProblemBase::addAuxScalarVariable(), FEProblemBase::addAuxVariable(), DumpObjectsProblem::addBoundaryCondition(), DumpObjectsProblem::addConstraint(), DumpObjectsProblem::addDGKernel(), DumpObjectsProblem::addDiracKernel(), FEProblemBase::addDistribution(), DumpObjectsProblem::addFunction(), FEProblemBase::addFunction(), DumpObjectsProblem::addInitialCondition(), DumpObjectsProblem::addInterfaceKernel(), DumpObjectsProblem::addKernel(), DumpObjectsProblem::addMaterial(), DumpObjectsProblem::addNodalKernel(), FEProblemBase::addPredictor(), FEProblemBase::addSampler(), DumpObjectsProblem::addScalarKernel(), FEProblemBase::addScalarVariable(), PhysicsBasedPreconditioner::addSystem(), FEProblemBase::addTimeIntegrator(), FEProblemBase::addVariable(), FEProblemBase::advanceMultiApps(), FEProblemBase::backupMultiApps(), MooseMesh::buildRefinementAndCoarseningMaps(), FEProblemBase::computeAuxiliaryKernels(), DGKernel::computeElemNeighJacobian(), ArrayDGKernel::computeElemNeighJacobian(), ElemElemConstraint::computeElemNeighJacobian(), DGKernel::computeElemNeighResidual(), ElemElemConstraint::computeElemNeighResidual(), ArrayDGKernel::computeElemNeighResidual(), FEProblemBase::computeMultiAppsDT(), DGKernel::computeOffDiagElemNeighJacobian(), ArrayDGKernel::computeOffDiagElemNeighJacobian(), DGConvection::computeQpJacobian(), ArrayDGDiffusion::computeQpJacobian(), InterfaceReaction::computeQpJacobian(), TiedValueConstraint::computeQpJacobian(), CoupledTiedValueConstraint::computeQpJacobian(), DGDiffusion::computeQpJacobian(), LinearNodalConstraint::computeQpJacobian(), EqualValueBoundaryConstraint::computeQpJacobian(), EqualValueEmbeddedConstraint::computeQpJacobian(), CoupledTiedValueConstraint::computeQpOffDiagJacobian(), EqualValueEmbeddedConstraint::computeQpOffDiagJacobian(), ArrayDGKernel::computeQpOffDiagJacobian(), DGConvection::computeQpResidual(), ArrayDGDiffusion::computeQpResidual(), InterfaceReaction::computeQpResidual(), CoupledTiedValueConstraint::computeQpResidual(), TiedValueConstraint::computeQpResidual(), LinearNodalConstraint::computeQpResidual(), DGDiffusion::computeQpResidual(), EqualValueBoundaryConstraint::computeQpResidual(), EqualValueEmbeddedConstraint::computeQpResidual(), FEProblemBase::computeUserObjectByName(), FEProblemBase::computeUserObjects(), FEProblemBase::computeUserObjectsInternal(), DisplacedProblem::createQRules(), FEProblemBase::createQRules(), DumpObjectsProblem::deduceNecessaryParameters(), DumpObjectsProblem::dumpObjectHelper(), FEProblemBase::duplicateVariableCheck(), FEProblemBase::execMultiApps(), FEProblemBase::execMultiAppTransfers(), FEProblemBase::execTransfers(), FEProblemBase::finishMultiAppStep(), ElementSubdomainIDGenerator::generate(), ElementGenerator::getElemType(), FEProblemBase::getInterfaceMaterial(), FEProblemBase::getMaterial(), FEProblemBase::getMaterialData(), FEProblemBase::getTransfers(), FEProblemBase::hasMultiApps(), AdvancedOutput::hasOutput(), FEProblemBase::incrementMultiAppTStep(), AdvancedOutput::initAvailableLists(), AdvancedOutput::initShowHideLists(), RelationshipManager::isType(), AssignElementSubdomainID::modify(), ControlOutput::output(), Gnuplot::output(), CSV::output(), Exodus::output(), Console::output(), Nemesis::output(), AdvancedOutput::output(), OversampleOutput::outputStep(), Output::outputStep(), FEProblemBase::outputStep(), FEProblemBase::restoreMultiApps(), FEProblemBase::setCoupling(), PerfGraphOutput::shouldOutput(), FileOutput::shouldOutput(), Output::shouldOutput(), AdvancedOutput::shouldOutput(), DisplacedProblem::updateGeomSearch(), FEProblemBase::updateGeomSearch(), and AdvancedOutput::wantOutput().

◆ useMatrixTag() [1/2]

void TaggingInterface::useMatrixTag ( const TagName &  tag_name)
inherited

Definition at line 94 of file TaggingInterface.C.

95 {
96  if (!_subproblem.matrixTagExists(tag_name))
97  mooseError("Matrix tag ", tag_name, " does not exsit in system");
98 
99  _matrix_tags.insert(_subproblem.getMatrixTagID(tag_name));
100 }

◆ useMatrixTag() [2/2]

void TaggingInterface::useMatrixTag ( TagID  tag_id)
inherited

Definition at line 112 of file TaggingInterface.C.

113 {
114  if (!_subproblem.matrixTagExists(tag_id))
115  mooseError("Matrix tag ", tag_id, " does not exsit in system");
116 
117  _matrix_tags.insert(tag_id);
118 }

◆ useVectorTag() [1/2]

void TaggingInterface::useVectorTag ( const TagName &  tag_name)
inherited

Definition at line 85 of file TaggingInterface.C.

86 {
87  if (!_subproblem.vectorTagExists(tag_name))
88  mooseError("Vector tag ", tag_name, " does not exsit in system");
89 
90  _vector_tags.insert(_subproblem.getVectorTagID(tag_name));
91 }

◆ useVectorTag() [2/2]

void TaggingInterface::useVectorTag ( TagID  tag_id)
inherited

Definition at line 103 of file TaggingInterface.C.

104 {
105  if (!_subproblem.vectorTagExists(tag_id))
106  mooseError("Vector tag ", tag_id, " does not exsit in system");
107 
108  _vector_tags.insert(tag_id);
109 }

◆ validateExecutionerType() [1/2]

void ScalarCoupleable::validateExecutionerType ( const std::string &  name,
const std::string &  fn_name 
) const
protectedinherited

Checks to make sure that the current Executioner has set "_is_transient" when old/older values are coupled in.

Parameters
namethe name of the variable
fn_nameThe name of the function that called this method - used in the error message

Definition at line 327 of file ScalarCoupleable.C.

329 {
332  ": Calling '",
333  fn_name,
334  "' on variable \"",
335  name,
336  "\" when using a \"Steady\" executioner is not allowed. This value is available "
337  "only in transient simulations.");
338 }

Referenced by ScalarCoupleable::coupledScalarDot(), ScalarCoupleable::coupledScalarDotDot(), ScalarCoupleable::coupledScalarDotDotDu(), ScalarCoupleable::coupledScalarDotDotOld(), ScalarCoupleable::coupledScalarDotDu(), ScalarCoupleable::coupledScalarDotOld(), ScalarCoupleable::coupledScalarValueOld(), and ScalarCoupleable::coupledScalarValueOlder().

◆ validateExecutionerType() [2/2]

void Coupleable::validateExecutionerType ( const std::string &  name,
const std::string &  fn_name 
) const
protectedinherited

Checks to make sure that the current Executioner has set "_is_transient" when old/older values are coupled in.

Parameters
namethe name of the variable
fn_nameThe name of the function that called this method - used in the error message

Definition at line 1336 of file Coupleable.C.

1337 {
1338  if (!_c_fe_problem.isTransient())
1340  ": Calling \"",
1341  fn_name,
1342  "\" on variable \"",
1343  name,
1344  "\" when using a \"Steady\" executioner is not allowed. This value is available "
1345  "only in transient simulations.");
1346 }

Referenced by Coupleable::checkFuncType(), NeighborCoupleable::coupledArrayNeighborGradientOld(), NeighborCoupleable::coupledArrayNeighborGradientOlder(), NeighborCoupleable::coupledNeighborDofValuesOld(), NeighborCoupleable::coupledNeighborDofValuesOlder(), NeighborCoupleable::coupledNeighborGradientOld(), NeighborCoupleable::coupledNeighborGradientOlder(), NeighborCoupleable::coupledNeighborValueOld(), NeighborCoupleable::coupledNeighborValueOlder(), NeighborCoupleable::coupledVectorNeighborGradientOld(), and NeighborCoupleable::coupledVectorNeighborGradientOlder().

◆ validParams()

InputParameters KernelGrad::validParams ( )
static

Definition at line 18 of file KernelGrad.C.

19 {
20  return Kernel::validParams();
21 }

◆ value()

const OutputTools< Real >::VariableValue & MooseVariableInterface< Real >::value ( )
protectedvirtualinherited

The value of the variable this object is operating on.

This is computed by default and should already be available as _u

Returns
The reference to be stored off and used later.

Definition at line 77 of file MooseVariableInterface.C.

78 {
79  if (_nodal)
80  return _variable->dofValues();
81  else
82  return _variable->sln();
83 }

◆ valueOld()

const OutputTools< Real >::VariableValue & MooseVariableInterface< Real >::valueOld ( )
protectedvirtualinherited

The old value of the variable this object is operating on.

Returns
The reference to be stored off and used later.

Definition at line 97 of file MooseVariableInterface.C.

98 {
99  if (_nodal)
100  return _variable->dofValuesOld();
101  else
102  return _variable->slnOld();
103 }

◆ valueOlder()

const OutputTools< Real >::VariableValue & MooseVariableInterface< Real >::valueOlder ( )
protectedvirtualinherited

The older value of the variable this object is operating on.

Returns
The reference to be stored off and used later.

Definition at line 117 of file MooseVariableInterface.C.

118 {
119  if (_nodal)
120  return _variable->dofValuesOlder();
121  else
122  return _variable->slnOlder();
123 }

◆ variable()

virtual MooseVariable& Kernel::variable ( )
inlineoverridevirtualinherited

Returns the variable that this Kernel operates on.

Implements KernelBase.

Definition at line 47 of file Kernel.h.

47 { return _var; }

◆ writableCoupledValue()

VariableValue & Coupleable::writableCoupledValue ( const std::string &  var_name,
unsigned int  comp = 0 
)
protectedvirtualinherited

Returns a writable reference to a coupled variable.

Note: you should not have to use this very often (use coupledValue() instead) but there are situations, such as writing to multiple AuxVariables from a single AuxKernel, where it is required.

Parameters
var_nameName of coupled variable
compComponent number for vector of coupled variables
Returns
Reference to a VariableValue for the coupled variable
See also
Kernel::value

Definition at line 477 of file Coupleable.C.

478 {
479  return const_cast<VariableValue &>(coupledValue(var_name, comp));
480 }

Member Data Documentation

◆ _ad_default_gradient

MooseArray<DualRealVectorValue> Coupleable::_ad_default_gradient
protectedinherited

This will always be zero because the default values for optionally coupled variables is always constant.

Definition at line 910 of file Coupleable.h.

Referenced by Coupleable::Coupleable(), and Coupleable::getADDefaultGradient().

◆ _ad_default_second

MooseArray<DualRealTensorValue> Coupleable::_ad_default_second
protectedinherited

This will always be zero because the default values for optionally coupled variables is always constant.

Definition at line 919 of file Coupleable.h.

Referenced by Coupleable::Coupleable(), and Coupleable::getADDefaultSecond().

◆ _ad_default_value

std::unordered_map<std::string, std::unique_ptr<MooseArray<DualReal> > > Coupleable::_ad_default_value
protectedinherited

Will hold the default value for optional coupled variables for automatic differentiation.

Definition at line 888 of file Coupleable.h.

Referenced by Coupleable::getADDefaultValue().

◆ _ad_default_vector_gradient

MooseArray<DualRealTensorValue> Coupleable::_ad_default_vector_gradient
protectedinherited

This will always be zero because the default values for optionally coupled vector variables is always constant.

Definition at line 913 of file Coupleable.h.

Referenced by Coupleable::Coupleable(), and Coupleable::getADDefaultVectorGradient().

◆ _ad_default_vector_value

std::unordered_map<std::string, std::unique_ptr<MooseArray<DualRealVectorValue> > > Coupleable::_ad_default_vector_value
protectedinherited

Will hold the default value for optional vector coupled variables for automatic differentiation.

Definition at line 898 of file Coupleable.h.

Referenced by Coupleable::getADDefaultVectorValue().

◆ _ad_grad_zero

const MooseArray<DualRealVectorValue>& Coupleable::_ad_grad_zero
protectedinherited

Definition at line 927 of file Coupleable.h.

Referenced by Coupleable::adZeroGradientTemplate().

◆ _ad_second_zero

const MooseArray<DualRealTensorValue>& Coupleable::_ad_second_zero
protectedinherited

Definition at line 931 of file Coupleable.h.

Referenced by Coupleable::adZeroSecondTemplate().

◆ _ad_zero

const MooseArray<DualReal>& Coupleable::_ad_zero
protectedinherited

Definition at line 923 of file Coupleable.h.

Referenced by Coupleable::adZeroValueTemplate().

◆ _app

MooseApp& MooseObject::_app
protectedinherited

The MooseApp this object is associated with.

Definition at line 172 of file MooseObject.h.

Referenced by GridPartitioner::_do_partition(), AB2PredictorCorrector::AB2PredictorCorrector(), Executioner::addAttributeReporter(), FEProblemBase::addMaterialHelper(), FEProblemBase::addMultiApp(), FEProblemBase::addOutput(), FEProblemBase::allowOutput(), AStableDirk4::AStableDirk4(), FileMesh::buildMesh(), MeshGeneratorMesh::buildMesh(), MooseMesh::buildMeshBaseObject(), FEProblemBase::checkNonlinearConvergence(), OversampleOutput::cloneMesh(), FEProblemBase::computeJacobianTags(), FEProblemBase::computeResidualTags(), Console::Console(), TimeStepper::constrainStep(), MultiApp::createApp(), MeshGenerator::declareMeshProperty(), DumpObjectsProblem::dumpObjectHelper(), DumpObjectsProblem::dumpVariableHelper(), EigenExecutionerBase::EigenExecutionerBase(), EigenKernel::EigenKernel(), NonlinearEigen::execute(), InversePowerMethod::execute(), Transient::execute(), Steady::execute(), FileOutput::FileOutput(), FEProblemBase::forceOutput(), MeshGenerator::getMesh(), MeshGenerator::getMeshByName(), MooseObject::getMooseApp(), NumRelationshipManagers::getValue(), GhostingUserObject::GhostingUserObject(), NonlinearEigen::init(), InversePowerMethod::init(), Transient::init(), Steady::init(), MooseMesh::init(), NumPicardIterations::initialize(), TimePeriod::initialSetup(), Console::initialSetup(), MultiApp::initialSetup(), FEProblemBase::initialSetup(), AdvancedOutput::initOutputList(), FEProblemBase::initPetscOutput(), AdvancedOutput::initPostprocessorOrVectorPostprocessorLists(), ElementSideNeighborLayers::internalInit(), MeshGeneratorMesh::MeshGeneratorMesh(), MooseObject::mooseError(), EigenExecutionerBase::normalizeSolution(), AugmentSparsityOnInterface::operator()(), PerfGraphOutput::output(), Tecplot::output(), Exodus::output(), Nemesis::output(), ControlOutput::outputActiveObjects(), ControlOutput::outputChangedControls(), ControlOutput::outputControls(), Exodus::outputEmptyTimestep(), Console::outputInput(), Exodus::outputInput(), Exodus::outputNodalVariables(), OversampleOutput::outputStep(), Output::outputStep(), FEProblemBase::outputStep(), Console::outputSystemInformation(), MultiApp::parentOutputPositionChanged(), PerformanceData::PerformanceData(), PetscOutput::petscLinearOutput(), PetscOutput::petscNonlinearOutput(), Eigenvalue::postSolve(), Transient::preExecute(), FEProblemBase::projectSolution(), FEProblemBase::setRestartFile(), TransientMultiApp::setupApp(), TimeSequenceStepperBase::setupSequence(), Transient::setupTimeIntegrator(), TransientMultiApp::solveStep(), FEProblemBase::subdomainSetup(), FEProblemBase::theWarehouse(), TimeExtremeValue::TimeExtremeValue(), TimePeriod::TimePeriod(), FEProblemBase::timestepSetup(), Transient::Transient(), and Console::write().

◆ _assembly

Assembly& KernelBase::_assembly
protectedinherited

◆ _blk_dual_restrictable

const bool BlockRestrictable::_blk_dual_restrictable
privateinherited

Flag for allowing dual restriction.

Definition at line 233 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

std::shared_ptr<MaterialData> BlockRestrictable::_blk_material_data
protectedinherited

Pointer to the MaterialData class for this object.

Definition at line 205 of file BlockRestrictable.h.

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

◆ _blk_mesh

MooseMesh* BlockRestrictable::_blk_mesh
privateinherited

◆ _blk_name

const std::string& BlockRestrictable::_blk_name
privateinherited

Name of the object.

Definition at line 251 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 248 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 230 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 245 of file BlockRestrictable.h.

Referenced by BlockRestrictable::initializeBlockRestrictable().

◆ _broadcast_by_default

bool VectorPostprocessorInterface::_broadcast_by_default
privateinherited

◆ _c_coupled_scalar_vars

std::unordered_map<std::string, std::vector<MooseVariableScalar *> > Coupleable::_c_coupled_scalar_vars
privateinherited

Scalar variables coupled into this object (for error checking)

Definition at line 1122 of file Coupleable.h.

Referenced by Coupleable::checkVar(), and Coupleable::Coupleable().

◆ _c_fe_problem

FEProblemBase& Coupleable::_c_fe_problem
protectedinherited

◆ _c_is_implicit

bool Coupleable::_c_is_implicit
protectedinherited

True if implicit value is required.

Definition at line 879 of file Coupleable.h.

Referenced by Coupleable::adCoupledGradientTemplate(), Coupleable::adCoupledNodalValueTemplate(), Coupleable::adCoupledSecondTemplate(), Coupleable::adCoupledValueTemplate(), Coupleable::adCoupledVectorGradientTemplate(), Coupleable::adCoupledVectorValueTemplate(), Coupleable::checkFuncType(), Coupleable::coupledArrayGradient(), Coupleable::coupledArrayGradientOld(), NeighborCoupleable::coupledArrayNeighborGradient(), NeighborCoupleable::coupledArrayNeighborGradientOld(), NeighborCoupleable::coupledArrayNeighborGradientOlder(), NeighborCoupleable::coupledArrayNeighborValue(), Coupleable::coupledArrayValue(), Coupleable::coupledArrayValueOld(), Coupleable::coupledCurl(), Coupleable::coupledCurlOld(), Coupleable::coupledDofValues(), Coupleable::coupledDofValuesOld(), Coupleable::coupledGradient(), Coupleable::coupledGradientOld(), NeighborCoupleable::coupledNeighborDofValues(), NeighborCoupleable::coupledNeighborDofValuesOld(), NeighborCoupleable::coupledNeighborDofValuesOlder(), NeighborCoupleable::coupledNeighborGradient(), NeighborCoupleable::coupledNeighborGradientOld(), NeighborCoupleable::coupledNeighborGradientOlder(), NeighborCoupleable::coupledNeighborSecond(), NeighborCoupleable::coupledNeighborValue(), NeighborCoupleable::coupledNeighborValueOld(), NeighborCoupleable::coupledNeighborValueOlder(), Coupleable::coupledNodalValue(), Coupleable::coupledNodalValueOld(), Coupleable::coupledSecond(), Coupleable::coupledSecondOld(), Coupleable::coupledValue(), Coupleable::coupledValueOld(), Coupleable::coupledVectorGradient(), Coupleable::coupledVectorGradientOld(), NeighborCoupleable::coupledVectorNeighborGradient(), NeighborCoupleable::coupledVectorNeighborGradientOld(), NeighborCoupleable::coupledVectorNeighborGradientOlder(), Coupleable::coupledVectorValue(), and Coupleable::coupledVectorValueOld().

◆ _c_name

const std::string& Coupleable::_c_name
protectedinherited

◆ _c_nodal

bool Coupleable::_c_nodal
protectedinherited

◆ _c_parameters

const InputParameters& Coupleable::_c_parameters
protectedinherited

◆ _c_tid

THREAD_ID Coupleable::_c_tid
protectedinherited

Thread ID of the thread using this object.

Definition at line 882 of file Coupleable.h.

Referenced by Coupleable::Coupleable().

◆ _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(), Adaptivity::adaptMesh(), FEProblemBase::adaptMesh(), SimplePredictor::apply(), MultiApp::backup(), FEProblemBase::backupMultiApps(), ReferenceResidualProblem::checkNonlinearConvergence(), FEProblemBase::checkProblemIntegrity(), CoarsenedPiecewiseLinear::CoarsenedPiecewiseLinear(), IterationAdaptiveDT::computeAdaptiveDT(), Transient::computeConstrainedDT(), NonlinearSystemBase::computeDamping(), IterationAdaptiveDT::computeDT(), IterationAdaptiveDT::computeFailedDT(), IterationAdaptiveDT::computeInterpolationDT(), FEProblemBase::computeResidualTags(), NonlinearSystem::computeScaling(), IterationAdaptiveDT::constrainStep(), TimeStepper::constrainStep(), MultiApp::createApp(), FEProblemBase::execMultiApps(), FEProblemBase::execMultiAppTransfers(), MultiAppPostprocessorTransfer::execute(), MultiAppPostprocessorInterpolationTransfer::execute(), MultiAppVariableValueSamplePostprocessorTransfer::execute(), MultiAppVectorPostprocessorTransfer::execute(), MultiAppMeshFunctionTransfer::execute(), MultiAppCopyTransfer::execute(), MultiAppInterpolationTransfer::execute(), MultiAppUserObjectTransfer::execute(), MultiAppPostprocessorToAuxScalarTransfer::execute(), MultiAppVariableValueSampleTransfer::execute(), MultiAppScalarToAuxScalarTransfer::execute(), MultiAppNearestNodeTransfer::execute(), MultiAppProjectionTransfer::execute(), Steady::execute(), ActionWarehouse::executeActionsWithAction(), ActionWarehouse::executeAllActions(), ElementQualityChecker::finalize(), FEProblemBase::finishMultiAppStep(), MultiApp::globalAppToLocal(), InversePowerMethod::init(), NonlinearEigen::init(), Steady::init(), FEProblemBase::initialAdaptMesh(), FEProblemBase::initialSetup(), EigenExecutionerBase::inversePowerIteration(), Transient::keepGoing(), IterationAdaptiveDT::limitDTByFunction(), IterationAdaptiveDT::limitDTToPostprocessorValue(), EigenExecutionerBase::makeBXConsistent(), Console::meshChanged(), MooseObject::mooseDeprecated(), MooseObject::mooseInfo(), MooseObject::mooseWarning(), PerfGraphOutput::output(), DOFMapOutput::output(), VariableResidualNormsDebugOutput::output(), Console::output(), ControlOutput::outputActiveObjects(), ControlOutput::outputChangedControls(), ControlOutput::outputControls(), Console::outputInput(), Console::outputPostprocessors(), Console::outputScalarVariables(), Console::outputSystemInformation(), FEProblemBase::possiblyRebuildGeomSearchPatches(), MultiAppConservativeTransfer::postExecute(), EigenExecutionerBase::postExecute(), AB2PredictorCorrector::postSolve(), ActionWarehouse::printActionDependencySets(), EigenExecutionerBase::printEigenvalue(), MaterialPropertyDebugOutput::printMaterialMap(), AutomaticMortarGeneration::projectMasterNodesSinglePair(), AutomaticMortarGeneration::projectSlaveNodesSinglePair(), SolutionTimeAdaptiveDT::rejectStep(), DT2::rejectStep(), MultiApp::restore(), FEProblemBase::restoreMultiApps(), SimplePredictor::shouldApply(), PicardSolve::solve(), NonlinearSystem::solve(), LStableDirk2::solve(), LStableDirk3::solve(), ImplicitMidpoint::solve(), ExplicitTVDRK2::solve(), AStableDirk4::solve(), LStableDirk4::solve(), ExplicitRK2::solve(), TransientMultiApp::solveStep(), PicardSolve::solveStep(), DT2::step(), AB2PredictorCorrector::step(), NonlinearEigen::takeStep(), Transient::takeStep(), Console::writeTimestepInformation(), Console::writeVariableNorms(), and FEProblemBase::~FEProblemBase().

◆ _coord

const MooseArray<Real>& KernelBase::_coord
protectedinherited

◆ _coupleable_max_qps

unsigned int Coupleable::_coupleable_max_qps
privateinherited

◆ _coupleable_neighbor

bool Coupleable::_coupleable_neighbor
protectedinherited

Whether or not this object is a "neighbor" object: ie all of it's coupled values should be neighbor values.

Definition at line 1036 of file Coupleable.h.

Referenced by Coupleable::adCoupledDotTemplate(), Coupleable::adCoupledGradientTemplate(), Coupleable::adCoupledNodalValueTemplate(), Coupleable::adCoupledSecondTemplate(), Coupleable::adCoupledValueTemplate(), Coupleable::adCoupledVectorDotTemplate(), Coupleable::adCoupledVectorGradientTemplate(), Coupleable::adCoupledVectorValueTemplate(), Coupleable::coupledArrayDot(), Coupleable::coupledArrayDotDot(), Coupleable::coupledArrayDotDotOld(), Coupleable::coupledArrayDotOld(), Coupleable::coupledArrayGradient(), Coupleable::coupledArrayGradientOld(), Coupleable::coupledArrayGradientOlder(), Coupleable::coupledArrayValue(), Coupleable::coupledArrayValueOld(), Coupleable::coupledArrayValueOlder(), Coupleable::coupledCurl(), Coupleable::coupledCurlOld(), Coupleable::coupledCurlOlder(), Coupleable::coupledDofValues(), Coupleable::coupledDofValuesOld(), Coupleable::coupledDofValuesOlder(), Coupleable::coupledDot(), Coupleable::coupledDotDot(), Coupleable::coupledDotDotDu(), Coupleable::coupledDotDotOld(), Coupleable::coupledDotDu(), Coupleable::coupledDotOld(), Coupleable::coupledGradient(), Coupleable::coupledGradientDot(), Coupleable::coupledGradientDotDot(), Coupleable::coupledGradientOld(), Coupleable::coupledGradientOlder(), Coupleable::coupledGradientPreviousNL(), Coupleable::coupledNodalDot(), Coupleable::coupledNodalDotDot(), Coupleable::coupledNodalDotDotOld(), Coupleable::coupledNodalDotOld(), Coupleable::coupledNodalValue(), Coupleable::coupledNodalValueOld(), Coupleable::coupledNodalValueOlder(), Coupleable::coupledNodalValuePreviousNL(), Coupleable::coupledSecond(), Coupleable::coupledSecondOld(), Coupleable::coupledSecondOlder(), Coupleable::coupledSecondPreviousNL(), Coupleable::coupledValue(), Coupleable::coupledValueOld(), Coupleable::coupledValueOlder(), Coupleable::coupledValuePreviousNL(), Coupleable::coupledVectorDot(), Coupleable::coupledVectorDotDot(), Coupleable::coupledVectorDotDotDu(), Coupleable::coupledVectorDotDotOld(), Coupleable::coupledVectorDotDu(), Coupleable::coupledVectorDotOld(), Coupleable::coupledVectorGradient(), Coupleable::coupledVectorGradientOld(), Coupleable::coupledVectorGradientOlder(), Coupleable::coupledVectorValue(), Coupleable::coupledVectorValueOld(), and Coupleable::coupledVectorValueOlder().

◆ _coupleable_params

const InputParameters& ScalarCoupleable::_coupleable_params
protectedinherited

◆ _coupled_array_moose_vars

std::vector<ArrayMooseVariable *> Coupleable::_coupled_array_moose_vars
protectedinherited

Vector of array coupled variables.

Definition at line 873 of file Coupleable.h.

Referenced by Coupleable::Coupleable(), Coupleable::getCoupledArratMooseVars(), and Coupleable::getVarHelper().

◆ _coupled_moose_scalar_vars

std::vector<MooseVariableScalar *> ScalarCoupleable::_coupled_moose_scalar_vars
protectedinherited

Vector of coupled variables.

Definition at line 214 of file ScalarCoupleable.h.

Referenced by ScalarCoupleable::getCoupledMooseScalarVars(), and ScalarCoupleable::ScalarCoupleable().

◆ _coupled_moose_vars

std::vector<MooseVariableFEBase *> Coupleable::_coupled_moose_vars
protectedinherited

◆ _coupled_scalar_vars

std::unordered_map<std::string, std::vector<MooseVariableScalar *> > ScalarCoupleable::_coupled_scalar_vars
protectedinherited

◆ _coupled_standard_moose_vars

std::vector<MooseVariable *> Coupleable::_coupled_standard_moose_vars
protectedinherited

◆ _coupled_vars

std::unordered_map<std::string, std::vector<MooseVariableFEBase *> > Coupleable::_coupled_vars
protectedinherited

◆ _coupled_vector_moose_vars

std::vector<VectorMooseVariable *> Coupleable::_coupled_vector_moose_vars
protectedinherited

Vector of vector coupled variables.

Definition at line 870 of file Coupleable.h.

Referenced by Coupleable::Coupleable(), Coupleable::getCoupledVectorMooseVars(), and Coupleable::getVarHelper().

◆ _curr_element

const Elem* const & RandomInterface::_curr_element
privateinherited

◆ _curr_node

const Node* const & RandomInterface::_curr_node
privateinherited

◆ _current_elem

const Elem* const & KernelBase::_current_elem
protectedinherited

Definition at line 138 of file KernelBase.h.

◆ _current_elem_volume

const Real& KernelBase::_current_elem_volume
protectedinherited

Volume of the current element.

Definition at line 141 of file KernelBase.h.

◆ _current_execute_flag

const ExecFlagType& SetupInterface::_current_execute_flag
protectedinherited

Reference to FEProblemBase.

Definition at line 99 of file SetupInterface.h.

◆ _default_ad_real_properties

std::vector<std::unique_ptr<ADMaterialPropertyObject<Real> > > MaterialPropertyInterface::_default_ad_real_properties
protectedinherited

Storage vector for ADMaterialPropertyObject<Real> default objects.

Definition at line 263 of file MaterialPropertyInterface.h.

Referenced by MaterialPropertyInterface::defaultADMaterialProperty().

◆ _default_ad_real_vector_properties

std::vector<std::unique_ptr<ADMaterialPropertyObject<RealVectorValue> > > MaterialPropertyInterface::_default_ad_real_vector_properties
protectedinherited

Storage vector for ADMaterialPropertyObject<RealVectorValue> default objects.

Definition at line 266 of file MaterialPropertyInterface.h.

Referenced by MaterialPropertyInterface::defaultADMaterialProperty().

◆ _default_array_curl

ArrayVariableCurl Coupleable::_default_array_curl
protectedinherited

This will always be zero because the default values for optionally coupled variables is always constant.

Definition at line 961 of file Coupleable.h.

◆ _default_array_gradient

ArrayVariableGradient Coupleable::_default_array_gradient
protectedinherited

This will always be zero because the default values for optionally coupled variables is always constant.

Definition at line 958 of file Coupleable.h.

Referenced by Coupleable::coupledArrayGradient(), Coupleable::coupledArrayGradientOld(), and Coupleable::coupledArrayGradientOlder().

◆ _default_array_value

std::map<std::string, ArrayVariableValue *> Coupleable::_default_array_value
protectedinherited

Will hold the default value for optional array coupled variables.

Definition at line 894 of file Coupleable.h.

Referenced by Coupleable::getDefaultArrayValue().

◆ _default_array_value_zero

ArrayVariableValue Coupleable::_default_array_value_zero
protectedinherited

This will always be zero because the default values for optionally coupled variables is always constant and this is used for time derivative info.

Definition at line 955 of file Coupleable.h.

Referenced by Coupleable::coupledArrayDot(), Coupleable::coupledArrayDotDot(), Coupleable::coupledArrayDotDotOld(), and Coupleable::coupledArrayDotOld().

◆ _default_gradient

VariableGradient Coupleable::_default_gradient
protectedinherited

◆ _default_real_properties

std::vector<std::unique_ptr<MaterialProperty<Real> > > MaterialPropertyInterface::_default_real_properties
protectedinherited

Storage vector for MaterialProperty<Real> default objects.

Definition at line 261 of file MaterialPropertyInterface.h.

Referenced by MaterialPropertyInterface::defaultMaterialProperty().

◆ _default_second

VariableSecond Coupleable::_default_second
protectedinherited

This will always be zero because the default values for optionally coupled variables is always constant.

Definition at line 916 of file Coupleable.h.

Referenced by Coupleable::Coupleable(), Coupleable::coupledSecond(), Coupleable::coupledSecondOld(), Coupleable::coupledSecondOlder(), Coupleable::coupledSecondPreviousNL(), and Coupleable::getADDefaultSecond().

◆ _default_value [1/2]

std::unordered_map<std::string, std::unique_ptr<VariableValue> > ScalarCoupleable::_default_value
protectedinherited

Will hold the default value for optional coupled scalar variables.

Definition at line 208 of file ScalarCoupleable.h.

Referenced by ScalarCoupleable::getDefaultValue().

◆ _default_value [2/2]

std::unordered_map<std::string, std::vector<std::unique_ptr<VariableValue> > > Coupleable::_default_value
protectedinherited

Will hold the default value for optional coupled variables.

Definition at line 885 of file Coupleable.h.

Referenced by Coupleable::getDefaultValue().

◆ _default_value_zero

VariableValue Coupleable::_default_value_zero
protectedinherited

◆ _default_vector_curl

VectorVariableCurl Coupleable::_default_vector_curl
protectedinherited

This will always be zero because the default values for optionally coupled variables is always constant.

Definition at line 949 of file Coupleable.h.

Referenced by Coupleable::Coupleable(), Coupleable::coupledCurl(), Coupleable::coupledCurlOld(), and Coupleable::coupledCurlOlder().

◆ _default_vector_gradient

VectorVariableGradient Coupleable::_default_vector_gradient
protectedinherited

This will always be zero because the default values for optionally coupled variables is always constant.

Definition at line 946 of file Coupleable.h.

Referenced by Coupleable::Coupleable(), Coupleable::coupledVectorGradient(), Coupleable::coupledVectorGradientOld(), Coupleable::coupledVectorGradientOlder(), and Coupleable::getADDefaultVectorGradient().

◆ _default_vector_value

std::unordered_map<std::string, std::unique_ptr<VectorVariableValue> > Coupleable::_default_vector_value
protectedinherited

Will hold the default value for optional vector coupled variables.

Definition at line 891 of file Coupleable.h.

Referenced by Coupleable::getDefaultVectorValue().

◆ _default_vector_value_zero

VectorVariableValue Coupleable::_default_vector_value_zero
protectedinherited

This will always be zero because the default values for optionally coupled variables is always constant and this is used for time derivative info.

Definition at line 943 of file Coupleable.h.

Referenced by Coupleable::Coupleable(), Coupleable::coupledVectorDot(), Coupleable::coupledVectorDotDot(), Coupleable::coupledVectorDotDotOld(), and Coupleable::coupledVectorDotOld().

◆ _diag_save_in

std::vector<MooseVariableFEBase *> KernelBase::_diag_save_in
protectedinherited

◆ _diag_save_in_strings

std::vector<AuxVariableName> KernelBase::_diag_save_in_strings
protectedinherited

◆ _displacements

std::vector<unsigned int> KernelBase::_displacements
protectedinherited

◆ _dt

Real& TransientInterface::_dt
protectedinherited

Time step size.

Definition at line 64 of file TransientInterface.h.

Referenced by TotalVariableValue::execute(), and VariableTimeIntegrationAux::getIntegralValue().

◆ _dt_old

Real& TransientInterface::_dt_old
protectedinherited

Size of the old time step.

Definition at line 67 of file TransientInterface.h.

Referenced by VariableTimeIntegrationAux::getIntegralValue().

◆ _dual_default_value

std::unordered_map<std::string, std::unique_ptr<DualVariableValue> > ScalarCoupleable::_dual_default_value
protectedinherited

Will hold the default AD value for optional coupled scalar variables.

Definition at line 211 of file ScalarCoupleable.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 242 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 89 of file SetupInterface.h.

Referenced by SetupInterface::SetupInterface().

◆ _enabled

const bool& MooseObject::_enabled
protectedinherited

Reference to the "enable" InputParaemters, used by Controls for toggling on/off MooseObjects.

Definition at line 181 of file MooseObject.h.

Referenced by MooseObject::enabled().

◆ _exec_flags

const std::vector<ExecFlagType> SetupInterface::_exec_flags
protectedinherited

(DEPRECATED) execution flag (when is the object executed/evaluated) TODO: ExecFlagType

Definition at line 96 of file SetupInterface.h.

Referenced by SetupInterface::execBitFlags(), MultiAppTransfer::execFlags(), and SetupInterface::execFlags().

◆ _execute_enum

const ExecFlagEnum& SetupInterface::_execute_enum
protectedinherited

Execute settings for this oejct.

Definition at line 93 of file SetupInterface.h.

Referenced by ChangeOverTimePostprocessor::ChangeOverTimePostprocessor(), and SetupInterface::getExecuteOnEnum().

◆ _fe_coupleable_matrix_tags

std::set<TagID> Coupleable::_fe_coupleable_matrix_tags
privateinherited

◆ _fe_coupleable_vector_tags

std::set<TagID> Coupleable::_fe_coupleable_vector_tags
privateinherited

◆ _fe_problem

FEProblemBase& KernelBase::_fe_problem
protectedinherited

Reference to this kernel's FEProblemBase.

Definition at line 124 of file KernelBase.h.

Referenced by ADKernelTempl< T, compute_stage >::ADKernelTempl(), ArrayKernel::ArrayKernel(), and Kernel::Kernel().

◆ _fni_feproblem

FEProblemBase& FunctionInterface::_fni_feproblem
privateinherited

Reference to FEProblemBase instance.

Definition at line 70 of file FunctionInterface.h.

Referenced by FunctionInterface::getFunction(), and FunctionInterface::getFunctionByName().

◆ _fni_params

const InputParameters& FunctionInterface::_fni_params
privateinherited

Parameters of the object with this interface.

Definition at line 67 of file FunctionInterface.h.

Referenced by FunctionInterface::getFunction().

◆ _fni_tid

const THREAD_ID FunctionInterface::_fni_tid
privateinherited

Thread ID.

Definition at line 73 of file FunctionInterface.h.

Referenced by FunctionInterface::getFunction(), and FunctionInterface::getFunctionByName().

◆ _generator

MooseRandom* RandomInterface::_generator
mutableprivateinherited

◆ _geometric_search_data

GeometricSearchData& GeometricSearchInterface::_geometric_search_data
protectedinherited

◆ _get_material_property_called

bool MaterialPropertyInterface::_get_material_property_called
protectedinherited

Initialized to false.

Gets set to true when getMaterialProperty() is called. Clients of this class can inquire whether getMaterialProperty() has been called by calling getMaterialPropertyCalled().

Definition at line 258 of file MaterialPropertyInterface.h.

Referenced by MaterialPropertyInterface::getADMaterialPropertyByNameTempl(), MaterialPropertyInterface::getMaterialPropertyByNameTempl(), MaterialPropertyInterface::getMaterialPropertyCalled(), and TwoMaterialPropertyInterface::getNeighborMaterialPropertyByNameTempl().

◆ _grad_phi

const VariablePhiGradient& Kernel::_grad_phi
protectedinherited

gradient of the shape function

Definition at line 87 of file Kernel.h.

Referenced by Diffusion::computeQpJacobian(), and AnisotropicDiffusion::computeQpJacobian().

◆ _grad_test

const VariableTestGradient& Kernel::_grad_test
protectedinherited

◆ _grad_u

const VariableGradient& Kernel::_grad_u
protectedinherited

Holds the solution gradient at the current quadrature points.

Definition at line 93 of file Kernel.h.

Referenced by Diffusion::computeQpResidual(), and AnisotropicDiffusion::computeQpResidual().

◆ _grad_zero

const VariableGradient& Coupleable::_grad_zero
protectedinherited

Zero gradient of a variable.

Definition at line 926 of file Coupleable.h.

Referenced by Coupleable::adZeroGradientTemplate().

◆ _has_diag_save_in

bool KernelBase::_has_diag_save_in
protectedinherited

◆ _has_save_in

bool KernelBase::_has_save_in
protectedinherited

◆ _i

unsigned int KernelBase::_i
protectedinherited

current index for the test function

Definition at line 159 of file KernelBase.h.

Referenced by MassLumpedTimeDerivative::computeJacobian(), VectorTimeDerivative::computeJacobian(), TimeDerivative::computeJacobian(), Kernel::computeJacobian(), VectorKernel::computeJacobian(), ArrayKernel::computeJacobian(), EigenKernel::computeJacobian(), NonlocalKernel::computeJacobian(), KernelValue::computeJacobian(), computeJacobian(), NonlocalKernel::computeNonlocalJacobian(), NonlocalKernel::computeNonlocalOffDiagJacobian(), VectorKernel::computeOffDiagJacobian(), Kernel::computeOffDiagJacobian(), EigenKernel::computeOffDiagJacobian(), ArrayKernel::computeOffDiagJacobian(), NonlocalKernel::computeOffDiagJacobian(), computeOffDiagJacobian(), KernelValue::computeOffDiagJacobian(), VectorKernel::computeOffDiagJacobianScalar(), ArrayKernel::computeOffDiagJacobianScalar(), Kernel::computeOffDiagJacobianScalar(), ArrayReaction::computeQpJacobian(), ArrayDiffusion::computeQpJacobian(), MassEigenKernel::computeQpJacobian(), ArrayTimeDerivative::computeQpJacobian(), Reaction::computeQpJacobian(), VectorTimeDerivative::computeQpJacobian(), MassLumpedTimeDerivative::computeQpJacobian(), MaterialDerivativeTestKernel::computeQpJacobian(), TimeDerivative::computeQpJacobian(), MaterialDerivativeRankFourTestKernel::computeQpJacobian(), MaterialDerivativeRankTwoTestKernel::computeQpJacobian(), VectorDiffusion::computeQpJacobian(), Diffusion::computeQpJacobian(), AnisotropicDiffusion::computeQpJacobian(), ArrayDiffusion::computeQpOffDiagJacobian(), ArrayReaction::computeQpOffDiagJacobian(), ArrayTimeDerivative::computeQpOffDiagJacobian(), VectorCoupledTimeDerivative::computeQpOffDiagJacobian(), MaterialDerivativeTestKernel::computeQpOffDiagJacobian(), MaterialDerivativeRankTwoTestKernel::computeQpOffDiagJacobian(), CoupledTimeDerivative::computeQpOffDiagJacobian(), MaterialDerivativeRankFourTestKernel::computeQpOffDiagJacobian(), CoupledForce::computeQpOffDiagJacobian(), ArrayReaction::computeQpResidual(), ArrayDiffusion::computeQpResidual(), Reaction::computeQpResidual(), MassEigenKernel::computeQpResidual(), ArrayTimeDerivative::computeQpResidual(), MassLumpedTimeDerivative::computeQpResidual(), MaterialDerivativeTestKernel::computeQpResidual(), TimeDerivative::computeQpResidual(), VectorTimeDerivative::computeQpResidual(), VectorCoupledTimeDerivative::computeQpResidual(), VectorDiffusion::computeQpResidual(), CoupledTimeDerivative::computeQpResidual(), CoupledForce::computeQpResidual(), MaterialDerivativeRankFourTestKernel::computeQpResidual(), MaterialDerivativeRankTwoTestKernel::computeQpResidual(), Diffusion::computeQpResidual(), AnisotropicDiffusion::computeQpResidual(), VectorBodyForce::computeQpResidual(), BodyForce::computeQpResidual(), VectorKernel::computeResidual(), Kernel::computeResidual(), ArrayKernel::computeResidual(), TimeKernel::computeResidual(), VectorTimeKernel::computeResidual(), EigenKernel::computeResidual(), KernelValue::computeResidual(), computeResidual(), ConservativeAdvection::fullUpwind(), and ConservativeAdvection::negSpeedQp().

◆ _is_implicit

bool TransientInterface::_is_implicit
protectedinherited

If the object is using implicit or explicit form.

This does NOT mean time scheme, but which values are going to be used in the object - either from current time or old time. Note that even explicit schemes have implicit form (it is the time derivative "kernel")

Definition at line 55 of file TransientInterface.h.

Referenced by EigenKernel::computeJacobian(), EigenKernel::computeOffDiagJacobian(), EigenKernel::EigenKernel(), EigenKernel::enabled(), and TransientInterface::isImplicit().

◆ _is_nodal

bool RandomInterface::_is_nodal
privateinherited

◆ _is_transient

bool TransientInterface::_is_transient
protectedinherited

Definition at line 70 of file TransientInterface.h.

Referenced by InterfaceTimeKernel::InterfaceTimeKernel().

◆ _j

unsigned int KernelBase::_j
protectedinherited

current index for the shape function

Definition at line 162 of file KernelBase.h.

Referenced by TimeDerivative::computeJacobian(), VectorTimeDerivative::computeJacobian(), Kernel::computeJacobian(), VectorKernel::computeJacobian(), ArrayKernel::computeJacobian(), EigenKernel::computeJacobian(), NonlocalKernel::computeJacobian(), computeJacobian(), KernelValue::computeJacobian(), Kernel::computeOffDiagJacobian(), VectorKernel::computeOffDiagJacobian(), EigenKernel::computeOffDiagJacobian(), ArrayKernel::computeOffDiagJacobian(), NonlocalKernel::computeOffDiagJacobian(), KernelValue::computeOffDiagJacobian(), computeOffDiagJacobian(), VectorKernel::computeOffDiagJacobianScalar(), Kernel::computeOffDiagJacobianScalar(), ArrayDiffusion::computeQpJacobian(), ArrayReaction::computeQpJacobian(), Reaction::computeQpJacobian(), ArrayTimeDerivative::computeQpJacobian(), MassEigenKernel::computeQpJacobian(), TimeDerivative::computeQpJacobian(), VectorTimeDerivative::computeQpJacobian(), MaterialDerivativeTestKernel::computeQpJacobian(), MaterialDerivativeRankFourTestKernel::computeQpJacobian(), MaterialDerivativeRankTwoTestKernel::computeQpJacobian(), VectorDiffusion::computeQpJacobian(), ConservativeAdvection::computeQpJacobian(), Diffusion::computeQpJacobian(), AnisotropicDiffusion::computeQpJacobian(), ArrayReaction::computeQpOffDiagJacobian(), ArrayDiffusion::computeQpOffDiagJacobian(), ArrayTimeDerivative::computeQpOffDiagJacobian(), MaterialDerivativeTestKernel::computeQpOffDiagJacobian(), VectorCoupledTimeDerivative::computeQpOffDiagJacobian(), MaterialDerivativeRankFourTestKernel::computeQpOffDiagJacobian(), MaterialDerivativeRankTwoTestKernel::computeQpOffDiagJacobian(), CoupledTimeDerivative::computeQpOffDiagJacobian(), CoupledForce::computeQpOffDiagJacobian(), and ConservativeAdvection::fullUpwind().

◆ _JxW

const MooseArray<Real>& KernelBase::_JxW
protectedinherited

◆ _ke_blocks

std::vector<DenseMatrix<Number> *> TaggingInterface::_ke_blocks
protectedinherited

◆ _local_ke

DenseMatrix<Number> TaggingInterface::_local_ke
protectedinherited

Holds residual entries as they are accumulated by this Kernel.

Definition at line 159 of file TaggingInterface.h.

Referenced by TaggingInterface::accumulateTaggedLocalMatrix(), TaggingInterface::assignTaggedLocalMatrix(), DGKernel::computeElemNeighJacobian(), ArrayDGKernel::computeElemNeighJacobian(), TimeDerivative::computeJacobian(), VectorTimeDerivative::computeJacobian(), VectorKernel::computeJacobian(), Kernel::computeJacobian(), ODEKernel::computeJacobian(), ArrayKernel::computeJacobian(), IntegratedBC::computeJacobian(), VectorIntegratedBC::computeJacobian(), EigenKernel::computeJacobian(), NodalEqualValueConstraint::computeJacobian(), ArrayIntegratedBC::computeJacobian(), NonlocalKernel::computeJacobian(), NonlocalIntegratedBC::computeJacobian(), KernelValue::computeJacobian(), computeJacobian(), MortarConstraint::computeJacobian(), DiracKernel::computeJacobian(), VectorIntegratedBC::computeJacobianBlock(), ArrayIntegratedBC::computeJacobianBlock(), VectorIntegratedBC::computeJacobianBlockScalar(), ArrayIntegratedBC::computeJacobianBlockScalar(), IntegratedBC::computeJacobianBlockScalar(), DGKernel::computeOffDiagElemNeighJacobian(), ArrayDGKernel::computeOffDiagElemNeighJacobian(), ODEKernel::computeOffDiagJacobian(), Kernel::computeOffDiagJacobian(), EigenKernel::computeOffDiagJacobian(), ArrayKernel::computeOffDiagJacobian(), DiracKernel::computeOffDiagJacobian(), ArrayKernel::computeOffDiagJacobianScalar(), Kernel::computeOffDiagJacobianScalar(), ConservativeAdvection::fullUpwind(), TaggingInterface::prepareMatrixTag(), TaggingInterface::prepareMatrixTagLower(), and TaggingInterface::prepareMatrixTagNeighbor().

◆ _local_re

DenseVector<Number> TaggingInterface::_local_re
protectedinherited

◆ _master_seed

unsigned int RandomInterface::_master_seed
privateinherited

Definition at line 83 of file RandomInterface.h.

Referenced by RandomInterface::isNodal().

◆ _material_data

std::shared_ptr<MaterialData> MaterialPropertyInterface::_material_data
protectedinherited

◆ _material_data_type

Moose::MaterialDataType MaterialPropertyInterface::_material_data_type
protectedinherited

◆ _material_property_dependencies

std::set<unsigned int> MaterialPropertyInterface::_material_property_dependencies
protectedinherited

◆ _matrix_tags

std::set<TagID> TaggingInterface::_matrix_tags
protectedinherited

◆ _mci_feproblem

FEProblemBase& MeshChangedInterface::_mci_feproblem
protectedinherited

Reference to FEProblemBase instance.

Definition at line 43 of file MeshChangedInterface.h.

Referenced by MeshChangedInterface::MeshChangedInterface().

◆ _mesh

MooseMesh& KernelBase::_mesh
protectedinherited

Reference to this Kernel's mesh object.

Definition at line 136 of file KernelBase.h.

Referenced by NonlocalKernel::NonlocalKernel().

◆ _mi_block_ids

const std::set<SubdomainID>& MaterialPropertyInterface::_mi_block_ids
privateinherited

◆ _mi_boundary_ids

const std::set<BoundaryID>& MaterialPropertyInterface::_mi_boundary_ids
privateinherited

◆ _mi_boundary_restricted

const bool MaterialPropertyInterface::_mi_boundary_restricted
privateinherited

◆ _mi_feproblem

FEProblemBase& MaterialPropertyInterface::_mi_feproblem
protectedinherited

◆ _mi_name

const std::string MaterialPropertyInterface::_mi_name
protectedinherited

The name of the object that this interface belongs to.

Definition at line 197 of file MaterialPropertyInterface.h.

Referenced by MaterialPropertyInterface::checkMaterialProperty().

◆ _mi_params

const InputParameters& MaterialPropertyInterface::_mi_params
protectedinherited

◆ _mi_tid

const THREAD_ID MaterialPropertyInterface::_mi_tid
protectedinherited

Current threaded it.

Definition at line 209 of file MaterialPropertyInterface.h.

Referenced by MaterialPropertyInterface::getMaterialByName().

◆ _moose_object

const MooseObject& TaggingInterface::_moose_object
protectedinherited

Moose objct this tag works on.

Definition at line 141 of file TaggingInterface.h.

Referenced by TaggingInterface::TaggingInterface().

◆ _moose_variable_dependencies

std::set<MooseVariableFEBase *> MooseVariableDependencyInterface::_moose_variable_dependencies
privateinherited

◆ _mvi_assembly

Assembly* MooseVariableInterface< Real >::_mvi_assembly
protectedinherited

Definition at line 203 of file MooseVariableInterface.h.

◆ _name

const std::string& MooseObject::_name
protectedinherited

◆ _nodal

bool MooseVariableInterface< Real >::_nodal
protectedinherited

Whether or not this object is acting only at nodes.

Definition at line 197 of file MooseVariableInterface.h.

◆ _obj

const MooseObject* Coupleable::_obj
privateinherited

◆ _obj_parameters

const InputParameters& ElementIDInterface::_obj_parameters
privateinherited

Reference to the object's input parameters.

Definition at line 47 of file ElementIDInterface.h.

Referenced by ElementIDInterface::getElementID(), and ElementIDInterface::getElementIDIndex().

◆ _optional_var_index

std::unordered_map<std::string, std::vector<unsigned int> > Coupleable::_optional_var_index
privateinherited

Unique indices for optionally coupled vars that weren't provided.

Definition at line 1119 of file Coupleable.h.

Referenced by Coupleable::Coupleable(), and Coupleable::coupled().

◆ _pars

const InputParameters& MooseObject::_pars
protectedinherited

◆ _phi

const VariablePhiValue& Kernel::_phi
protectedinherited

◆ _pi_feproblem

FEProblemBase& PostprocessorInterface::_pi_feproblem
privateinherited

◆ _point_zero

const Point& ScalarCoupleable::_point_zero
protectedinherited

◆ _ppi_params

const InputParameters& PostprocessorInterface::_ppi_params
privateinherited

◆ _q_point

const MooseArray<Point>& KernelBase::_q_point
protectedinherited

The physical location of the element's quadrature Points, indexed by _qp.

Definition at line 147 of file KernelBase.h.

Referenced by VectorBodyForce::computeQpResidual(), BodyForce::computeQpResidual(), and UserForcingFunction::f().

◆ _qp

unsigned int KernelBase::_qp
protectedinherited

The current quadrature point index.

Definition at line 144 of file KernelBase.h.

Referenced by MassLumpedTimeDerivative::computeJacobian(), VectorTimeDerivative::computeJacobian(), TimeDerivative::computeJacobian(), Kernel::computeJacobian(), VectorKernel::computeJacobian(), ArrayKernel::computeJacobian(), EigenKernel::computeJacobian(), NonlocalKernel::computeJacobian(), KernelValue::computeJacobian(), computeJacobian(), NonlocalKernel::computeNonlocalJacobian(), NonlocalKernel::computeNonlocalOffDiagJacobian(), VectorKernel::computeOffDiagJacobian(), Kernel::computeOffDiagJacobian(), EigenKernel::computeOffDiagJacobian(), ArrayKernel::computeOffDiagJacobian(), NonlocalKernel::computeOffDiagJacobian(), computeOffDiagJacobian(), KernelValue::computeOffDiagJacobian(), VectorKernel::computeOffDiagJacobianScalar(), ArrayKernel::computeOffDiagJacobianScalar(), Kernel::computeOffDiagJacobianScalar(), ArrayReaction::computeQpJacobian(), ArrayDiffusion::computeQpJacobian(), MassEigenKernel::computeQpJacobian(), ArrayTimeDerivative::computeQpJacobian(), Reaction::computeQpJacobian(), VectorTimeDerivative::computeQpJacobian(), MassLumpedTimeDerivative::computeQpJacobian(), MaterialDerivativeTestKernel::computeQpJacobian(), TimeDerivative::computeQpJacobian(), MaterialDerivativeRankFourTestKernel::computeQpJacobian(), MaterialDerivativeRankTwoTestKernel::computeQpJacobian(), VectorDiffusion::computeQpJacobian(), ConservativeAdvection::computeQpJacobian(), Diffusion::computeQpJacobian(), AnisotropicDiffusion::computeQpJacobian(), ArrayDiffusion::computeQpOffDiagJacobian(), ArrayReaction::computeQpOffDiagJacobian(), ArrayTimeDerivative::computeQpOffDiagJacobian(), VectorCoupledTimeDerivative::computeQpOffDiagJacobian(), MaterialDerivativeTestKernel::computeQpOffDiagJacobian(), MaterialDerivativeRankFourTestKernel::computeQpOffDiagJacobian(), CoupledTimeDerivative::computeQpOffDiagJacobian(), MaterialDerivativeRankTwoTestKernel::computeQpOffDiagJacobian(), CoupledForce::computeQpOffDiagJacobian(), ArrayReaction::computeQpResidual(), ArrayDiffusion::computeQpResidual(), Reaction::computeQpResidual(), MassEigenKernel::computeQpResidual(), ArrayTimeDerivative::computeQpResidual(), MaterialDerivativeTestKernel::computeQpResidual(), VectorTimeDerivative::computeQpResidual(), MassLumpedTimeDerivative::computeQpResidual(), VectorCoupledTimeDerivative::computeQpResidual(), TimeDerivative::computeQpResidual(), MaterialDerivativeRankFourTestKernel::computeQpResidual(), Diffusion::computeQpResidual(), MaterialDerivativeRankTwoTestKernel::computeQpResidual(), VectorDiffusion::computeQpResidual(), CoupledTimeDerivative::computeQpResidual(), CoupledForce::computeQpResidual(), ConservativeAdvection::computeQpResidual(), AnisotropicDiffusion::computeQpResidual(), VectorBodyForce::computeQpResidual(), BodyForce::computeQpResidual(), VectorKernel::computeResidual(), Kernel::computeResidual(), ArrayKernel::computeResidual(), TimeKernel::computeResidual(), VectorTimeKernel::computeResidual(), EigenKernel::computeResidual(), KernelValue::computeResidual(), computeResidual(), UserForcingFunction::f(), ConservativeAdvection::fullUpwind(), and ConservativeAdvection::negSpeedQp().

◆ _qrule

const QBase* const & KernelBase::_qrule
protectedinherited

◆ _random_data

RandomData* RandomInterface::_random_data
privateinherited

◆ _re_blocks

std::vector<DenseVector<Number> *> TaggingInterface::_re_blocks
protectedinherited

◆ _real_zero

const Real& ScalarCoupleable::_real_zero
protectedinherited

Scalar zero.

Definition at line 226 of file ScalarCoupleable.h.

◆ _reset_on

ExecFlagType RandomInterface::_reset_on
privateinherited

Definition at line 85 of file RandomInterface.h.

Referenced by RandomInterface::setRandomResetFrequency().

◆ _restartable_app

MooseApp& Restartable::_restartable_app
privateinherited

Reference to the application.

Definition at line 208 of file Restartable.h.

Referenced by Restartable::registerRestartableDataOnApp(), and Restartable::registerRestartableNameWithFilterOnApp().

◆ _restartable_name

std::string Restartable::_restartable_name
privateinherited

◆ _restartable_system_name

std::string Restartable::_restartable_system_name
privateinherited

The system name this object is in.

Definition at line 214 of file Restartable.h.

Referenced by Restartable::declareRecoverableData(), and Restartable::declareRestartableDataWithContext().

◆ _restartable_tid

THREAD_ID Restartable::_restartable_tid
privateinherited

The thread ID for this object.

Definition at line 217 of file Restartable.h.

Referenced by Restartable::declareRestartableDataWithContext().

◆ _ri_name

const std::string RandomInterface::_ri_name
privateinherited

Definition at line 81 of file RandomInterface.h.

Referenced by RandomInterface::setRandomResetFrequency().

◆ _ri_problem

FEProblemBase& RandomInterface::_ri_problem
privateinherited

Definition at line 80 of file RandomInterface.h.

Referenced by RandomInterface::setRandomResetFrequency().

◆ _save_in

std::vector<MooseVariableFEBase *> KernelBase::_save_in
protectedinherited

◆ _save_in_strings

std::vector<AuxVariableName> KernelBase::_save_in_strings
protectedinherited

◆ _sc_coupleable_matrix_tags

std::set<TagID> ScalarCoupleable::_sc_coupleable_matrix_tags
privateinherited

◆ _sc_coupleable_vector_tags

std::set<TagID> ScalarCoupleable::_sc_coupleable_vector_tags
privateinherited

◆ _sc_coupled_vars

std::unordered_map<std::string, std::vector<MooseVariableFEBase *> > ScalarCoupleable::_sc_coupled_vars
privateinherited

Field variables coupled into this object (for error checking)

Definition at line 276 of file ScalarCoupleable.h.

Referenced by ScalarCoupleable::checkVar(), and ScalarCoupleable::ScalarCoupleable().

◆ _sc_fe_problem

FEProblemBase& ScalarCoupleable::_sc_fe_problem
protectedinherited

◆ _sc_is_implicit

bool ScalarCoupleable::_sc_is_implicit
protectedinherited

◆ _sc_name

const std::string& ScalarCoupleable::_sc_name
protectedinherited

◆ _sc_parameters

const InputParameters& ScalarCoupleable::_sc_parameters
protectedinherited

Definition at line 59 of file ScalarCoupleable.h.

Referenced by ScalarCoupleable::ScalarCoupleable().

◆ _sc_tid

THREAD_ID ScalarCoupleable::_sc_tid
protectedinherited

Thread ID of the thread using this object.

Definition at line 223 of file ScalarCoupleable.h.

Referenced by ScalarCoupleable::ScalarCoupleable().

◆ _scalar_zero

const VariableValue& ScalarCoupleable::_scalar_zero
protectedinherited

Zero value of a scalar variable.

Definition at line 229 of file ScalarCoupleable.h.

◆ _second_phi_zero

const VariablePhiSecond& Coupleable::_second_phi_zero
protectedinherited

Zero second derivative of a test function.

Definition at line 933 of file Coupleable.h.

◆ _second_zero

const VariableSecond& Coupleable::_second_zero
protectedinherited

Zero second derivative of a variable.

Definition at line 930 of file Coupleable.h.

Referenced by Coupleable::adZeroSecondTemplate().

◆ _stateful_allowed

bool MaterialPropertyInterface::_stateful_allowed
protectedinherited

◆ _subproblem

SubProblem& KernelBase::_subproblem
protectedinherited

◆ _sys

SystemBase& KernelBase::_sys
protectedinherited

◆ _t

Real& TransientInterface::_t
protectedinherited

Time.

Definition at line 58 of file TransientInterface.h.

Referenced by GenericFunctionMaterial::computeQpFunctions(), AnalyticalIndicator::computeQpIntegral(), FunctionElementIntegral::computeQpIntegral(), ElementVectorL2Error::computeQpIntegral(), ElementL2Error::computeQpIntegral(), FunctionSideIntegral::computeQpIntegral(), ElementH1SemiError::computeQpIntegral(), ElementW1pError::computeQpIntegral(), ConvectiveFluxBC::computeQpResidual(), VectorFunctionDirichletBC::computeQpResidual(), FunctionGradientNeumannBC::computeQpResidual(), FunctionDiracSource::computeQpResidual(), FunctionNeumannBC::computeQpResidual(), VectorBodyForce::computeQpResidual(), UserForcingFunctionNodalKernel::computeQpResidual(), BodyForce::computeQpResidual(), FunctionPenaltyDirichletBC::computeQpResidual(), SinDirichletBC::computeQpResidual(), SinNeumannBC::computeQpResidual(), DGFunctionDiffusionDirichletBC::computeQpResidual(), FunctionDirichletBC::computeQpValue(), FunctionScalarAux::computeValue(), FunctionAux::computeValue(), SolutionScalarAux::computeValue(), VectorFunctionAux::computeValue(), ElementL2ErrorFunctionAux::computeValue(), SolutionAux::computeValue(), ElementH1ErrorFunctionAux::computeValue(), ConditionalFunctionEnableControl::conditionMet(), TimePeriod::conditionMet(), LineFunctionSampler::execute(), NodalL2Error::execute(), RealFunctionControl::execute(), LeastSquaresFitHistory::execute(), UserForcingFunction::f(), FunctionValuePostprocessor::getValue(), ScalarL2Error::getValue(), and SolutionUserObject::timestepSetup().

◆ _t_step

int& TransientInterface::_t_step
protectedinherited

The number of the time step.

Definition at line 61 of file TransientInterface.h.

Referenced by ChangeOverTimePostprocessor::getValue().

◆ _tag_params

const InputParameters& TaggingInterface::_tag_params
protectedinherited

Parameters from moose object.

Definition at line 144 of file TaggingInterface.h.

Referenced by TaggingInterface::TaggingInterface().

◆ _test

const VariableTestValue& Kernel::_test
protectedinherited

the current test function

Definition at line 78 of file Kernel.h.

Referenced by MassLumpedTimeDerivative::computeJacobian(), TimeDerivative::computeJacobian(), Kernel::computeJacobian(), EigenKernel::computeJacobian(), NonlocalKernel::computeJacobian(), KernelValue::computeJacobian(), computeJacobian(), NonlocalKernel::computeNonlocalJacobian(), NonlocalKernel::computeNonlocalOffDiagJacobian(), Kernel::computeOffDiagJacobian(), EigenKernel::computeOffDiagJacobian(), NonlocalKernel::computeOffDiagJacobian(), computeOffDiagJacobian(), KernelValue::computeOffDiagJacobian(), Kernel::computeOffDiagJacobianScalar(), Reaction::computeQpJacobian(), MassEigenKernel::computeQpJacobian(), MaterialDerivativeTestKernel::computeQpJacobian(), TimeDerivative::computeQpJacobian(), MassLumpedTimeDerivative::computeQpJacobian(), MaterialDerivativeRankFourTestKernel::computeQpJacobian(), MaterialDerivativeRankTwoTestKernel::computeQpJacobian(), MaterialDerivativeTestKernel::computeQpOffDiagJacobian(), CoupledTimeDerivative::computeQpOffDiagJacobian(), MaterialDerivativeRankFourTestKernel::computeQpOffDiagJacobian(), MaterialDerivativeRankTwoTestKernel::computeQpOffDiagJacobian(), CoupledForce::computeQpOffDiagJacobian(), MassEigenKernel::computeQpResidual(), Reaction::computeQpResidual(), MassLumpedTimeDerivative::computeQpResidual(), TimeDerivative::computeQpResidual(), MaterialDerivativeTestKernel::computeQpResidual(), CoupledTimeDerivative::computeQpResidual(), MaterialDerivativeRankFourTestKernel::computeQpResidual(), MaterialDerivativeRankTwoTestKernel::computeQpResidual(), CoupledForce::computeQpResidual(), BodyForce::computeQpResidual(), Kernel::computeResidual(), TimeKernel::computeResidual(), EigenKernel::computeResidual(), KernelValue::computeResidual(), computeResidual(), and ConservativeAdvection::fullUpwind().

◆ _ti_feproblem

FEProblemBase& TransientInterface::_ti_feproblem
protectedinherited

Definition at line 47 of file TransientInterface.h.

Referenced by SolutionFunction::SolutionFunction().

◆ _ti_name

const std::string TransientInterface::_ti_name
privateinherited

Definition at line 73 of file TransientInterface.h.

◆ _ti_params

const InputParameters& TransientInterface::_ti_params
protectedinherited

Definition at line 45 of file TransientInterface.h.

◆ _tid

THREAD_ID KernelBase::_tid
protectedinherited

◆ _type

const std::string& MooseObject::_type
protectedinherited

The type of this object (the Class name)

Definition at line 175 of file MooseObject.h.

Referenced by FEProblemBase::init(), and MooseObject::type().

◆ _u

const VariableValue& Kernel::_u
protectedinherited

Holds the solution at current quadrature points.

Definition at line 90 of file Kernel.h.

Referenced by MassEigenKernel::computeQpResidual(), Reaction::computeQpResidual(), and ConservativeAdvection::computeQpResidual().

◆ _uoi_feproblem

FEProblemBase& UserObjectInterface::_uoi_feproblem
privateinherited

◆ _uoi_params

const InputParameters& UserObjectInterface::_uoi_params
privateinherited

Parameters of the object with this interface.

Definition at line 71 of file UserObjectInterface.h.

Referenced by UserObjectInterface::getUserObjectBase(), and UserObjectInterface::getUserObjectTempl().

◆ _uoi_tid

THREAD_ID UserObjectInterface::_uoi_tid
privateinherited

◆ _var

MooseVariable& Kernel::_var
protectedinherited

◆ _variable

MooseVariableFE<Real >* MooseVariableInterface< Real >::_variable
protectedinherited

The variable this object is acting on.

Definition at line 200 of file MooseVariableInterface.h.

◆ _vector_curl_zero

const VectorVariableCurl& Coupleable::_vector_curl_zero
protectedinherited

Zero value of the curl of a vector variable.

Definition at line 937 of file Coupleable.h.

◆ _vector_tags

std::set<TagID> TaggingInterface::_vector_tags
protectedinherited

◆ _vector_zero

const VectorVariableValue& Coupleable::_vector_zero
protectedinherited

Zero value of a vector variable.

Definition at line 935 of file Coupleable.h.

◆ _vpi_feproblem

FEProblemBase& VectorPostprocessorInterface::_vpi_feproblem
privateinherited

◆ _vpi_params

const InputParameters& VectorPostprocessorInterface::_vpi_params
privateinherited

◆ _vpi_tid

THREAD_ID VectorPostprocessorInterface::_vpi_tid
privateinherited

Thread ID.

Definition at line 267 of file VectorPostprocessorInterface.h.

◆ _zero

const VariableValue& Coupleable::_zero
protectedinherited

Zero value of a variable.

Definition at line 922 of file Coupleable.h.

Referenced by Coupleable::adZeroValueTemplate().


The documentation for this class was generated from the following files:
MooseVariableFE::slnPreviousNL
const FieldVariableValue & slnPreviousNL() const
Definition: MooseVariableFE.h:270
InputParameters::getParamHelper
static const T & getParamHelper(const std::string &name, const InputParameters &pars, const T *the_type)
Definition: InputParameters.h:1517
ElementIDInterface::getElementIDIndex
virtual unsigned int getElementIDIndex(const std::string &id_parameter_name, unsigned int comp=0) const
Gets index of an element integer with a parameter of the object derived from this interface.
Definition: ElementIDInterface.C:29
FEProblemBase::getPostprocessorValue
PostprocessorValue & getPostprocessorValue(const PostprocessorName &name)
Get a reference to the value associated with the postprocessor.
Definition: FEProblemBase.C:3222
MooseVariableFE::dofValuesDotOld
const DoFValue & dofValuesDotOld()
Definition: MooseVariableFE.C:308
SubProblem::getVectorTagID
virtual TagID getVectorTagID(const TagName &tag_name)
Get a TagID from a TagName.
Definition: SubProblem.C:95
BlockRestrictable::_blk_mesh
MooseMesh * _blk_mesh
Pointer to Mesh.
Definition: BlockRestrictable.h:239
Coupleable::_zero
const VariableValue & _zero
Zero value of a variable.
Definition: Coupleable.h:922
KernelBase::_i
unsigned int _i
current index for the test function
Definition: KernelBase.h:159
MooseVariableFEBase
Definition: MooseVariableFEBase.h:27
MooseVariableFE::slnOld
const FieldVariableValue & slnOld() const
Definition: MooseVariableFE.h:268
MooseVariableInterface< Real >::value
virtual const OutputTools< Real >::VariableValue & value()
The value of the variable this object is operating on.
Definition: MooseVariableInterface.C:77
MaterialPropertyInterface::_mi_name
const std::string _mi_name
The name of the object that this interface belongs to.
Definition: MaterialPropertyInterface.h:197
FEProblemBase::getMaterialWarehouse
const MaterialWarehouse & getMaterialWarehouse() const
Definition: FEProblemBase.h:1454
Coupleable::_coupled_standard_moose_vars
std::vector< MooseVariable * > _coupled_standard_moose_vars
Vector of standard coupled variables.
Definition: Coupleable.h:867
Coupleable::getArrayVar
ArrayMooseVariable * getArrayVar(const std::string &var_name, unsigned int comp)
Extract pointer to a coupled array variable.
Definition: Coupleable.C:258
MooseObject::mooseInfo
void mooseInfo(Args &&... args) const
Definition: MooseObject.h:162
type
MatType type
Definition: PetscDMMoose.C:1477
SystemBase::getVariable
MooseVariableFEBase & getVariable(THREAD_ID tid, const std::string &var_name)
Gets a reference to a variable of with specified name.
Definition: SystemBase.C:109
MooseVariableFE::duDotDotDu
const VariableValue & duDotDotDu() const
Definition: MooseVariableFE.h:355
THREAD_ID
unsigned int THREAD_ID
Definition: MooseTypes.h:196
KernelBase::_diag_save_in
std::vector< MooseVariableFEBase * > _diag_save_in
Definition: KernelBase.h:171
UserObjectInterface::needThreadedCopy
bool needThreadedCopy(const UserObject &uo) const
Check if the threaded copy of the user object is needed.
Definition: UserObjectInterface.C:36
Assembly::jacobianBlockNeighbor
DenseMatrix< Number > & jacobianBlockNeighbor(Moose::DGJacobianType type, unsigned int ivar, unsigned int jvar, TagID tag=0)
Get local Jacobian block of a DG Jacobian type for a pair of variables and a tag.
Definition: Assembly.C:2717
Kernel::_phi
const VariablePhiValue & _phi
the current shape functions
Definition: Kernel.h:84
TaggingInterface::accumulateTaggedLocalMatrix
void accumulateTaggedLocalMatrix()
Local Jacobian blocks will be appended by adding the current local kernel Jacobian.
Definition: TaggingInterface.C:213
MooseVariableFE::curlSlnOldNeighbor
const FieldVariableCurl & curlSlnOldNeighbor() const
Definition: MooseVariableFE.h:414
KernelBase::_assembly
Assembly & _assembly
Reference to this Kernel's assembly object.
Definition: KernelBase.h:133
Coupleable::_coupled_vector_moose_vars
std::vector< VectorMooseVariable * > _coupled_vector_moose_vars
Vector of vector coupled variables.
Definition: Coupleable.h:870
RandomInterface::_curr_element
const Elem *const & _curr_element
Definition: RandomInterface.h:88
moose::internal::mooseStreamAll
void mooseStreamAll(std::ostringstream &ss)
All of the following are not meant to be called directly - they are called by the normal macros (moos...
Definition: MooseError.C:88
MaterialPropertyInterface::deducePropertyName
std::string deducePropertyName(const std::string &name)
Small helper to look up a material property name through the input parameter keys.
Definition: MaterialPropertyInterface.C:56
Coupleable::_c_parameters
const InputParameters & _c_parameters
Definition: Coupleable.h:852
ElementIDInterface::_obj_parameters
const InputParameters & _obj_parameters
Reference to the object's input parameters.
Definition: ElementIDInterface.h:47
MooseVariableScalar
Class for scalar variables (they are different).
Definition: MooseVariableScalar.h:30
InputParameters::hasDefaultPostprocessorValue
bool hasDefaultPostprocessorValue(const std::string &name, unsigned int index=0) const
Returns true if a default PostprocessorValue is defined.
Definition: InputParameters.C:683
PostprocessorInterface::hasPostprocessor
bool hasPostprocessor(const std::string &name, unsigned int index=0) const
Determine if the Postprocessor exists.
Definition: PostprocessorInterface.C:137
MooseVariableFE::curlSlnNeighbor
const FieldVariableCurl & curlSlnNeighbor() const
neighbor solution curls
Definition: MooseVariableFE.h:410
MooseVariableFE::gradSlnPreviousNLNeighbor
const FieldVariableGradient & gradSlnPreviousNLNeighbor() const
Definition: MooseVariableFE.h:379
MooseObject::mooseError
void mooseError(Args &&... args) const
Definition: MooseObject.h:141
ScalarCoupleable::isCoupledScalar
virtual bool isCoupledScalar(const std::string &var_name, unsigned int i=0)
Returns true if a variables has been coupled_as name.
Definition: ScalarCoupleable.C:74
MooseVariableFE::secondSlnOldNeighbor
const FieldVariableSecond & secondSlnOldNeighbor() const
Definition: MooseVariableFE.h:396
KernelGrad::precomputeQpJacobian
virtual RealGradient precomputeQpJacobian()
Called before forming the jacobian for an element.
Definition: KernelGrad.C:109
TransientInterface::_is_implicit
bool _is_implicit
If the object is using implicit or explicit form.
Definition: TransientInterface.h:55
MooseObject::isParamValid
bool isParamValid(const std::string &name) const
Test if the supplied parameter is valid.
Definition: MooseObject.h:100
MooseObject::_type
const std::string & _type
The type of this object (the Class name)
Definition: MooseObject.h:175
InputParameters::defaultCoupledValue
Real defaultCoupledValue(const std::string &coupling_name, unsigned int i=0) const
Get the default value for an optionally coupled variable.
Definition: InputParameters.C:479
UserObjectInterface::_uoi_tid
THREAD_ID _uoi_tid
Thread ID.
Definition: UserObjectInterface.h:77
Restartable::_restartable_name
std::string _restartable_name
The name of the object.
Definition: Restartable.h:211
FunctionInterface::_fni_params
const InputParameters & _fni_params
Parameters of the object with this interface.
Definition: FunctionInterface.h:67
TaggingInterface::_local_re
DenseVector< Number > _local_re
Holds residual entries as they are accumulated by this Kernel.
Definition: TaggingInterface.h:156
KernelBase::_j
unsigned int _j
current index for the shape function
Definition: KernelBase.h:162
FunctionInterface::_fni_feproblem
FEProblemBase & _fni_feproblem
Reference to FEProblemBase instance.
Definition: FunctionInterface.h:70
MooseVariableFE::curlSln
const FieldVariableCurl & curlSln() const
element curls
Definition: MooseVariableFE.h:301
Coupleable::validateExecutionerType
void validateExecutionerType(const std::string &name, const std::string &fn_name) const
Checks to make sure that the current Executioner has set "_is_transient" when old/older values are co...
Definition: Coupleable.C:1336
Coupleable::_coupled_vars
std::unordered_map< std::string, std::vector< MooseVariableFEBase * > > _coupled_vars
Coupled vars whose values we provide.
Definition: Coupleable.h:861
MooseVariableFE::secondSlnOld
const FieldVariableSecond & secondSlnOld() const
Definition: MooseVariableFE.h:290
MooseEnumItem::id
const int & id() const
Return the numeric, name, or raw name.
Definition: MooseEnumItem.h:36
MooseVariableFEBase::activeSubdomains
virtual const std::set< SubdomainID > & activeSubdomains() const =0
The subdomains the variable is active on.
MooseVariableFE::dofValuesOlderNeighbor
const DoFValue & dofValuesOlderNeighbor()
Definition: MooseVariableFE.C:280
TaggingInterface::_matrix_tags
std::set< TagID > _matrix_tags
The matrices this Kernel will contribute to.
Definition: TaggingInterface.h:138
Coupleable::_default_vector_curl
VectorVariableCurl _default_vector_curl
This will always be zero because the default values for optionally coupled variables is always consta...
Definition: Coupleable.h:949
MooseMesh::getSubdomainIDs
std::vector< SubdomainID > getSubdomainIDs(const std::vector< SubdomainName > &subdomain_name) const
Get the associated subdomainIDs for the subdomain names that are passed in.
Definition: MooseMesh.C:1133
MooseVariableFE::gradSlnDot
const FieldVariableGradient & gradSlnDot() const
element gradient dots
Definition: MooseVariableFE.h:285
Coupleable::VarType::Dot
GeometricSearchData::getNearestNodeLocator
NearestNodeLocator & getNearestNodeLocator(const BoundaryName &master, const BoundaryName &slave)
Definition: GeometricSearchData.C:208
ScalarCoupleable::getScalarVar
MooseVariableScalar * getScalarVar(const std::string &var_name, unsigned int comp)
Extract pointer to a scalar coupled variable.
Definition: ScalarCoupleable.C:313
FEProblemBase::getMaxQps
unsigned int getMaxQps() const
Definition: FEProblemBase.C:1120
PostprocessorInterface::singlePostprocessor
bool singlePostprocessor(const std::string &name) const
Checks if there is a single postprocessor coupled by parameter name.
Definition: PostprocessorInterface.C:154
SubProblem::storeSubdomainDelayedCheckMatProp
virtual void storeSubdomainDelayedCheckMatProp(const std::string &requestor, SubdomainID block_id, const std::string &name)
Adds to a map based on block ids of material properties to validate.
Definition: SubProblem.C:434
Coupleable::_c_is_implicit
bool _c_is_implicit
True if implicit value is required.
Definition: Coupleable.h:879
InputParameters::isSinglePostprocessor
bool isSinglePostprocessor(const std::string &pp_name) const
Getter for the _vector_of_postprocessors flag in parameters.
Definition: InputParameters.h:816
Assembly::residualBlock
DenseVector< Number > & residualBlock(unsigned int var_num, TagID tag_id=0)
Get local residual block for a variable and a tag.
Definition: Assembly.h:817
Coupleable::checkFuncType
void checkFuncType(const std::string var_name, VarType t, FuncAge age)
Definition: Coupleable.C:156
MooseVariableFE::sln
const FieldVariableValue & sln() const
element solutions
Definition: MooseVariableFE.h:267
MooseVariableFE::secondSlnOlderNeighbor
const FieldVariableSecond & secondSlnOlderNeighbor() const
Definition: MooseVariableFE.h:400
MooseVariableFE::nodalVectorTagValue
const DoFValue & nodalVectorTagValue(TagID tag)
Definition: MooseVariableFE.C:566
MaterialProperty::size
virtual unsigned int size() const override
Definition: MaterialProperty.h:136
Kernel::Kernel
Kernel(const InputParameters &parameters)
Definition: Kernel.C:32
ScalarCoupleable::getDefaultValue
VariableValue * getDefaultValue(const std::string &var_name)
Helper method to return (and insert if necessary) the default value for an uncoupled variable.
Definition: ScalarCoupleable.C:112
MooseVariableFE::dofValuesOlder
const DoFValue & dofValuesOlder()
Definition: MooseVariableFE.C:252
BlockRestrictable::_blk_dual_restrictable
const bool _blk_dual_restrictable
Flag for allowing dual restriction.
Definition: BlockRestrictable.h:233
MooseVariableScalar::uDotDot
VariableValue & uDotDot()
Definition: MooseVariableScalar.h:79
MooseVariableFE::nodalValuePreviousNLNeighbor
const OutputType & nodalValuePreviousNLNeighbor()
Definition: MooseVariableFE.C:615
FEProblemBase::getMaxScalarOrder
Order getMaxScalarOrder() const
Definition: FEProblemBase.C:1136
MooseVariableFE::dofValuesDotNeighbor
const DoFValue & dofValuesDotNeighbor()
Definition: MooseVariableFE.C:322
Coupleable::_coupled_array_moose_vars
std::vector< ArrayMooseVariable * > _coupled_array_moose_vars
Vector of array coupled variables.
Definition: Coupleable.h:873
KernelBase::_subproblem
SubProblem & _subproblem
Reference to this kernel's SubProblem.
Definition: KernelBase.h:121
FEProblemBase::needsPreviousNewtonIteration
void needsPreviousNewtonIteration(bool state)
Set a flag that indicated that user required values for the previous Newton iterate.
Definition: FEProblemBase.C:6383
FEProblemBase::hasVectorPostprocessor
bool hasVectorPostprocessor(const std::string &name)
Check existence of the VectorPostprocessor.
Definition: FEProblemBase.C:3246
InputParameters::getMooseType
std::string getMooseType(const std::string &name) const
Utility functions for retrieving one of the MooseTypes variables into the common "string" base class.
Definition: InputParameters.C:529
MooseVariableFE::secondSlnNeighbor
const FieldVariableSecond & secondSlnNeighbor() const
neighbor solution seconds
Definition: MooseVariableFE.h:392
ScalarCoupleable::_sc_coupleable_matrix_tags
std::set< TagID > _sc_coupleable_matrix_tags
Definition: ScalarCoupleable.h:280
Restartable::registerRestartableDataOnApp
RestartableDataValue & registerRestartableDataOnApp(const std::string &name, std::unique_ptr< RestartableDataValue > data, THREAD_ID tid)
Helper function for actually registering the restartable data.
Definition: Restartable.C:48
Kernel::computeQpOffDiagJacobianArray
virtual RealEigenVector computeQpOffDiagJacobianArray(ArrayMooseVariable &jvar)
For coupling array variables.
Definition: Kernel.h:69
BlockRestrictable::blockIDs
const virtual std::set< SubdomainID > & blockIDs() const
Return the block subdomain ids for this object.
Definition: BlockRestrictable.C:174
TaggingInterface::_vector_tags
std::set< TagID > _vector_tags
The vectors this Kernel will contribute to.
Definition: TaggingInterface.h:135
FEProblemBase::usingADMatProps
void usingADMatProps(bool using_ad_mat_props)
Set the global automatic differentiaion (AD) flag which indicates whether any consumer has requested ...
Definition: FEProblemBase.h:1663
RandomInterface::_ri_name
const std::string _ri_name
Definition: RandomInterface.h:81
Coupleable::getFEVar
MooseVariableFEBase * getFEVar(const std::string &var_name, unsigned int comp)
Extract pointer to a base finite element coupled variable.
Definition: Coupleable.C:204
ScalarCoupleable::checkVar
void checkVar(const std::string &var_name)
Check that the right kind of variable is being coupled in.
Definition: ScalarCoupleable.C:294
MaterialWarehouse
MaterialBase objects are special in that they have additional objects created automatically (see FEPr...
Definition: MaterialWarehouse.h:26
BlockRestrictable::blockRestricted
virtual bool blockRestricted() const
Returns true if this object has been restricted to a boundary.
Definition: BlockRestrictable.C:162
Coupleable::FuncAge::Older
MooseVariableFE::uDotDot
const FieldVariableValue & uDotDot() const
Definition: MooseVariableFE.h:351
MooseVariableFE::secondSlnOlder
const FieldVariableSecond & secondSlnOlder() const
Definition: MooseVariableFE.h:291
BlockRestrictable::_blk_material_data
std::shared_ptr< MaterialData > _blk_material_data
Pointer to the MaterialData class for this object.
Definition: BlockRestrictable.h:205
Moose::ANY_BLOCK_ID
const SubdomainID ANY_BLOCK_ID
Definition: MooseTypes.C:17
MooseVariableFE::gradSlnNeighbor
const FieldVariableGradient & gradSlnNeighbor() const
neighbor solution gradients
Definition: MooseVariableFE.h:367
RandomInterface::_random_data
RandomData * _random_data
Definition: RandomInterface.h:77
RandomInterface::_master_seed
unsigned int _master_seed
Definition: RandomInterface.h:83
MooseObject::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:76
TaggingInterface::prepareMatrixTag
void prepareMatrixTag(Assembly &assembly, unsigned int ivar, unsigned int jvar)
Prepare data for computing element jacobian according to the ative tags.
Definition: TaggingInterface.C:157
MooseVariableFE::secondPhi
const FieldVariablePhiSecond & secondPhi() const
Definition: MooseVariableFE.C:700
ScalarCoupleable::_sc_coupleable_vector_tags
std::set< TagID > _sc_coupleable_vector_tags
Definition: ScalarCoupleable.h:278
MaterialPropertyInterface::markMatPropRequested
void markMatPropRequested(const std::string &)
A proxy method for _mi_feproblem.markMatPropRequested(name)
Definition: MaterialPropertyInterface.C:194
MooseVariableFE::uDot
const FieldVariableValue & uDot() const
element dots
Definition: MooseVariableFE.h:350
MooseVariableScalar::adSln
const ADVariableValue & adSln() const
Return the solution with derivative information.
Coupleable::_c_nodal
bool _c_nodal
True if we provide coupling to nodal values.
Definition: Coupleable.h:876
FEProblemBase::getUserObjectTempl
T & getUserObjectTempl(const std::string &name, unsigned int tid=0) const
Get the user object by its name.
Definition: FEProblemBase.h:755
Kernel::validParams
static InputParameters validParams()
Definition: Kernel.C:25
MooseObject::_enabled
const bool & _enabled
Reference to the "enable" InputParaemters, used by Controls for toggling on/off MooseObjects.
Definition: MooseObject.h:181
BlockRestrictable::_blk_feproblem
FEProblemBase * _blk_feproblem
Pointer to FEProblemBase.
Definition: BlockRestrictable.h:236
RestartableData::set
T & set()
Definition: RestartableData.h:97
Kernel::computeQpOffDiagJacobian
virtual Real computeQpOffDiagJacobian(unsigned int)
This is the virtual that derived classes should override for computing an off-diagonal Jacobian compo...
Definition: Kernel.h:64
SystemBase::getScalarVariable
virtual MooseVariableScalar & getScalarVariable(THREAD_ID tid, const std::string &var_name)
Gets a reference to a scalar variable with specified number.
Definition: SystemBase.C:142
moose::internal::mooseInfoStream
void mooseInfoStream(S &oss, Args &&... args)
Definition: MooseError.h:165
libMesh::RealVectorValue
VectorValue< Real > RealVectorValue
Definition: Assembly.h:30
MooseVariableFE::secondSlnPreviousNLNeighbor
const FieldVariableSecond & secondSlnPreviousNLNeighbor() const
Definition: MooseVariableFE.h:404
MooseRandom::randl
static uint32_t randl()
This method returns the next random number (long format) from the generator.
Definition: MooseRandom.h:70
ScalarCoupleable::_sc_is_implicit
bool _sc_is_implicit
True if implicit value is required.
Definition: ScalarCoupleable.h:217
Coupleable::_c_coupled_scalar_vars
std::unordered_map< std::string, std::vector< MooseVariableScalar * > > _c_coupled_scalar_vars
Scalar variables coupled into this object (for error checking)
Definition: Coupleable.h:1122
MaterialPropertyInterface::_mi_block_ids
const std::set< SubdomainID > & _mi_block_ids
Storage for the block ids created by BlockRestrictable.
Definition: MaterialPropertyInterface.h:276
Coupleable::getVar
MooseVariable * getVar(const std::string &var_name, unsigned int comp)
Extract pointer to a coupled variable.
Definition: Coupleable.C:240
VectorPostprocessorInterface::_vpi_params
const InputParameters & _vpi_params
VectorPostprocessorInterface Parameters.
Definition: VectorPostprocessorInterface.h:261
SubProblem::markMatPropRequested
virtual void markMatPropRequested(const std::string &)
Helper method for adding a material property name to the _material_property_requested set.
Definition: SubProblem.C:550
Coupleable::_fe_coupleable_vector_tags
std::set< TagID > _fe_coupleable_vector_tags
Definition: Coupleable.h:1124
MooseRandom::rand
static double rand()
This method returns the next random number (double format) from the generator.
Definition: MooseRandom.h:49
Moose::Old
Definition: MooseVariableData.h:50
MooseVariableFE::dofValuesOld
const DoFValue & dofValuesOld()
Definition: MooseVariableFE.C:245
Coupleable::_ad_default_vector_value
std::unordered_map< std::string, std::unique_ptr< MooseArray< DualRealVectorValue > > > _ad_default_vector_value
Will hold the default value for optional vector coupled variables for automatic differentiation.
Definition: Coupleable.h:898
ArrayVariableValue
OutputTools< RealEigenVector >::VariableValue ArrayVariableValue
Definition: MooseTypes.h:328
MooseVariableFE::duDotDotDuNeighbor
const VariableValue & duDotDotDuNeighbor() const
Definition: MooseVariableFE.h:429
MaterialPropertyInterface::_default_ad_real_vector_properties
std::vector< std::unique_ptr< ADMaterialPropertyObject< RealVectorValue > > > _default_ad_real_vector_properties
Storage vector for ADMaterialPropertyObject<RealVectorValue> default objects.
Definition: MaterialPropertyInterface.h:266
Coupleable::FuncAge::Old
MooseVariableFE::nodalValueDot
const OutputType & nodalValueDot()
Definition: MooseVariableFE.C:622
Moose::Older
Definition: MooseVariableData.h:51
MooseVariableFE::secondPhiFace
const FieldVariablePhiSecond & secondPhiFace() const
Definition: MooseVariableFE.C:714
MooseVariableScalar::uDot
VariableValue & uDot()
Definition: MooseVariableScalar.h:67
MooseVariableScalar::slnOlder
VariableValue & slnOlder()
Definition: MooseVariableScalar.h:55
EXEC_NONE
const ExecFlagType EXEC_NONE
MooseVariableFE::gradSlnPreviousNL
const FieldVariableGradient & gradSlnPreviousNL() const
Definition: MooseVariableFE.h:279
Moose::stringify
std::string stringify(const T &t)
conversion to string
Definition: Conversion.h:61
PostprocessorInterface::_pi_feproblem
FEProblemBase & _pi_feproblem
Reference the the FEProblemBase class.
Definition: PostprocessorInterface.h:131
UserObjectInterface::_uoi_params
const InputParameters & _uoi_params
Parameters of the object with this interface.
Definition: UserObjectInterface.h:71
MooseVariableFE::nodalValueNeighbor
const OutputType & nodalValueNeighbor()
Definition: MooseVariableFE.C:559
MooseObject::paramError
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: MooseObject.h:215
ConsoleStreamInterface::_console
const ConsoleStream _console
An instance of helper class to write streams to the Console objects.
Definition: ConsoleStreamInterface.h:31
mooseError
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application.
Definition: MooseError.h:210
Coupleable::_grad_zero
const VariableGradient & _grad_zero
Zero gradient of a variable.
Definition: Coupleable.h:926
MooseVariableScalar::uDotDotOld
VariableValue & uDotDotOld()
Definition: MooseVariableScalar.h:105
ScalarCoupleable::_coupled_moose_scalar_vars
std::vector< MooseVariableScalar * > _coupled_moose_scalar_vars
Vector of coupled variables.
Definition: ScalarCoupleable.h:214
FEProblemBase::getUserObjectBase
const UserObject & getUserObjectBase(const std::string &name) const
Get the user object by its name.
Definition: FEProblemBase.C:3198
TaggingInterface::_ke_blocks
std::vector< DenseMatrix< Number > * > _ke_blocks
Kernel blocks Vectors For each Tag.
Definition: TaggingInterface.h:153
ScalarCoupleable::validateExecutionerType
void validateExecutionerType(const std::string &name, const std::string &fn_name) const
Checks to make sure that the current Executioner has set "_is_transient" when old/older values are co...
Definition: ScalarCoupleable.C:327
MooseVariableScalar::duDotDotDu
VariableValue & duDotDotDu()
Definition: MooseVariableScalar.h:124
KernelBase::_qp
unsigned int _qp
The current quadrature point index.
Definition: KernelBase.h:144
MooseVariableFE::adUDotNeighbor
const VariableValueType< OutputType, compute_stage >::type & adUDotNeighbor() const
Definition: MooseVariableFE.h:344
ElementIDInterface::_mesh
std::shared_ptr< MooseMesh > & _mesh
References to the mesh and displaced mesh (currently in the ActionWarehouse)
Definition: ElementIDInterface.h:50
Coupleable::VarType::GradientDot
RandomData::getSeed
unsigned int getSeed(dof_id_type id)
Get the seed for the passed in elem/node id.
Definition: RandomData.C:40
MooseVariableFE::gradSlnNeighborDotDot
const FieldVariableGradient & gradSlnNeighborDotDot() const
Definition: MooseVariableFE.h:386
Coupleable::getDefaultVectorValue
VectorVariableValue * getDefaultVectorValue(const std::string &var_name)
Helper method to return (and insert if necessary) the default value for an uncoupled vector variable.
Definition: Coupleable.C:284
Coupleable::_ad_default_vector_gradient
MooseArray< DualRealTensorValue > _ad_default_vector_gradient
This will always be zero because the default values for optionally coupled vector variables is always...
Definition: Coupleable.h:913
BlockRestrictable::_blk_tid
THREAD_ID _blk_tid
Thread id for this object.
Definition: BlockRestrictable.h:248
ScalarCoupleable::_sc_coupled_vars
std::unordered_map< std::string, std::vector< MooseVariableFEBase * > > _sc_coupled_vars
Field variables coupled into this object (for error checking)
Definition: ScalarCoupleable.h:276
MooseVariableFE::adSecondSlnNeighbor
const VariableSecondType< OutputType, compute_stage >::type & adSecondSlnNeighbor() const
Definition: MooseVariableFE.h:339
MooseVariableFE::gradSlnOlderNeighbor
const FieldVariableGradient & gradSlnOlderNeighbor() const
Definition: MooseVariableFE.h:375
MooseVariableFE::dofValues
const DoFValue & dofValues()
Definition: MooseVariableFE.C:238
Moose::ANY_BOUNDARY_ID
const BoundaryID ANY_BOUNDARY_ID
Definition: MooseTypes.C:19
SubProblem::getMaterialPropertyBlocks
virtual std::set< SubdomainID > getMaterialPropertyBlocks(const std::string &prop_name)
Get a vector containing the block ids the material property is defined on.
Definition: SubProblem.C:295
Moose::VAR_ANY
Definition: MooseTypes.h:610
moose::internal::mooseDeprecatedStream
void mooseDeprecatedStream(S &oss, bool expired, Args &&... args)
Definition: MooseError.h:177
Coupleable::_coupleable_neighbor
bool _coupleable_neighbor
Whether or not this object is a "neighbor" object: ie all of it's coupled values should be neighbor v...
Definition: Coupleable.h:1036
mooseWarning
void mooseWarning(Args &&... args)
Emit a warning message with the given stringified, concatenated args.
Definition: MooseError.h:222
InputParameters::hasCoupledValue
bool hasCoupledValue(const std::string &coupling_name) const
Return whether or not the coupled variable exists.
Definition: InputParameters.C:458
MooseVariableFE::gradSln
const FieldVariableGradient & gradSln() const
element gradients
Definition: MooseVariableFE.h:273
MooseVariableFE::gradSlnOldNeighbor
const FieldVariableGradient & gradSlnOldNeighbor() const
Definition: MooseVariableFE.h:371
MaterialPropertyInterface::_material_data
std::shared_ptr< MaterialData > _material_data
Pointer to the material data class that stores properties.
Definition: MaterialPropertyInterface.h:203
Coupleable::_default_vector_value
std::unordered_map< std::string, std::unique_ptr< VectorVariableValue > > _default_vector_value
Will hold the default value for optional vector coupled variables.
Definition: Coupleable.h:891
FEProblemBase::getMaterialData
std::shared_ptr< MaterialData > getMaterialData(Moose::MaterialDataType type, THREAD_ID tid=0)
Definition: FEProblemBase.C:2729
SubProblem
Generic class for solving transient nonlinear problems.
Definition: SubProblem.h:62
MooseVariableFE::dofValuesDotDot
const DoFValue & dofValuesDotDot()
Definition: MooseVariableFE.C:301
FEProblemBase::isTransient
virtual bool isTransient() const override
Definition: FEProblemBase.h:447
MooseVariableScalar::vectorTagSln
VariableValue & vectorTagSln(TagID tag)
Definition: MooseVariableScalar.h:56
MooseVariableBase::count
unsigned int count() const
Get the number of components Note: For standard and vector variables, the number is one.
Definition: MooseVariableBase.h:98
paramErrorPrefix
std::string paramErrorPrefix(const InputParameters &params, const std::string &param)
Generates a canonical paramError prefix for param-related error/warning/info messages.
Definition: MooseObject.C:24
MooseVariableDependencyInterface::_moose_variable_dependencies
std::set< MooseVariableFEBase * > _moose_variable_dependencies
Definition: MooseVariableDependencyInterface.h:46
MooseVariableScalar::duDotDu
VariableValue & duDotDu()
Definition: MooseVariableScalar.h:118
RandomInterface::_generator
MooseRandom * _generator
Definition: RandomInterface.h:78
MooseVariableFE::dofValuesPreviousNL
const DoFValue & dofValuesPreviousNL()
Definition: MooseVariableFE.C:259
FEProblemBase::getCoordSystem
virtual Moose::CoordinateSystemType getCoordSystem(SubdomainID sid) override
Definition: FEProblemBase.C:491
Coupleable::_fe_coupleable_matrix_tags
std::set< TagID > _fe_coupleable_matrix_tags
Definition: Coupleable.h:1126
MooseVariableFE::vectorTagValue
const FieldVariableValue & vectorTagValue(TagID tag)
Definition: MooseVariableFE.h:257
InputParameters::numberDefaultCoupledValues
unsigned int numberDefaultCoupledValues(const std::string &coupling_name) const
Get the number of defaulted coupled value entries.
Definition: InputParameters.C:496
Coupleable::addFEVariableCoupleableVectorTag
void addFEVariableCoupleableVectorTag(TagID tag)
Definition: Coupleable.h:117
Coupleable::_ad_grad_zero
const MooseArray< DualRealVectorValue > & _ad_grad_zero
Definition: Coupleable.h:927
Coupleable::_coupled_moose_vars
std::vector< MooseVariableFEBase * > _coupled_moose_vars
Vector of all coupled variables.
Definition: Coupleable.h:864
MooseVariableInterface< Real >::_mvi_assembly
Assembly * _mvi_assembly
Definition: MooseVariableInterface.h:203
FEProblemBase::getPostprocessorValueOld
PostprocessorValue & getPostprocessorValueOld(const std::string &name)
Get the reference to the old value of a post-processor.
Definition: FEProblemBase.C:3228
FEProblemBase::getScatterVectorPostprocessorValueOld
ScatterVectorPostprocessorValue & getScatterVectorPostprocessorValueOld(const VectorPostprocessorName &vpp_name, const std::string &vector_name)
Return the scatter value for the post processor.
Definition: FEProblemBase.C:3299
Coupleable::_default_second
VariableSecond _default_second
This will always be zero because the default values for optionally coupled variables is always consta...
Definition: Coupleable.h:916
Coupleable::_second_zero
const VariableSecond & _second_zero
Zero second derivative of a variable.
Definition: Coupleable.h:930
TaggingInterface::_subproblem
SubProblem & _subproblem
SubProblem that contains tag info.
Definition: TaggingInterface.h:147
MooseVariableFE::dofValuesDuDotDu
const MooseArray< Number > & dofValuesDuDotDu()
Definition: MooseVariableFE.C:350
BlockRestrictable::isBlockSubset
bool isBlockSubset(const std::set< SubdomainID > &ids) const
Test if the class block ids are a subset of the supplied objects.
Definition: BlockRestrictable.C:227
MooseVariableFE::adSln
const VariableValueType< OutputType, compute_stage >::type & adSln() const
AD.
Definition: MooseVariableFE.h:307
ScalarCoupleable::_sc_name
const std::string & _sc_name
The name of the object this interface is part of.
Definition: ScalarCoupleable.h:62
Coupleable::_coupleable_max_qps
unsigned int _coupleable_max_qps
Maximum qps for any element in this system.
Definition: Coupleable.h:1116
MooseVariableBase::order
Order order() const
Get the order of this variable Note: Order enum can be implicitly converted to unsigned int.
Definition: MooseVariableBase.C:123
MooseVariableFE::gradSlnOlder
const FieldVariableGradient & gradSlnOlder() const
Definition: MooseVariableFE.h:275
Coupleable::_c_fe_problem
FEProblemBase & _c_fe_problem
Definition: Coupleable.h:858
RandomInterface::_curr_node
const Node *const & _curr_node
Definition: RandomInterface.h:87
MooseVariableFE::secondSlnPreviousNL
const FieldVariableSecond & secondSlnPreviousNL() const
Definition: MooseVariableFE.h:295
Coupleable::_ad_zero
const MooseArray< DualReal > & _ad_zero
Definition: Coupleable.h:923
ScalarCoupleable::_sc_fe_problem
FEProblemBase & _sc_fe_problem
Definition: ScalarCoupleable.h:202
KernelBase::_save_in
std::vector< MooseVariableFEBase * > _save_in
Definition: KernelBase.h:166
ADMaterialPropertyObject
Definition: MaterialProperty.h:272
GeometricSearchData::getPenetrationLocator
PenetrationLocator & getPenetrationLocator(const BoundaryName &master, const BoundaryName &slave, Order order=FIRST)
Definition: GeometricSearchData.C:143
InputParameters::isParamValid
bool isParamValid(const std::string &name) const
This method returns parameters that have been initialized in one fashion or another,...
Definition: InputParameters.C:257
SubProblem::getMaterialPropertyBlockNames
virtual std::vector< SubdomainName > getMaterialPropertyBlockNames(const std::string &prop_name)
Get a vector of block id equivalences that the material property is defined on.
Definition: SubProblem.C:311
ScalarCoupleable::_coupled_scalar_vars
std::unordered_map< std::string, std::vector< MooseVariableScalar * > > _coupled_scalar_vars
Coupled vars whose values we provide.
Definition: ScalarCoupleable.h:205
MooseVariableFE::dofValuesDot
const DoFValue & dofValuesDot()
Definition: MooseVariableFE.C:294
MooseVariableFE::adSlnNeighbor
const VariableValueType< OutputType, compute_stage >::type & adSlnNeighbor() const
neighbor AD
Definition: MooseVariableFE.h:329
MooseVariableScalar::sln
VariableValue & sln()
Definition: MooseVariableScalar.h:46
KernelBase::_tid
THREAD_ID _tid
The thread ID for this kernel.
Definition: KernelBase.h:130
MooseVariableFE::dofValuesNeighbor
const DoFValue & dofValuesNeighbor()
Definition: MooseVariableFE.C:266
MooseVariableFE::gradSlnDotDot
const FieldVariableGradient & gradSlnDotDot() const
Definition: MooseVariableFE.h:286
KernelBase::_JxW
const MooseArray< Real > & _JxW
The current quadrature point weight value.
Definition: KernelBase.h:153
MooseVariableFE::nodalValuePreviousNL
const OutputType & nodalValuePreviousNL()
Definition: MooseVariableFE.C:608
FEProblemBase::getVectorPostprocessorValue
VectorPostprocessorValue & getVectorPostprocessorValue(const VectorPostprocessorName &name, const std::string &vector_name)
DEPRECATED: Use the new version where you need to specify whether or not the vector must be broadcast...
Definition: FEProblemBase.C:3252
Coupleable::coupledCallback
virtual void coupledCallback(const std::string &, bool)
A call-back function provided by the derived object for actions before coupling a variable with funct...
Definition: Coupleable.h:130
MaterialPropertyInterface::_mi_feproblem
FEProblemBase & _mi_feproblem
Reference to the FEProblemBase class.
Definition: MaterialPropertyInterface.h:206
UserObjectInterface::getUserObjectBase
const UserObject & getUserObjectBase(const std::string &name)
Get an user object with a given parameter name.
Definition: UserObjectInterface.C:24
MooseVariableFE::uDotOld
const FieldVariableValue & uDotOld() const
Definition: MooseVariableFE.h:352
ScalarCoupleable::_coupleable_params
const InputParameters & _coupleable_params
Local InputParameters.
Definition: ScalarCoupleable.h:220
MooseVariableFE::curlSlnOld
const FieldVariableCurl & curlSlnOld() const
Definition: MooseVariableFE.h:302
MooseVariableFE::uDotDotOldNeighbor
const FieldVariableValue & uDotDotOldNeighbor() const
Definition: MooseVariableFE.h:427
mooseDeprecated
void mooseDeprecated(Args &&... args)
Emit a deprecated code/feature message with the given stringified, concatenated args.
Definition: MooseError.h:239
MooseVariableFE::curlSlnOlderNeighbor
const FieldVariableCurl & curlSlnOlderNeighbor() const
Definition: MooseVariableFE.h:418
MooseObject::getParamTempl
const T & getParamTempl(const std::string &name) const
Retrieve a parameter for the object.
Definition: MooseObject.h:208
Coupleable::coupledValue
virtual const VariableValue & coupledValue(const std::string &var_name, unsigned int comp=0)
Returns value of a coupled variable.
Definition: Coupleable.C:387
MaterialProperty< Real >
Kernel::_test
const VariableTestValue & _test
the current test function
Definition: Kernel.h:78
MooseApp::registerRestartableData
RestartableDataValue & registerRestartableData(const std::string &name, std::unique_ptr< RestartableDataValue > data, THREAD_ID tid, bool mesh_meta_data, bool read_only)
Definition: MooseApp.C:1156
MooseVariableFE::dofValuesDotDotOldNeighbor
const DoFValue & dofValuesDotDotOldNeighbor()
Definition: MooseVariableFE.C:343
Coupleable::getDefaultValue
VariableValue * getDefaultValue(const std::string &var_name, unsigned int comp)
Helper method to return (and insert if necessary) the default value for an uncoupled variable.
Definition: Coupleable.C:264
MaterialPropertyInterface::_mi_tid
const THREAD_ID _mi_tid
Current threaded it.
Definition: MaterialPropertyInterface.h:209
FEProblemBase::getScatterVectorPostprocessorValue
ScatterVectorPostprocessorValue & getScatterVectorPostprocessorValue(const VectorPostprocessorName &vpp_name, const std::string &vector_name)
Return the scatter value for the post processor.
Definition: FEProblemBase.C:3292
Coupleable::_default_value_zero
VariableValue _default_value_zero
This will always be zero because the default values for optionally coupled variables is always consta...
Definition: Coupleable.h:904
callMooseErrorRaw
void callMooseErrorRaw(std::string &msg, MooseApp *app)
Definition: MooseObject.C:70
MaterialPropertyInterface::_material_data_type
Moose::MaterialDataType _material_data_type
The type of data.
Definition: MaterialPropertyInterface.h:200
MooseObjectWarehouseBase::getActiveBlockObjects
const std::map< SubdomainID, std::vector< std::shared_ptr< T > > > & getActiveBlockObjects(THREAD_ID tid=0) const
Definition: MooseObjectWarehouseBase.h:387
FEProblemBase::getPostprocessorValueOlder
PostprocessorValue & getPostprocessorValueOlder(const std::string &name)
Get the reference to the older value of a post-processor.
Definition: FEProblemBase.C:3234
RandomInterface::_ri_problem
FEProblemBase & _ri_problem
Definition: RandomInterface.h:80
Coupleable::addFEVariableCoupleableMatrixTag
void addFEVariableCoupleableMatrixTag(TagID tag)
Definition: Coupleable.h:119
Coupleable::_default_gradient
VariableGradient _default_gradient
This will always be zero because the default values for optionally coupled variables is always consta...
Definition: Coupleable.h:907
Coupleable::_default_vector_gradient
VectorVariableGradient _default_vector_gradient
This will always be zero because the default values for optionally coupled variables is always consta...
Definition: Coupleable.h:946
Kernel::_grad_test
const VariableTestGradient & _grad_test
gradient of the test function
Definition: Kernel.h:81
MooseVariableFE::adGradSlnNeighbor
const VariableGradientType< OutputType, compute_stage >::type & adGradSlnNeighbor() const
Definition: MooseVariableFE.h:334
SetupInterface::_exec_flags
const std::vector< ExecFlagType > _exec_flags
(DEPRECATED) execution flag (when is the object executed/evaluated) TODO: ExecFlagType
Definition: SetupInterface.h:96
TaggingInterface::_re_blocks
std::vector< DenseVector< Number > * > _re_blocks
Residual blocks Vectors For each Tag.
Definition: TaggingInterface.h:150
BlockRestrictable::_blocks
std::vector< SubdomainName > _blocks
Vector the block names supplied by the user via the input file.
Definition: BlockRestrictable.h:230
ScalarCoupleable::addScalarVariableCoupleableVectorTag
void addScalarVariableCoupleableVectorTag(TagID tag)
Definition: ScalarCoupleable.h:53
MooseVariableFE::nodalValueOlder
const OutputType & nodalValueOlder()
Definition: MooseVariableFE.C:594
MooseVariableFE::gradSlnNeighborDot
const FieldVariableGradient & gradSlnNeighborDot() const
neighbor grad dots
Definition: MooseVariableFE.h:385
Coupleable::_ad_default_gradient
MooseArray< DualRealVectorValue > _ad_default_gradient
This will always be zero because the default values for optionally coupled variables is always consta...
Definition: Coupleable.h:910
KernelBase::precalculateOffDiagJacobian
virtual void precalculateOffDiagJacobian(unsigned int)
Definition: KernelBase.h:117
KernelBase::_sys
SystemBase & _sys
Reference to the EquationSystem object.
Definition: KernelBase.h:127
MooseVariableScalar::matrixTagSln
VariableValue & matrixTagSln(TagID tag)
Definition: MooseVariableScalar.h:61
MooseMesh::meshSubdomains
const std::set< SubdomainID > & meshSubdomains() const
Returns a read-only reference to the set of subdomains currently present in the Mesh.
Definition: MooseMesh.C:2338
PostprocessorInterface::_ppi_params
const InputParameters & _ppi_params
PostprocessorInterface Parameters.
Definition: PostprocessorInterface.h:128
MooseObjectWarehouseBase::hasActiveBlockObjects
bool hasActiveBlockObjects(THREAD_ID tid=0) const
Definition: MooseObjectWarehouseBase.h:422
UserObjectInterface::_uoi_feproblem
FEProblemBase & _uoi_feproblem
Reference to the FEProblemBase instance.
Definition: UserObjectInterface.h:74
Moose::VAR_NONLINEAR
Definition: MooseTypes.h:608
MooseVariableFE::dofValuesDuDotDuNeighbor
const MooseArray< Number > & dofValuesDuDotDuNeighbor()
Definition: MooseVariableFE.C:364
MaterialPropertyInterface::_default_real_properties
std::vector< std::unique_ptr< MaterialProperty< Real > > > _default_real_properties
Storage vector for MaterialProperty<Real> default objects.
Definition: MaterialPropertyInterface.h:261
MaterialPropertyInterface::_default_ad_real_properties
std::vector< std::unique_ptr< ADMaterialPropertyObject< Real > > > _default_ad_real_properties
Storage vector for ADMaterialPropertyObject<Real> default objects.
Definition: MaterialPropertyInterface.h:263
KernelBase::_has_diag_save_in
bool _has_diag_save_in
The aux variables to save the diagonal Jacobian contributions to.
Definition: KernelBase.h:170
Coupleable::isCoupled
virtual bool isCoupled(const std::string &var_name, unsigned int i=0)
Returns true if a variables has been coupled as name.
Definition: Coupleable.C:107
Coupleable::VarType::Ignore
SubProblem::getMaterialPropertyBoundaryNames
virtual std::vector< BoundaryName > getMaterialPropertyBoundaryNames(const std::string &prop_name)
Get a vector of block id equivalences that the material property is defined on.
Definition: SubProblem.C:368
Moose::VAR_AUXILIARY
Definition: MooseTypes.h:609
MooseUtils::replaceAll
std::string replaceAll(std::string str, const std::string &from, const std::string &to)
Replaces all occurences of from in str with to and returns the result.
Definition: MooseUtils.C:45
FEProblemBase::registerRandomInterface
void registerRandomInterface(RandomInterface &random_interface, const std::string &name)
Definition: FEProblemBase.C:6319
Coupleable::_default_value
std::unordered_map< std::string, std::vector< std::unique_ptr< VariableValue > > > _default_value
Will hold the default value for optional coupled variables.
Definition: Coupleable.h:885
MooseVariableFE::slnOlderNeighbor
const FieldVariableValue & slnOlderNeighbor() const
Definition: MooseVariableFE.h:360
Coupleable::_default_vector_value_zero
VectorVariableValue _default_vector_value_zero
This will always be zero because the default values for optionally coupled variables is always consta...
Definition: Coupleable.h:943
MooseVariableFE::duDotDu
const VariableValue & duDotDu() const
Definition: MooseVariableFE.h:354
MooseVariableFE::slnOldNeighbor
const FieldVariableValue & slnOldNeighbor() const
Definition: MooseVariableFE.h:359
FEProblemBase::getMaterial
std::shared_ptr< MaterialBase > getMaterial(std::string name, Moose::MaterialDataType type, THREAD_ID tid=0, bool no_warn=false)
Return a pointer to a MaterialBase object.
Definition: FEProblemBase.C:2674
MooseVariableFE::isNodal
bool isNodal() const override
Is this variable nodal.
Definition: MooseVariableFE.h:160
GeometricSearchInterface::_geometric_search_data
GeometricSearchData & _geometric_search_data
Definition: GeometricSearchInterface.h:60
MaterialPropertyInterface::_get_material_property_called
bool _get_material_property_called
Initialized to false.
Definition: MaterialPropertyInterface.h:258
SubProblem::getMatrixTagID
virtual TagID getMatrixTagID(const TagName &tag_name)
Get a TagID from a TagName.
Definition: SubProblem.C:147
MooseVariableFE::nodalValue
const OutputType & nodalValue()
Methods for retrieving values of variables at the nodes.
Definition: MooseVariableFE.C:552
MooseVariableFE::gradSlnOld
const FieldVariableGradient & gradSlnOld() const
Definition: MooseVariableFE.h:274
KernelGrad::computeJacobian
virtual void computeJacobian() override
Compute this Kernel's contribution to the diagonal Jacobian entries.
Definition: KernelGrad.C:51
FEProblemBase::getVectorPostprocessorValueOld
VectorPostprocessorValue & getVectorPostprocessorValueOld(const std::string &name, const std::string &vector_name)
DEPRECATED: Use the new version where you need to specify whether or not the vector must be broadcast...
Definition: FEProblemBase.C:3264
Coupleable::FuncAge::Curr
MooseVariableFE::slnNeighbor
const FieldVariableValue & slnNeighbor() const
neighbor solutions
Definition: MooseVariableFE.h:358
Coupleable::_ad_default_value
std::unordered_map< std::string, std::unique_ptr< MooseArray< DualReal > > > _ad_default_value
Will hold the default value for optional coupled variables for automatic differentiation.
Definition: Coupleable.h:888
SubProblem::matrixTagExists
virtual bool matrixTagExists(const TagName &tag_name)
Check to see if a particular Tag exists.
Definition: SubProblem.C:133
FEProblemBase::getFunction
virtual Function & getFunction(const std::string &name, THREAD_ID tid=0)
Definition: FEProblemBase.C:1878
InputParameters::getCheckedPointerParam
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.
Definition: InputParameters.h:1162
Coupleable::checkVar
bool checkVar(const std::string &var_name, unsigned int comp=0, unsigned int comp_bound=0)
Check that the right kind of variable is being coupled in.
Definition: Coupleable.C:174
Coupleable::_default_array_value
std::map< std::string, ArrayVariableValue * > _default_array_value
Will hold the default value for optional array coupled variables.
Definition: Coupleable.h:894
MooseVariableFE::adSecondSln
const VariableSecondType< OutputType, compute_stage >::type & adSecondSln() const
Definition: MooseVariableFE.h:317
MaterialPropertyInterface::getMaterialByName
MaterialBase & getMaterialByName(const std::string &name, bool no_warn=false)
Definition: MaterialPropertyInterface.C:254
MooseVariableFE::nodalValueOldNeighbor
const OutputType & nodalValueOldNeighbor()
Definition: MooseVariableFE.C:587
MaterialPropertyInterface::checkBlockAndBoundaryCompatibility
void checkBlockAndBoundaryCompatibility(std::shared_ptr< MaterialBase > discrete)
Check if block and boundary restrictions of a given material are compatible with the current material...
Definition: MaterialPropertyInterface.C:212
Assembly::secondPhiFace
const VariablePhiSecond & secondPhiFace(const MooseVariable &) const
Definition: Assembly.h:905
Moose::ValueType::type
RealType< compute_stage >::type type
Definition: MooseTypes.h:225
MooseVariableFE::nodalMatrixTagValue
const DoFValue & nodalMatrixTagValue(TagID tag)
Definition: MooseVariableFE.C:573
BlockRestrictable::hasBlocks
bool hasBlocks(const SubdomainName &name) const
Test if the supplied block name is valid for this object.
Definition: BlockRestrictable.C:186
BlockRestrictable::_blk_ids
std::set< SubdomainID > _blk_ids
Set of block ids supplied by the user via the input file (for error reporting)
Definition: BlockRestrictable.h:227
Coupleable::_ad_second_zero
const MooseArray< DualRealTensorValue > & _ad_second_zero
Definition: Coupleable.h:931
Coupleable::_optional_var_index
std::unordered_map< std::string, std::vector< unsigned int > > _optional_var_index
Unique indices for optionally coupled vars that weren't provided.
Definition: Coupleable.h:1119
Restartable::_restartable_app
MooseApp & _restartable_app
Reference to the application.
Definition: Restartable.h:208
TaggingInterface::_local_ke
DenseMatrix< Number > _local_ke
Holds residual entries as they are accumulated by this Kernel.
Definition: TaggingInterface.h:159
KernelBase::_qrule
const QBase *const & _qrule
active quadrature rule
Definition: KernelBase.h:150
RandomInterface::_is_nodal
bool _is_nodal
Definition: RandomInterface.h:84
Restartable::_restartable_tid
THREAD_ID _restartable_tid
The thread ID for this object.
Definition: Restartable.h:217
Assembly::residualBlockNeighbor
DenseVector< Number > & residualBlockNeighbor(unsigned int var_num, TagID tag_id=0)
Get local neighbor residual block for a variable and a tag.
Definition: Assembly.h:825
MaterialPropertyInterface::_material_property_dependencies
std::set< unsigned int > _material_property_dependencies
The set of material properties (as given by their IDs) that this object depends on.
Definition: MaterialPropertyInterface.h:269
checkComponent
void checkComponent(const MooseObject *obj, unsigned int comp, unsigned int bound, const std::string &var_name)
Definition: Coupleable.C:142
Coupleable::VarType::Gradient
SubProblem::getMaterialPropertyBoundaryIDs
virtual std::set< BoundaryID > getMaterialPropertyBoundaryIDs(const std::string &prop_name)
Get a vector containing the block ids the material property is defined on.
Definition: SubProblem.C:352
MooseVariableScalar::uDotOld
VariableValue & uDotOld()
Definition: MooseVariableScalar.h:92
UserObjectInterface::getUserObjectBaseByName
const UserObject & getUserObjectBaseByName(const std::string &name)
Get an user object with a given name.
Definition: UserObjectInterface.C:30
MooseVariableFE::curlSlnOlder
const FieldVariableCurl & curlSlnOlder() const
Definition: MooseVariableFE.h:303
Moose::show_trace
bool show_trace
Set to true (the default) to print the stack trace with error and warning messages - false to omit it...
Definition: Moose.C:572
Moose::RESTARTABLE_FILTER::RECOVERABLE
MooseVariableFE::matrixTagValue
const FieldVariableValue & matrixTagValue(TagID tag)
Definition: MooseVariableFE.h:261
MaterialPropertyInterface::checkMaterialProperty
void checkMaterialProperty(const std::string &name)
A helper method for checking material properties This method was required to avoid a compiler problem...
Definition: MaterialPropertyInterface.C:180
RandomInterface::_reset_on
ExecFlagType _reset_on
Definition: RandomInterface.h:85
FunctionInterface::_fni_tid
const THREAD_ID _fni_tid
Thread ID.
Definition: FunctionInterface.h:73
Assembly::secondPhi
const VariablePhiSecond & secondPhi() const
Definition: Assembly.h:898
BlockRestrictable::_blk_name
const std::string & _blk_name
Name of the object.
Definition: BlockRestrictable.h:251
VectorPostprocessorInterface::_broadcast_by_default
bool _broadcast_by_default
Whether or not to force broadcasting by default.
Definition: VectorPostprocessorInterface.h:258
MooseApp::registerRestartableNameWithFilter
void registerRestartableNameWithFilter(const std::string &name, Moose::RESTARTABLE_FILTER filter)
NOTE: This is an internal function meant for MOOSE use only!
Definition: MooseApp.C:972
Coupleable::_ad_default_second
MooseArray< DualRealTensorValue > _ad_default_second
This will always be zero because the default values for optionally coupled variables is always consta...
Definition: Coupleable.h:919
SubProblem::vectorTagExists
virtual bool vectorTagExists(TagID tag)
Check to see if a particular Tag exists.
Definition: SubProblem.h:117
m
PetscInt m
Definition: PetscDMMoose.C:1504
ScalarCoupleable::_default_value
std::unordered_map< std::string, std::unique_ptr< VariableValue > > _default_value
Will hold the default value for optional coupled scalar variables.
Definition: ScalarCoupleable.h:208
Coupleable::_c_name
const std::string & _c_name
The name of the object this interface is part of.
Definition: Coupleable.h:855
Moose::VAR_FIELD_ANY
Definition: MooseTypes.h:619
Coupleable::_default_array_gradient
ArrayVariableGradient _default_array_gradient
This will always be zero because the default values for optionally coupled variables is always consta...
Definition: Coupleable.h:958
Assembly::jacobianBlockLower
DenseMatrix< Number > & jacobianBlockLower(Moose::ConstraintJacobianType type, unsigned int ivar, unsigned int jvar, TagID tag=0)
Returns the jacobian block for the given mortar Jacobian type.
Definition: Assembly.C:2756
BlockRestrictable::meshBlockIDs
const std::set< SubdomainID > & meshBlockIDs() const
Return all of the SubdomainIDs for the mesh.
Definition: BlockRestrictable.C:250
MaterialPropertyInterface::_stateful_allowed
bool _stateful_allowed
True by default.
Definition: MaterialPropertyInterface.h:251
MooseObject::_name
const std::string & _name
The name of this object, reference to value stored in InputParameters.
Definition: MooseObject.h:178
Kernel::_var
MooseVariable & _var
This is a regular kernel so we cast to a regular MooseVariable.
Definition: Kernel.h:75
MooseObject::_pars
const InputParameters & _pars
Parameters of this object, references the InputParameters stored in the InputParametersWarehouse.
Definition: MooseObject.h:169
MooseVariableFE::dofValuesDuDotDotDu
const MooseArray< Number > & dofValuesDuDotDotDu()
Definition: MooseVariableFE.C:357
MooseVariableFE::nodalValueOlderNeighbor
const OutputType & nodalValueOlderNeighbor()
Definition: MooseVariableFE.C:601
MooseVariableFE::dofValuesDotOldNeighbor
const DoFValue & dofValuesDotOldNeighbor()
Definition: MooseVariableFE.C:336
moose::internal::mooseWarningStream
void mooseWarningStream(S &oss, Args &&... args)
Definition: MooseError.h:136
MooseVariableFE::adUDot
const VariableValueType< OutputType, compute_stage >::type & adUDot() const
Definition: MooseVariableFE.h:322
InputParameters::getDefaultPostprocessorValue
const PostprocessorValue & getDefaultPostprocessorValue(const std::string &name, bool suppress_error=false, unsigned int index=0) const
Get the default value for a postprocessor added with addPostprocessor.
Definition: InputParameters.C:629
MooseVariableFE::dofValuesDuDotDotDuNeighbor
const MooseArray< Number > & dofValuesDuDotDotDuNeighbor()
Definition: MooseVariableFE.C:371
Assembly::jacobianBlock
DenseMatrix< Number > & jacobianBlock(unsigned int ivar, unsigned int jvar, TagID tag=0)
Get local Jacobian block for a pair of variables and a tag.
Definition: Assembly.h:841
InputParameters::hasDefaultCoupledValue
bool hasDefaultCoupledValue(const std::string &coupling_name) const
Return whether or not the requested parameter has a default coupled value.
Definition: InputParameters.C:464
MaterialPropertyInterface::_mi_params
const InputParameters & _mi_params
Parameters of the object with this interface.
Definition: MaterialPropertyInterface.h:194
VectorPostprocessorInterface::_vpi_feproblem
FEProblemBase & _vpi_feproblem
Reference the the FEProblemBase class.
Definition: VectorPostprocessorInterface.h:264
MooseVariableFE::dofValuesDotDotOld
const DoFValue & dofValuesDotDotOld()
Definition: MooseVariableFE.C:315
MooseVariableFE::slnPreviousNLNeighbor
const FieldVariableValue & slnPreviousNLNeighbor() const
Definition: MooseVariableFE.h:361
libMesh::RealEigenVector
Eigen::Matrix< Real, Eigen::Dynamic, 1 > RealEigenVector
Definition: MooseTypes.h:133
MooseVariableFE::dofValuesDotDotNeighbor
const DoFValue & dofValuesDotDotNeighbor()
Definition: MooseVariableFE.C:329
MooseVariableFE::adGradSln
const VariableGradientType< OutputType, compute_stage >::type & adGradSln() const
Definition: MooseVariableFE.h:312
BlockRestrictable::_boundary_ids
const std::set< BoundaryID > & _boundary_ids
Reference to the boundary_ids, defaults to an empty set if not provided.
Definition: BlockRestrictable.h:245
MooseVariableFE::uDotDotOld
const FieldVariableValue & uDotDotOld() const
Definition: MooseVariableFE.h:353
MooseVariableFE::slnOlder
const FieldVariableValue & slnOlder() const
Definition: MooseVariableFE.h:269
RestartableData
Concrete definition of a parameter value for a specified type.
Definition: RestartableData.h:76
MaterialProperty::resize
virtual void resize(int n) override
Resizes the property to the size n.
Definition: MaterialProperty.h:227
MooseVariableBase::kind
Moose::VarKindType kind() const
Kind of the variable (Nonlinear, Auxiliary, ...)
Definition: MooseVariableBase.h:74
Coupleable::getDefaultArrayValue
ArrayVariableValue * getDefaultArrayValue(const std::string &var_name)
Helper method to return (and insert if necessary) the default value for an uncoupled array variable.
Definition: Coupleable.C:319
MooseVariableScalar::slnOld
VariableValue & slnOld()
Definition: MooseVariableScalar.h:54
BlockRestrictable::hasBlockMaterialPropertyHelper
virtual bool hasBlockMaterialPropertyHelper(const std::string &prop_name)
A helper method to allow the Material object to specialize the behavior of hasBlockMaterialProperty.
Definition: BlockRestrictable.C:256
Assembly::residualBlockLower
DenseVector< Number > & residualBlockLower(unsigned int var_num, TagID tag_id=0)
Get residual block for lower.
Definition: Assembly.h:833
Coupleable::_obj
const MooseObject * _obj
Definition: Coupleable.h:1129
MooseVariableFE::duDotDuNeighbor
const VariableValue & duDotDuNeighbor() const
Definition: MooseVariableFE.h:428
FEProblemBase::startedInitialSetup
virtual bool startedInitialSetup()
Returns true if we are in or beyond the initialSetup stage.
Definition: FEProblemBase.h:435
MooseVariableFE::nodalValueOld
const OutputType & nodalValueOld()
Definition: MooseVariableFE.C:580
RandomData::getGenerator
MooseRandom & getGenerator()
Return the underlying MooseRandom generator object for this data instance.
Definition: RandomData.h:41
MooseVariableInterface< Real >::_variable
MooseVariableFE< Real > * _variable
The variable this object is acting on.
Definition: MooseVariableInterface.h:200
GeometricSearchData::getQuadratureNearestNodeLocator
NearestNodeLocator & getQuadratureNearestNodeLocator(const BoundaryName &master, const BoundaryName &slave)
Definition: GeometricSearchData.C:239
MooseObject::_app
MooseApp & _app
The MooseApp this object is associated with.
Definition: MooseObject.h:172
GeometricSearchData::getQuadraturePenetrationLocator
PenetrationLocator & getQuadraturePenetrationLocator(const BoundaryName &master, const BoundaryName &slave, Order order=FIRST)
Definition: GeometricSearchData.C:172
Coupleable::getVectorVar
VectorMooseVariable * getVectorVar(const std::string &var_name, unsigned int comp)
Extract pointer to a coupled vector variable.
Definition: Coupleable.C:246
MooseVariableFE::uDotOldNeighbor
const FieldVariableValue & uDotOldNeighbor() const
Definition: MooseVariableFE.h:426
MooseVariableFE::uDotNeighbor
const FieldVariableValue & uDotNeighbor() const
neighbor dots
Definition: MooseVariableFE.h:424
MooseVariableFE
Class for stuff related to variables.
Definition: Adaptivity.h:31
Restartable::_restartable_system_name
std::string _restartable_system_name
The system name this object is in.
Definition: Restartable.h:214
MooseVariableFE::dofValuesOldNeighbor
const DoFValue & dofValuesOldNeighbor()
Definition: MooseVariableFE.C:273
FEProblemBase::mesh
virtual MooseMesh & mesh() override
Definition: FEProblemBase.h:148
MooseVariableFE::uDotDotNeighbor
const FieldVariableValue & uDotDotNeighbor() const
Definition: MooseVariableFE.h:425
ExecFlagType
MooseEnumItem ExecFlagType
Definition: Moose.h:99
FEProblemBase::hasPostprocessor
bool hasPostprocessor(const std::string &name)
Check existence of the postprocessor.
Definition: FEProblemBase.C:3216
MooseObject::mooseWarning
void mooseWarning(Args &&... args) const
Definition: MooseObject.h:150
MooseVariableInterface< Real >::_nodal
bool _nodal
Whether or not this object is acting only at nodes.
Definition: MooseVariableInterface.h:197
MaterialPropertyInterface::_mi_boundary_ids
const std::set< BoundaryID > & _mi_boundary_ids
Storage for the boundary ids created by BoundaryRestrictable.
Definition: MaterialPropertyInterface.h:279
MooseObject::paramErrorMsg
std::string paramErrorMsg(const std::string &param, Args... args) const
Definition: MooseObject.h:185
MooseUtils::getDefaultExecFlagEnum
ExecFlagEnum getDefaultExecFlagEnum()
Return the default ExecFlagEnum for MOOSE.
Definition: MooseUtils.C:685
SetupInterface::_execute_enum
const ExecFlagEnum & _execute_enum
Execute settings for this oejct.
Definition: SetupInterface.h:93
MooseVariableFE::dofValuesPreviousNLNeighbor
const DoFValue & dofValuesPreviousNLNeighbor()
Definition: MooseVariableFE.C:287
MooseObject::name
virtual const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:70
MaterialPropertyInterface::_mi_boundary_restricted
const bool _mi_boundary_restricted
BoundaryRestricted flag.
Definition: MaterialPropertyInterface.h:273
RestartableData::get
T & get()
Definition: RestartableData.h:92
Restartable::registerRestartableNameWithFilterOnApp
void registerRestartableNameWithFilterOnApp(const std::string &name, Moose::RESTARTABLE_FILTER filter)
Helper function for actually registering the restartable data.
Definition: Restartable.C:56
Moose::BLOCK_MATERIAL_DATA
Definition: MooseTypes.h:585
MaterialPropertyInterface::checkExecutionStage
void checkExecutionStage()
Check and throw an error if the execution has progressed past the construction stage.
Definition: MaterialPropertyInterface.C:290
KernelGrad::precomputeQpResidual
virtual RealGradient precomputeQpResidual()=0
Called before forming the residual for an element.
KernelBase::_has_save_in
bool _has_save_in
The aux variables to save the residual contributions to.
Definition: KernelBase.h:165
MooseVariableBase::name
const std::string & name() const override
Get the variable name.
Definition: MooseVariableBase.h:63
MooseVariableFE::secondSln
const FieldVariableSecond & secondSln() const
element seconds
Definition: MooseVariableFE.h:289
ScalarCoupleable::addScalarVariableCoupleableMatrixTag
void addScalarVariableCoupleableMatrixTag(TagID tag)
Definition: ScalarCoupleable.h:55
KernelBase::_coord
const MooseArray< Real > & _coord
The scaling factor to convert from cartesian to another coordinate system (e.g rz,...
Definition: KernelBase.h:156
SubProblem::storeBoundaryDelayedCheckMatProp
virtual void storeBoundaryDelayedCheckMatProp(const std::string &requestor, BoundaryID boundary_id, const std::string &name)
Adds to a map based on boundary ids of material properties to validate.
Definition: SubProblem.C:442
MooseVariableBase::number
unsigned int number() const
Get variable number coming from libMesh.
Definition: MooseVariableBase.h:48
Coupleable::_default_array_value_zero
ArrayVariableValue _default_array_value_zero
This will always be zero because the default values for optionally coupled variables is always consta...
Definition: Coupleable.h:955
n
PetscInt n
Definition: PetscDMMoose.C:1504