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
AuxNodalScalarKernel Class Referenceabstract

#include <AuxNodalScalarKernel.h>

Inheritance diagram for AuxNodalScalarKernel:
[legend]

Public Member Functions

 AuxNodalScalarKernel (const InputParameters &parameters)
 
virtual void compute () override
 Evaluate the kernel. More...
 
MooseVariableScalarvariable ()
 The variable that this kernel operates on. More...
 
SubProblemsubProblem ()
 
virtual const std::set< std::string > & getRequestedItems () override
 Return a set containing the names of items requested by the object. More...
 
virtual const std::set< std::string > & getSuppliedItems () override
 Return a set containing the names of items owned by the object. More...
 
virtual bool isActive ()
 Use this to enable/disable the constraint. 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< 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)
 
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 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 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...
 
bool isImplicit ()
 
virtual void meshChanged ()
 Called on this object when the mesh changes. 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<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::set< MooseVariableFEBase * > & getMooseVariableDependencies () const
 Retrieve the set of MooseVariableFEBases that this object depends on. 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...
 

Static Public Member Functions

static InputParameters validParams ()
 
static ExecFlagEnum getExecuteOptions ()
 (DEPRECATED) Returns the available options for the 'execute_on' input parameters TODO: ExecFlagType More...
 
template<typename T >
static void sort (typename std::vector< T > &vector)
 Given a vector, sort using the getRequested/SuppliedItems sets. More...
 
template<typename T >
static void cyclicDependencyError (CyclicDependencyException< T > &e, const std::string &header)
 A helper method for cyclic errors. More...
 

Public Attributes

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

Protected Member Functions

virtual Real computeValue ()=0
 Compute the value of this kernel. 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...
 
VariableValuegetDefaultValue (const std::string &var_name)
 Helper method to return (and insert if necessary) the default value for an uncoupled variable. 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...
 
void checkVar (const std::string &var_name)
 Check that the right kind of variable is being coupled in. More...
 
MooseVariableScalargetScalarVar (const std::string &var_name, unsigned int comp)
 Extract pointer to a scalar coupled 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...
 
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...
 
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 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)
 

Protected Attributes

std::vector< dof_id_type > _node_ids
 List of node IDs. More...
 
SubProblem_subproblem
 
SystemBase_sys
 
THREAD_ID _tid
 
Assembly_assembly
 
MooseVariableScalar_var
 
MooseMesh_mesh
 
unsigned int _i
 
VariableValue_u
 
VariableValue_u_old
 
std::set< std::string > _depend_vars
 Depend AuxKernels. More...
 
std::set< std::string > _supplied_vars
 
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...
 
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< VariableValue > > _default_value
 Will hold the default value for optional coupled scalar variables. 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 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_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
 
FEProblemBase_mci_feproblem
 Reference to FEProblemBase instance. 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< 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...
 

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
 
bool needThreadedCopy (const UserObject &uo) const
 Check if the threaded copy of the user object is needed. More...
 
void checkFuncType (const std::string var_name, VarType t, FuncAge age)
 
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)
 

Private Attributes

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
 
ExecFlagEnum _empty_execute_enum
 Empty ExecFlagEnum for the case when the "execute_on" parameter is not included. More...
 
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 InputParameters_ppi_params
 PostprocessorInterface Parameters. More...
 
FEProblemBase_pi_feproblem
 Reference the the FEProblemBase class. More...
 
const std::string _ti_name
 
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::set< MooseVariableFEBase * > _moose_variable_dependencies
 

Detailed Description

Definition at line 25 of file AuxNodalScalarKernel.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

◆ AuxNodalScalarKernel()

AuxNodalScalarKernel::AuxNodalScalarKernel ( const InputParameters parameters)

Definition at line 23 of file AuxNodalScalarKernel.C.

25  Coupleable(this, true),
27  _node_ids(getParam<std::vector<dof_id_type>>("nodes"))
28 {
29  // Fill in the MooseVariable dependencies
30  const std::vector<MooseVariableFEBase *> & coupled_vars = getCoupledMooseVars();
31  for (const auto & var : coupled_vars)
33 }

Member Function Documentation

◆ 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(), 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 }

◆ 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().

◆ 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().

◆ compute()

void AuxNodalScalarKernel::compute ( )
overridevirtual

Evaluate the kernel.

Reimplemented from AuxScalarKernel.

Definition at line 36 of file AuxNodalScalarKernel.C.

