www.mooseframework.org
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
MooseVariableFE< OutputType > Class Template Reference

Class for stuff related to variables. More...

#include <Adaptivity.h>

Inheritance diagram for MooseVariableFE< OutputType >:
[legend]

Public Types

typedef TensorTools::IncrementRank< OutputType >::type OutputGradient
 
typedef TensorTools::IncrementRank< OutputGradient >::type OutputSecond
 
typedef TensorTools::DecrementRank< OutputType >::type OutputDivergence
 
typedef MooseArray< OutputType > FieldVariableValue
 
typedef MooseArray< OutputGradientFieldVariableGradient
 
typedef MooseArray< OutputSecondFieldVariableSecond
 
typedef MooseArray< OutputType > FieldVariableCurl
 
typedef MooseArray< OutputDivergenceFieldVariableDivergence
 
typedef Moose::ShapeType< OutputType >::type OutputShape
 
typedef TensorTools::IncrementRank< OutputShape >::type OutputShapeGradient
 
typedef TensorTools::IncrementRank< OutputShapeGradient >::type OutputShapeSecond
 
typedef TensorTools::DecrementRank< OutputShape >::type OutputShapeDivergence
 
typedef MooseArray< std::vector< OutputShape > > FieldVariablePhiValue
 
typedef MooseArray< std::vector< OutputShapeGradient > > FieldVariablePhiGradient
 
typedef MooseArray< std::vector< OutputShapeSecond > > FieldVariablePhiSecond
 
typedef MooseArray< std::vector< OutputShape > > FieldVariablePhiCurl
 
typedef MooseArray< std::vector< OutputShapeDivergence > > FieldVariablePhiDivergence
 
typedef MooseArray< std::vector< OutputShape > > FieldVariableTestValue
 
typedef MooseArray< std::vector< OutputShapeGradient > > FieldVariableTestGradient
 
typedef MooseArray< std::vector< OutputShapeSecond > > FieldVariableTestSecond
 
typedef MooseArray< std::vector< OutputShape > > FieldVariableTestCurl
 
typedef MooseArray< std::vector< OutputShapeDivergence > > FieldVariableTestDivergence
 
typedef Moose::DOFType< OutputType >::type OutputData
 
typedef MooseArray< OutputDataDoFValue
 

Public Member Functions

 MooseVariableFE (const InputParameters &parameters)
 
void clearDofIndices () override
 Clear out the dof indices. More...
 
void prepare () override
 Prepare the elemental degrees of freedom. More...
 
void prepareNeighbor () override
 Prepare the neighbor element degrees of freedom. More...
 
void prepareLowerD () override
 Prepare a lower dimensional element's degrees of freedom. More...
 
virtual void prepareIC () override
 Prepare the initial condition. More...
 
void prepareAux () override
 
void reinitNode () override
 
void reinitAux () override
 
void reinitAuxNeighbor () override
 
void reinitNodes (const std::vector< dof_id_type > &nodes) override
 
void reinitNodesNeighbor (const std::vector< dof_id_type > &nodes) override
 
bool usesPhi () const
 Whether or not this variable is actually using the shape function value. More...
 
bool usesGradPhi () const
 Whether or not this variable is actually using the shape function gradient. More...
 
bool usesPhiNeighbor () const
 Whether or not this variable is actually using the shape function value. More...
 
bool usesGradPhiNeighbor () const
 Whether or not this variable is actually using the shape function gradient. More...
 
bool usesSecondPhi () const
 Whether or not this variable is computing any second derivatives. More...
 
bool usesSecondPhiNeighbor () const
 Whether or not this variable is actually using the shape function second derivative on a neighbor. More...
 
bool computingSecond () const
 Whether or not this variable is computing any second derivatives. More...
 
bool computingCurl () const
 Whether or not this variable is computing the curl. More...
 
const std::set< SubdomainID > & activeSubdomains () const override
 The subdomains the variable is active on. More...
 
bool activeOnSubdomain (SubdomainID subdomain) const override
 Is the variable active on the subdomain? More...
 
bool isNodal () const override
 Is this variable nodal. More...
 
Moose::VarFieldType fieldType () const override
 Filed type of this variable. More...
 
bool isVector () const override
 
const Node *const & node () const
 
const dof_id_type & nodalDofIndex () const override
 
virtual bool isNodalDefined () const override
 Is this variable defined at nodes. More...
 
const Node *const & nodeNeighbor () const
 
const dof_id_type & nodalDofIndexNeighbor () const override
 
bool isNodalNeighborDefined () const
 
const Elem *const & currentElem () const override
 Current element this variable is evaluated at. More...
 
const unsigned int & currentSide () const
 Current side this variable is being evaluated on. More...
 
const Elem *const & neighbor () const
 Current neighboring element. More...
 
void getDofIndices (const Elem *elem, std::vector< dof_id_type > &dof_indices) const override
 
const std::vector< dof_id_type > & dofIndices () const final
 Get local DoF indices. More...
 
unsigned int numberOfDofs () const final
 Get the number of local DoFs. More...
 
const std::vector< dof_id_type > & dofIndicesNeighbor () const final
 Get neighbor DOF indices for currently selected element. More...
 
const std::vector< dof_id_type > & dofIndicesLower () const final
 Get dof indices for the current lower dimensional element (this is meaningful when performing mortar FEM) More...
 
unsigned int numberOfDofsNeighbor () override
 
const FieldVariablePhiValuephi () const
 
const FieldVariablePhiGradientgradPhi () const
 
const MappedArrayVariablePhiGradientarrayGradPhi () const
 
const FieldVariablePhiSecondsecondPhi () const
 
const FieldVariablePhiCurlcurlPhi () const
 
const FieldVariablePhiValuephiFace () const
 
const FieldVariablePhiGradientgradPhiFace () const
 
const MappedArrayVariablePhiGradientarrayGradPhiFace () const
 
const FieldVariablePhiSecondsecondPhiFace () const
 
const FieldVariablePhiCurlcurlPhiFace () const
 
const FieldVariablePhiValuephiNeighbor () const
 
const FieldVariablePhiGradientgradPhiNeighbor () const
 
const MappedArrayVariablePhiGradientarrayGradPhiNeighbor () const
 
const FieldVariablePhiSecondsecondPhiNeighbor () const
 
const FieldVariablePhiCurlcurlPhiNeighbor () const
 
const FieldVariablePhiValuephiFaceNeighbor () const
 
const FieldVariablePhiGradientgradPhiFaceNeighbor () const
 
const MappedArrayVariablePhiGradientarrayGradPhiFaceNeighbor () const
 
const FieldVariablePhiSecondsecondPhiFaceNeighbor () const
 
const FieldVariablePhiCurlcurlPhiFaceNeighbor () const
 
const FieldVariablePhiValuephiLower () const
 
const FieldVariablePhiGradientgradPhiLower () const
 
template<ComputeStage compute_stage>
const VariableTestGradientType< OutputType, compute_stage >::typeadGradPhi ()
 
template<ComputeStage compute_stage>
const VariableTestGradientType< OutputType, compute_stage >::typeadGradPhiFace ()
 
const FieldVariableValueincrement () const
 
const FieldVariableValuevectorTagValue (TagID tag)
 
const FieldVariableValuematrixTagValue (TagID tag)
 
const FieldVariableValuesln () const
 element solutions More...
 
const FieldVariableValueslnOld () const
 
const FieldVariableValueslnOlder () const
 
const FieldVariableValueslnPreviousNL () const
 
const FieldVariableGradientgradSln () const
 element gradients More...
 
const FieldVariableGradientgradSlnOld () const
 
const FieldVariableGradientgradSlnOlder () const
 
const FieldVariableGradientgradSlnPreviousNL () const
 
const FieldVariableGradientgradSlnDot () const
 element gradient dots More...
 
const FieldVariableGradientgradSlnDotDot () const
 
const FieldVariableSecondsecondSln () const
 element seconds More...
 
const FieldVariableSecondsecondSlnOld () const
 
const FieldVariableSecondsecondSlnOlder () const
 
const FieldVariableSecondsecondSlnPreviousNL () const
 
const FieldVariableCurlcurlSln () const
 element curls More...
 
const FieldVariableCurlcurlSlnOld () const
 
const FieldVariableCurlcurlSlnOlder () const
 
template<ComputeStage compute_stage>
const VariableValueType< OutputType, compute_stage >::typeadSln () const
 AD. More...
 
template<ComputeStage compute_stage>
const VariableGradientType< OutputType, compute_stage >::typeadGradSln () const
 
template<ComputeStage compute_stage>
const VariableSecondType< OutputType, compute_stage >::typeadSecondSln () const
 
template<ComputeStage compute_stage>
const VariableValueType< OutputType, compute_stage >::typeadUDot () const
 
template<ComputeStage compute_stage>
const VariableValueType< OutputType, compute_stage >::typeadSlnNeighbor () const
 neighbor AD More...
 
template<ComputeStage compute_stage>
const VariableGradientType< OutputType, compute_stage >::typeadGradSlnNeighbor () const
 
template<ComputeStage compute_stage>
const VariableSecondType< OutputType, compute_stage >::typeadSecondSlnNeighbor () const
 
template<ComputeStage compute_stage>
const VariableValueType< OutputType, compute_stage >::typeadUDotNeighbor () const
 
const FieldVariableValueuDot () const
 element dots More...
 
const FieldVariableValueuDotDot () const
 
const FieldVariableValueuDotOld () const
 
const FieldVariableValueuDotDotOld () const
 
const VariableValueduDotDu () const
 
const VariableValueduDotDotDu () const
 
const FieldVariableValueslnNeighbor () const
 neighbor solutions More...
 
const FieldVariableValueslnOldNeighbor () const
 
const FieldVariableValueslnOlderNeighbor () const
 
const FieldVariableValueslnPreviousNLNeighbor () const
 
const FieldVariableGradientgradSlnNeighbor () const
 neighbor solution gradients More...
 
const FieldVariableGradientgradSlnOldNeighbor () const
 
const FieldVariableGradientgradSlnOlderNeighbor () const
 
const FieldVariableGradientgradSlnPreviousNLNeighbor () const
 
const FieldVariableGradientgradSlnNeighborDot () const
 neighbor grad dots More...
 
const FieldVariableGradientgradSlnNeighborDotDot () const
 
const FieldVariableSecondsecondSlnNeighbor () const
 neighbor solution seconds More...
 
const FieldVariableSecondsecondSlnOldNeighbor () const
 
const FieldVariableSecondsecondSlnOlderNeighbor () const
 
const FieldVariableSecondsecondSlnPreviousNLNeighbor () const
 
const FieldVariableCurlcurlSlnNeighbor () const
 neighbor solution curls More...
 
const FieldVariableCurlcurlSlnOldNeighbor () const
 
const FieldVariableCurlcurlSlnOlderNeighbor () const
 
const FieldVariableValueuDotNeighbor () const
 neighbor dots More...
 
const FieldVariableValueuDotDotNeighbor () const
 
const FieldVariableValueuDotOldNeighbor () const
 
const FieldVariableValueuDotDotOldNeighbor () const
 
const VariableValueduDotDuNeighbor () const
 
const VariableValueduDotDotDuNeighbor () const
 
template<ComputeStage compute_stage>
const VariableValueType< OutputType, compute_stage >::typeadSlnLower () const
 lower-d element solution More...
 
const FieldVariableValueslnLower () const
 
virtual void computeElemValues () override
 Actually compute variable values from the solution vectors. More...
 
virtual void computeElemValuesFace () override
 Compute values at facial quadrature points. More...
 
virtual void computeNeighborValuesFace () override
 Compute values at facial quadrature points for the neighbor. More...
 
virtual void computeNeighborValues () override
 Compute values at quadrature points for the neighbor. More...
 
virtual void computeLowerDValues () override
 compute values at quadrature points on the lower dimensional element More...
 
void setNodalValue (const OutputType &value, unsigned int idx=0)
 Set nodal value. More...
 
void setDofValues (const DenseVector< OutputData > &values)
 Set local DOF values and evaluate the values on quadrature points. More...
 
void setDofValue (const OutputData &value, unsigned int index)
 
void insertNodalValue (NumericVector< Number > &residual, const OutputData &v)
 Write a nodal value to the passed-in solution vector. More...
 
OutputData getNodalValue (const Node &node)
 Get the value of this variable at given node. More...
 
OutputData getNodalValueOld (const Node &node)
 Get the old value of this variable at given node. More...
 
OutputData getNodalValueOlder (const Node &node)
 Get the t-2 value of this variable at given node. More...
 
OutputData getElementalValue (const Elem *elem, unsigned int idx=0) const
 Get the current value of this variable on an element. More...
 
OutputData getElementalValueOld (const Elem *elem, unsigned int idx=0) const
 Get the old value of this variable on an element. More...
 
OutputData getElementalValueOlder (const Elem *elem, unsigned int idx=0) const
 Get the older value of this variable on an element. More...
 
void insert (NumericVector< Number > &residual) override
 Set the current local DOF values to the input vector. More...
 
void add (NumericVector< Number > &residual) override
 Add the current local DOF values to the input vector. More...
 
void addSolution (const DenseVector< Number > &v)
 Add passed in local DOF values onto the current solution. More...
 
void addSolutionNeighbor (const DenseVector< Number > &v)
 Add passed in local neighbor DOF values onto the current solution. More...
 
const DoFValuedofValue ()
 
const DoFValuedofValues ()
 
const DoFValuedofValuesOld ()
 
const DoFValuedofValuesOlder ()
 
const DoFValuedofValuesPreviousNL ()
 
const DoFValuedofValuesNeighbor ()
 
const DoFValuedofValuesOldNeighbor ()
 
const DoFValuedofValuesOlderNeighbor ()
 
const DoFValuedofValuesPreviousNLNeighbor ()
 
const DoFValuedofValuesDot ()
 
const DoFValuedofValuesDotNeighbor ()
 
const DoFValuedofValuesDotOld ()
 
const DoFValuedofValuesDotOldNeighbor ()
 
const DoFValuedofValuesDotDot ()
 
const DoFValuedofValuesDotDotNeighbor ()
 
const DoFValuedofValuesDotDotOld ()
 
const DoFValuedofValuesDotDotOldNeighbor ()
 
const MooseArray< Number > & dofValuesDuDotDu ()
 
const MooseArray< Number > & dofValuesDuDotDuNeighbor ()
 
const MooseArray< Number > & dofValuesDuDotDotDu ()
 
const MooseArray< Number > & dofValuesDuDotDotDuNeighbor ()
 
template<ComputeStage compute_stage>
const MooseArray< typename Moose::RealType< compute_stage >::type > & adDofValues ()
 Return the AD dof values. More...
 
void computeIncrementAtQps (const NumericVector< Number > &increment_vec)
 Compute and store incremental change in solution at QPs based on increment_vec. More...
 
void computeIncrementAtNode (const NumericVector< Number > &increment_vec)
 Compute and store incremental change at the current node based on increment_vec. More...
 
OutputType getValue (const Elem *elem, const std::vector< std::vector< OutputShape >> &phi) const
 Compute the variable value at a point on an element. More...
 
OutputTools< OutputType >::OutputGradient getGradient (const Elem *elem, const std::vector< std::vector< typename OutputTools< OutputType >::OutputShapeGradient >> &grad_phi) const
 Compute the variable gradient value at a point on an element. More...
 
virtual size_t phiSize () const final
 Return phi size. More...
 
virtual size_t phiFaceSize () const final
 Return phiFace size. More...
 
virtual size_t phiNeighborSize () const final
 Return phiNeighbor size. More...
 
virtual size_t phiFaceNeighborSize () const final
 Return phiFaceNeighbor size. More...
 
size_t phiLowerSize () const final
 Return the number of shape functions on the lower dimensional element for this variable. More...
 
const OutputType & nodalValue ()
 Methods for retrieving values of variables at the nodes. More...
 
const OutputType & nodalValueOld ()
 
const OutputType & nodalValueOlder ()
 
const OutputType & nodalValuePreviousNL ()
 
const OutputType & nodalValueDot ()
 
const OutputType & nodalValueDotDot ()
 
const OutputType & nodalValueDotOld ()
 
const OutputType & nodalValueDotDotOld ()
 
const OutputType & nodalValueDuDotDu ()
 
const OutputType & nodalValueDuDotDotDu ()
 
const OutputType & nodalValueNeighbor ()
 
const OutputType & nodalValueOldNeighbor ()
 
const OutputType & nodalValueOlderNeighbor ()
 
const OutputType & nodalValuePreviousNLNeighbor ()
 
const OutputType & nodalValueDotNeighbor ()
 
const OutputType & nodalValueDotDotNeighbor ()
 
const OutputType & nodalValueDotOldNeighbor ()
 
const OutputType & nodalValueDotDotOldNeighbor ()
 
const OutputType & nodalValueDuDotDuNeighbor ()
 
const OutputType & nodalValueDuDotDotDuNeighbor ()
 
const MooseArray< OutputType > & nodalValueArray ()
 Methods for retrieving values of variables at the nodes in a MooseArray for AuxKernelBase. More...
 
const MooseArray< OutputType > & nodalValueOldArray ()
 
const MooseArray< OutputType > & nodalValueOlderArray ()
 
const DoFValuenodalVectorTagValue (TagID tag)
 
const DoFValuenodalMatrixTagValue (TagID tag)
 
template<ComputeStage compute_stage>
const Moose::ValueType< OutputType, compute_stage >::typeadNodalValue ()
 
virtual void computeNodalValues () override
 Compute nodal values of this variable. More...
 
virtual void computeNodalNeighborValues () override
 Compute nodal values of this variable in the neighbor. More...
 
unsigned int number () const
 Get variable number coming from libMesh. More...
 
const FEType & feType () const
 Get the type of finite element object. More...
 
SystemBasesys ()
 Get the system this variable is part of. More...
 
const std::string & name () const override
 Get the variable name. More...
 
const std::vector< dof_id_type > & allDofIndices () const
 Get all global dofindices for the variable. More...
 
unsigned int totalVarDofs ()
 
Moose::VarKindType kind () const
 Kind of the variable (Nonlinear, Auxiliary, ...) More...
 
void scalingFactor (Real factor)
 Set the scaling factor for this variable. More...
 
void scalingFactor (const std::vector< Real > &factor)
 
Real scalingFactor () const
 Get the scaling factor for this variable. More...
 
const std::vector< Real > & arrayScalingFactor () const
 
Order order () const
 Get the order of this variable Note: Order enum can be implicitly converted to unsigned int. More...
 
unsigned int count () const
 Get the number of components Note: For standard and vector variables, the number is one. More...
 
const DofMap & dofMap () const
 The DofMap associated with the system this variable is in. More...
 
std::vector< dof_id_type > componentDofIndices (const std::vector< dof_id_type > &dof_indices, unsigned int component) const
 Obtain DoF indices of a component with the indices of the 0th component. More...
 
const std::string & type () const
 Get the type of this object. More...
 
const InputParametersparameters () const
 Get the parameters of the object. More...
 
template<typename T >
const T & getParamTempl (const std::string &name) const
 Retrieve a parameter for the object. More...
 
