Go to the documentation of this file.
34 template <
typename ComputeValueType>
55 template <
typename ComputeValueType>
99 void coupledCallback(
const std::string & var_name,
bool is_old)
override;
108 template <
typename T>
110 template <
typename T>
112 template <
typename T>
115 template <
typename T>
117 template <
typename T>
129 const std::string & vector_name)
override;
132 const std::string &
name,
const std::string & vector_name,
bool needs_broadcast)
override;
135 const std::string & vector_name,
136 bool needs_broadcast)
override;
140 const std::string & vector_name)
override;
144 const std::string & vector_name)
override;
153 unsigned int comp = 0)
override;
156 unsigned int comp = 0)
override;
249 template <
typename ComputeValueType>
250 template <
typename T>
257 "' attempted to reference material property '",
259 "'\nConsider using an elemental auxiliary variable for '",
263 return MaterialPropertyInterface::getMaterialPropertyTempl<T>(name);
266 template <
typename ComputeValueType>
267 template <
typename T>
274 "' attempted to reference material property '",
276 "'\nConsider using an elemental auxiliary variable for '",
280 return MaterialPropertyInterface::getMaterialPropertyOldTempl<T>(name);
283 template <
typename ComputeValueType>
284 template <
typename T>
291 "' attempted to reference material property '",
293 "'\nConsider using an elemental auxiliary variable for '",
297 return MaterialPropertyInterface::getMaterialPropertyOlderTempl<T>(name);
300 template <
typename ComputeValueType>
301 template <
typename T>
305 _depend_uo.insert(_pars.get<UserObjectName>(name));
306 return UserObjectInterface::getUserObjectTempl<T>(name);
309 template <
typename ComputeValueType>
310 template <
typename T>
314 _depend_uo.insert(name);
315 return UserObjectInterface::getUserObjectByNameTempl<T>(name);
virtual const VectorPostprocessorValue & getVectorPostprocessorValue(const std::string &name, const std::string &vector_name) override
DEPRECATED: Use the new version where you need to specify whether or not the vector must be broadcast...
virtual const VariableValue & coupledDotDu(const std::string &var_name, unsigned int comp=0) override
Time derivative of a coupled variable with respect to the coefficients.
const OutputTools< ComputeValueType >::VariableTestValue & _test
Holds the the test functions.
const Real & _current_elem_volume
Volume of the current element.
const UserObject & getUserObjectBase(const std::string &name)
DenseMatrix< Number > _local_ke
for holding local mass matrix
A system that holds auxiliary variables.
AuxiliarySystem & _aux_sys
unsigned int _n_local_dofs
number of local dofs for elemental variables
AuxKernelTempl(const InputParameters ¶meters)
const OutputTools< ComputeValueType >::VariableValue & _u_older
Holds the t-2 solution at the current quadrature point.
DenseVector< Number > _local_sol
for holding local solution
AuxKernelTempl< RealVectorValue > VectorAuxKernel
virtual const std::set< std::string > & getSuppliedItems() override
Return a set containing the names of items owned by the object.
bool _bnd
true if the kernel is boundary kernel, false if it is interior kernels
const T & getUserObjectTempl(const std::string &name)
Interface for objects that need to use functions.
const InputParameters & parameters() const
Get the parameters of the object.
Interface for objects that need to use UserObjects.
SubProblem & _subproblem
Subproblem this kernel is part of.
Base class for creating new auxiliary kernels and auxiliary boundary conditions.
/class BoundaryRestrictable /brief Provides functionality for limiting the object to certain boundary...
const MooseArray< Real > & _coord
virtual const VariableValue & coupledDot(const std::string &var_name, unsigned int comp=0) override
Time derivative of a coupled variable.
const QBase *const & _qrule
Quadrature rule being used.
virtual void precalculateValue()
This callback is used for AuxKernelTempls that need to perform a per-element calculation.
SystemBase & _sys
System this kernel is part of.
virtual const ScatterVectorPostprocessorValue & getScatterVectorPostprocessorValueByName(const std::string &name, const std::string &vector_name) override
Return the scatter value for the post processor.
const OutputTools< ComputeValueType >::VariableValue & _u_old
Holds the previous solution at the current quadrature point.
virtual const PostprocessorValue & getPostprocessorValueByName(const PostprocessorName &name)
const MaterialProperty< T > & getMaterialPropertyTempl(const std::string &name)
Override functions from MaterialPropertyInterface for error checking.
const MaterialProperty< T > & getMaterialPropertyOlderTempl(const std::string &name)
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application.
Every object that can be built by the factory should be derived from this class.
std::set< std::string > _depend_vars
Depend AuxKernelTempls.
virtual const PostprocessorValue & getPostprocessorValue(const std::string &name)
Real PostprocessorValue
MOOSE typedefs.
const unsigned int & _current_side
current side of the current element
const MooseArray< Real > & _JxW
Transformed Jacobian weights.
Generic class for solving transient nonlinear problems.
Real ScatterVectorPostprocessorValue
virtual void compute()
Computes the value and stores it in the solution vector.
const MooseArray< Point > & _q_point
Dimension of the problem being solved.
const BoundaryID & _current_boundary_id
The current boundary ID.
Interface class for classes which interact with Postprocessors.
Base class for user-specific data.
const OutputTools< ComputeValueType >::VariableValue & _u
Holds the solution at current quadrature points.
const MaterialProperty< T > & getMaterialPropertyOldTempl(const std::string &name)
MooseMesh & _mesh
Mesh this kernel is active on.
boundary_id_type BoundaryID
A class for creating restricted objects.
const Elem *const & _current_elem
Current element (valid only for elemental kernels)
Interface for objects that needs transient capabilities.
virtual const VectorPostprocessorValue & getVectorPostprocessorValueByName(const VectorPostprocessorName &, const std::string &vector_name) override
DEPRECATED: Use the new version where you need to specify whether or not the vector must be broadcast...
Interface for notifications that the mesh has changed.
std::vector< Real > VectorPostprocessorValue
Concrete definition of a parameter value for a specified type.
Assembly & _assembly
Assembly class.
const T & getUserObjectByNameTempl(const UserObjectName &name)
MooseVariableFE< ComputeValueType > & variable()
Get a reference to a variable this kernel is action on.
Keeps track of stuff related to assembling.
static InputParameters validParams()
InputParameters validParams< AuxKernel >()
std::set< std::string > _supplied_vars
bool isNodal() const
Nodal or elemental kernel?
void coupledCallback(const std::string &var_name, bool is_old) override
A call-back function provided by the derived object for actions before coupling a variable with funct...
InputParameters validParams< VectorAuxKernel >()
AuxKernelTempl< Real > AuxKernel
bool _nodal
Flag indicating if the AuxKernel is nodal.
const Node *const & _current_node
Current node (valid only for nodal kernels)
An interface that restricts an object to subdomains via the 'blocks' input parameter.
virtual ComputeValueType computeValue()=0
Compute and return the value of the aux variable.
Base class for a system (of equations)
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
unsigned int _qp
Quadrature point index.
Interface for objects that need parallel consistent random numbers without patterns over the course o...
MooseVariableFE< ComputeValueType > & _var
This is a regular kernel so we cast to a regular MooseVariable.
OutputTools< Real >::VariableValue VariableValue
Interface for objects that need to get values of MooseVariables.
DenseVector< Number > _local_re
for holding local load
const std::set< std::string > & getDependObjects() const
std::set< std::string > _depend_uo
Depend UserObjects.
NumericVector< Number > & _solution
reference to the solution vector of auxiliary system
Interface for sorting dependent vectors of objects.
An interface for accessing Materials.
virtual const std::set< std::string > & getRequestedItems() override
Return a set containing the names of items requested by the object.
virtual const ScatterVectorPostprocessorValue & getScatterVectorPostprocessorValue(const std::string &name, const std::string &vector_name) override
Return the scatter value for the post processor.
virtual const std::string & name() const
Get the name of the object.
const Real & _current_side_volume
Volume of the current side.