37 {
38  _subproblem.reinitNodes(_node_ids, _tid); // compute variables at nodes
40 }

◆ computeValue()

virtual Real AuxScalarKernel::computeValue ( )
protectedpure virtualinherited

Compute the value of this kernel.

Each kernel must implement this.

Returns
The computed value

Implemented in SolutionScalarAux, QuotientScalarAux, ScalarTagMatrixAux, ScalarTagVectorAux, FunctionScalarAux, and ConstantScalarAux.

Referenced by AuxScalarKernel::compute().

◆ 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 }

◆ cyclicDependencyError()

template<typename T >
void DependencyResolverInterface::cyclicDependencyError ( CyclicDependencyException< T > &  e,
const std::string &  header 
)
staticinherited

A helper method for cyclic errors.

Definition at line 94 of file DependencyResolverInterface.h.

96 {
97  std::ostringstream oss;
98 
99  oss << header << ":\n";
100  const typename std::multimap<T, T> & depends = e.getCyclicDependencies();
101  for (typename std::multimap<T, T>::const_iterator it = depends.begin(); it != depends.end(); ++it)
102  oss << (static_cast<T>(it->first))->name() << " -> " << (static_cast<T>(it->second))->name()
103  << "\n";
104  mooseError(oss.str());
105 }

◆ 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/2]

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/2]

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 }

◆ 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 }

◆ getArrayVar()

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

◆ 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()

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().

◆ 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().

◆ 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

◆ 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  }

◆ getParamTempl()

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

◆ 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 }

◆ getRequestedItems()

const std::set< std::string > & AuxScalarKernel::getRequestedItems ( )
overridevirtualinherited

Return a set containing the names of items requested by the object.

Implements DependencyResolverInterface.

Definition at line 92 of file AuxScalarKernel.C.

93 {
94  return _depend_vars;
95 }

◆ 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.

◆ getSuppliedItems()

const std::set< std::string > & AuxScalarKernel::getSuppliedItems ( )
overridevirtualinherited

Return a set containing the names of items owned by the object.

Implements DependencyResolverInterface.

Definition at line 98 of file AuxScalarKernel.C.

99 {
100  return _supplied_vars;
101 }

◆ 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 }

◆ getVectorVar()

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

◆ 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().

◆ initialSetup()

void SetupInterface::initialSetup ( )
virtualinherited

◆ isActive()

bool AuxScalarKernel::isActive ( )
virtualinherited

Use this to enable/disable the constraint.

Returns
true if the constrain is active

Definition at line 104 of file AuxScalarKernel.C.

105 {
106  return true;
107 }

◆ 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; }

◆ 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(), GeneratedMesh::buildMesh(), DistributedGeneratedMesh::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().

◆ 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 }

◆ 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(), ReferenceResidualProblem::initialSetup(), MultiAppConservativeTransfer::initialSetup(), FullSolveMultiApp::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(), BreakMeshByBlockBase::modify(), MeshExtruder::modify(), AssignElementSubdomainID::modify(), SmoothMesh::modify(), AddAllSideSetsByNormals::modify(), ElementDeleterBase::modify(), ParsedSubdomainMeshModifier::modify(), RenameBlock::modify(), ImageSubdomain::modify(), OrientedSubdomainBoundingBox::modify(), BoundingBoxNodeSet::modify(), AddSideSetsFromBoundingBox::modify(), SubdomainBoundingBox::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

◆ 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().

◆ 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().

◆ 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 }

◆ 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().

◆ sort()

template<typename T >
void DependencyResolverInterface::sort ( typename std::vector< T > &  vector)
staticinherited

Given a vector, sort using the getRequested/SuppliedItems sets.

Definition at line 57 of file DependencyResolverInterface.h.

58 {
59  DependencyResolver<T> resolver;
60 
61  typename std::vector<T>::iterator start = vector.begin();
62  typename std::vector<T>::iterator end = vector.end();
63 
64  for (typename std::vector<T>::iterator iter = start; iter != end; ++iter)
65  {
66  const std::set<std::string> & requested_items = (*iter)->getRequestedItems();
67 
68  for (typename std::vector<T>::iterator iter2 = start; iter2 != end; ++iter2)
69  {
70  if (iter == iter2)
71  continue;
72 
73  const std::set<std::string> & supplied_items = (*iter2)->getSuppliedItems();
74 
75  std::set<std::string> intersect;
76  std::set_intersection(requested_items.begin(),
77  requested_items.end(),
78  supplied_items.begin(),
79  supplied_items.end(),
80  std::inserter(intersect, intersect.end()));
81 
82  // If the intersection isn't empty then there is a dependency here
83  if (!intersect.empty())
84  resolver.insertDependency(*iter, *iter2);
85  }
86  }
87 
88  // Sort based on dependencies
89  std::stable_sort(start, end, resolver);
90 }