template<typename T >
getCheckedPointerParam (const std::string &name, const std::string &error_string="") const
 Verifies that the requested parameter exists and is not NULL and returns it to the caller. More...
 
bool isParamValid (const std::string &name) const
 Test if the supplied parameter is valid. More...
 
MooseAppgetMooseApp () const
 Get the MooseApp this object is associated with. More...
 
virtual bool enabled () const
 Return the enabled status of the object. More...
 
template<typename... Args>
void paramError (const std::string &param, Args... args) const
 Emits an error prefixed with the file and line number of the given param (from the input file) along with the full parameter path+name followed by the given args as the message. More...
 
template<typename... Args>
void paramWarning (const std::string &param, Args... args) const
 Emits a warning prefixed with the file and line number of the given param (from the input file) along with the full parameter path+name followed by the given args as the message. More...
 
template<typename... Args>
void paramInfo (const std::string &param, Args... args) const
 Emits an informational message prefixed with the file and line number of the given param (from the input file) along with the full parameter path+name followed by the given args as the message. More...
 
template<typename... Args>
void mooseError (Args &&... args) const
 
template<typename... Args>
void mooseWarning (Args &&... args) const
 
template<typename... Args>
void mooseDeprecated (Args &&... args) const
 
template<typename... Args>
void mooseInfo (Args &&... args) const
 
const std::vector< SubdomainName > & blocks () const
 Return the block names for this object. More...
 
unsigned int numBlocks () const
 Return the number of blocks for this object. More...
 
const virtual std::set< SubdomainID > & blockIDs () const
 Return the block subdomain ids for this object. More...
 
bool hasBlocks (const SubdomainName &name) const
 Test if the supplied block name is valid for this object. More...
 
bool hasBlocks (const std::vector< SubdomainName > &names) const
 Test if the supplied vector of block names are valid for this object. More...
 
bool hasBlocks (const SubdomainID &id) const
 Test if the supplied block ids are valid for this object. More...
 
bool hasBlocks (const std::vector< SubdomainID > &ids) const
 Test if the supplied vector block ids are valid for this object. More...
 
bool hasBlocks (const std::set< SubdomainID > &ids) const
 Test if the supplied set of block ids are valid for this object. More...
 
bool isBlockSubset (const std::set< SubdomainID > &ids) const
 Test if the class block ids are a subset of the supplied objects. More...
 
bool isBlockSubset (const std::vector< SubdomainID > &ids) const
 Test if the class block ids are a subset of the supplied objects. More...
 
template<typename T >
bool hasBlockMaterialProperty (const std::string &prop_name)
 Check if a material property is valid for all blocks of this object. More...
 
const std::set< SubdomainID > & meshBlockIDs () const
 Return all of the SubdomainIDs for the mesh. More...
 
virtual bool blockRestricted () const
 Returns true if this object has been restricted to a boundary. More...
 
void checkVariable (const MooseVariableFEBase &variable) const
 Helper for checking that the ids for this object are in agreement with the variables on the supplied variable. More...
 
void buildOutputHideVariableList (std::set< std::string > variable_names)
 Builds hide lists for output objects NOT listed in the 'outputs' parameter. More...
 
const std::set< OutputName > & getOutputs ()
 Get the list of output objects that this class is restricted. More...
 

Static Public Member Functions

static InputParameters validParams ()
 

Public Attributes

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

Protected Member Functions

virtual bool hasBlockMaterialPropertyHelper (const std::string &prop_name)
 A helper method to allow the Material object to specialize the behavior of hasBlockMaterialProperty. More...
 
void initializeBlockRestrictable (const MooseObject *moose_object)
 An initialization routine needed for dual constructors. More...
 
Moose::CoordinateSystemType getBlockCoordSystem ()
 Check if the blocks this object operates on all have the same coordinate system, and if so return it. More...
 

Protected Attributes

std::unique_ptr< MooseVariableData< OutputType > > _element_data
 Holder for all the data associated with the "main" element. More...
 
std::unique_ptr< MooseVariableData< OutputType > > _neighbor_data
 Holder for all the data associated with the neighbor element. More...
 
std::unique_ptr< MooseVariableData< OutputType > > _lower_data
 Holder for all the data associated with the lower dimeensional element. More...
 
SystemBase_sys
 System this variable is part of. More...
 
FEType _fe_type
 The FEType associated with this variable. More...
 
unsigned int _var_num
 variable number (from libMesh) More...
 
unsigned int _index
 variable number within MOOSE More...
 
Moose::VarKindType _var_kind
 Variable type (see MooseTypes.h) More...
 
SubProblem_subproblem
 Problem this variable is part of. More...
 
const Variable & _variable
 libMesh variable object for this variable More...
 
Assembly_assembly
 Assembly data. More...
 
const DofMap & _dof_map
 DOF map. More...
 
std::vector< dof_id_type > _dof_indices
 DOF indices. More...
 
MooseMesh_mesh
 mesh the variable is active in More...
 
THREAD_ID _tid
 Thread ID. More...
 
const unsigned int _count
 Number of variables in the array. More...
 
std::vector< Real > _scaling_factor
 scaling factor for this variable More...
 
std::string _var_name
 Variable name. More...
 
const InputParameters_pars
 Parameters of this object, references the InputParameters stored in the InputParametersWarehouse. More...
 
MooseApp_app
 The MooseApp this object is associated with. More...
 
const std::string & _type
 The type of this object (the Class name) More...
 
const std::string & _name
 The name of this object, reference to value stored in InputParameters. More...
 
const bool & _enabled
 Reference to the "enable" InputParaemters, used by Controls for toggling on/off MooseObjects. More...
 
std::shared_ptr< MaterialData_blk_material_data
 Pointer to the MaterialData class for this object. More...
 

Private Member Functions

template<typename... Args>
std::string paramErrorMsg (const std::string &param, Args... args) const
 

Private Attributes

std::set< SubdomainID_blk_ids
 Set of block ids supplied by the user via the input file (for error reporting) More...
 
std::vector< SubdomainName > _blocks
 Vector the block names supplied by the user via the input file. More...
 
const bool _blk_dual_restrictable
 Flag for allowing dual restriction. More...
 
FEProblemBase_blk_feproblem
 Pointer to FEProblemBase. More...
 
MooseMesh_blk_mesh
 Pointer to Mesh. More...
 
const std::set< BoundaryID_empty_boundary_ids
 An empty set for referencing when boundary_ids is not included. More...
 
const std::set< BoundaryID > & _boundary_ids
 Reference to the boundary_ids, defaults to an empty set if not provided. More...
 
THREAD_ID _blk_tid
 Thread id for this object. More...
 
const std::string & _blk_name
 Name of the object. More...
 
MooseApp_oi_moose_app
 Reference the the MooseApp; neede for access to the OutputWarehouse. More...
 
OutputWarehouse_oi_output_warehouse
 Reference to the OutputWarehouse for populating the Output object hide lists. More...
 
std::set< OutputName > _oi_outputs
 The set of Output object names listed in the 'outputs' parameter. More...
 

Detailed Description

template<typename OutputType>
class MooseVariableFE< OutputType >

Class for stuff related to variables.

Each variable can compute nodal or elemental (at QPs) values.

OutputType OutputShape OutputData

Real Real Real RealVectorValue RealVectorValue Real RealEigenVector Real RealEigenVector

Definition at line 31 of file Adaptivity.h.

Member Typedef Documentation

◆ DoFValue

template<typename OutputType>
typedef MooseArray<OutputData> MooseVariableFE< OutputType >::DoFValue

Definition at line 92 of file MooseVariableFE.h.

◆ FieldVariableCurl

template<typename OutputType>
typedef MooseArray<OutputType> MooseVariableFE< OutputType >::FieldVariableCurl

Definition at line 64 of file MooseVariableFE.h.

◆ FieldVariableDivergence

template<typename OutputType>
typedef MooseArray<OutputDivergence> MooseVariableFE< OutputType >::FieldVariableDivergence

Definition at line 65 of file MooseVariableFE.h.

◆ FieldVariableGradient

template<typename OutputType>
typedef MooseArray<OutputGradient> MooseVariableFE< OutputType >::FieldVariableGradient

Definition at line 62 of file MooseVariableFE.h.

◆ FieldVariablePhiCurl

template<typename OutputType>
typedef MooseArray<std::vector<OutputShape> > MooseVariableFE< OutputType >::FieldVariablePhiCurl

Definition at line 79 of file MooseVariableFE.h.

◆ FieldVariablePhiDivergence

template<typename OutputType>
typedef MooseArray<std::vector<OutputShapeDivergence> > MooseVariableFE< OutputType >::FieldVariablePhiDivergence

Definition at line 80 of file MooseVariableFE.h.

◆ FieldVariablePhiGradient

template<typename OutputType>
typedef MooseArray<std::vector<OutputShapeGradient> > MooseVariableFE< OutputType >::FieldVariablePhiGradient

Definition at line 77 of file MooseVariableFE.h.

◆ FieldVariablePhiSecond

template<typename OutputType>
typedef MooseArray<std::vector<OutputShapeSecond> > MooseVariableFE< OutputType >::FieldVariablePhiSecond

Definition at line 78 of file MooseVariableFE.h.

◆ FieldVariablePhiValue

template<typename OutputType>
typedef MooseArray<std::vector<OutputShape> > MooseVariableFE< OutputType >::FieldVariablePhiValue

Definition at line 76 of file MooseVariableFE.h.

◆ FieldVariableSecond

template<typename OutputType>
typedef MooseArray<OutputSecond> MooseVariableFE< OutputType >::FieldVariableSecond

Definition at line 63 of file MooseVariableFE.h.

◆ FieldVariableTestCurl

template<typename OutputType>
typedef MooseArray<std::vector<OutputShape> > MooseVariableFE< OutputType >::FieldVariableTestCurl

Definition at line 87 of file MooseVariableFE.h.

◆ FieldVariableTestDivergence

template<typename OutputType>
typedef MooseArray<std::vector<OutputShapeDivergence> > MooseVariableFE< OutputType >::FieldVariableTestDivergence

Definition at line 88 of file MooseVariableFE.h.

◆ FieldVariableTestGradient

template<typename OutputType>
typedef MooseArray<std::vector<OutputShapeGradient> > MooseVariableFE< OutputType >::FieldVariableTestGradient

Definition at line 85 of file MooseVariableFE.h.

◆ FieldVariableTestSecond

template<typename OutputType>
typedef MooseArray<std::vector<OutputShapeSecond> > MooseVariableFE< OutputType >::FieldVariableTestSecond

Definition at line 86 of file MooseVariableFE.h.

◆ FieldVariableTestValue

template<typename OutputType>
typedef MooseArray<std::vector<OutputShape> > MooseVariableFE< OutputType >::FieldVariableTestValue

Definition at line 84 of file MooseVariableFE.h.

◆ FieldVariableValue

template<typename OutputType>
typedef MooseArray<OutputType> MooseVariableFE< OutputType >::FieldVariableValue

Definition at line 61 of file MooseVariableFE.h.

◆ OutputData

template<typename OutputType>
typedef Moose::DOFType<OutputType>::type MooseVariableFE< OutputType >::OutputData

Definition at line 91 of file MooseVariableFE.h.

◆ OutputDivergence

template<typename OutputType>
typedef TensorTools::DecrementRank<OutputType>::type MooseVariableFE< OutputType >::OutputDivergence

Definition at line 58 of file MooseVariableFE.h.

◆ OutputGradient

template<typename OutputType>
typedef TensorTools::IncrementRank<OutputType>::type MooseVariableFE< OutputType >::OutputGradient

Definition at line 56 of file MooseVariableFE.h.

◆ OutputSecond

template<typename OutputType>
typedef TensorTools::IncrementRank<OutputGradient>::type MooseVariableFE< OutputType >::OutputSecond

Definition at line 57 of file MooseVariableFE.h.

◆ OutputShape

template<typename OutputType>
typedef Moose::ShapeType<OutputType>::type MooseVariableFE< OutputType >::OutputShape

Definition at line 68 of file MooseVariableFE.h.

◆ OutputShapeDivergence

template<typename OutputType>
typedef TensorTools::DecrementRank<OutputShape>::type MooseVariableFE< OutputType >::OutputShapeDivergence

Definition at line 73 of file MooseVariableFE.h.

◆ OutputShapeGradient

template<typename OutputType>
typedef TensorTools::IncrementRank<OutputShape>::type MooseVariableFE< OutputType >::OutputShapeGradient

Definition at line 71 of file MooseVariableFE.h.

◆ OutputShapeSecond

template<typename OutputType>
typedef TensorTools::IncrementRank<OutputShapeGradient>::type MooseVariableFE< OutputType >::OutputShapeSecond

Definition at line 72 of file MooseVariableFE.h.

Constructor & Destructor Documentation

◆ MooseVariableFE()

template<typename OutputType >
MooseVariableFE< OutputType >::MooseVariableFE ( const InputParameters parameters)

Definition at line 19 of file MooseVariableFE.C.