Referenced by TheWarehouse::prepare().

◆ 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& AuxScalarKernel::subProblem ( )
inlineinherited

Definition at line 62 of file AuxScalarKernel.h.

62 { 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(), TiedValueConstraint::computeQpResidual(), CoupledTiedValueConstraint::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().

◆ 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 AuxNodalScalarKernel::validParams ( )
static

Definition at line 16 of file AuxNodalScalarKernel.C.

17 {
19  params.addRequiredParam<std::vector<dof_id_type>>("nodes", "Node ids");
20  return params;
21 }

◆ variable()

MooseVariableScalar& AuxScalarKernel::variable ( )
inlineinherited

The variable that this kernel operates on.

Definition at line 60 of file AuxScalarKernel.h.

60 { 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& AuxScalarKernel::_assembly
protectedinherited

Definition at line 80 of file AuxScalarKernel.h.

◆ _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(), MultiAppVariableValueSampleTransfer::execute(), MultiAppScalarToAuxScalarTransfer::execute(), MultiAppPostprocessorToAuxScalarTransfer::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().

◆ _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().

◆ _current_execute_flag

const ExecFlagType& SetupInterface::_current_execute_flag
protectedinherited

Reference to FEProblemBase.

Definition at line 99 of file SetupInterface.h.

◆ _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_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().

◆ _depend_vars

std::set<std::string> AuxScalarKernel::_depend_vars
protectedinherited

Depend AuxKernels.

Definition at line 90 of file AuxScalarKernel.h.

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

◆ _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_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

◆ _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().

◆ _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().

◆ _i

unsigned int AuxScalarKernel::_i
protectedinherited

Definition at line 84 of file AuxScalarKernel.h.

Referenced by AuxScalarKernel::compute(), and FunctionScalarAux::computeValue().

◆ _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_transient

bool TransientInterface::_is_transient
protectedinherited

Definition at line 70 of file TransientInterface.h.

Referenced by InterfaceTimeKernel::InterfaceTimeKernel().

◆ _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& AuxScalarKernel::_mesh
protectedinherited

Definition at line 82 of file AuxScalarKernel.h.

◆ _moose_variable_dependencies

std::set<MooseVariableFEBase *> MooseVariableDependencyInterface::_moose_variable_dependencies
privateinherited

◆ _name

const std::string& MooseObject::_name
protectedinherited

◆ _node_ids

std::vector<dof_id_type> AuxNodalScalarKernel::_node_ids
protected

List of node IDs.

Definition at line 38 of file AuxNodalScalarKernel.h.

Referenced by compute().

◆ _obj

const MooseObject* Coupleable::_obj
privateinherited

◆ _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

◆ _pi_feproblem

FEProblemBase& PostprocessorInterface::_pi_feproblem
privateinherited

◆ _point_zero

const Point& ScalarCoupleable::_point_zero
protectedinherited

◆ _ppi_params

const InputParameters& PostprocessorInterface::_ppi_params
privateinherited

◆ _real_zero

const Real& ScalarCoupleable::_real_zero
protectedinherited

Scalar zero.

Definition at line 226 of file ScalarCoupleable.h.

◆ _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().

◆ _subproblem

SubProblem& AuxScalarKernel::_subproblem
protectedinherited

Definition at line 75 of file AuxScalarKernel.h.

Referenced by compute(), and AuxScalarKernel::subProblem().

◆ _supplied_vars

std::set<std::string> AuxScalarKernel::_supplied_vars
protectedinherited

◆ _sys

SystemBase& AuxScalarKernel::_sys
protectedinherited

Definition at line 76 of file AuxScalarKernel.h.

◆ _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(), NodalL2Error::execute(), LineFunctionSampler::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().

◆ _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 AuxScalarKernel::_tid
protectedinherited

Definition at line 78 of file AuxScalarKernel.h.

Referenced by compute().

◆ _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

VariableValue& AuxScalarKernel::_u
protectedinherited

Definition at line 86 of file AuxScalarKernel.h.

◆ _u_old

VariableValue& AuxScalarKernel::_u_old
protectedinherited

Definition at line 87 of file AuxScalarKernel.h.

◆ _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

MooseVariableScalar& AuxScalarKernel::_var
protectedinherited

◆ _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_zero

const VectorVariableValue& Coupleable::_vector_zero
protectedinherited

Zero value of a vector variable.

Definition at line 935 of file Coupleable.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
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
Coupleable::_zero
const VariableValue & _zero
Zero value of a variable.
Definition: Coupleable.h:922
MooseVariableFEBase
Definition: MooseVariableFEBase.h:27
MooseVariableFE::slnOld
const FieldVariableValue & slnOld() const
Definition: MooseVariableFE.h:268
Coupleable::_coupled_standard_moose_vars
std::vector< MooseVariable * > _coupled_standard_moose_vars
Vector of standard coupled variables.
Definition: Coupleable.h:867
Coupleable::Coupleable
Coupleable(const MooseObject *moose_object, bool nodal)
Constructing the object.
Definition: Coupleable.C:19
Coupleable::getArrayVar
ArrayMooseVariable * getArrayVar(const std::string &var_name, unsigned int comp)
Extract pointer to a coupled array variable.
Definition: Coupleable.C:258
DependencyResolver::insertDependency
void insertDependency(const T &key, const T &value)
Insert a dependency pair - the first value or the "key" depends on the second value or the "value".
Definition: DependencyResolver.h:223
MooseObject::mooseInfo
void mooseInfo(Args &&... args) const
Definition: MooseObject.h:162
MooseVariableFE::duDotDotDu
const VariableValue & duDotDotDu() const
Definition: MooseVariableFE.h:355
UserObjectInterface::needThreadedCopy
bool needThreadedCopy(const UserObject &uo) const
Check if the threaded copy of the user object is needed.
Definition: UserObjectInterface.C:36
MooseVariableFE::curlSlnOldNeighbor
const FieldVariableCurl & curlSlnOldNeighbor() const
Definition: MooseVariableFE.h:414
Coupleable::_coupled_vector_moose_vars
std::vector< VectorMooseVariable * > _coupled_vector_moose_vars
Vector of vector coupled variables.
Definition: Coupleable.h:870
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
Coupleable::_c_parameters
const InputParameters & _c_parameters
Definition: Coupleable.h:852
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
TransientInterface::_is_implicit
bool _is_implicit
If the object is using implicit or explicit form.
Definition: TransientInterface.h:55
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
FunctionInterface::_fni_params
const InputParameters & _fni_params
Parameters of the object with this interface.
Definition: FunctionInterface.h:67
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
MooseVariableFE::dofValuesOlderNeighbor
const DoFValue & dofValuesOlderNeighbor()
Definition: MooseVariableFE.C:280
MooseVariableDependencyInterface::addMooseVariableDependency
void addMooseVariableDependency(MooseVariableFEBase *var)
Call this function to add the passed in MooseVariableFEBase as a variable that this object depends on...
Definition: MooseVariableDependencyInterface.h:36
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
AuxScalarKernel::_subproblem
SubProblem & _subproblem
Definition: AuxScalarKernel.h:75
MooseVariableFE::gradSlnDot
const FieldVariableGradient & gradSlnDot() const
element gradient dots
Definition: MooseVariableFE.h:285
Coupleable::VarType::Dot
ScalarCoupleable::getScalarVar
MooseVariableScalar * getScalarVar(const std::string &var_name, unsigned int comp)
Extract pointer to a scalar coupled variable.
Definition: ScalarCoupleable.C:313
PostprocessorInterface::singlePostprocessor
bool singlePostprocessor(const std::string &name) const
Checks if there is a single postprocessor coupled by parameter name.
Definition: PostprocessorInterface.C:154
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
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
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
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
FEProblemBase::needsPreviousNewtonIteration
void needsPreviousNewtonIteration(bool state)
Set a flag that indicated that user required values for the previous Newton iterate.
Definition: FEProblemBase.C:6383
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
AuxScalarKernel::compute
virtual void compute()
Evaluate the kernel.
Definition: AuxScalarKernel.C:72
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
Coupleable::FuncAge::Older
MooseVariableFE::uDotDot
const FieldVariableValue & uDotDot() const
Definition: MooseVariableFE.h:351
MooseVariableFE::secondSlnOlder
const FieldVariableSecond & secondSlnOlder() const
Definition: MooseVariableFE.h:291
MooseVariableFE::gradSlnNeighbor
const FieldVariableGradient & gradSlnNeighbor() const
neighbor solution gradients
Definition: MooseVariableFE.h:367
MooseObject::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:76
ScalarCoupleable::_sc_coupleable_vector_tags
std::set< TagID > _sc_coupleable_vector_tags
Definition: ScalarCoupleable.h:278
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
MooseObject::_enabled
const bool & _enabled
Reference to the "enable" InputParaemters, used by Controls for toggling on/off MooseObjects.
Definition: MooseObject.h:181
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
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
Coupleable::getVar
MooseVariable * getVar(const std::string &var_name, unsigned int comp)
Extract pointer to a coupled variable.
Definition: Coupleable.C:240
Coupleable::_fe_coupleable_vector_tags
std::set< TagID > _fe_coupleable_vector_tags
Definition: Coupleable.h:1124
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
AuxScalarKernel::validParams
static InputParameters validParams()
Definition: AuxScalarKernel.C:20
Coupleable::FuncAge::Old
MooseVariableFE::nodalValueDot
const OutputType & nodalValueDot()
Definition: MooseVariableFE.C:622
Moose::Older
Definition: MooseVariableData.h:51
MooseVariableScalar::uDot
VariableValue & uDot()
Definition: MooseVariableScalar.h:67
MooseVariableScalar::slnOlder
VariableValue & slnOlder()
Definition: MooseVariableScalar.h:55
EXEC_NONE
const ExecFlagType EXEC_NONE
MooseVariableDependencyInterface::MooseVariableDependencyInterface
MooseVariableDependencyInterface()
Definition: MooseVariableDependencyInterface.h:20
MooseVariableFE::gradSlnPreviousNL
const FieldVariableGradient & gradSlnPreviousNL() const
Definition: MooseVariableFE.h:279
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
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Definition: InputParameters.h:53
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
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
MooseVariableFE::adUDotNeighbor
const VariableValueType< OutputType, compute_stage >::type & adUDotNeighbor() const
Definition: MooseVariableFE.h:344
Coupleable::VarType::GradientDot
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
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::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
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
MooseVariableFE::dofValuesDotDot
const DoFValue & dofValuesDotDot()
Definition: MooseVariableFE.C:301
AuxScalarKernel::_tid
THREAD_ID _tid
Definition: AuxScalarKernel.h:78
FEProblemBase::isTransient
virtual bool isTransient() const override
Definition: FEProblemBase.h:447
MooseVariableScalar::vectorTagSln
VariableValue & vectorTagSln(TagID tag)
Definition: MooseVariableScalar.h:56
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
MooseVariableFE::dofValuesPreviousNL
const DoFValue & dofValuesPreviousNL()
Definition: MooseVariableFE.C:259
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
FEProblemBase::getPostprocessorValueOld
PostprocessorValue & getPostprocessorValueOld(const std::string &name)
Get the reference to the old value of a post-processor.
Definition: FEProblemBase.C:3228
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
MooseVariableFE::dofValuesDuDotDu
const MooseArray< Number > & dofValuesDuDotDu()
Definition: MooseVariableFE.C:350
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
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
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
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
MooseVariableFE::dofValuesNeighbor
const DoFValue & dofValuesNeighbor()
Definition: MooseVariableFE.C:266
MooseVariableFE::gradSlnDotDot
const FieldVariableGradient & gradSlnDotDot() const
Definition: MooseVariableFE.h:286
MooseVariableFE::nodalValuePreviousNL
const OutputType & nodalValuePreviousNL()
Definition: MooseVariableFE.C:608
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
UserObjectInterface::getUserObjectBase
const UserObject & getUserObjectBase(const std::string &name)
Get an user object with a given parameter name.
Definition: UserObjectInterface.C:24
AuxNodalScalarKernel::_node_ids
std::vector< dof_id_type > _node_ids
List of node IDs.
Definition: AuxNodalScalarKernel.h:38
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
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
AuxScalarKernel::_supplied_vars
std::set< std::string > _supplied_vars
Definition: AuxScalarKernel.h:91
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
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
FEProblemBase::getPostprocessorValueOlder
PostprocessorValue & getPostprocessorValueOlder(const std::string &name)
Get the reference to the older value of a post-processor.
Definition: FEProblemBase.C:3234
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
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
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
MooseVariableScalar::matrixTagSln
VariableValue & matrixTagSln(TagID tag)
Definition: MooseVariableScalar.h:61
PostprocessorInterface::_ppi_params
const InputParameters & _ppi_params
PostprocessorInterface Parameters.
Definition: PostprocessorInterface.h:128
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
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
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
AuxScalarKernel::AuxScalarKernel
AuxScalarKernel(const InputParameters &parameters)
Definition: AuxScalarKernel.C:43
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
MooseVariableFE::isNodal
bool isNodal() const override
Is this variable nodal.
Definition: MooseVariableFE.h:160
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
Coupleable::FuncAge::Curr
Coupleable::getCoupledMooseVars
const std::vector< MooseVariableFEBase * > & getCoupledMooseVars() const
Get the list of all coupled variables.
Definition: Coupleable.h:85
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
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
MooseVariableFE::nodalValueOldNeighbor
const OutputType & nodalValueOldNeighbor()
Definition: MooseVariableFE.C:587
CyclicDependencyException::getCyclicDependencies
const std::multimap< T, T > & getCyclicDependencies() const
Definition: DependencyResolver.h:183
Moose::ValueType::type
RealType< compute_stage >::type type
Definition: MooseTypes.h:225
MooseVariableFE::nodalMatrixTagValue
const DoFValue & nodalMatrixTagValue(TagID tag)
Definition: MooseVariableFE.C:573
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
checkComponent
void checkComponent(const MooseObject *obj, unsigned int comp, unsigned int bound, const std::string &var_name)
Definition: Coupleable.C:142
Coupleable::VarType::Gradient
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
MooseVariableFE::matrixTagValue
const FieldVariableValue & matrixTagValue(TagID tag)
Definition: MooseVariableFE.h:261
FunctionInterface::_fni_tid
const THREAD_ID _fni_tid
Thread ID.
Definition: FunctionInterface.h:73
DependencyResolver
Definition: DependencyResolver.h:55
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
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
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
MooseObject::_name
const std::string & _name
The name of this object, reference to value stored in InputParameters.
Definition: MooseObject.h:178
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
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
MooseVariableFE::dofValuesDotDotOld
const DoFValue & dofValuesDotDotOld()
Definition: MooseVariableFE.C:315
MooseVariableFE::slnPreviousNLNeighbor
const FieldVariableValue & slnPreviousNLNeighbor() const
Definition: MooseVariableFE.h:361
MooseVariableFE::dofValuesDotDotNeighbor
const DoFValue & dofValuesDotDotNeighbor()
Definition: MooseVariableFE.C:329
MooseVariableFE::adGradSln
const VariableGradientType< OutputType, compute_stage >::type & adGradSln() const
Definition: MooseVariableFE.h:312
MooseVariableFE::uDotDotOld
const FieldVariableValue & uDotDotOld() const
Definition: MooseVariableFE.h:353
MooseVariableFE::slnOlder
const FieldVariableValue & slnOlder() const
Definition: MooseVariableFE.h:269
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
Coupleable::_obj
const MooseObject * _obj
Definition: Coupleable.h:1129
MooseVariableFE::duDotDuNeighbor
const VariableValue & duDotDuNeighbor() const
Definition: MooseVariableFE.h:428
MooseVariableFE::nodalValueOld
const OutputType & nodalValueOld()
Definition: MooseVariableFE.C:580
InputParameters::addRequiredParam
void addRequiredParam(const std::string &name, const std::string &doc_string)
This method adds a parameter and documentation string to the InputParameters object that will be extr...
Definition: InputParameters.h:1176
MooseObject::_app
MooseApp & _app
The MooseApp this object is associated with.
Definition: MooseObject.h:172
Coupleable::getVectorVar
VectorMooseVariable * getVectorVar(const std::string &var_name, unsigned int comp)
Extract pointer to a coupled vector variable.
Definition: Coupleable.C:246
SubProblem::reinitNodes
virtual void reinitNodes(const std::vector< dof_id_type > &nodes, THREAD_ID tid)=0
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
MooseVariableFE::dofValuesOldNeighbor
const DoFValue & dofValuesOldNeighbor()
Definition: MooseVariableFE.C:273
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
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
AuxScalarKernel::_var
MooseVariableScalar & _var
Definition: AuxScalarKernel.h:81
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
MooseVariableBase::number
unsigned int number() const
Get variable number coming from libMesh.
Definition: MooseVariableBase.h:48
n
PetscInt n
Definition: PetscDMMoose.C:1504
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
AuxScalarKernel::_depend_vars
std::set< std::string > _depend_vars
Depend AuxKernels.
Definition: AuxScalarKernel.h:90