21 {
22  _element_data = libmesh_make_unique<MooseVariableData<OutputType>>(*this,
23  _sys,
24  _tid,
26  _assembly.qRule(),
28  _assembly.node(),
29  _assembly.elem());
31  libmesh_make_unique<MooseVariableData<OutputType>>(*this,
32  _sys,
33  _tid,
35  _assembly.qRuleNeighbor(), // Place holder
39  _lower_data =
40  libmesh_make_unique<MooseVariableData<OutputType>>(*this,
41  _sys,
42  _tid,
45  _assembly.qRuleFace(), // Place holder
46  _assembly.node(), // Place holder
48 }

Member Function Documentation

◆ activeOnSubdomain()

template<typename OutputType >
bool MooseVariableFE< OutputType >::activeOnSubdomain ( SubdomainID  subdomain) const
overridevirtual

Is the variable active on the subdomain?

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

Implements MooseVariableFEBase.

Definition at line 73 of file MooseVariableFE.C.

74 {
75  return _sys.system().variable(_var_num).active_on_subdomain(subdomain);
76 }

◆ activeSubdomains()

template<typename OutputType >
const std::set< SubdomainID > & MooseVariableFE< OutputType >::activeSubdomains ( ) const
overridevirtual

The subdomains the variable is active on.

Implements MooseVariableFEBase.

Definition at line 52 of file MooseVariableFE.C.

53 {
54  return _sys.system().variable(_var_num).active_subdomains();
55 }

◆ add()

template<typename OutputType >
void MooseVariableFE< OutputType >::add ( NumericVector< Number > &  residual)
overridevirtual

Add the current local DOF values to the input vector.

Implements MooseVariableFEBase.

Definition at line 209 of file MooseVariableFE.C.

210 {
211  _element_data->add(residual);
212 }

◆ adDofValues()

template<typename OutputType >
template<ComputeStage compute_stage>
const MooseArray< typename Moose::RealType< compute_stage >::type > & MooseVariableFE< OutputType >::adDofValues ( )
inline

Return the AD dof values.

Definition at line 651 of file MooseVariableFE.h.

652 {
653  return _element_data->template adDofValues<compute_stage>();
654 }

◆ addSolution()

template<typename OutputType >
void MooseVariableFE< OutputType >::addSolution ( const DenseVector< Number > &  v)

Add passed in local DOF values onto the current solution.

Definition at line 216 of file MooseVariableFE.C.

217 {
218  _element_data->addSolution(_sys.solution(), v);
219 }

◆ addSolutionNeighbor()

template<typename OutputType >
void MooseVariableFE< OutputType >::addSolutionNeighbor ( const DenseVector< Number > &  v)

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

Definition at line 223 of file MooseVariableFE.C.

224 {
225  _neighbor_data->addSolution(_sys.solution(), v);
226 }

◆ adGradPhi()

template<typename OutputType>
template<ComputeStage compute_stage>
const VariableTestGradientType<OutputType, compute_stage>::type& MooseVariableFE< OutputType >::adGradPhi ( )
inline

Definition at line 243 of file MooseVariableFE.h.

244  {
245  return _element_data->template adGradPhi<compute_stage>();
246  }

◆ adGradPhiFace()

template<typename OutputType>
template<ComputeStage compute_stage>
const VariableTestGradientType<OutputType, compute_stage>::type& MooseVariableFE< OutputType >::adGradPhiFace ( )
inline

Definition at line 249 of file MooseVariableFE.h.

250  {
251  return _element_data->template adGradPhiFace<compute_stage>();
252  }

◆ adGradSln()

template<typename OutputType>
template<ComputeStage compute_stage>
const VariableGradientType<OutputType, compute_stage>::type& MooseVariableFE< OutputType >::adGradSln ( ) const
inline

Definition at line 312 of file MooseVariableFE.h.

313  {
314  return _element_data->template adGradSln<compute_stage>();
315  }

Referenced by Coupleable::adCoupledGradientTemplate(), and Coupleable::adCoupledVectorGradientTemplate().

◆ adGradSlnNeighbor()

template<typename OutputType>
template<ComputeStage compute_stage>
const VariableGradientType<OutputType, compute_stage>::type& MooseVariableFE< OutputType >::adGradSlnNeighbor ( ) const
inline

Definition at line 334 of file MooseVariableFE.h.

335  {
336  return _neighbor_data->template adGradSln<compute_stage>();
337  }

Referenced by Coupleable::adCoupledGradientTemplate(), and Coupleable::adCoupledVectorGradientTemplate().

◆ adNodalValue()

template<typename OutputType >
template<ComputeStage compute_stage>
const Moose::ValueType< OutputType, compute_stage >::type & MooseVariableFE< OutputType >::adNodalValue ( )
inline

Definition at line 659 of file MooseVariableFE.h.

660 {
661  return _element_data->template adNodalValue<compute_stage>();
662 }

◆ adSecondSln()

template<typename OutputType>
template<ComputeStage compute_stage>
const VariableSecondType<OutputType, compute_stage>::type& MooseVariableFE< OutputType >::adSecondSln ( ) const
inline

Definition at line 317 of file MooseVariableFE.h.

318  {
319  return _element_data->template adSecondSln<compute_stage>();
320  }

Referenced by Coupleable::adCoupledSecondTemplate().

◆ adSecondSlnNeighbor()

template<typename OutputType>
template<ComputeStage compute_stage>
const VariableSecondType<OutputType, compute_stage>::type& MooseVariableFE< OutputType >::adSecondSlnNeighbor ( ) const
inline

Definition at line 339 of file MooseVariableFE.h.

340  {
341  return _neighbor_data->template adSecondSln<compute_stage>();
342  }

Referenced by Coupleable::adCoupledSecondTemplate().

◆ adSln()

template<typename OutputType>
template<ComputeStage compute_stage>
const VariableValueType<OutputType, compute_stage>::type& MooseVariableFE< OutputType >::adSln ( ) const
inline

AD.

Definition at line 307 of file MooseVariableFE.h.

308  {
309  return _element_data->template adSln<compute_stage>();
310  }

Referenced by Coupleable::adCoupledValueTemplate(), and Coupleable::adCoupledVectorValueTemplate().

◆ adSlnLower()

template<typename OutputType>
template<ComputeStage compute_stage>
const VariableValueType<OutputType, compute_stage>::type& MooseVariableFE< OutputType >::adSlnLower ( ) const
inline

lower-d element solution

Definition at line 433 of file MooseVariableFE.h.

434  {
435  return _lower_data->template adSln<compute_stage>();
436  }

◆ adSlnNeighbor()

template<typename OutputType>
template<ComputeStage compute_stage>
const VariableValueType<OutputType, compute_stage>::type& MooseVariableFE< OutputType >::adSlnNeighbor ( ) const
inline

neighbor AD

Definition at line 329 of file MooseVariableFE.h.

330  {
331  return _neighbor_data->template adSln<compute_stage>();
332  }

Referenced by Coupleable::adCoupledValueTemplate(), and Coupleable::adCoupledVectorValueTemplate().

◆ adUDot()

template<typename OutputType>
template<ComputeStage compute_stage>
const VariableValueType<OutputType, compute_stage>::type& MooseVariableFE< OutputType >::adUDot ( ) const
inline

Definition at line 322 of file MooseVariableFE.h.

323  {
324  return _element_data->template adUDot<compute_stage>();
325  }

Referenced by Coupleable::adCoupledDotTemplate(), and Coupleable::adCoupledVectorDotTemplate().

◆ adUDotNeighbor()

template<typename OutputType>
template<ComputeStage compute_stage>
const VariableValueType<OutputType, compute_stage>::type& MooseVariableFE< OutputType >::adUDotNeighbor ( ) const
inline

Definition at line 344 of file MooseVariableFE.h.

345  {
346  return _neighbor_data->template adUDot<compute_stage>();
347  }

Referenced by Coupleable::adCoupledDotTemplate(), and Coupleable::adCoupledVectorDotTemplate().

◆ allDofIndices()

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

Get all global dofindices for the variable.

Definition at line 111 of file MooseVariableBase.C.

112 {
113  const auto it = _sys.subproblem()._var_dof_map.find(name());
114  if (it != _sys.subproblem()._var_dof_map.end())
115  return it->second;
116  else
117  mooseError("VariableAllDoFMap not prepared for ",
118  name(),
119  " . Check nonlocal coupling requirement for the variable.");
120 }

Referenced by FEProblemBase::addJacobianBlock(), NonlocalIntegratedBC::computeNonlocalJacobian(), NonlocalKernel::computeNonlocalJacobian(), NonlocalIntegratedBC::computeNonlocalOffDiagJacobian(), NonlocalKernel::computeNonlocalOffDiagJacobian(), FEProblemBase::prepare(), Assembly::prepareNonlocal(), Assembly::prepareVariableNonlocal(), and MooseVariableBase::totalVarDofs().

◆ arrayGradPhi()

template<typename OutputType>
const MappedArrayVariablePhiGradient& MooseVariableFE< OutputType >::arrayGradPhi ( ) const
inline

Definition at line 202 of file MooseVariableFE.h.

203  {
204  return _element_data->arrayGradPhi();
205  }

◆ arrayGradPhiFace()

template<typename OutputType>
const MappedArrayVariablePhiGradient& MooseVariableFE< OutputType >::arrayGradPhiFace ( ) const
inline

Definition at line 211 of file MooseVariableFE.h.

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

◆ arrayGradPhiFaceNeighbor()

template<typename OutputType>
const MappedArrayVariablePhiGradient& MooseVariableFE< OutputType >::arrayGradPhiFaceNeighbor ( ) const
inline

Definition at line 232 of file MooseVariableFE.h.

233  {
234  return _neighbor_data->arrayGradPhiFace();
235  }

◆ arrayGradPhiNeighbor()

template<typename OutputType>
const MappedArrayVariablePhiGradient& MooseVariableFE< OutputType >::arrayGradPhiNeighbor ( ) const
inline

Definition at line 220 of file MooseVariableFE.h.

221  {
222  return _neighbor_data->arrayGradPhi();
223  }

◆ arrayScalingFactor()

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

◆ blockIDs()

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

Return the block subdomain ids for this object.

Returns
a set of SudomainIDs that are valid for this object

Definition at line 174 of file BlockRestrictable.C.

175 {
176  return _blk_ids;
177 }

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

◆ blockRestricted()

bool BlockRestrictable::blockRestricted ( ) const
virtualinherited

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

See also
MooseObject

Definition at line 162 of file BlockRestrictable.C.

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

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

◆ blocks()

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

Return the block names for this object.

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

Returns
vector of SubdomainNames that are valid for this object

Definition at line 168 of file BlockRestrictable.C.

169 {
170  return _blocks;
171 }

Referenced by MaterialOutputAction::getParams().

◆ buildOutputHideVariableList()

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

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

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

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

Definition at line 64 of file OutputInterface.C.

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

Referenced by OutputInterface::OutputInterface().

◆ checkVariable()

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

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

Parameters
variableThe variable to check against.

Definition at line 314 of file BlockRestrictable.C.

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

◆ clearDofIndices()

template<typename OutputType >
void MooseVariableFE< OutputType >::clearDofIndices ( )
overridevirtual

Clear out the dof indices.

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

Implements MooseVariableFEBase.

Definition at line 80 of file MooseVariableFE.C.

81 {
82  _element_data->clearDofIndices();
83 }

◆ componentDofIndices()

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

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

Definition at line 129 of file MooseVariableBase.C.

131 {
132  std::vector<dof_id_type> new_dof_indices(dof_indices);
133  if (component != 0)
134  {
135  if (isNodal())
136  for (auto & id : new_dof_indices)
137  id += component;
138  else
139  {
140  unsigned int n = dof_indices.size();
141  for (auto & id : new_dof_indices)
142  id += component * n;
143  }
144  }
145  return new_dof_indices;
146 }

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

◆ computeElemValues()

template<typename OutputType >
void MooseVariableFE< OutputType >::computeElemValues ( )
overridevirtual

Actually compute variable values from the solution vectors.

Implements MooseVariableFEBase.

Reimplemented in MooseVariableConstMonomial.

Definition at line 385 of file MooseVariableFE.C.

386 {
387  _element_data->setGeometry(Moose::Volume);
388  _element_data->computeValues();
389 }

◆ computeElemValuesFace()

template<typename OutputType >
void MooseVariableFE< OutputType >::computeElemValuesFace ( )
overridevirtual

Compute values at facial quadrature points.

Implements MooseVariableFEBase.

Reimplemented in MooseVariableConstMonomial.

Definition at line 393 of file MooseVariableFE.C.

394 {
395  _element_data->setGeometry(Moose::Face);
396  _element_data->computeValues();
397 }

◆ computeIncrementAtNode()

template<typename OutputType >
void MooseVariableFE< OutputType >::computeIncrementAtNode ( const NumericVector< Number > &  increment_vec)

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

Definition at line 432 of file MooseVariableFE.C.

433 {
434  _element_data->computeIncrementAtNode(increment_vec);
435 }

◆ computeIncrementAtQps()

template<typename OutputType >
void MooseVariableFE< OutputType >::computeIncrementAtQps ( const NumericVector< Number > &  increment_vec)

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

Definition at line 425 of file MooseVariableFE.C.

426 {
427  _element_data->computeIncrementAtQps(increment_vec);
428 }

◆ computeLowerDValues()

template<typename OutputType >
void MooseVariableFE< OutputType >::computeLowerDValues ( )
overridevirtual

compute values at quadrature points on the lower dimensional element

Implements MooseVariableFEBase.

Definition at line 417 of file MooseVariableFE.C.

418 {
419  _lower_data->setGeometry(Moose::Volume);
420  _lower_data->computeValues();
421 }

◆ computeNeighborValues()

template<typename OutputType >
void MooseVariableFE< OutputType >::computeNeighborValues ( )
overridevirtual

Compute values at quadrature points for the neighbor.

Implements MooseVariableFEBase.

Reimplemented in MooseVariableConstMonomial.

Definition at line 409 of file MooseVariableFE.C.

410 {
411  _neighbor_data->setGeometry(Moose::Volume);
412  _neighbor_data->computeValues();
413 }

◆ computeNeighborValuesFace()

template<typename OutputType >
void MooseVariableFE< OutputType >::computeNeighborValuesFace ( )
overridevirtual

Compute values at facial quadrature points for the neighbor.

Implements MooseVariableFEBase.

Reimplemented in MooseVariableConstMonomial.

Definition at line 401 of file MooseVariableFE.C.

402 {
403  _neighbor_data->setGeometry(Moose::Face);
404  _neighbor_data->computeValues();
405 }

◆ computeNodalNeighborValues()

template<typename OutputType >
void MooseVariableFE< OutputType >::computeNodalNeighborValues ( )
overridevirtual

Compute nodal values of this variable in the neighbor.

Implements MooseVariableFEBase.

Definition at line 657 of file MooseVariableFE.C.

658 {
659  _neighbor_data->computeNodalValues();
660 }

◆ computeNodalValues()

template<typename OutputType >
void MooseVariableFE< OutputType >::computeNodalValues ( )
overridevirtual

Compute nodal values of this variable.

Implements MooseVariableFEBase.

Definition at line 650 of file MooseVariableFE.C.

651 {
652  _element_data->computeNodalValues();
653 }

◆ computingCurl()

template<typename OutputType >
bool MooseVariableFE< OutputType >::computingCurl ( ) const

Whether or not this variable is computing the curl.

Definition at line 770 of file MooseVariableFE.C.

771 {
772  return _element_data->computingCurl();
773 }

Referenced by Assembly::copyFaceShapes(), and Assembly::copyShapes().

◆ computingSecond()

template<typename OutputType>
bool MooseVariableFE< OutputType >::computingSecond ( ) const
inline

Whether or not this variable is computing any second derivatives.

Definition at line 150 of file MooseVariableFE.h.

150 { return usesSecondPhi(); }

Referenced by Assembly::copyFaceShapes(), and Assembly::copyShapes().

◆ count()

unsigned int MooseVariableBase::count ( ) const
inlineinherited

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

Definition at line 98 of file MooseVariableBase.h.

98 { return _count; }

Referenced by Assembly::addJacobianBlock(), SystemBase::addVariableToZeroOnJacobian(), SystemBase::addVariableToZeroOnResidual(), ArrayConstantIC::ArrayConstantIC(), ArrayFunctionIC::ArrayFunctionIC(), Assembly::cacheJacobianBlock(), Assembly::cacheJacobianBlockNonzero(), ArrayNodalBC::computeJacobian(), Kernel::computeOffDiagJacobian(), ArrayNodalBC::computeOffDiagJacobian(), ArrayDiffusion::computeQpJacobian(), ArrayReaction::computeQpJacobian(), ArrayTimeDerivative::computeQpJacobian(), ArrayKernel::computeQpJacobian(), ArrayIntegratedBC::computeQpJacobian(), ArrayNodalBC::computeQpJacobian(), ArrayIntegratedBC::computeQpOffDiagJacobian(), ArrayKernel::computeQpOffDiagJacobian(), ArrayNodalBC::computeQpOffDiagJacobian(), ArrayDGKernel::computeQpOffDiagJacobian(), Kernel::computeQpOffDiagJacobianArray(), ArrayIntegratedBC::computeQpOffDiagJacobianScalar(), ArrayKernel::computeQpOffDiagJacobianScalar(), ArrayDiffusion::computeQpResidual(), ArrayReaction::computeQpResidual(), ArrayTimeDerivative::computeQpResidual(), ArrayFunctionIC::gradient(), AdvancedOutput::initAvailableLists(), AdvancedOutput::initShowHideLists(), Assembly::prepareBlock(), Assembly::prepareBlockNonlocal(), Assembly::prepareJacobianBlock(), Assembly::prepareLowerD(), Assembly::prepareNeighbor(), Assembly::prepareNonlocal(), Assembly::prepareVariable(), Assembly::prepareVariableNonlocal(), EigenProblem::scaleEigenvector(), MultiAppFieldTransfer::transfer(), MultiAppFieldTransfer::transferDofObject(), and ArrayFunctionIC::value().

◆ curlPhi()

template<typename OutputType >
const MooseVariableFE< OutputType >::FieldVariablePhiCurl & MooseVariableFE< OutputType >::curlPhi ( ) const

Definition at line 707 of file MooseVariableFE.C.

708 {
709  return _element_data->curlPhi();
710 }

Referenced by Assembly::copyFaceShapes(), and Assembly::copyShapes().

◆ curlPhiFace()

template<typename OutputType >
const MooseVariableFE< OutputType >::FieldVariablePhiCurl & MooseVariableFE< OutputType >::curlPhiFace ( ) const

Definition at line 721 of file MooseVariableFE.C.

722 {
723  return _element_data->curlPhiFace();
724 }

◆ curlPhiFaceNeighbor()

template<typename OutputType >
const MooseVariableFE< OutputType >::FieldVariablePhiCurl & MooseVariableFE< OutputType >::curlPhiFaceNeighbor ( ) const

Definition at line 749 of file MooseVariableFE.C.

750 {
751  return _neighbor_data->curlPhiFace();
752 }

◆ curlPhiNeighbor()

template<typename OutputType >
const MooseVariableFE< OutputType >::FieldVariablePhiCurl & MooseVariableFE< OutputType >::curlPhiNeighbor ( ) const

Definition at line 735 of file MooseVariableFE.C.

736 {
737  return _neighbor_data->curlPhi();
738 }

◆ curlSln()

template<typename OutputType>
const FieldVariableCurl& MooseVariableFE< OutputType >::curlSln ( ) const
inline

element curls

Definition at line 301 of file MooseVariableFE.h.

301 { return _element_data->curlSln(Moose::Current); }

Referenced by Coupleable::coupledCurl().

◆ curlSlnNeighbor()

template<typename OutputType>
const FieldVariableCurl& MooseVariableFE< OutputType >::curlSlnNeighbor ( ) const
inline

neighbor solution curls

Definition at line 410 of file MooseVariableFE.h.

411  {
412  return _neighbor_data->curlSln(Moose::Current);
413  }

Referenced by Coupleable::coupledCurl().

◆ curlSlnOld()

template<typename OutputType>
const FieldVariableCurl& MooseVariableFE< OutputType >::curlSlnOld ( ) const
inline

Definition at line 302 of file MooseVariableFE.h.

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

Referenced by Coupleable::coupledCurl(), and Coupleable::coupledCurlOld().

◆ curlSlnOlder()

template<typename OutputType>
const FieldVariableCurl& MooseVariableFE< OutputType >::curlSlnOlder ( ) const
inline

Definition at line 303 of file MooseVariableFE.h.

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

Referenced by Coupleable::coupledCurlOld(), and Coupleable::coupledCurlOlder().

◆ curlSlnOlderNeighbor()

template<typename OutputType>
const FieldVariableCurl& MooseVariableFE< OutputType >::curlSlnOlderNeighbor ( ) const
inline

Definition at line 418 of file MooseVariableFE.h.

419  {
420  return _neighbor_data->curlSln(Moose::Older);
421  }

Referenced by Coupleable::coupledCurlOld(), and Coupleable::coupledCurlOlder().

◆ curlSlnOldNeighbor()

template<typename OutputType>
const FieldVariableCurl& MooseVariableFE< OutputType >::curlSlnOldNeighbor ( ) const
inline

Definition at line 414 of file MooseVariableFE.h.

415  {
416  return _neighbor_data->curlSln(Moose::Old);
417  }

Referenced by Coupleable::coupledCurl(), and Coupleable::coupledCurlOld().

◆ currentElem()

template<typename OutputType>
const Elem* const & MooseVariableFE< OutputType >::currentElem ( ) const
inlineoverridevirtual

Current element this variable is evaluated at.

Implements MooseVariableFEBase.

Definition at line 174 of file MooseVariableFE.h.

174 { return _element_data->currentElem(); }

◆ currentSide()

template<typename OutputType>
const unsigned int& MooseVariableFE< OutputType >::currentSide ( ) const
inline

Current side this variable is being evaluated on.

Definition at line 179 of file MooseVariableFE.h.

179 { return _element_data->currentSide(); }

◆ dofIndices()

template<typename OutputType>
const std::vector<dof_id_type>& MooseVariableFE< OutputType >::dofIndices ( ) const
inlinefinalvirtual

◆ dofIndicesLower()

template<typename OutputType>
const std::vector<dof_id_type>& MooseVariableFE< OutputType >::dofIndicesLower ( ) const
inlinefinalvirtual

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

Returns
the lower dimensional element's dofs

Implements MooseVariableFEBase.

Definition at line 193 of file MooseVariableFE.h.

194  {
195  return _lower_data->dofIndices();
196  }

Referenced by MortarConstraint::computeJacobian().

◆ dofIndicesNeighbor()

template<typename OutputType>
const std::vector<dof_id_type>& MooseVariableFE< OutputType >::dofIndicesNeighbor ( ) const
inlinefinalvirtual

Get neighbor DOF indices for currently selected element.

Returns
the neighbor degree of freedom indices

Implements MooseVariableFEBase.

Definition at line 189 of file MooseVariableFE.h.

190  {
191  return _neighbor_data->dofIndices();
192  }

Referenced by MortarConstraint::computeJacobian(), NodalConstraint::computeJacobian(), and NodalConstraint::computeResidual().

◆ dofMap()

const DofMap& MooseVariableBase::dofMap ( ) const
inlineinherited

The DofMap associated with the system this variable is in.

Definition at line 109 of file MooseVariableBase.h.

109 { return _dof_map; }

Referenced by AuxScalarKernel::compute(), and ScalarVariable::getValue().

◆ dofValue()

template<typename OutputType >
const MooseVariableFE< OutputType >::DoFValue & MooseVariableFE< OutputType >::dofValue ( )

Definition at line 230 of file MooseVariableFE.C.

231 {
232  mooseDeprecated("Use dofValues instead of dofValue");
233  return dofValues();
234 }

◆ dofValues()

template<typename OutputType >
const MooseVariableFE< OutputType >::DoFValue & MooseVariableFE< OutputType >::dofValues ( )

◆ dofValuesDot()

template<typename OutputType >
const MooseVariableFE< OutputType >::DoFValue & MooseVariableFE< OutputType >::dofValuesDot ( )

Definition at line 294 of file MooseVariableFE.C.

295 {
296  return _element_data->dofValuesDot();
297 }

Referenced by Coupleable::coupledArrayDot(), and Coupleable::coupledDot().

◆ dofValuesDotDot()

template<typename OutputType >
const MooseVariableFE< OutputType >::DoFValue & MooseVariableFE< OutputType >::dofValuesDotDot ( )

Definition at line 301 of file MooseVariableFE.C.

302 {
303  return _element_data->dofValuesDotDot();
304 }

Referenced by Coupleable::coupledArrayDotDot(), Coupleable::coupledDotDot(), and Coupleable::coupledNodalDotDot().

◆ dofValuesDotDotNeighbor()

template<typename OutputType >
const MooseVariableFE< OutputType >::DoFValue & MooseVariableFE< OutputType >::dofValuesDotDotNeighbor ( )

Definition at line 329 of file MooseVariableFE.C.

330 {
331  return _neighbor_data->dofValuesDotDot();
332 }

Referenced by Coupleable::coupledArrayDotDot(), Coupleable::coupledDotDot(), and Coupleable::coupledNodalDotDot().

◆ dofValuesDotDotOld()

template<typename OutputType >
const MooseVariableFE< OutputType >::DoFValue & MooseVariableFE< OutputType >::dofValuesDotDotOld ( )

Definition at line 315 of file MooseVariableFE.C.

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

Referenced by Coupleable::coupledArrayDotDotOld(), Coupleable::coupledDotDotOld(), and Coupleable::coupledNodalDotDotOld().

◆ dofValuesDotDotOldNeighbor()

template<typename OutputType >
const MooseVariableFE< OutputType >::DoFValue & MooseVariableFE< OutputType >::dofValuesDotDotOldNeighbor ( )

Definition at line 343 of file MooseVariableFE.C.

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

Referenced by Coupleable::coupledArrayDotDotOld(), Coupleable::coupledDotDotOld(), and Coupleable::coupledNodalDotDotOld().

◆ dofValuesDotNeighbor()

template<typename OutputType >
const MooseVariableFE< OutputType >::DoFValue & MooseVariableFE< OutputType >::dofValuesDotNeighbor ( )

Definition at line 322 of file MooseVariableFE.C.

323 {
324  return _neighbor_data->dofValuesDot();
325 }

Referenced by Coupleable::coupledArrayDot(), Coupleable::coupledDot(), and NeighborCoupleable::coupledNeighborValueDot().

◆ dofValuesDotOld()

template<typename OutputType >
const MooseVariableFE< OutputType >::DoFValue & MooseVariableFE< OutputType >::dofValuesDotOld ( )

Definition at line 308 of file MooseVariableFE.C.

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

Referenced by Coupleable::coupledArrayDotOld(), Coupleable::coupledDotOld(), and Coupleable::coupledNodalDotOld().

◆ dofValuesDotOldNeighbor()

template<typename OutputType >
const MooseVariableFE< OutputType >::DoFValue & MooseVariableFE< OutputType >::dofValuesDotOldNeighbor ( )

Definition at line 336 of file MooseVariableFE.C.

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

Referenced by Coupleable::coupledArrayDotOld(), Coupleable::coupledDotOld(), and Coupleable::coupledNodalDotOld().

◆ dofValuesDuDotDotDu()

template<typename OutputType >
const MooseArray< Number > & MooseVariableFE< OutputType >::dofValuesDuDotDotDu ( )

Definition at line 357 of file MooseVariableFE.C.

358 {
359  return _element_data->dofValuesDuDotDotDu();
360 }

Referenced by Coupleable::coupledDotDotDu().

◆ dofValuesDuDotDotDuNeighbor()

template<typename OutputType >
const MooseArray< Number > & MooseVariableFE< OutputType >::dofValuesDuDotDotDuNeighbor ( )

Definition at line 371 of file MooseVariableFE.C.

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

Referenced by Coupleable::coupledDotDotDu().

◆ dofValuesDuDotDu()

template<typename OutputType >
const MooseArray< Number > & MooseVariableFE< OutputType >::dofValuesDuDotDu ( )

Definition at line 350 of file MooseVariableFE.C.

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

Referenced by Coupleable::coupledDotDu().

◆ dofValuesDuDotDuNeighbor()

template<typename OutputType >
const MooseArray< Number > & MooseVariableFE< OutputType >::dofValuesDuDotDuNeighbor ( )

Definition at line 364 of file MooseVariableFE.C.

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

Referenced by Coupleable::coupledDotDu(), and NeighborCoupleable::coupledNeighborValueDotDu().

◆ dofValuesNeighbor()

template<typename OutputType >
const MooseVariableFE< OutputType >::DoFValue & MooseVariableFE< OutputType >::dofValuesNeighbor ( )

◆ dofValuesOld()

template<typename OutputType >
const MooseVariableFE< OutputType >::DoFValue & MooseVariableFE< OutputType >::dofValuesOld ( )

◆ dofValuesOlder()

template<typename OutputType >
const MooseVariableFE< OutputType >::DoFValue & MooseVariableFE< OutputType >::dofValuesOlder ( )

◆ dofValuesOlderNeighbor()

template<typename OutputType >
const MooseVariableFE< OutputType >::DoFValue & MooseVariableFE< OutputType >::dofValuesOlderNeighbor ( )

◆ dofValuesOldNeighbor()

template<typename OutputType >
const MooseVariableFE< OutputType >::DoFValue & MooseVariableFE< OutputType >::dofValuesOldNeighbor ( )

◆ dofValuesPreviousNL()

template<typename OutputType >
const MooseVariableFE< OutputType >::DoFValue & MooseVariableFE< OutputType >::dofValuesPreviousNL ( )

Definition at line 259 of file MooseVariableFE.C.

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

Referenced by Coupleable::coupledValuePreviousNL().

◆ dofValuesPreviousNLNeighbor()

template<typename OutputType >
const MooseVariableFE< OutputType >::DoFValue & MooseVariableFE< OutputType >::dofValuesPreviousNLNeighbor ( )

Definition at line 287 of file MooseVariableFE.C.

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

Referenced by Coupleable::coupledValuePreviousNL().

◆ duDotDotDu()

template<typename OutputType>
const VariableValue& MooseVariableFE< OutputType >::duDotDotDu ( ) const
inline

Definition at line 355 of file MooseVariableFE.h.

355 { return _element_data->duDotDotDu(); }

Referenced by Coupleable::coupledDotDotDu(), and Coupleable::coupledVectorDotDotDu().

◆ duDotDotDuNeighbor()

template<typename OutputType>
const VariableValue& MooseVariableFE< OutputType >::duDotDotDuNeighbor ( ) const
inline

Definition at line 429 of file MooseVariableFE.h.

429 { return _neighbor_data->duDotDotDu(); }

Referenced by Coupleable::coupledDotDotDu(), and Coupleable::coupledVectorDotDotDu().

◆ duDotDu()

template<typename OutputType>
const VariableValue& MooseVariableFE< OutputType >::duDotDu ( ) const
inline

Definition at line 354 of file MooseVariableFE.h.

354 { return _element_data->duDotDu(); }

Referenced by Coupleable::coupledDotDu(), and Coupleable::coupledVectorDotDu().

◆ duDotDuNeighbor()

template<typename OutputType>
const VariableValue& MooseVariableFE< OutputType >::duDotDuNeighbor ( ) const
inline

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

◆ feType()

const FEType& MooseVariableBase::feType ( ) const
inlineinherited

◆ fieldType()

template<typename OutputType >
Moose::VarFieldType MooseVariableFE< OutputType >::fieldType ( ) const
overridevirtual

Filed type of this variable.

Implements MooseVariableFEBase.

Definition at line 59 of file MooseVariableFE.C.

60 {
61  if (std::is_same<OutputType, Real>::value)
63  else if (std::is_same<OutputType, RealVectorValue>::value)
65  else if (std::is_same<OutputType, RealEigenVector>::value)
67  else
68  mooseError("Unknown variable field type");
69 }

◆ getBlockCoordSystem()

Moose::CoordinateSystemType BlockRestrictable::getBlockCoordSystem ( )
protectedinherited

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

Definition at line 292 of file BlockRestrictable.C.

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

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

◆ getDofIndices()

template<typename OutputType >
void MooseVariableFE< OutputType >::getDofIndices ( const Elem *  elem,
std::vector< dof_id_type > &  dof_indices 
) const
overridevirtual

Implements MooseVariableFEBase.

Definition at line 152 of file MooseVariableFE.C.

154 {
155  _element_data->getDofIndices(elem, dof_indices);
156 }

◆ getElementalValue()

template<typename OutputType >
MooseVariableFE< OutputType >::OutputData MooseVariableFE< OutputType >::getElementalValue ( const Elem *  elem,
unsigned int  idx = 0 
) const

Get the current value of this variable on an element.

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

Definition at line 181 of file MooseVariableFE.C.

182 {
183  return _element_data->getElementalValue(elem, Moose::Current, idx);
184 }

◆ getElementalValueOld()

template<typename OutputType >
MooseVariableFE< OutputType >::OutputData MooseVariableFE< OutputType >::getElementalValueOld ( const Elem *  elem,
unsigned int  idx = 0 
) const

Get the old value of this variable on an element.

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

Definition at line 188 of file MooseVariableFE.C.

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

◆ getElementalValueOlder()

template<typename OutputType >
MooseVariableFE< OutputType >::OutputData MooseVariableFE< OutputType >::getElementalValueOlder ( const Elem *  elem,
unsigned int  idx = 0 
) const

Get the older value of this variable on an element.

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

Definition at line 195 of file MooseVariableFE.C.

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

◆ getGradient()

template<typename OutputType>
OutputTools< OutputType >::OutputGradient MooseVariableFE< OutputType >::getGradient ( const Elem *  elem,
const std::vector< std::vector< typename OutputTools< OutputType >::OutputShapeGradient >> &  grad_phi 
) const

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

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

Definition at line 497 of file MooseVariableFE.C.

501 {
502  std::vector<dof_id_type> dof_indices;
503  _dof_map.dof_indices(elem, dof_indices, _var_num);
504 
506  if (isNodal())
507  {
508  for (unsigned int i = 0; i < dof_indices.size(); ++i)
509  {
510  // The zero index is because we only have one point that the phis are evaluated at
511  value += grad_phi[i][0] * (*_sys.currentSolution())(dof_indices[i]);
512  }
513  }
514  else
515  {
516  mooseAssert(dof_indices.size() == 1, "Wrong size for dof indices");
517  value = 0.0;
518  }
519 
520  return value;
521 }

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

◆ getNodalValue()

template<typename OutputType >
MooseVariableFE< OutputType >::OutputData MooseVariableFE< OutputType >::getNodalValue ( const Node &  node)

Get the value of this variable at given node.

Definition at line 160 of file MooseVariableFE.C.

161 {
162  return _element_data->getNodalValue(node, Moose::Current);
163 }

Referenced by NodalVariableValue::getValue().

◆ getNodalValueOld()

template<typename OutputType >
MooseVariableFE< OutputType >::OutputData MooseVariableFE< OutputType >::getNodalValueOld ( const Node &  node)

Get the old value of this variable at given node.

Definition at line 167 of file MooseVariableFE.C.

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

◆ getNodalValueOlder()

template<typename OutputType >
MooseVariableFE< OutputType >::OutputData MooseVariableFE< OutputType >::getNodalValueOlder ( const Node &  node)

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

Definition at line 174 of file MooseVariableFE.C.

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

◆ getOutputs()

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

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

Returns
A set of OutputNames

Definition at line 97 of file OutputInterface.C.

98 {
99  return _oi_outputs;
100 }

◆ getParamTempl()

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

◆ getValue()

template<typename OutputType >
OutputType MooseVariableFE< OutputType >::getValue ( const Elem *  elem,
const std::vector< std::vector< OutputShape >> &  phi 
) const

Compute the variable value at a point on an element.

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

Definition at line 439 of file MooseVariableFE.C.

441 {
442  std::vector<dof_id_type> dof_indices;
443  _dof_map.dof_indices(elem, dof_indices, _var_num);
444 
445  OutputType value = 0;
446  if (isNodal())
447  {
448  for (unsigned int i = 0; i < dof_indices.size(); ++i)
449  {
450  // The zero index is because we only have one point that the phis are evaluated at
451  value += phi[i][0] * (*_sys.currentSolution())(dof_indices[i]);
452  }
453  }
454  else
455  {
456  mooseAssert(dof_indices.size() == 1, "Wrong size for dof indices");
457  value = (*_sys.currentSolution())(dof_indices[0]);
458  }
459 
460  return value;
461 }

Referenced by GapValueAux::computeValue(), and PenetrationThread::smoothNormal().

◆ gradPhi()

template<typename OutputType>
const FieldVariablePhiGradient& MooseVariableFE< OutputType >::gradPhi ( ) const
inline

Definition at line 201 of file MooseVariableFE.h.

201 { return _element_data->gradPhi(); }

Referenced by Assembly::copyShapes().

◆ gradPhiFace()

template<typename OutputType>
const FieldVariablePhiGradient& MooseVariableFE< OutputType >::gradPhiFace ( ) const
inline

Definition at line 210 of file MooseVariableFE.h.

210 { return _element_data->gradPhiFace(); }

Referenced by Assembly::copyFaceShapes().

◆ gradPhiFaceNeighbor()

template<typename OutputType>
const FieldVariablePhiGradient& MooseVariableFE< OutputType >::gradPhiFaceNeighbor ( ) const
inline

Definition at line 228 of file MooseVariableFE.h.

229  {
230  return _neighbor_data->gradPhiFace();
231  }

Referenced by Assembly::copyNeighborShapes().

◆ gradPhiLower()

template<typename OutputType>
const FieldVariablePhiGradient& MooseVariableFE< OutputType >::gradPhiLower ( ) const
inline

Definition at line 240 of file MooseVariableFE.h.

240 { return _lower_data->gradPhi(); }

◆ gradPhiNeighbor()

template<typename OutputType>
const FieldVariablePhiGradient& MooseVariableFE< OutputType >::gradPhiNeighbor ( ) const
inline

Definition at line 219 of file MooseVariableFE.h.

219 { return _neighbor_data->gradPhi(); }

Referenced by Assembly::copyNeighborShapes().

◆ gradSln()

template<typename OutputType>
const FieldVariableGradient& MooseVariableFE< OutputType >::gradSln ( ) const
inline

element gradients

Definition at line 273 of file MooseVariableFE.h.

273 { return _element_data->gradSln(Moose::Current); }

Referenced by Coupleable::coupledArrayGradient(), Coupleable::coupledGradient(), and Coupleable::coupledVectorGradient().

◆ gradSlnDot()

template<typename OutputType>
const FieldVariableGradient& MooseVariableFE< OutputType >::gradSlnDot ( ) const
inline

element gradient dots

Definition at line 285 of file MooseVariableFE.h.

285 { return _element_data->gradSlnDot(); }

Referenced by Coupleable::coupledGradientDot().

◆ gradSlnDotDot()

template<typename OutputType>
const FieldVariableGradient& MooseVariableFE< OutputType >::gradSlnDotDot ( ) const
inline

Definition at line 286 of file MooseVariableFE.h.

286 { return _element_data->gradSlnDotDot(); }

Referenced by Coupleable::coupledGradientDotDot().

◆ gradSlnNeighbor()

template<typename OutputType>
const FieldVariableGradient& MooseVariableFE< OutputType >::gradSlnNeighbor ( ) const
inline

◆ gradSlnNeighborDot()

template<typename OutputType>
const FieldVariableGradient& MooseVariableFE< OutputType >::gradSlnNeighborDot ( ) const
inline

neighbor grad dots

Definition at line 385 of file MooseVariableFE.h.

385 { return _neighbor_data->gradSlnDot(); }

Referenced by Coupleable::coupledGradientDot().

◆ gradSlnNeighborDotDot()

template<typename OutputType>
const FieldVariableGradient& MooseVariableFE< OutputType >::gradSlnNeighborDotDot ( ) const
inline

Definition at line 386 of file MooseVariableFE.h.

387  {
388  return _neighbor_data->gradSlnDotDot();
389  }

Referenced by Coupleable::coupledGradientDotDot().

◆ gradSlnOld()

template<typename OutputType>
const FieldVariableGradient& MooseVariableFE< OutputType >::gradSlnOld ( ) const
inline

◆ gradSlnOlder()

template<typename OutputType>
const FieldVariableGradient& MooseVariableFE< OutputType >::gradSlnOlder ( ) const
inline

◆ gradSlnOlderNeighbor()

template<typename OutputType>
const FieldVariableGradient& MooseVariableFE< OutputType >::gradSlnOlderNeighbor ( ) const
inline

◆ gradSlnOldNeighbor()

template<typename OutputType>
const FieldVariableGradient& MooseVariableFE< OutputType >::gradSlnOldNeighbor ( ) const
inline

◆ gradSlnPreviousNL()

template<typename OutputType>
const FieldVariableGradient& MooseVariableFE< OutputType >::gradSlnPreviousNL ( ) const
inline

Definition at line 279 of file MooseVariableFE.h.

280  {
281  return _element_data->gradSln(Moose::PreviousNL);
282  }

Referenced by Coupleable::coupledGradientPreviousNL().

◆ gradSlnPreviousNLNeighbor()

template<typename OutputType>
const FieldVariableGradient& MooseVariableFE< OutputType >::gradSlnPreviousNLNeighbor ( ) const
inline

Definition at line 379 of file MooseVariableFE.h.

380  {
381  return _neighbor_data->gradSln(Moose::PreviousNL);
382  }

Referenced by Coupleable::coupledGradientPreviousNL().

◆ hasBlockMaterialProperty()

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

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

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

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

Definition at line 256 of file BlockRestrictable.h.

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

◆ hasBlockMaterialPropertyHelper()

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

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

It also avoid circular #include problems.

See also
hasBlockMaterialProperty

Definition at line 256 of file BlockRestrictable.C.

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

Referenced by BlockRestrictable::hasBlockMaterialProperty().

◆ hasBlocks() [1/5]

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

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

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

Definition at line 218 of file BlockRestrictable.C.

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

◆ hasBlocks() [2/5]

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

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

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

Definition at line 211 of file BlockRestrictable.C.

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

◆ hasBlocks() [3/5]

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

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

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

Definition at line 196 of file BlockRestrictable.C.

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

◆ hasBlocks() [4/5]

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

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

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

Definition at line 202 of file BlockRestrictable.C.

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

◆ hasBlocks() [5/5]

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

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

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

Definition at line 186 of file BlockRestrictable.C.

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

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

◆ increment()

template<typename OutputType>
const FieldVariableValue& MooseVariableFE< OutputType >::increment ( ) const
inline

Definition at line 255 of file MooseVariableFE.h.

255 { return _element_data->increment(); }

◆ initializeBlockRestrictable()

void BlockRestrictable::initializeBlockRestrictable ( const MooseObject moose_object)
protectedinherited

An initialization routine needed for dual constructors.

Definition at line 79 of file BlockRestrictable.C.

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

Referenced by BlockRestrictable::BlockRestrictable().

◆ insert()

template<typename OutputType >
void MooseVariableFE< OutputType >::insert ( NumericVector< Number > &  residual)
overridevirtual

Set the current local DOF values to the input vector.

Implements MooseVariableFEBase.

Definition at line 202 of file MooseVariableFE.C.

203 {
204  _element_data->insert(residual);
205 }

◆ insertNodalValue()

template<typename OutputType >
void MooseVariableFE< OutputType >::insertNodalValue ( NumericVector< Number > &  residual,
const OutputData v 
)

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

Definition at line 685 of file MooseVariableFE.C.

687 {
688  _element_data->insertNodalValue(residual, v);
689 }

Referenced by ArrayNodalBC::computeResidual(), and NodalBC::computeResidual().

◆ isBlockSubset() [1/2]

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

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

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

Definition at line 227 of file BlockRestrictable.C.

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

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

◆ isBlockSubset() [2/2]

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

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

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

Definition at line 243 of file BlockRestrictable.C.

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

◆ isNodal()

template<typename OutputType>
bool MooseVariableFE< OutputType >::isNodal ( ) const
inlineoverridevirtual

Is this variable nodal.

Returns
true if it nodal, otherwise false

Reimplemented from MooseVariableBase.

Definition at line 160 of file MooseVariableFE.h.

160 { return _element_data->isNodal(); }

Referenced by Coupleable::coupledNodalValue(), Coupleable::coupledNodalValueOld(), and Coupleable::coupledNodalValueOlder().

◆ isNodalDefined()

template<typename OutputType >
bool MooseVariableFE< OutputType >::isNodalDefined ( ) const
overridevirtual

Is this variable defined at nodes.

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

Implements MooseVariableFEBase.

Definition at line 777 of file MooseVariableFE.C.

778 {
779  return _element_data->isNodalDefined();
780 }

Referenced by ArrayNodalBC::computeJacobian(), NodalBC::computeJacobian(), NodalKernel::computeJacobian(), NodalKernel::computeOffDiagJacobian(), TimeNodalKernel::computeResidual(), ArrayNodalBC::computeResidual(), NodalBC::computeResidual(), NodalKernel::computeResidual(), and DirichletBCBase::computeValue().

◆ isNodalNeighborDefined()

template<typename OutputType >
bool MooseVariableFE< OutputType >::isNodalNeighborDefined ( ) const

Definition at line 784 of file MooseVariableFE.C.

785 {
786  return _neighbor_data->isNodalDefined();
787 }

◆ isParamValid()

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

Test if the supplied parameter is valid.

Parameters
nameThe name of the parameter to test

Definition at line 100 of file MooseObject.h.

100 { return _pars.isParamValid(name); }

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

◆ isVector()

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

Implements MooseVariableFEBase.

Definition at line 693 of file MooseVariableFE.C.

694 {
695  return std::is_same<OutputType, RealVectorValue>::value;
696 }

◆ kind()

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

◆ matrixTagValue()

template<typename OutputType>
const FieldVariableValue& MooseVariableFE< OutputType >::matrixTagValue ( TagID  tag)
inline

Definition at line 261 of file MooseVariableFE.h.

262  {
263  return _element_data->matrixTagValue(tag);
264  }

Referenced by Coupleable::coupledMatrixTagValue().

◆ meshBlockIDs()

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

Return all of the SubdomainIDs for the mesh.

Returns
A set of all subdomians for the entire mesh

Definition at line 250 of file BlockRestrictable.C.

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

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

◆ 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(), MeshExtruder::modify(), BreakMeshByBlockBase::modify(), AssignElementSubdomainID::modify(), SmoothMesh::modify(), AddAllSideSetsByNormals::modify(), ElementDeleterBase::modify(), ParsedSubdomainMeshModifier::modify(), RenameBlock::modify(), ImageSubdomain::modify(), OrientedSubdomainBoundingBox::modify(), BoundingBoxNodeSet::modify(), SubdomainBoundingBox::modify(), AddSideSetsFromBoundingBox::modify(), MooseGhostPointNeighbors::MooseGhostPointNeighbors(), MooseMesh::MooseMesh(), MooseVariableBase::MooseVariableBase(), MortarConstraintBase::MortarConstraintBase(), MultiAppPostprocessorTransfer::MultiAppPostprocessorTransfer(), NearestNodeDistanceAux::NearestNodeDistanceAux(), NearestNodeValueAux::NearestNodeValueAux(), RenameBlockGenerator::newBlockID(), RenameBlock::newBlockID(), RenameBlockGenerator::newBlockName(), RenameBlock::newBlockName(), NewmarkBeta::NewmarkBeta(), NodalConstraint::NodalConstraint(), NodalScalarKernel::NodalScalarKernel(), NodalVariableValue::NodalVariableValue(), NumDOFs::NumDOFs(), NumNonlinearIterations::NumNonlinearIterations(), NumVars::NumVars(), FunctorRelationshipManager::operator()(), RelationshipManager::operator==(), XDA::output(), SolutionHistory::output(), Exodus::output(), AdvancedOutput::outputElementalVariables(), AdvancedOutput::outputInput(), AdvancedOutput::outputNodalVariables(), AdvancedOutput::outputPostprocessors(), AdvancedOutput::outputScalarVariables(), AdvancedOutput::outputSystemInformation(), Console::outputVectorPostprocessors(), AdvancedOutput::outputVectorPostprocessors(), MooseObject::paramError(), PiecewiseBilinear::parse(), ParsedAddSideset::ParsedAddSideset(), ParsedAux::ParsedAux(), ParsedGenerateSideset::ParsedGenerateSideset(), ParsedODEKernel::ParsedODEKernel(), ParsedSubdomainMeshGenerator::ParsedSubdomainMeshGenerator(), ParsedSubdomainMeshModifier::ParsedSubdomainMeshModifier(), ExplicitTimeIntegrator::performExplicitSolve(), PetscExternalPartitioner::PetscExternalPartitioner(), PhysicsBasedPreconditioner::PhysicsBasedPreconditioner(), PiecewiseBase::PiecewiseBase(), PiecewiseBilinear::PiecewiseBilinear(), PiecewiseLinearInterpolationMaterial::PiecewiseLinearInterpolationMaterial(), PiecewiseMulticonstant::PiecewiseMulticonstant(), PiecewiseMultiInterpolation::PiecewiseMultiInterpolation(), SolutionUserObject::pointValueGradientWrapper(), SolutionUserObject::pointValueWrapper(), LStableDirk2::postResidual(), LStableDirk3::postResidual(), ImplicitMidpoint::postResidual(), ExplicitTVDRK2::postResidual(), AStableDirk4::postResidual(), LStableDirk4::postResidual(), ExplicitRK2::postResidual(), Eigenvalue::postSolve(), Predictor::Predictor(), Transient::preExecute(), SolutionUserObject::readExodusII(), SolutionUserObject::readXda(), DerivativeParsedMaterialHelper::recurseDerivative(), FunctorRelationshipManager::redistribute(), ReferenceResidualProblem::ReferenceResidualProblem(), EqualValueEmbeddedConstraint::reinitConstraint(), RelativeSolutionDifferenceNorm::RelativeSolutionDifferenceNorm(), RenameBlock::RenameBlock(), RenameBlockGenerator::RenameBlockGenerator(), RenameBoundaryGenerator::RenameBoundaryGenerator(), RinglebMesh::RinglebMesh(), RinglebMeshGenerator::RinglebMeshGenerator(), ScalarComponentIC::ScalarComponentIC(), BicubicSplineFunction::secondDerivative(), FEProblemBase::setCoordSystem(), PiecewiseBase::setData(), EigenProblem::setEigenproblemType(), FEProblemSolve::setInnerSolve(), Sampler::setNumberOfCols(), Sampler::setNumberOfRandomSeeds(), Sampler::setNumberOfRows(), Exodus::setOutputDimensionInExodusWriter(), Split::setup(), TransientMultiApp::setupApp(), TimeSequenceStepperBase::setupSequence(), Transient::setupTimeIntegrator(), SideSetsFromBoundingBoxGenerator::SideSetsFromBoundingBoxGenerator(), SideSetsFromNormals::SideSetsFromNormals(), SideSetsFromNormalsGenerator::SideSetsFromNormalsGenerator(), SideSetsFromPoints::SideSetsFromPoints(), SideSetsFromPointsGenerator::SideSetsFromPointsGenerator(), SolutionTimeAdaptiveDT::SolutionTimeAdaptiveDT(), SolutionUserObject::SolutionUserObject(), PicardSolve::solve(), FullSolveMultiApp::solveStep(), SpatialAverageBase::SpatialAverageBase(), NearestPointIntegralVariablePostprocessor::spatialValue(), UserObject::spatialValue(), SpiralAnnularMesh::SpiralAnnularMesh(), SpiralAnnularMeshGenerator::SpiralAnnularMeshGenerator(), StitchedMesh::StitchedMesh(), NodalUserObject::subdomainSetup(), GeneralUserObject::subdomainSetup(), Constraint::subdomainSetup(), MaterialBase::subdomainSetup(), Console::systemInfoFlags(), TagMatrixAux::TagMatrixAux(), TagVectorAux::TagVectorAux(), Terminator::Terminator(), TestSetupPostprocessorDataActionFunction::TestSetupPostprocessorDataActionFunction(), ThreadedGeneralUserObject::ThreadedGeneralUserObject(), ThreadedGeneralUserObject::threadJoin(), DiscreteElementUserObject::threadJoin(), GeneralUserObject::threadJoin(), TiledMeshGenerator::TiledMeshGenerator(), Function::timeDerivative(), TimeExtremeValue::TimeExtremeValue(), TimePeriod::TimePeriod(), VectorPostprocessorVisualizationAux::timestepSetup(), MultiAppFieldTransfer::transfer(), MultiAppMeshFunctionTransfer::transferVariable(), MooseVariableScalar::uDot(), MooseVariableScalar::uDotDot(), MooseVariableScalar::uDotDotOld(), FEProblemBase::uDotDotOldRequested(), MooseVariableScalar::uDotOld(), FEProblemBase::uDotOldRequested(), EqualValueBoundaryConstraint::updateConstrainedNodes(), SolutionUserObject::updateExodusBracketingTimeIndices(), UpperBoundNodalKernel::UpperBoundNodalKernel(), NearestPointIntegralVariablePostprocessor::userObjectValue(), BoundingBoxIC::value(), Axisymmetric2D3DSolutionFunction::value(), ValueRangeMarker::ValueRangeMarker(), ValueThresholdMarker::ValueThresholdMarker(), MultiAppTransfer::variableIntegrityCheck(), VariableTimeIntegrationAux::VariableTimeIntegrationAux(), VectorNodalBC::VectorNodalBC(), VectorOfPostprocessors::VectorOfPostprocessors(), VectorPostprocessorFunction::VectorPostprocessorFunction(), MooseParsedGradFunction::vectorValue(), MooseParsedFunction::vectorValue(), VolumeHistogram::VolumeHistogram(), VTKOutput::VTKOutput(), DOFMapOutput::writeStreamToFile(), and Console::writeStreamToFile().

◆ mooseInfo()

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

◆ mooseWarning()

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

◆ name()

const std::string& MooseVariableBase::name ( ) const
inlineoverridevirtualinherited

◆ neighbor()

template<typename OutputType>
const Elem* const & MooseVariableFE< OutputType >::neighbor ( ) const
inline

Current neighboring element.

Definition at line 184 of file MooseVariableFE.h.

184 { return _neighbor_data->currentElem(); }

◆ nodalDofIndex()

template<typename OutputType>
const dof_id_type& MooseVariableFE< OutputType >::nodalDofIndex ( ) const
inlineoverridevirtual

◆ nodalDofIndexNeighbor()

template<typename OutputType>
const dof_id_type& MooseVariableFE< OutputType >::nodalDofIndexNeighbor ( ) const
inlineoverridevirtual

Implements MooseVariableFEBase.

Definition at line 168 of file MooseVariableFE.h.

169  {
170  return _neighbor_data->nodalDofIndex();
171  }

Referenced by InternalSideIndicator::computeIndicator().

◆ nodalMatrixTagValue()

template<typename OutputType >
const MooseVariableFE< OutputType >::DoFValue & MooseVariableFE< OutputType >::nodalMatrixTagValue ( TagID  tag)

Definition at line 573 of file MooseVariableFE.C.

574 {
575  return _element_data->nodalMatrixTagValue(tag);
576 }

Referenced by Coupleable::coupledMatrixTagValue().

◆ nodalValue()

template<typename OutputType >
const OutputType & MooseVariableFE< OutputType >::nodalValue ( )

Methods for retrieving values of variables at the nodes.

Definition at line 552 of file MooseVariableFE.C.

553 {
554  return _element_data->nodalValue(Moose::Current);
555 }

Referenced by Coupleable::coupledNodalValue().

◆ nodalValueArray()

template<typename OutputType>
const MooseArray<OutputType>& MooseVariableFE< OutputType >::nodalValueArray ( )
inline

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

Definition at line 615 of file MooseVariableFE.h.

616  {
617  return _element_data->nodalValueArray(Moose::Current);
618  }

◆ nodalValueDot()

template<typename OutputType >
const OutputType & MooseVariableFE< OutputType >::nodalValueDot ( )

Definition at line 622 of file MooseVariableFE.C.

623 {
624  return _element_data->nodalValueDot();
625 }

Referenced by Coupleable::coupledNodalDot().

◆ nodalValueDotDot()

template<typename OutputType >
const OutputType & MooseVariableFE< OutputType >::nodalValueDotDot ( )

Definition at line 629 of file MooseVariableFE.C.

630 {
631  return _element_data->nodalValueDotDot();
632 }

◆ nodalValueDotDotNeighbor()

template<typename OutputType>
const OutputType& MooseVariableFE< OutputType >::nodalValueDotDotNeighbor ( )

◆ nodalValueDotDotOld()

template<typename OutputType >
const OutputType & MooseVariableFE< OutputType >::nodalValueDotDotOld ( )

Definition at line 643 of file MooseVariableFE.C.

644 {
645  return _element_data->nodalValueDotDotOld();
646 }

◆ nodalValueDotDotOldNeighbor()

template<typename OutputType>
const OutputType& MooseVariableFE< OutputType >::nodalValueDotDotOldNeighbor ( )

◆ nodalValueDotNeighbor()

template<typename OutputType>
const OutputType& MooseVariableFE< OutputType >::nodalValueDotNeighbor ( )

◆ nodalValueDotOld()

template<typename OutputType >
const OutputType & MooseVariableFE< OutputType >::nodalValueDotOld ( )

Definition at line 636 of file MooseVariableFE.C.

637 {
638  return _element_data->nodalValueDotOld();
639 }

◆ nodalValueDotOldNeighbor()

template<typename OutputType>
const OutputType& MooseVariableFE< OutputType >::nodalValueDotOldNeighbor ( )

◆ nodalValueDuDotDotDu()

template<typename OutputType>
const OutputType& MooseVariableFE< OutputType >::nodalValueDuDotDotDu ( )

◆ nodalValueDuDotDotDuNeighbor()

template<typename OutputType>
const OutputType& MooseVariableFE< OutputType >::nodalValueDuDotDotDuNeighbor ( )

◆ nodalValueDuDotDu()

template<typename OutputType>
const OutputType& MooseVariableFE< OutputType >::nodalValueDuDotDu ( )

◆ nodalValueDuDotDuNeighbor()

template<typename OutputType>
const OutputType& MooseVariableFE< OutputType >::nodalValueDuDotDuNeighbor ( )

◆ nodalValueNeighbor()

template<typename OutputType >
const OutputType & MooseVariableFE< OutputType >::nodalValueNeighbor ( )

Definition at line 559 of file MooseVariableFE.C.

560 {
561  return _neighbor_data->nodalValue(Moose::Current);
562 }

Referenced by Coupleable::coupledNodalValue().

◆ nodalValueOld()

template<typename OutputType >
const OutputType & MooseVariableFE< OutputType >::nodalValueOld ( )

Definition at line 580 of file MooseVariableFE.C.

581 {
582  return _element_data->nodalValue(Moose::Old);
583 }

Referenced by Coupleable::coupledNodalValue(), and Coupleable::coupledNodalValueOld().

◆ nodalValueOldArray()

template<typename OutputType>
const MooseArray<OutputType>& MooseVariableFE< OutputType >::nodalValueOldArray ( )
inline

Definition at line 619 of file MooseVariableFE.h.

620  {
621  return _element_data->nodalValueArray(Moose::Old);
622  }

◆ nodalValueOlder()

template<typename OutputType >
const OutputType & MooseVariableFE< OutputType >::nodalValueOlder ( )

Definition at line 594 of file MooseVariableFE.C.

595 {
596  return _element_data->nodalValue(Moose::Older);
597 }

Referenced by Coupleable::coupledNodalValueOld(), and Coupleable::coupledNodalValueOlder().

◆ nodalValueOlderArray()

template<typename OutputType>
const MooseArray<OutputType>& MooseVariableFE< OutputType >::nodalValueOlderArray ( )
inline

Definition at line 623 of file MooseVariableFE.h.

624  {
625  return _element_data->nodalValueArray(Moose::Older);
626  }

◆ nodalValueOlderNeighbor()

template<typename OutputType >
const OutputType & MooseVariableFE< OutputType >::nodalValueOlderNeighbor ( )

Definition at line 601 of file MooseVariableFE.C.

602 {
603  return _neighbor_data->nodalValue(Moose::Older);
604 }

Referenced by Coupleable::coupledNodalValueOld(), and Coupleable::coupledNodalValueOlder().

◆ nodalValueOldNeighbor()

template<typename OutputType >
const OutputType & MooseVariableFE< OutputType >::nodalValueOldNeighbor ( )

Definition at line 587 of file MooseVariableFE.C.

588 {
589  return _neighbor_data->nodalValue(Moose::Old);
590 }

Referenced by Coupleable::coupledNodalValue(), and Coupleable::coupledNodalValueOld().

◆ nodalValuePreviousNL()

template<typename OutputType >
const OutputType & MooseVariableFE< OutputType >::nodalValuePreviousNL ( )

Definition at line 608 of file MooseVariableFE.C.

609 {
610  return _element_data->nodalValue(Moose::PreviousNL);
611 }

Referenced by Coupleable::coupledNodalValuePreviousNL().

◆ nodalValuePreviousNLNeighbor()

template<typename OutputType >
const OutputType & MooseVariableFE< OutputType >::nodalValuePreviousNLNeighbor ( )

Definition at line 615 of file MooseVariableFE.C.

616 {
617  return _neighbor_data->nodalValue(Moose::PreviousNL);
618 }

Referenced by Coupleable::coupledNodalValuePreviousNL().

◆ nodalVectorTagValue()

template<typename OutputType >
const MooseVariableFE< OutputType >::DoFValue & MooseVariableFE< OutputType >::nodalVectorTagValue ( TagID  tag)

Definition at line 566 of file MooseVariableFE.C.

567 {
568  return _element_data->nodalVectorTagValue(tag);
569 }

Referenced by Coupleable::coupledVectorTagValue().

◆ node()

template<typename OutputType>
const Node* const & MooseVariableFE< OutputType >::node ( ) const
inline

Definition at line 163 of file MooseVariableFE.h.

163 { return _element_data->node(); }

◆ nodeNeighbor()

template<typename OutputType>
const Node* const & MooseVariableFE< OutputType >::nodeNeighbor ( ) const
inline

Definition at line 167 of file MooseVariableFE.h.

167 { return _neighbor_data->node(); }

◆ number()

unsigned int MooseVariableBase::number ( ) const
inlineinherited

Get variable number coming from libMesh.

Returns
the libmesh variable number

Definition at line 48 of file MooseVariableBase.h.

48 { return _var_num; }

Referenced by Assembly::addJacobianBlock(), Assembly::addJacobianCoupledVarPair(), Assembly::cacheJacobianBlock(), Assembly::cacheJacobianBlockNonzero(), Assembly::cacheJacobianCoupledVarPair(), ADKernelGradTempl< T, compute_stage >::computeADOffDiagJacobian(), ADKernelStabilizedTempl< T, compute_stage >::computeADOffDiagJacobian(), ADKernelValueTempl< T, compute_stage >::computeADOffDiagJacobian(), ADKernelTempl< T, compute_stage >::computeADOffDiagJacobian(), DGKernel::computeElemNeighJacobian(), ArrayDGKernel::computeElemNeighJacobian(), ElemElemConstraint::computeElemNeighJacobian(), DGKernel::computeElemNeighResidual(), ElemElemConstraint::computeElemNeighResidual(), ArrayDGKernel::computeElemNeighResidual(), ComputeFullJacobianThread::computeFaceJacobian(), ComputeFullJacobianThread::computeInternalFaceJacobian(), MassLumpedTimeDerivative::computeJacobian(), TimeDerivative::computeJacobian(), VectorTimeDerivative::computeJacobian(), Kernel::computeJacobian(), VectorKernel::computeJacobian(), ArrayKernel::computeJacobian(), ODEKernel::computeJacobian(), ComputeFullJacobianThread::computeJacobian(), VectorIntegratedBC::computeJacobian(), EigenKernel::computeJacobian(), IntegratedBC::computeJacobian(), ArrayIntegratedBC::computeJacobian(), NodalEqualValueConstraint::computeJacobian(), EqualValueEmbeddedConstraint::computeJacobian(), NonlocalKernel::computeJacobian(), NonlocalIntegratedBC::computeJacobian(), KernelGrad::computeJacobian(), KernelValue::computeJacobian(), ADMortarConstraint< compute_stage >::computeJacobian(), MortarConstraint::computeJacobian(), NodeElemConstraint::computeJacobian(), NodeFaceConstraint::computeJacobian(), DiracKernel::computeJacobian(), ADIntegratedBCTempl< T, compute_stage >::computeJacobianBlock(), VectorIntegratedBC::computeJacobianBlock(), IntegratedBC::computeJacobianBlock(), ArrayIntegratedBC::computeJacobianBlock(), NonlocalIntegratedBC::computeJacobianBlock(), JvarMapIntegratedBCInterface< T >::computeJacobianBlock(), VectorIntegratedBC::computeJacobianBlockScalar(), ArrayIntegratedBC::computeJacobianBlockScalar(), IntegratedBC::computeJacobianBlockScalar(), NonlocalIntegratedBC::computeNonlocalJacobian(), NonlocalKernel::computeNonlocalJacobian(), NonlocalIntegratedBC::computeNonlocalOffDiagJacobian(), NonlocalKernel::computeNonlocalOffDiagJacobian(), DGKernel::computeOffDiagElemNeighJacobian(), ArrayDGKernel::computeOffDiagElemNeighJacobian(), ODEKernel::computeOffDiagJacobian(), JvarMapKernelInterface< Kernel >::computeOffDiagJacobian(), Kernel::computeOffDiagJacobian(), NodalScalarKernel::computeOffDiagJacobian(), VectorKernel::computeOffDiagJacobian(), ArrayKernel::computeOffDiagJacobian(), EigenKernel::computeOffDiagJacobian(), EqualValueEmbeddedConstraint::computeOffDiagJacobian(), VectorNodalBC::computeOffDiagJacobian(), NodalBC::computeOffDiagJacobian(), NonlocalKernel::computeOffDiagJacobian(), KernelGrad::computeOffDiagJacobian(), KernelValue::computeOffDiagJacobian(), NodeElemConstraint::computeOffDiagJacobian(), NodeFaceConstraint::computeOffDiagJacobian(), DiracKernel::computeOffDiagJacobian(), NodalKernel::computeOffDiagJacobian(), VectorKernel::computeOffDiagJacobianScalar(), ArrayKernel::computeOffDiagJacobianScalar(), Kernel::computeOffDiagJacobianScalar(), OldEqualValueConstraint::computeQpJacobian(), CoupledTiedValueConstraint::computeQpJacobian(), TiedValueConstraint::computeQpJacobian(), EqualValueEmbeddedConstraint::computeQpJacobian(), ArrayDiffusion::computeQpOffDiagJacobian(), ArrayReaction::computeQpOffDiagJacobian(), ArrayTimeDerivative::computeQpOffDiagJacobian(), EqualValueEmbeddedConstraint::computeQpOffDiagJacobian(), ArrayIntegratedBC::computeQpOffDiagJacobian(), ArrayKernel::computeQpOffDiagJacobian(), ArrayNodalBC::computeQpOffDiagJacobian(), ArrayDGKernel::computeQpOffDiagJacobian(), CoupledTiedValueConstraint::computeQpResidual(), TiedValueConstraint::computeQpResidual(), Kernel::computeResidual(), VectorKernel::computeResidual(), ArrayKernel::computeResidual(), ODETimeKernel::computeResidual(), VectorTimeKernel::computeResidual(), ODEKernel::computeResidual(), TimeKernel::computeResidual(), VectorIntegratedBC::computeResidual(), EigenKernel::computeResidual(), IntegratedBC::computeResidual(), NodalEqualValueConstraint::computeResidual(), ArrayIntegratedBC::computeResidual(), KernelValue::computeResidual(), KernelGrad::computeResidual(), MortarConstraint::computeResidual(), NodeElemConstraint::computeResidual(), NodeFaceConstraint::computeResidual(), DiracKernel::computeResidual(), DebugResidualAux::computeValue(), Coupleable::coupled(), CoupledForce::CoupledForce(), CoupledForceNodalKernel::CoupledForceNodalKernel(), ScalarCoupleable::coupledScalar(), VariableResidual::execute(), NodalNormalsCorner::execute(), NodalNormalsEvaluator::execute(), NodalNormalsPreprocessor::execute(), FieldSplitPreconditioner::FieldSplitPreconditioner(), FiniteDifferencePreconditioner::FiniteDifferencePreconditioner(), ConservativeAdvection::fullUpwind(), LazyCoupleable::init(), NodalNormalsPreprocessor::initialize(), LowerBoundNodalKernel::LowerBoundNodalKernel(), PNGOutput::makeMeshFunc(), ComputeDiracThread::onElement(), ComputeNodalKernelBCJacobiansThread::onNode(), ComputeNodalKernelJacobiansThread::onNode(), PhysicsBasedPreconditioner::PhysicsBasedPreconditioner(), Assembly::prepareJacobianBlock(), Assembly::prepareLowerD(), Assembly::prepareNeighbor(), Assembly::prepareNonlocal(), Assembly::prepareVariable(), Assembly::prepareVariableNonlocal(), MultiAppProjectionTransfer::projectSolution(), EqualValueEmbeddedConstraint::reinitConstraint(), EigenProblem::scaleEigenvector(), AddPeriodicBCAction::setPeriodicVars(), SingleMatrixPreconditioner::SingleMatrixPreconditioner(), MultiAppFieldTransfer::transferDofObject(), UpdateErrorVectorsThread::UpdateErrorVectorsThread(), and UpperBoundNodalKernel::UpperBoundNodalKernel().

◆ numberOfDofs()

template<typename OutputType>
unsigned int MooseVariableFE< OutputType >::numberOfDofs ( ) const
inlinefinalvirtual

Get the number of local DoFs.

Reimplemented from MooseVariableBase.

Definition at line 188 of file MooseVariableFE.h.

188 { return _element_data->numberOfDofs(); }

◆ numberOfDofsNeighbor()

template<typename OutputType>
unsigned int MooseVariableFE< OutputType >::numberOfDofsNeighbor ( )
inlineoverridevirtual

Implements MooseVariableFEBase.

Definition at line 198 of file MooseVariableFE.h.

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

◆ numBlocks()

unsigned int BlockRestrictable::numBlocks ( ) const
inherited

Return the number of blocks for this object.

Returns
The number of subdomains

Definition at line 180 of file BlockRestrictable.C.

181 {
182  return (unsigned int)_blk_ids.size();
183 }

◆ order()

Order MooseVariableBase::order ( ) const
inherited

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

◆ phi()

template<typename OutputType>
const FieldVariablePhiValue& MooseVariableFE< OutputType >::phi ( ) const
inline

Definition at line 200 of file MooseVariableFE.h.

200 { return _element_data->phi(); }

Referenced by Assembly::copyShapes().

◆ phiFace()

template<typename OutputType>
const FieldVariablePhiValue& MooseVariableFE< OutputType >::phiFace ( ) const
inline

Definition at line 209 of file MooseVariableFE.h.

209 { return _element_data->phiFace(); }

Referenced by MortarConstraint::computeJacobian(), and Assembly::copyFaceShapes().

◆ phiFaceNeighbor()

template<typename OutputType>
const FieldVariablePhiValue& MooseVariableFE< OutputType >::phiFaceNeighbor ( ) const
inline

Definition at line 227 of file MooseVariableFE.h.

227 { return _neighbor_data->phiFace(); }

Referenced by Assembly::copyNeighborShapes().

◆ phiFaceNeighborSize()

template<typename OutputType>
virtual size_t MooseVariableFE< OutputType >::phiFaceNeighborSize ( ) const
inlinefinalvirtual

Return phiFaceNeighbor size.

Implements MooseVariableFEBase.

Definition at line 584 of file MooseVariableFE.h.

584 { return _neighbor_data->phiFaceSize(); }

◆ phiFaceSize()

template<typename OutputType>
virtual size_t MooseVariableFE< OutputType >::phiFaceSize ( ) const
inlinefinalvirtual

Return phiFace size.

Implements MooseVariableFEBase.

Definition at line 576 of file MooseVariableFE.h.

576 { return _element_data->phiFaceSize(); }

◆ phiLower()

template<typename OutputType>
const FieldVariablePhiValue& MooseVariableFE< OutputType >::phiLower ( ) const
inline

Definition at line 239 of file MooseVariableFE.h.

239 { return _lower_data->phi(); }

◆ phiLowerSize()

template<typename OutputType>
size_t MooseVariableFE< OutputType >::phiLowerSize ( ) const
inlinefinalvirtual

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

Implements MooseVariableFEBase.

Definition at line 586 of file MooseVariableFE.h.

586 { return _lower_data->phiSize(); }

◆ phiNeighbor()

template<typename OutputType>
const FieldVariablePhiValue& MooseVariableFE< OutputType >::phiNeighbor ( ) const
inline

Definition at line 218 of file MooseVariableFE.h.

218 { return _neighbor_data->phi(); }

Referenced by Assembly::copyNeighborShapes().

◆ phiNeighborSize()

template<typename OutputType>
virtual size_t MooseVariableFE< OutputType >::phiNeighborSize ( ) const
inlinefinalvirtual

Return phiNeighbor size.

Implements MooseVariableFEBase.

Definition at line 580 of file MooseVariableFE.h.

580 { return _neighbor_data->phiSize(); }

◆ phiSize()

template<typename OutputType>
virtual size_t MooseVariableFE< OutputType >::phiSize ( ) const
inlinefinalvirtual

Return phi size.

Implements MooseVariableFEBase.

Definition at line 572 of file MooseVariableFE.h.

572 { return _element_data->phiSize(); }

◆ prepare()

template<typename OutputType >
void MooseVariableFE< OutputType >::prepare ( )
overridevirtual

Prepare the elemental degrees of freedom.

Implements MooseVariableFEBase.

Definition at line 87 of file MooseVariableFE.C.

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

◆ prepareAux()

template<typename OutputType >
void MooseVariableFE< OutputType >::prepareAux ( )
overridevirtual

Implements MooseVariableFEBase.

Definition at line 108 of file MooseVariableFE.C.

109 {
110  _element_data->hasDofValues(false);
111  _neighbor_data->hasDofValues(false);
112  _lower_data->hasDofValues(false);
113 }

◆ prepareIC()

template<typename OutputType >
void MooseVariableFE< OutputType >::prepareIC ( )
overridevirtual

Prepare the initial condition.

Implements MooseVariableFEBase.

Definition at line 378 of file MooseVariableFE.C.

379 {
380  _element_data->prepareIC();
381 }

◆ prepareLowerD()

template<typename OutputType >
void MooseVariableFE< OutputType >::prepareLowerD ( )
overridevirtual

Prepare a lower dimensional element's degrees of freedom.

Implements MooseVariableFEBase.

Definition at line 101 of file MooseVariableFE.C.

102 {
103  _lower_data->prepare();
104 }

◆ prepareNeighbor()

template<typename OutputType >
void MooseVariableFE< OutputType >::prepareNeighbor ( )
overridevirtual

Prepare the neighbor element degrees of freedom.

Implements MooseVariableFEBase.

Definition at line 94 of file MooseVariableFE.C.

95 {
96  _neighbor_data->prepare();
97 }

◆ reinitAux()

template<typename OutputType >
void MooseVariableFE< OutputType >::reinitAux ( )
overridevirtual

Implements MooseVariableFEBase.

Definition at line 124 of file MooseVariableFE.C.

125 {
126  _element_data->reinitAux();
127 }

◆ reinitAuxNeighbor()

template<typename OutputType >
void MooseVariableFE< OutputType >::reinitAuxNeighbor ( )
overridevirtual

Implements MooseVariableFEBase.

Definition at line 131 of file MooseVariableFE.C.

132 {
133  _neighbor_data->reinitAux();
134 }

◆ reinitNode()

template<typename OutputType >
void MooseVariableFE< OutputType >::reinitNode ( )
overridevirtual

Implements MooseVariableFEBase.

Definition at line 117 of file MooseVariableFE.C.

118 {
119  _element_data->reinitNode();
120 }

◆ reinitNodes()

template<typename OutputType >
void MooseVariableFE< OutputType >::reinitNodes ( const std::vector< dof_id_type > &  nodes)
overridevirtual

Implements MooseVariableFEBase.

Definition at line 138 of file MooseVariableFE.C.

139 {
140  _element_data->reinitNodes(nodes);
141 }

◆ reinitNodesNeighbor()

template<typename OutputType >
void MooseVariableFE< OutputType >::reinitNodesNeighbor ( const std::vector< dof_id_type > &  nodes)
overridevirtual

Implements MooseVariableFEBase.

Definition at line 145 of file MooseVariableFE.C.

146 {
147  _neighbor_data->reinitNodes(nodes);
148 }

◆ scalingFactor() [1/3]

Real MooseVariableBase::scalingFactor ( ) const
inlineinherited

Get the scaling factor for this variable.

Definition at line 85 of file MooseVariableBase.h.

85 { return _scaling_factor[0]; }

◆ scalingFactor() [2/3]

void MooseVariableBase::scalingFactor ( const std::vector< Real > &  factor)
inlineinherited

Definition at line 80 of file MooseVariableBase.h.

80 { _scaling_factor = factor; }

◆ scalingFactor() [3/3]

void MooseVariableBase::scalingFactor ( Real  factor)
inlineinherited

◆ secondPhi()

template<typename OutputType >
const MooseVariableFE< OutputType >::FieldVariablePhiSecond & MooseVariableFE< OutputType >::secondPhi ( ) const

Definition at line 700 of file MooseVariableFE.C.

701 {
702  return _element_data->secondPhi();
703 }

Referenced by Assembly::copyShapes().

◆ secondPhiFace()

template<typename OutputType >
const MooseVariableFE< OutputType >::FieldVariablePhiSecond & MooseVariableFE< OutputType >::secondPhiFace ( ) const

Definition at line 714 of file MooseVariableFE.C.

715 {
716  return _element_data->secondPhiFace();
717 }

Referenced by Assembly::copyFaceShapes().

◆ secondPhiFaceNeighbor()

template<typename OutputType >
const MooseVariableFE< OutputType >::FieldVariablePhiSecond & MooseVariableFE< OutputType >::secondPhiFaceNeighbor ( ) const

Definition at line 742 of file MooseVariableFE.C.

743 {
744  return _neighbor_data->secondPhiFace();
745 }

Referenced by Assembly::copyNeighborShapes().

◆ secondPhiNeighbor()

template<typename OutputType >
const MooseVariableFE< OutputType >::FieldVariablePhiSecond & MooseVariableFE< OutputType >::secondPhiNeighbor ( ) const

Definition at line 728 of file MooseVariableFE.C.

729 {
730  return _neighbor_data->secondPhi();
731 }

Referenced by Assembly::copyNeighborShapes().

◆ secondSln()

template<typename OutputType>
const FieldVariableSecond& MooseVariableFE< OutputType >::secondSln ( ) const
inline

element seconds

Definition at line 289 of file MooseVariableFE.h.

289 { return _element_data->secondSln(Moose::Current); }

Referenced by Coupleable::coupledSecond().

◆ secondSlnNeighbor()

template<typename OutputType>
const FieldVariableSecond& MooseVariableFE< OutputType >::secondSlnNeighbor ( ) const
inline

neighbor solution seconds

Definition at line 392 of file MooseVariableFE.h.

393  {
394  return _neighbor_data->secondSln(Moose::Current);
395  }

Referenced by NeighborCoupleable::coupledNeighborSecond(), and Coupleable::coupledSecond().

◆ secondSlnOld()

template<typename OutputType>
const FieldVariableSecond& MooseVariableFE< OutputType >::secondSlnOld ( ) const
inline

Definition at line 290 of file MooseVariableFE.h.

290 { return _element_data->secondSln(Moose::Old); }

Referenced by Coupleable::coupledSecondOld().

◆ secondSlnOlder()

template<typename OutputType>
const FieldVariableSecond& MooseVariableFE< OutputType >::secondSlnOlder ( ) const
inline

Definition at line 291 of file MooseVariableFE.h.

292  {
293  return _element_data->secondSln(Moose::Older);
294  }

Referenced by Coupleable::coupledSecond(), Coupleable::coupledSecondOld(), and Coupleable::coupledSecondOlder().

◆ secondSlnOlderNeighbor()

template<typename OutputType>
const FieldVariableSecond& MooseVariableFE< OutputType >::secondSlnOlderNeighbor ( ) const
inline

Definition at line 400 of file MooseVariableFE.h.

401  {
402  return _neighbor_data->secondSln(Moose::Older);
403  }

Referenced by Coupleable::coupledSecond(), Coupleable::coupledSecondOld(), and Coupleable::coupledSecondOlder().

◆ secondSlnOldNeighbor()

template<typename OutputType>
const FieldVariableSecond& MooseVariableFE< OutputType >::secondSlnOldNeighbor ( ) const
inline

Definition at line 396 of file MooseVariableFE.h.

397  {
398  return _neighbor_data->secondSln(Moose::Old);
399  }

Referenced by NeighborCoupleable::coupledNeighborSecond(), and Coupleable::coupledSecondOld().

◆ secondSlnPreviousNL()

template<typename OutputType>
const FieldVariableSecond& MooseVariableFE< OutputType >::secondSlnPreviousNL ( ) const
inline

Definition at line 295 of file MooseVariableFE.h.

296  {
297  return _element_data->secondSln(Moose::PreviousNL);
298  }

Referenced by Coupleable::coupledSecondPreviousNL().

◆ secondSlnPreviousNLNeighbor()

template<typename OutputType>
const FieldVariableSecond& MooseVariableFE< OutputType >::secondSlnPreviousNLNeighbor ( ) const
inline

Definition at line 404 of file MooseVariableFE.h.

405  {
406  return _neighbor_data->secondSln(Moose::PreviousNL);
407  }

Referenced by Coupleable::coupledSecondPreviousNL().

◆ setDofValue()

template<typename OutputType >
void MooseVariableFE< OutputType >::setDofValue ( const OutputData value,
unsigned int  index 
)

Definition at line 664 of file MooseVariableFE.C.

665 {
666  _element_data->setDofValue(value, index);
667 }

◆ setDofValues()

template<typename OutputType >
void MooseVariableFE< OutputType >::setDofValues ( const DenseVector< OutputData > &  values)

Set local DOF values and evaluate the values on quadrature points.

Definition at line 671 of file MooseVariableFE.C.

672 {
673  _element_data->setDofValues(values);
674 }

◆ setNodalValue()

template<typename OutputType>
void MooseVariableFE< OutputType >::setNodalValue ( const OutputType &  value,
unsigned int  idx = 0 
)

◆ sln()

template<typename OutputType>
const FieldVariableValue& MooseVariableFE< OutputType >::sln ( ) const
inline

◆ slnLower()

template<typename OutputType>
const FieldVariableValue& MooseVariableFE< OutputType >::slnLower ( ) const
inline

Definition at line 437 of file MooseVariableFE.h.

437 { return _lower_data->sln(Moose::Current); }

◆ slnNeighbor()

template<typename OutputType>
const FieldVariableValue& MooseVariableFE< OutputType >::slnNeighbor ( ) const
inline

◆ slnOld()

template<typename OutputType>
const FieldVariableValue& MooseVariableFE< OutputType >::slnOld ( ) const
inline

◆ slnOlder()

template<typename OutputType>
const FieldVariableValue& MooseVariableFE< OutputType >::slnOlder ( ) const
inline

◆ slnOlderNeighbor()

template<typename OutputType>
const FieldVariableValue& MooseVariableFE< OutputType >::slnOlderNeighbor ( ) const
inline

◆ slnOldNeighbor()

template<typename OutputType>
const FieldVariableValue& MooseVariableFE< OutputType >::slnOldNeighbor ( ) const
inline

◆ slnPreviousNL()

template<typename OutputType>
const FieldVariableValue& MooseVariableFE< OutputType >::slnPreviousNL ( ) const
inline

Definition at line 270 of file MooseVariableFE.h.

270 { return _element_data->sln(Moose::PreviousNL); }

Referenced by Coupleable::coupledValuePreviousNL().

◆ slnPreviousNLNeighbor()

template<typename OutputType>
const FieldVariableValue& MooseVariableFE< OutputType >::slnPreviousNLNeighbor ( ) const
inline

Definition at line 361 of file MooseVariableFE.h.

362  {
363  return _neighbor_data->sln(Moose::PreviousNL);
364  }

Referenced by Coupleable::coupledValuePreviousNL().

◆ sys()

SystemBase& MooseVariableBase::sys ( )
inlineinherited

◆ totalVarDofs()

unsigned int MooseVariableBase::totalVarDofs ( )
inlineinherited

Definition at line 69 of file MooseVariableBase.h.

69 { return allDofIndices().size(); }

◆ type()

const std::string& MooseObject::type ( ) const
inlineinherited

Get the type of this object.

Returns
the name of the type of this object

Definition at line 63 of file MooseObject.h.

63 { return _type; }

Referenced by FEProblemBase::addArrayVariable(), FEProblemBase::addAuxArrayVariable(), DumpObjectsProblem::addAuxKernel(), DumpObjectsProblem::addAuxScalarKernel(), FEProblemBase::addAuxScalarVariable(), FEProblemBase::addAuxVariable(), DumpObjectsProblem::addBoundaryCondition(), DumpObjectsProblem::addConstraint(), DumpObjectsProblem::addDGKernel(), DumpObjectsProblem::addDiracKernel(), FEProblemBase::addDistribution(), DumpObjectsProblem::addFunction(), FEProblemBase::addFunction(), DumpObjectsProblem::addInitialCondition(), DumpObjectsProblem::addInterfaceKernel(), DumpObjectsProblem::addKernel(), DumpObjectsProblem::addMaterial(), DumpObjectsProblem::addNodalKernel(), FEProblemBase::addPredictor(), FEProblemBase::addSampler(), DumpObjectsProblem::addScalarKernel(), FEProblemBase::addScalarVariable(), PhysicsBasedPreconditioner::addSystem(), FEProblemBase::addTimeIntegrator(), FEProblemBase::addVariable(), FEProblemBase::advanceMultiApps(), FEProblemBase::backupMultiApps(), MooseMesh::buildRefinementAndCoarseningMaps(), FEProblemBase::computeAuxiliaryKernels(), DGKernel::computeElemNeighJacobian(), ArrayDGKernel::computeElemNeighJacobian(), ElemElemConstraint::computeElemNeighJacobian(), DGKernel::computeElemNeighResidual(), ElemElemConstraint::computeElemNeighResidual(), ArrayDGKernel::computeElemNeighResidual(), FEProblemBase::computeMultiAppsDT(), DGKernel::computeOffDiagElemNeighJacobian(), ArrayDGKernel::computeOffDiagElemNeighJacobian(), DGConvection::computeQpJacobian(), ArrayDGDiffusion::computeQpJacobian(), InterfaceReaction::computeQpJacobian(), TiedValueConstraint::computeQpJacobian(), CoupledTiedValueConstraint::computeQpJacobian(), DGDiffusion::computeQpJacobian(), LinearNodalConstraint::computeQpJacobian(), EqualValueBoundaryConstraint::computeQpJacobian(), EqualValueEmbeddedConstraint::computeQpJacobian(), CoupledTiedValueConstraint::computeQpOffDiagJacobian(), EqualValueEmbeddedConstraint::computeQpOffDiagJacobian(), ArrayDGKernel::computeQpOffDiagJacobian(), DGConvection::computeQpResidual(), ArrayDGDiffusion::computeQpResidual(), InterfaceReaction::computeQpResidual(), CoupledTiedValueConstraint::computeQpResidual(), TiedValueConstraint::computeQpResidual(), LinearNodalConstraint::computeQpResidual(), DGDiffusion::computeQpResidual(), EqualValueBoundaryConstraint::computeQpResidual(), EqualValueEmbeddedConstraint::computeQpResidual(), FEProblemBase::computeUserObjectByName(), FEProblemBase::computeUserObjects(), FEProblemBase::computeUserObjectsInternal(), DisplacedProblem::createQRules(), FEProblemBase::createQRules(), DumpObjectsProblem::deduceNecessaryParameters(), DumpObjectsProblem::dumpObjectHelper(), FEProblemBase::duplicateVariableCheck(), FEProblemBase::execMultiApps(), FEProblemBase::execMultiAppTransfers(), FEProblemBase::execTransfers(), FEProblemBase::finishMultiAppStep(), ElementSubdomainIDGenerator::generate(), ElementGenerator::getElemType(), FEProblemBase::getInterfaceMaterial(), FEProblemBase::getMaterial(), FEProblemBase::getMaterialData(), FEProblemBase::getTransfers(), FEProblemBase::hasMultiApps(), AdvancedOutput::hasOutput(), FEProblemBase::incrementMultiAppTStep(), AdvancedOutput::initAvailableLists(), AdvancedOutput::initShowHideLists(), RelationshipManager::isType(), AssignElementSubdomainID::modify(), ControlOutput::output(), Gnuplot::output(), CSV::output(), Exodus::output(), Console::output(), Nemesis::output(), AdvancedOutput::output(), OversampleOutput::outputStep(), Output::outputStep(), FEProblemBase::outputStep(), FEProblemBase::restoreMultiApps(), FEProblemBase::setCoupling(), PerfGraphOutput::shouldOutput(), FileOutput::shouldOutput(), Output::shouldOutput(), AdvancedOutput::shouldOutput(), DisplacedProblem::updateGeomSearch(), FEProblemBase::updateGeomSearch(), and AdvancedOutput::wantOutput().

◆ uDot()

template<typename OutputType>
const FieldVariableValue& MooseVariableFE< OutputType >::uDot ( ) const
inline

element dots

Definition at line 350 of file MooseVariableFE.h.

350 { return _element_data->uDot(); }

Referenced by Coupleable::coupledArrayDot(), Coupleable::coupledDot(), and Coupleable::coupledVectorDot().

◆ uDotDot()

template<typename OutputType>
const FieldVariableValue& MooseVariableFE< OutputType >::uDotDot ( ) const
inline

Definition at line 351 of file MooseVariableFE.h.

351 { return _element_data->uDotDot(); }

Referenced by Coupleable::coupledArrayDotDot(), Coupleable::coupledDotDot(), and Coupleable::coupledVectorDotDot().

◆ uDotDotNeighbor()

template<typename OutputType>
const FieldVariableValue& MooseVariableFE< OutputType >::uDotDotNeighbor ( ) const
inline

Definition at line 425 of file MooseVariableFE.h.

425 { return _neighbor_data->uDotDot(); }

Referenced by Coupleable::coupledArrayDotDot(), Coupleable::coupledDotDot(), and Coupleable::coupledVectorDotDot().

◆ uDotDotOld()

template<typename OutputType>
const FieldVariableValue& MooseVariableFE< OutputType >::uDotDotOld ( ) const
inline

◆ uDotDotOldNeighbor()

template<typename OutputType>
const FieldVariableValue& MooseVariableFE< OutputType >::uDotDotOldNeighbor ( ) const
inline

◆ uDotNeighbor()

template<typename OutputType>
const FieldVariableValue& MooseVariableFE< OutputType >::uDotNeighbor ( ) const
inline

◆ uDotOld()

template<typename OutputType>
const FieldVariableValue& MooseVariableFE< OutputType >::uDotOld ( ) const
inline

Definition at line 352 of file MooseVariableFE.h.

352 { return _element_data->uDotOld(); }

Referenced by Coupleable::coupledArrayDotOld(), Coupleable::coupledDotOld(), and Coupleable::coupledVectorDotOld().

◆ uDotOldNeighbor()

template<typename OutputType>
const FieldVariableValue& MooseVariableFE< OutputType >::uDotOldNeighbor ( ) const
inline

Definition at line 426 of file MooseVariableFE.h.

426 { return _neighbor_data->uDotOld(); }

Referenced by Coupleable::coupledArrayDotOld(), Coupleable::coupledDotOld(), and Coupleable::coupledVectorDotOld().

◆ usesGradPhi()

template<typename OutputType>
bool MooseVariableFE< OutputType >::usesGradPhi ( ) const
inline

Whether or not this variable is actually using the shape function gradient.

Currently hardcoded to true because we always compute the value.

Definition at line 123 of file MooseVariableFE.h.

123 { return true; }

◆ usesGradPhiNeighbor()

template<typename OutputType>
bool MooseVariableFE< OutputType >::usesGradPhiNeighbor ( ) const
inline

Whether or not this variable is actually using the shape function gradient.

Currently hardcoded to true because we always compute the value.

Definition at line 135 of file MooseVariableFE.h.

135 { return true; }

Referenced by Assembly::copyNeighborShapes().

◆ usesPhi()

template<typename OutputType>
bool MooseVariableFE< OutputType >::usesPhi ( ) const
inline

Whether or not this variable is actually using the shape function value.

Currently hardcoded to true because we always compute the value.

Definition at line 117 of file MooseVariableFE.h.

117 { return true; }

◆ usesPhiNeighbor()

template<typename OutputType>
bool MooseVariableFE< OutputType >::usesPhiNeighbor ( ) const
inline

Whether or not this variable is actually using the shape function value.

Currently hardcoded to true because we always compute the value.

Definition at line 129 of file MooseVariableFE.h.

129 { return true; }

Referenced by Assembly::copyNeighborShapes().

◆ usesSecondPhi()

template<typename OutputType >
bool MooseVariableFE< OutputType >::usesSecondPhi ( ) const

Whether or not this variable is computing any second derivatives.

Definition at line 756 of file MooseVariableFE.C.

757 {
758  return _element_data->usesSecondPhi();
759 }

Referenced by MooseVariableFE< Real >::computingSecond().

◆ usesSecondPhiNeighbor()

template<typename OutputType >
bool MooseVariableFE< OutputType >::usesSecondPhiNeighbor ( ) const

Whether or not this variable is actually using the shape function second derivative on a neighbor.

Definition at line 763 of file MooseVariableFE.C.

764 {
765  return _neighbor_data->usesSecondPhi();
766 }

Referenced by Assembly::copyNeighborShapes().

◆ validParams()

InputParameters MooseVariableFEBase::validParams ( )
staticinherited

Definition at line 15 of file MooseVariableFEBase.C.

16 {
18 }

◆ vectorTagValue()

template<typename OutputType>
const FieldVariableValue& MooseVariableFE< OutputType >::vectorTagValue ( TagID  tag)
inline

Definition at line 257 of file MooseVariableFE.h.

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

Referenced by Coupleable::coupledVectorTagValue().

Member Data Documentation

◆ _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& MooseVariableBase::_assembly
protectedinherited

Assembly data.

Definition at line 150 of file MooseVariableBase.h.

Referenced by MooseVariableFE< Real >::MooseVariableFE().

◆ _blk_dual_restrictable

const bool BlockRestrictable::_blk_dual_restrictable
privateinherited

Flag for allowing dual restriction.

Definition at line 233 of file BlockRestrictable.h.

Referenced by BlockRestrictable::initializeBlockRestrictable().

◆ _blk_feproblem

FEProblemBase* BlockRestrictable::_blk_feproblem
privateinherited

◆ _blk_ids

std::set<SubdomainID> BlockRestrictable::_blk_ids
privateinherited

◆ _blk_material_data

std::shared_ptr<MaterialData> BlockRestrictable::_blk_material_data
protectedinherited

Pointer to the MaterialData class for this object.

Definition at line 205 of file BlockRestrictable.h.

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

◆ _blk_mesh

MooseMesh* BlockRestrictable::_blk_mesh
privateinherited

◆ _blk_name

const std::string& BlockRestrictable::_blk_name
privateinherited

Name of the object.

Definition at line 251 of file BlockRestrictable.h.

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

◆ _blk_tid

THREAD_ID BlockRestrictable::_blk_tid
privateinherited

Thread id for this object.

Definition at line 248 of file BlockRestrictable.h.

Referenced by BlockRestrictable::initializeBlockRestrictable().

◆ _blocks

std::vector<SubdomainName> BlockRestrictable::_blocks
privateinherited

Vector the block names supplied by the user via the input file.

Definition at line 230 of file BlockRestrictable.h.

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

◆ _boundary_ids

const std::set<BoundaryID>& BlockRestrictable::_boundary_ids
privateinherited

Reference to the boundary_ids, defaults to an empty set if not provided.

Definition at line 245 of file BlockRestrictable.h.

Referenced by BlockRestrictable::initializeBlockRestrictable().

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

◆ _count

const unsigned int MooseVariableBase::_count
protectedinherited

Number of variables in the array.

Definition at line 165 of file MooseVariableBase.h.

Referenced by MooseVariableBase::count(), MooseVariableBase::MooseVariableBase(), and MooseVariableBase::scalingFactor().

◆ _dof_indices

std::vector<dof_id_type> MooseVariableBase::_dof_indices
protectedinherited

◆ _dof_map

const DofMap& MooseVariableBase::_dof_map
protectedinherited

◆ _element_data

template<typename OutputType>
std::unique_ptr<MooseVariableData<OutputType> > MooseVariableFE< OutputType >::_element_data
protected

Holder for all the data associated with the "main" element.

Definition at line 639 of file MooseVariableFE.h.

Referenced by MooseVariableFE< Real >::adGradPhi(), MooseVariableFE< Real >::adGradPhiFace(), MooseVariableFE< Real >::adGradSln(), MooseVariableFE< Real >::adSecondSln(), MooseVariableFE< Real >::adSln(), MooseVariableFE< Real >::adUDot(), MooseVariableFE< Real >::arrayGradPhi(), MooseVariableFE< Real >::arrayGradPhiFace(), MooseVariableFE< Real >::curlSln(), MooseVariableFE< Real >::curlSlnOld(), MooseVariableFE< Real >::curlSlnOlder(), MooseVariableFE< Real >::currentElem(), MooseVariableFE< Real >::currentSide(), MooseVariableFE< Real >::dofIndices(), MooseVariableFE< Real >::duDotDotDu(), MooseVariableFE< Real >::duDotDu(), MooseVariableFE< Real >::gradPhi(), MooseVariableFE< Real >::gradPhiFace(), MooseVariableFE< Real >::gradSln(), MooseVariableFE< Real >::gradSlnDot(), MooseVariableFE< Real >::gradSlnDotDot(), MooseVariableFE< Real >::gradSlnOld(), MooseVariableFE< Real >::gradSlnOlder(), MooseVariableFE< Real >::gradSlnPreviousNL(), MooseVariableFE< Real >::increment(), MooseVariableFE< Real >::isNodal(), MooseVariableFE< Real >::matrixTagValue(), MooseVariableFE< Real >::MooseVariableFE(), MooseVariableFE< Real >::nodalDofIndex(), MooseVariableFE< Real >::nodalValueArray(), MooseVariableFE< Real >::nodalValueOldArray(), MooseVariableFE< Real >::nodalValueOlderArray(), MooseVariableFE< Real >::node(), MooseVariableFE< Real >::numberOfDofs(), MooseVariableFE< Real >::phi(), MooseVariableFE< Real >::phiFace(), MooseVariableFE< Real >::phiFaceSize(), MooseVariableFE< Real >::phiSize(), MooseVariableFE< Real >::secondSln(), MooseVariableFE< Real >::secondSlnOld(), MooseVariableFE< Real >::secondSlnOlder(), MooseVariableFE< Real >::secondSlnPreviousNL(), MooseVariableFE< Real >::sln(), MooseVariableFE< Real >::slnOld(), MooseVariableFE< Real >::slnOlder(), MooseVariableFE< Real >::slnPreviousNL(), MooseVariableFE< Real >::uDot(), MooseVariableFE< Real >::uDotDot(), MooseVariableFE< Real >::uDotDotOld(), MooseVariableFE< Real >::uDotOld(), and MooseVariableFE< Real >::vectorTagValue().

◆ _empty_boundary_ids

const std::set<BoundaryID> BlockRestrictable::_empty_boundary_ids
privateinherited

An empty set for referencing when boundary_ids is not included.

Definition at line 242 of file BlockRestrictable.h.

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

◆ _fe_type

FEType MooseVariableBase::_fe_type
protectedinherited

The FEType associated with this variable.

Definition at line 132 of file MooseVariableBase.h.

Referenced by MooseVariableBase::feType(), and MooseVariableBase::order().

◆ _index

unsigned int MooseVariableBase::_index
protectedinherited

variable number within MOOSE

Definition at line 138 of file MooseVariableBase.h.

◆ _lower_data

template<typename OutputType>
std::unique_ptr<MooseVariableData<OutputType> > MooseVariableFE< OutputType >::_lower_data
protected

◆ _mesh

MooseMesh& MooseVariableBase::_mesh
protectedinherited

mesh the variable is active in

Definition at line 159 of file MooseVariableBase.h.

◆ _name

const std::string& MooseObject::_name
protectedinherited

◆ _neighbor_data

template<typename OutputType>
std::unique_ptr<MooseVariableData<OutputType> > MooseVariableFE< OutputType >::_neighbor_data
protected

Holder for all the data associated with the neighbor element.

Definition at line 642 of file MooseVariableFE.h.

Referenced by MooseVariableFE< Real >::adGradSlnNeighbor(), MooseVariableFE< Real >::adSecondSlnNeighbor(), MooseVariableFE< Real >::adSlnNeighbor(), MooseVariableFE< Real >::adUDotNeighbor(), MooseVariableFE< Real >::arrayGradPhiFaceNeighbor(), MooseVariableFE< Real >::arrayGradPhiNeighbor(), MooseVariableFE< Real >::curlSlnNeighbor(), MooseVariableFE< Real >::curlSlnOlderNeighbor(), MooseVariableFE< Real >::curlSlnOldNeighbor(), MooseVariableFE< Real >::dofIndicesNeighbor(), MooseVariableFE< Real >::duDotDotDuNeighbor(), MooseVariableFE< Real >::duDotDuNeighbor(), MooseVariableFE< Real >::gradPhiFaceNeighbor(), MooseVariableFE< Real >::gradPhiNeighbor(), MooseVariableFE< Real >::gradSlnNeighbor(), MooseVariableFE< Real >::gradSlnNeighborDot(), MooseVariableFE< Real >::gradSlnNeighborDotDot(), MooseVariableFE< Real >::gradSlnOlderNeighbor(), MooseVariableFE< Real >::gradSlnOldNeighbor(), MooseVariableFE< Real >::gradSlnPreviousNLNeighbor(), MooseVariableFE< Real >::MooseVariableFE(), MooseVariableFE< Real >::neighbor(), MooseVariableFE< Real >::nodalDofIndexNeighbor(), MooseVariableFE< Real >::nodeNeighbor(), MooseVariableFE< Real >::numberOfDofsNeighbor(), MooseVariableFE< Real >::phiFaceNeighbor(), MooseVariableFE< Real >::phiFaceNeighborSize(), MooseVariableFE< Real >::phiNeighbor(), MooseVariableFE< Real >::phiNeighborSize(), MooseVariableFE< Real >::secondSlnNeighbor(), MooseVariableFE< Real >::secondSlnOlderNeighbor(), MooseVariableFE< Real >::secondSlnOldNeighbor(), MooseVariableFE< Real >::secondSlnPreviousNLNeighbor(), MooseVariableFE< Real >::slnNeighbor(), MooseVariableFE< Real >::slnOlderNeighbor(), MooseVariableFE< Real >::slnOldNeighbor(), MooseVariableFE< Real >::slnPreviousNLNeighbor(), MooseVariableFE< Real >::uDotDotNeighbor(), MooseVariableFE< Real >::uDotDotOldNeighbor(), MooseVariableFE< Real >::uDotNeighbor(), and MooseVariableFE< Real >::uDotOldNeighbor().

◆ _oi_moose_app

MooseApp& OutputInterface::_oi_moose_app
privateinherited

Reference the the MooseApp; neede for access to the OutputWarehouse.

Definition at line 70 of file OutputInterface.h.

◆ _oi_output_warehouse

OutputWarehouse& OutputInterface::_oi_output_warehouse
privateinherited

Reference to the OutputWarehouse for populating the Output object hide lists.

Definition at line 73 of file OutputInterface.h.

Referenced by OutputInterface::buildOutputHideVariableList().

◆ _oi_outputs

std::set<OutputName> OutputInterface::_oi_outputs
privateinherited

The set of Output object names listed in the 'outputs' parameter.

Definition at line 76 of file OutputInterface.h.

Referenced by OutputInterface::buildOutputHideVariableList(), and OutputInterface::getOutputs().

◆ _pars

const InputParameters& MooseObject::_pars
protectedinherited

◆ _scaling_factor

std::vector<Real> MooseVariableBase::_scaling_factor
protectedinherited

scaling factor for this variable

Definition at line 168 of file MooseVariableBase.h.

Referenced by MooseVariableBase::arrayScalingFactor(), and MooseVariableBase::scalingFactor().

◆ _subproblem

SubProblem& MooseVariableBase::_subproblem
protectedinherited

◆ _sys

SystemBase& MooseVariableBase::_sys
protectedinherited

◆ _tid

THREAD_ID MooseVariableBase::_tid
protectedinherited

Thread ID.

Definition at line 162 of file MooseVariableBase.h.

Referenced by MooseVariableFE< Real >::MooseVariableFE(), and MooseVariableScalar::reinit().

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

◆ _var_kind

Moose::VarKindType MooseVariableBase::_var_kind
protectedinherited

Variable type (see MooseTypes.h)

Definition at line 141 of file MooseVariableBase.h.

Referenced by MooseVariableBase::kind().

◆ _var_name

std::string MooseVariableBase::_var_name
protectedinherited

Variable name.

Definition at line 171 of file MooseVariableBase.h.

Referenced by MooseVariableBase::MooseVariableBase(), and MooseVariableBase::name().

◆ _var_num

unsigned int MooseVariableBase::_var_num
protectedinherited

◆ _variable

const Variable& MooseVariableBase::_variable
protectedinherited

libMesh variable object for this variable

Definition at line 147 of file MooseVariableBase.h.


The documentation for this class was generated from the following files:
InputParameters::getParamHelper
static const T & getParamHelper(const std::string &name, const InputParameters &pars, const T *the_type)
Definition: InputParameters.h:1517
BlockRestrictable::_blk_mesh
MooseMesh * _blk_mesh
Pointer to Mesh.
Definition: BlockRestrictable.h:239
Moose::Current
Definition: MooseVariableData.h:49
FEProblemBase::getMaterialWarehouse
const MaterialWarehouse & getMaterialWarehouse() const
Definition: FEProblemBase.h:1454
SubProblem::_var_dof_map
std::map< std::string, std::vector< dof_id_type > > _var_dof_map
Definition: SubProblem.h:586
OutputWarehouse::addInterfaceHideVariables
void addInterfaceHideVariables(const std::string &output_name, const std::set< std::string > &variable_names)
Insert variable names for hiding via the OutoutInterface.
Definition: OutputWarehouse.C:274
MooseObject::mooseInfo
void mooseInfo(Args &&... args) const
Definition: MooseObject.h:162
MooseVariableFE::node
const Node *const & node() const
Definition: MooseVariableFE.h:163
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
Moose::ElementType::Neighbor
MooseObject::mooseError
void mooseError(Args &&... args) const
Definition: MooseObject.h:141
MooseObject::isParamValid
bool isParamValid(const std::string &name) const
Test if the supplied parameter is valid.
Definition: MooseObject.h:100
MooseObject::_type
const std::string & _type
The type of this object (the Class name)
Definition: MooseObject.h:175
OutputWarehouse::getOutputNames
const std::set< OutputName > & getOutputNames()
Get a complete set of all output object names.
Definition: OutputWarehouse.C:123
MooseVariableFE::_lower_data
std::unique_ptr< MooseVariableData< OutputType > > _lower_data
Holder for all the data associated with the lower dimeensional element.
Definition: MooseVariableFE.h:645
MooseVariableFEBase::activeSubdomains
virtual const std::set< SubdomainID > & activeSubdomains() const =0
The subdomains the variable is active on.
MooseMesh::getSubdomainIDs
std::vector< SubdomainID > getSubdomainIDs(const std::vector< SubdomainName > &subdomain_name) const
Get the associated subdomainIDs for the subdomain names that are passed in.
Definition: MooseMesh.C:1133
Moose::Volume
Definition: MooseVariableData.h:56
Assembly::node
const Node *const & node() const
Returns the reference to the node.
Definition: Assembly.h:416
BlockRestrictable::_blk_dual_restrictable
const bool _blk_dual_restrictable
Flag for allowing dual restriction.
Definition: BlockRestrictable.h:233
InputParameters::getMooseType
std::string getMooseType(const std::string &name) const
Utility functions for retrieving one of the MooseTypes variables into the common "string" base class.
Definition: InputParameters.C:529
MooseVariableBase::_tid
THREAD_ID _tid
Thread ID.
Definition: MooseVariableBase.h:162
BlockRestrictable::blockIDs
const virtual std::set< SubdomainID > & blockIDs() const
Return the block subdomain ids for this object.
Definition: BlockRestrictable.C:174
MooseVariableBase::_fe_type
FEType _fe_type
The FEType associated with this variable.
Definition: MooseVariableBase.h:132
MaterialWarehouse
MaterialBase objects are special in that they have additional objects created automatically (see FEPr...
Definition: MaterialWarehouse.h:26
BlockRestrictable::blockRestricted
virtual bool blockRestricted() const
Returns true if this object has been restricted to a boundary.
Definition: BlockRestrictable.C:162
BlockRestrictable::_blk_material_data
std::shared_ptr< MaterialData > _blk_material_data
Pointer to the MaterialData class for this object.
Definition: BlockRestrictable.h:205
Moose::ANY_BLOCK_ID
const SubdomainID ANY_BLOCK_ID
Definition: MooseTypes.C:17
SystemBase::system
virtual System & system()=0
Get the reference to the libMesh system.
MooseVariableFEBase::MooseVariableFEBase
MooseVariableFEBase(const InputParameters &parameters)
Definition: MooseVariableFEBase.C:20
MooseObject::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:76
OutputInterface::_oi_output_warehouse
OutputWarehouse & _oi_output_warehouse
Reference to the OutputWarehouse for populating the Output object hide lists.
Definition: OutputInterface.h:73
MooseObject::_enabled
const bool & _enabled
Reference to the "enable" InputParaemters, used by Controls for toggling on/off MooseObjects.
Definition: MooseObject.h:181
BlockRestrictable::_blk_feproblem
FEProblemBase * _blk_feproblem
Pointer to FEProblemBase.
Definition: BlockRestrictable.h:236
moose::internal::mooseInfoStream
void mooseInfoStream(S &oss, Args &&... args)
Definition: MooseError.h:165
MooseVariableBase::_var_kind
Moose::VarKindType _var_kind
Variable type (see MooseTypes.h)
Definition: MooseVariableBase.h:141
Moose::Old
Definition: MooseVariableData.h:50
Moose::ElementType::Lower
Moose::Older
Definition: MooseVariableData.h:51
Moose::stringify
std::string stringify(const T &t)
conversion to string
Definition: Conversion.h:61
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
OutputTools::OutputGradient
TensorTools::IncrementRank< OutputType >::type OutputGradient
Definition: MooseTypes.h:266
Assembly::elem
const Elem *const & elem() const
Return the current element.
Definition: Assembly.h:304
SystemBase::solution
virtual NumericVector< Number > & solution()=0
BlockRestrictable::_blk_tid
THREAD_ID _blk_tid
Thread id for this object.
Definition: BlockRestrictable.h:248
MooseVariableBase::_count
const unsigned int _count
Number of variables in the array.
Definition: MooseVariableBase.h:165
MooseVariableFE::dofValues
const DoFValue & dofValues()
Definition: MooseVariableFE.C:238
Moose::ANY_BOUNDARY_ID
const BoundaryID ANY_BOUNDARY_ID
Definition: MooseTypes.C:19
Moose::VAR_ANY
Definition: MooseTypes.h:610
moose::internal::mooseDeprecatedStream
void mooseDeprecatedStream(S &oss, bool expired, Args &&... args)
Definition: MooseError.h:177
MooseVariableFE::usesSecondPhi
bool usesSecondPhi() const
Whether or not this variable is computing any second derivatives.
Definition: MooseVariableFE.C:756
SystemBase::subproblem
virtual SubProblem & subproblem()
Definition: SystemBase.h:108
FEProblemBase::getMaterialData
std::shared_ptr< MaterialData > getMaterialData(Moose::MaterialDataType type, THREAD_ID tid=0)
Definition: FEProblemBase.C:2729
Assembly::qRuleNeighbor
const QBase *const & qRuleNeighbor() const
Returns the reference to the current quadrature being used on a current neighbor.
Definition: Assembly.h:392
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
FEProblemBase::getCoordSystem
virtual Moose::CoordinateSystemType getCoordSystem(SubdomainID sid) override
Definition: FEProblemBase.C:491
MooseVariableBase::allDofIndices
const std::vector< dof_id_type > & allDofIndices() const
Get all global dofindices for the variable.
Definition: MooseVariableBase.C:111
Moose::PreviousNL
Definition: MooseVariableData.h:52
MooseVariableBase::_var_num
unsigned int _var_num
variable number (from libMesh)
Definition: MooseVariableBase.h:135
BlockRestrictable::isBlockSubset
bool isBlockSubset(const std::set< SubdomainID > &ids) const
Test if the class block ids are a subset of the supplied objects.
Definition: BlockRestrictable.C:227
MooseVariableBase::_var_name
std::string _var_name
Variable name.
Definition: MooseVariableBase.h:171
Assembly::nodeNeighbor
const Node *const & nodeNeighbor() const
Returns the reference to the neighboring node.
Definition: Assembly.h:422
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
Moose::Face
Definition: MooseVariableData.h:57
Assembly::qRuleFace
const QBase *const & qRuleFace() const
Returns the reference to the current quadrature being used on a current face.
Definition: Assembly.h:241
Assembly::qRule
const QBase *const & qRule() const
Returns the reference to the current quadrature being used.
Definition: Assembly.h:168
Moose::VAR_FIELD_ARRAY
Definition: MooseTypes.h:618
MooseObject::getParamTempl
const T & getParamTempl(const std::string &name) const
Retrieve a parameter for the object.
Definition: MooseObject.h:208
callMooseErrorRaw
void callMooseErrorRaw(std::string &msg, MooseApp *app)
Definition: MooseObject.C:70
MooseObjectWarehouseBase::getActiveBlockObjects
const std::map< SubdomainID, std::vector< std::shared_ptr< T > > > & getActiveBlockObjects(THREAD_ID tid=0) const
Definition: MooseObjectWarehouseBase.h:387
Moose::VAR_FIELD_VECTOR
Definition: MooseTypes.h:617
BlockRestrictable::_blocks
std::vector< SubdomainName > _blocks
Vector the block names supplied by the user via the input file.
Definition: BlockRestrictable.h:230
Assembly::neighbor
const Elem *const & neighbor() const
Return the neighbor element.
Definition: Assembly.h:360
MooseVariableBase::_sys
SystemBase & _sys
System this variable is part of.
Definition: MooseVariableBase.h:129
MooseMesh::meshSubdomains
const std::set< SubdomainID > & meshSubdomains() const
Returns a read-only reference to the set of subdomains currently present in the Mesh.
Definition: MooseMesh.C:2338
MooseObjectWarehouseBase::hasActiveBlockObjects
bool hasActiveBlockObjects(THREAD_ID tid=0) const
Definition: MooseObjectWarehouseBase.h:422
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
MooseVariableFE::isNodal
bool isNodal() const override
Is this variable nodal.
Definition: MooseVariableFE.h:160
MooseVariableBase::validParams
static InputParameters validParams()
Definition: MooseVariableBase.C:29
MooseVariableFE::_element_data
std::unique_ptr< MooseVariableData< OutputType > > _element_data
Holder for all the data associated with the "main" element.
Definition: MooseVariableFE.h:639
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
Assembly::lowerDElem
const Elem *const & lowerDElem() const
Return the lower dimensional element.
Definition: Assembly.h:366
BlockRestrictable::hasBlocks
bool hasBlocks(const SubdomainName &name) const
Test if the supplied block name is valid for this object.
Definition: BlockRestrictable.C:186
BlockRestrictable::_blk_ids
std::set< SubdomainID > _blk_ids
Set of block ids supplied by the user via the input file (for error reporting)
Definition: BlockRestrictable.h:227
OutputInterface::_oi_outputs
std::set< OutputName > _oi_outputs
The set of Output object names listed in the 'outputs' parameter.
Definition: OutputInterface.h:76
Moose::ElementType::Element
MooseVariableBase::_scaling_factor
std::vector< Real > _scaling_factor
scaling factor for this variable
Definition: MooseVariableBase.h:168
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
BlockRestrictable::_blk_name
const std::string & _blk_name
Name of the object.
Definition: BlockRestrictable.h:251
Moose::VAR_FIELD_ANY
Definition: MooseTypes.h:619
BlockRestrictable::meshBlockIDs
const std::set< SubdomainID > & meshBlockIDs() const
Return all of the SubdomainIDs for the mesh.
Definition: BlockRestrictable.C:250
MooseObject::_pars
const InputParameters & _pars
Parameters of this object, references the InputParameters stored in the InputParametersWarehouse.
Definition: MooseObject.h:169
MooseVariableBase::isNodal
virtual bool isNodal() const
Is this variable nodal.
Definition: MooseVariableBase.h:104
moose::internal::mooseWarningStream
void mooseWarningStream(S &oss, Args &&... args)
Definition: MooseError.h:136
MooseVariableFE::_neighbor_data
std::unique_ptr< MooseVariableData< OutputType > > _neighbor_data
Holder for all the data associated with the neighbor element.
Definition: MooseVariableFE.h:642
SystemBase::currentSolution
virtual const NumericVector< Number > *const & currentSolution() const =0
The solution vector that is currently being operated on.
MooseVariableBase::_assembly
Assembly & _assembly
Assembly data.
Definition: MooseVariableBase.h:150
MooseVariableBase::_dof_map
const DofMap & _dof_map
DOF map.
Definition: MooseVariableBase.h:153
BlockRestrictable::_boundary_ids
const std::set< BoundaryID > & _boundary_ids
Reference to the boundary_ids, defaults to an empty set if not provided.
Definition: BlockRestrictable.h:245
BlockRestrictable::hasBlockMaterialPropertyHelper
virtual bool hasBlockMaterialPropertyHelper(const std::string &prop_name)
A helper method to allow the Material object to specialize the behavior of hasBlockMaterialProperty.
Definition: BlockRestrictable.C:256
MooseObject::mooseDeprecated
void mooseDeprecated(Args &&... args) const
Definition: MooseObject.h:156
MooseObject::_app
MooseApp & _app
The MooseApp this object is associated with.
Definition: MooseObject.h:172
FEProblemBase::mesh
virtual MooseMesh & mesh() override
Definition: FEProblemBase.h:148
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
Moose::VAR_FIELD_STANDARD
Definition: MooseTypes.h:615
MooseObject::name
virtual const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:70
Moose::BLOCK_MATERIAL_DATA
Definition: MooseTypes.h:585
MooseVariableFE::phi
const FieldVariablePhiValue & phi() const
Definition: MooseVariableFE.h:200
MooseVariableBase::name
const std::string & name() const override
Get the variable name.
Definition: MooseVariableBase.h:63
n
PetscInt n
Definition: PetscDMMoose.C:1504