#include <MooseVariableData.h>
|
| MooseVariableData (const MooseVariableFE< OutputType > &var, const SystemBase &sys, THREAD_ID tid, Moose::ElementType element_type, const QBase *const &qrule_in, const QBase *const &qrule_face_in, const Node *const &node, const Elem *const &elem) |
|
bool | needsAD () const |
| Returns whether this data structure needs automatic differentiation calculations. More...
|
|
void | setGeometry (Moose::GeometryType gm_type) |
| Set the geometry type before calculating variables values. More...
|
|
void | computeValues () |
| compute the variable values More...
|
|
void | computeMonomialValues () |
| compute the values for const monomial variables More...
|
|
void | computeAD (const unsigned int num_dofs, const unsigned int nqp) |
| compute AD things More...
|
|
void | computeNodalValues () |
| compute nodal things More...
|
|
const FieldVariablePhiValue & | phi () const |
| phi getter More...
|
|
const FieldVariablePhiValue & | phiFace () const |
| phi_face getter More...
|
|
const FieldVariablePhiGradient & | gradPhi () const |
| grad_phi getter More...
|
|
const MappedArrayVariablePhiGradient & | arrayGradPhi () const |
| mapped_grad_phi getter More...
|
|
const FieldVariablePhiGradient & | gradPhiFace () const |
| grad_phi_face getter More...
|
|
const MappedArrayVariablePhiGradient & | arrayGradPhiFace () const |
| mapped_grad_phi_face getter More...
|
|
const FieldVariablePhiSecond & | secondPhi () const |
| second_phi getter More...
|
|
const FieldVariablePhiSecond & | secondPhiFace () const |
| second_phi_face getter More...
|
|
const FieldVariablePhiCurl & | curlPhi () const |
| curl_phi getter More...
|
|
const FieldVariablePhiCurl & | curlPhiFace () const |
| curl_phi_face getter More...
|
|
template<ComputeStage compute_stage> |
const VariableTestGradientType< OutputShape, compute_stage >::type & | adGradPhi () const |
| ad_grad_phi getter More...
|
|
template<ComputeStage compute_stage> |
const VariableTestGradientType< OutputShape, compute_stage >::type & | adGradPhiFace () const |
| ad_grad_phi_face getter More...
|
|
size_t | phiSize () const |
| Return phi size. More...
|
|
size_t | phiFaceSize () const |
| Return phiFace size. More...
|
|
bool | usesSecondPhi () 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...
|
|
bool | isNodal () const |
|
const Node *const & | node () const |
|
const dof_id_type & | nodalDofIndex () const |
|
bool | isNodalDefined () const |
|
const Elem *const & | currentElem () const |
| The current element. More...
|
|
const unsigned int & | currentSide () const |
| The current side. More...
|
|
void | prepareIC () |
| prepare the initial condition More...
|
|
const FieldVariableValue & | sln (Moose::SolutionState state) const |
| Local solution getter. More...
|
|
const FieldVariableGradient & | gradSln (Moose::SolutionState state) const |
| Local solution gradient getter. More...
|
|
const FieldVariableGradient & | gradSlnDot () const |
| Local time derivative of solution gradient getter. More...
|
|
const FieldVariableGradient & | gradSlnDotDot () const |
| Local second time derivative of solution gradient getter. More...
|
|
const FieldVariableSecond & | secondSln (Moose::SolutionState state) const |
| Local solution second spatial derivative getter. More...
|
|
const FieldVariableCurl & | curlSln (Moose::SolutionState state) const |
| Local solution curl getter. More...
|
|
template<ComputeStage compute_stage> |
const VariableValueType< OutputType, compute_stage >::type & | adSln () const |
|
template<ComputeStage compute_stage> |
const VariableGradientType< OutputType, compute_stage >::type & | adGradSln () const |
|
template<ComputeStage compute_stage> |
const VariableSecondType< OutputType, compute_stage >::type & | adSecondSln () const |
|
template<ComputeStage compute_stage> |
const VariableValueType< OutputType, compute_stage >::type & | adUDot () const |
|
const FieldVariableValue & | uDot () const |
|
const FieldVariableValue & | uDotDot () const |
|
const FieldVariableValue & | uDotOld () const |
|
const FieldVariableValue & | uDotDotOld () const |
|
const VariableValue & | duDotDu () const |
|
const VariableValue & | duDotDotDu () const |
|
const OutputType & | nodalValue (Moose::SolutionState state) const |
|
const MooseArray< OutputType > & | nodalValueArray (Moose::SolutionState state) const |
|
const OutputType & | nodalValueDot () const |
|
const OutputType & | nodalValueDotDot () const |
|
const OutputType & | nodalValueDotOld () const |
|
const OutputType & | nodalValueDotDotOld () const |
|
const OutputType & | nodalValueDuDotDu () const |
|
const OutputType & | nodalValueDuDotDotDu () const |
|
template<ComputeStage compute_stage> |
const Moose::ValueType< OutputType, compute_stage >::type & | adNodalValue () const |
|
const DoFValue & | nodalVectorTagValue (TagID tag) const |
|
const DoFValue & | nodalMatrixTagValue (TagID tag) const |
|
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, Moose::SolutionState state) const |
|
OutputData | getElementalValue (const Elem *elem, Moose::SolutionState state, unsigned int idx=0) const |
|
void | getDofIndices (const Elem *elem, std::vector< dof_id_type > &dof_indices) const |
|
const std::vector< dof_id_type > & | dofIndices () const |
|
unsigned int | numberOfDofs () const |
|
void | clearDofIndices () |
|
void | prepare () |
| Get the dof indices corresponding to the current element. More...
|
|
void | hasDofValues (bool has_dof_values) |
| setter of _has_dof_values More...
|
|
void | reinitNode () |
| Prepare degrees of freedom for the current node. More...
|
|
void | prepareAux () |
| Prepare dof indices and solution values for elemental auxiliary variables. More...
|
|
void | reinitAux () |
| Prepare dof indices and solution values for elemental auxiliary variables. More...
|
|
void | reinitNodes (const std::vector< dof_id_type > &nodes) |
| Set _dof_indices to the degrees of freedom existing on the passed-in nodes. More...
|
|
void | insert (NumericVector< Number > &residual) |
| Set the current local DOF values to the input vector. More...
|
|
void | add (NumericVector< Number > &residual) |
| Add the current local DOF values to the input vector. More...
|
|
void | addSolution (NumericVector< Number > &sol, const DenseVector< Number > &v) const |
| Add passed in local DOF values to a solution vector. More...
|
|
const DoFValue & | dofValues () const |
|
const DoFValue & | dofValuesOld () const |
|
const DoFValue & | dofValuesOlder () const |
|
const DoFValue & | dofValuesPreviousNL () const |
|
const DoFValue & | dofValuesDot () const |
|
const DoFValue & | dofValuesDotOld () const |
|
const DoFValue & | dofValuesDotDot () const |
|
const DoFValue & | dofValuesDotDotOld () const |
|
const MooseArray< Number > & | dofValuesDuDotDu () const |
|
const MooseArray< Number > & | dofValuesDuDotDotDu () const |
|
template<ComputeStage compute_stage> |
const MooseArray< typename Moose::RealType< compute_stage >::type > & | adDofValues () const |
| Return the AD dof values. More...
|
|
const FieldVariableValue & | increment () const |
| Increment getter. 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...
|
|
const FieldVariableValue & | vectorTagValue (TagID tag) |
|
const FieldVariableValue & | matrixTagValue (TagID tag) |
|
template<> |
const VariableValue & | adSln () const |
|
template<> |
const VariableGradient & | adGradSln () const |
|
template<> |
const VariableSecond & | adSecondSln () const |
|
template<> |
const VariableValue & | adUDot () const |
|
template<> |
const VectorVariableValue & | adSln () const |
|
template<> |
const VectorVariableGradient & | adGradSln () const |
|
template<> |
const VectorVariableSecond & | adSecondSln () const |
|
template<> |
const VectorVariableValue & | adUDot () const |
|
template<> |
const MooseArray< Real > & | adDofValues () const |
|
template<> |
const MooseArray< Real > & | adDofValues () const |
|
template<> |
const Real & | adNodalValue () const |
|
template<> |
const RealVectorValue & | adNodalValue () const |
|
template<> |
const VariableTestGradientType< Real, RESIDUAL >::type & | adGradPhi () const |
|
template<> |
const VariableTestGradientType< RealVectorValue, RESIDUAL >::type & | adGradPhi () const |
|
template<> |
const VariableTestGradientType< Real, RESIDUAL >::type & | adGradPhiFace () const |
|
template<> |
const VariableTestGradientType< RealVectorValue, RESIDUAL >::type & | adGradPhiFace () const |
|
template<> |
void | computeValues () |
|
template<> |
void | computeMonomialValues () |
|
template<> |
void | computeAD (const unsigned int, const unsigned int) |
|
template<> |
void | setNodalValue (const RealVectorValue &value, unsigned int idx) |
|
template<> |
void | insertNodalValue (NumericVector< Number > &residual, const RealEigenVector &v) |
|
template<> |
RealEigenVector | getNodalValue (const Node &node, Moose::SolutionState state) const |
|
template<> |
RealEigenVector | getElementalValue (const Elem *elem, Moose::SolutionState state, unsigned int idx) const |
|
template<> |
void | insert (NumericVector< Number > &residual) |
|
template<> |
void | add (NumericVector< Number > &residual) |
|
template<> |
void | addSolution (NumericVector< Number > &sol, const DenseVector< Number > &v) const |
|
template<> |
void | computeIncrementAtQps (const NumericVector< Number > &increment_vec) |
|
template<> |
void | computeIncrementAtNode (const NumericVector< Number > &increment_vec) |
|
template<> |
const VariableValue & | adSln () const |
|
template<> |
const VectorVariableValue & | adSln () const |
|
template<> |
const VariableGradient & | adGradSln () const |
|
template<> |
const VectorVariableGradient & | adGradSln () const |
|
template<> |
const VariableSecond & | adSecondSln () const |
|
template<> |
const VectorVariableSecond & | adSecondSln () const |
|
template<> |
const VariableValue & | adUDot () const |
|
template<> |
const VectorVariableValue & | adUDot () const |
|
template<> |
const MooseArray< Real > & | adDofValues () const |
|
template<> |
const MooseArray< Real > & | adDofValues () const |
|
template<> |
const Real & | adNodalValue () const |
|
template<> |
const RealVectorValue & | adNodalValue () const |
|
|
const MooseVariableFE< OutputType > & | _var |
| A const reference to the owning MooseVariableFE object. More...
|
|
const FEType & | _fe_type |
|
const unsigned int | _var_num |
|
const SystemBase & | _sys |
|
const SubProblem & | _subproblem |
|
THREAD_ID | _tid |
|
const Assembly & | _assembly |
|
const DofMap & | _dof_map |
|
Moose::ElementType | _element_type |
| The element type this object is storing data for. This is either Element, Neighbor, or Lower. More...
|
|
unsigned int | _count |
| Number of components of the associated variable. More...
|
|
std::vector< dof_id_type > | _dof_indices |
| The dof indices for the current element. More...
|
|
std::vector< bool > | _need_vector_tag_dof_u |
|
std::vector< bool > | _need_matrix_tag_dof_u |
|
bool | _is_nodal |
| if variable is nodal More...
|
|
dof_id_type | _nodal_dof_index |
| The dof index for the current node. More...
|
|
std::vector< DoFValue > | _vector_tags_dof_u |
|
std::vector< DoFValue > | _matrix_tags_dof_u |
|
std::vector< FieldVariableValue > | _vector_tag_u |
|
std::vector< bool > | _need_vector_tag_u |
|
std::vector< FieldVariableValue > | _matrix_tag_u |
|
std::vector< bool > | _need_matrix_tag_u |
|
FEContinuity | _continuity |
| Continuity type of the variable. More...
|
|
FieldVariableValue | _increment |
| Increment in the variable used in dampers. More...
|
|
OutputType | _nodal_value |
| Nodal values. More...
|
|
OutputType | _nodal_value_old |
|
OutputType | _nodal_value_older |
|
OutputType | _nodal_value_previous_nl |
|
OutputType | _nodal_value_dot |
| nodal values of u_dot More...
|
|
OutputType | _nodal_value_dotdot |
| nodal values of u_dotdot More...
|
|
OutputType | _nodal_value_dot_old |
| nodal values of u_dot_old More...
|
|
OutputType | _nodal_value_dotdot_old |
| nodal values of u_dotdot_old More...
|
|
MooseArray< OutputType > | _nodal_value_array |
| Nodal values as MooseArrays for use with AuxKernels. More...
|
|
MooseArray< OutputType > | _nodal_value_old_array |
|
MooseArray< OutputType > | _nodal_value_older_array |
|
Moose::ValueType< OutputType, JACOBIAN >::type | _ad_nodal_value |
| AD nodal value. More...
|
|
const DualReal | _ad_zero |
| A zero AD variable. More...
|
|
bool | _need_u_old |
| u flags More...
|
|
bool | _need_u_older |
|
bool | _need_u_previous_nl |
|
bool | _need_u_dot |
| u dot flags More...
|
|
bool | _need_ad_u_dot |
|
bool | _need_u_dotdot |
|
bool | _need_u_dot_old |
|
bool | _need_u_dotdot_old |
|
bool | _need_du_dot_du |
|
bool | _need_du_dotdot_du |
|
bool | _need_grad_old |
| gradient flags More...
|
|
bool | _need_grad_older |
|
bool | _need_grad_previous_nl |
|
bool | _need_grad_dot |
| gradient dot flags More...
|
|
bool | _need_grad_dotdot |
|
bool | _need_second |
| SolutionState second_u flags. More...
|
|
bool | _need_second_old |
|
bool | _need_second_older |
|
bool | _need_second_previous_nl |
|
bool | _need_curl |
| curl flags More...
|
|
bool | _need_curl_old |
|
bool | _need_curl_older |
|
bool | _need_ad |
| AD flags. More...
|
|
bool | _need_ad_u |
|
bool | _need_ad_grad_u |
|
bool | _need_ad_second_u |
|
bool | _need_dof_values |
| local solution flags More...
|
|
bool | _need_dof_values_old |
|
bool | _need_dof_values_older |
|
bool | _need_dof_values_previous_nl |
|
bool | _need_dof_values_dot |
|
bool | _need_dof_values_dotdot |
|
bool | _need_dof_values_dot_old |
|
bool | _need_dof_values_dotdot_old |
|
bool | _need_dof_du_dot_du |
|
bool | _need_dof_du_dotdot_du |
|
bool | _has_dof_indices |
|
bool | _has_dof_values |
|
DoFValue | _dof_values |
| local solution values More...
|
|
DoFValue | _dof_values_old |
|
DoFValue | _dof_values_older |
|
DoFValue | _dof_values_previous_nl |
|
DoFValue | _dof_values_dot |
| nodal values of u_dot More...
|
|
DoFValue | _dof_values_dotdot |
| nodal values of u_dotdot More...
|
|
DoFValue | _dof_values_dot_old |
| nodal values of u_dot_old More...
|
|
DoFValue | _dof_values_dotdot_old |
| nodal values of u_dotdot_old More...
|
|
MooseArray< Number > | _dof_du_dot_du |
| nodal values of derivative of u_dot wrt u More...
|
|
MooseArray< Number > | _dof_du_dotdot_du |
| nodal values of derivative of u_dotdot wrt u More...
|
|
FieldVariableValue | _u |
| u More...
|
|
FieldVariableValue | _u_old |
|
FieldVariableValue | _u_older |
|
FieldVariableValue | _u_previous_nl |
|
FieldVariableGradient | _grad_u |
| grad_u More...
|
|
FieldVariableGradient | _grad_u_old |
|
FieldVariableGradient | _grad_u_older |
|
FieldVariableGradient | _grad_u_previous_nl |
|
FieldVariableGradient | _grad_u_dot |
| grad_u dots More...
|
|
FieldVariableGradient | _grad_u_dotdot |
|
FieldVariableSecond | _second_u |
| second_u More...
|
|
FieldVariableSecond | _second_u_old |
|
FieldVariableSecond | _second_u_older |
|
FieldVariableSecond | _second_u_previous_nl |
|
FieldVariableCurl | _curl_u |
| curl_u More...
|
|
FieldVariableCurl | _curl_u_old |
|
FieldVariableCurl | _curl_u_older |
|
VariableValueType< OutputShape, JACOBIAN >::type | _ad_u |
| AD u. More...
|
|
VariableGradientType< OutputShape, JACOBIAN >::type | _ad_grad_u |
|
VariableSecondType< OutputShape, JACOBIAN >::type | _ad_second_u |
|
MooseArray< DualReal > | _ad_dof_values |
|
MooseArray< DualReal > | _ad_dofs_dot |
|
VariableValueType< OutputShape, JACOBIAN >::type | _ad_u_dot |
|
FieldVariableValue | _u_dot |
| u_dot (time derivative) More...
|
|
FieldVariableValue | _u_dotdot |
| u_dotdot (second time derivative) More...
|
|
FieldVariableValue | _u_dotdot_bak |
|
FieldVariableValue | _u_dot_old |
| u_dot_old (time derivative) More...
|
|
FieldVariableValue | _u_dot_old_bak |
|
FieldVariableValue | _u_dotdot_old |
| u_dotdot_old (second time derivative) More...
|
|
FieldVariableValue | _u_dotdot_old_bak |
|
VariableValue | _du_dot_du |
| derivative of u_dot wrt u More...
|
|
VariableValue | _du_dotdot_du |
| derivative of u_dotdot wrt u More...
|
|
VariableValue | _du_dotdot_du_bak |
|
const QBase *const & | _qrule |
| The current qrule. More...
|
|
const QBase *const & | _qrule_face |
|
const FieldVariablePhiValue * | _phi |
|
const FieldVariablePhiGradient * | _grad_phi |
|
const FieldVariablePhiSecond * | _second_phi |
|
const FieldVariablePhiCurl * | _curl_phi |
|
MappedArrayVariablePhiGradient | _mapped_grad_phi |
|
MappedArrayVariablePhiGradient | _mapped_grad_phi_face |
|
MappedArrayVariablePhiGradient | _mapped_grad_phi_neighbor |
|
MappedArrayVariablePhiGradient | _mapped_grad_phi_face_neighbor |
|
const FieldVariablePhiValue * | _phi_face |
|
const FieldVariablePhiGradient * | _grad_phi_face |
|
const FieldVariablePhiSecond * | _second_phi_face |
|
const FieldVariablePhiCurl * | _curl_phi_face |
|
const VariableTestGradientType< OutputShape, JACOBIAN >::type * | _ad_grad_phi |
|
const VariableTestGradientType< OutputShape, JACOBIAN >::type * | _ad_grad_phi_face |
|
const QBase * | _current_qrule |
|
const FieldVariablePhiValue * | _current_phi |
|
const FieldVariablePhiGradient * | _current_grad_phi |
|
const FieldVariablePhiSecond * | _current_second_phi |
|
const FieldVariablePhiCurl * | _current_curl_phi |
|
const VariableTestGradientType< OutputShape, JACOBIAN >::type * | _current_ad_grad_phi |
|
std::function< const typename OutputTools< OutputType >::VariablePhiValue &(const Assembly &, FEType)> | _phi_assembly_method |
|
std::function< const typename OutputTools< OutputType >::VariablePhiValue &(const Assembly &, FEType)> | _phi_face_assembly_method |
|
std::function< const typename OutputTools< OutputType >::VariablePhiGradient &(const Assembly &, FEType)> | _grad_phi_assembly_method |
|
std::function< const typename OutputTools< OutputType >::VariablePhiGradient &(const Assembly &, FEType)> | _grad_phi_face_assembly_method |
|
std::function< const typename OutputTools< OutputType >::VariablePhiSecond &(const Assembly &, FEType)> | _second_phi_assembly_method |
|
std::function< const typename OutputTools< OutputType >::VariablePhiSecond &(const Assembly &, FEType)> | _second_phi_face_assembly_method |
|
std::function< const typename OutputTools< OutputType >::VariablePhiCurl &(const Assembly &, FEType)> | _curl_phi_assembly_method |
|
std::function< const typename OutputTools< OutputType >::VariablePhiCurl &(const Assembly &, FEType)> | _curl_phi_face_assembly_method |
|
std::function< const typename VariableTestGradientType< OutputType, ComputeStage::JACOBIAN >::type &(const Assembly &, FEType)> | _ad_grad_phi_assembly_method |
|
std::function< const typename VariableTestGradientType< OutputType, ComputeStage::JACOBIAN >::type &(const Assembly &, FEType)> | _ad_grad_phi_face_assembly_method |
|
const TimeIntegrator * | _time_integrator |
| Pointer to time integrator. More...
|
|
const Node *const & | _node |
| The current node. More...
|
|
const Elem *const & | _elem |
| The current elem. More...
|
|
const bool | _displaced |
| Whether this variable is being calculated on a displaced system. More...
|
|
const unsigned int & | _current_side |
| The current element side. More...
|
|
template<typename OutputType>
class MooseVariableData< OutputType >
Definition at line 62 of file MooseVariableData.h.
◆ DoFValue
template<typename OutputType>
◆ FieldVariableCurl
template<typename OutputType>
◆ FieldVariableDivergence
template<typename OutputType>
◆ FieldVariableGradient
template<typename OutputType>
◆ FieldVariablePhiCurl
template<typename OutputType>
◆ FieldVariablePhiDivergence
template<typename OutputType>
◆ FieldVariablePhiGradient
template<typename OutputType>
◆ FieldVariablePhiSecond
template<typename OutputType>
◆ FieldVariablePhiValue
template<typename OutputType>
◆ FieldVariableSecond
template<typename OutputType>
◆ FieldVariableTestCurl
template<typename OutputType>
◆ FieldVariableTestDivergence
template<typename OutputType>
◆ FieldVariableTestGradient
template<typename OutputType>
◆ FieldVariableTestSecond
template<typename OutputType>
◆ FieldVariableTestValue
template<typename OutputType>
◆ FieldVariableValue
template<typename OutputType>
◆ OutputData
template<typename OutputType>
◆ OutputDivergence
template<typename OutputType>
◆ OutputGradient
template<typename OutputType>
◆ OutputSecond
template<typename OutputType>
◆ OutputShape
template<typename OutputType>
◆ OutputShapeDivergence
template<typename OutputType>
◆ OutputShapeGradient
template<typename OutputType>
◆ OutputShapeSecond
template<typename OutputType>
◆ MooseVariableData()
template<typename OutputType>
◆ add() [1/2]
template<typename OutputType >
◆ add() [2/2]
◆ adDofValues() [1/5]
template<typename OutputType >
template<ComputeStage compute_stage>
◆ adDofValues() [2/5]
◆ adDofValues() [3/5]
◆ adDofValues() [4/5]
◆ adDofValues() [5/5]
◆ addSolution() [1/2]
template<typename OutputType>
void MooseVariableData< OutputType >::addSolution |
( |
NumericVector< Number > & |
sol, |
|
|
const DenseVector< Number > & |
v |
|
) |
| const |
◆ addSolution() [2/2]
template<>
void MooseVariableData< RealEigenVector >::addSolution |
( |
NumericVector< Number > & |
sol, |
|
|
const DenseVector< Number > & |
v |
|
) |
| const |
◆ adGradPhi() [1/3]
template<typename OutputType>
template<ComputeStage compute_stage>
◆ adGradPhi() [2/3]
◆ adGradPhi() [3/3]
◆ adGradPhiFace() [1/3]
template<typename OutputType>
template<ComputeStage compute_stage>
◆ adGradPhiFace() [2/3]
◆ adGradPhiFace() [3/3]
◆ adGradSln() [1/5]
template<typename OutputType>
template<ComputeStage compute_stage>
◆ adGradSln() [2/5]
◆ adGradSln() [3/5]
◆ adGradSln() [4/5]
◆ adGradSln() [5/5]
◆ adNodalValue() [1/5]
template<typename OutputType >
template<ComputeStage compute_stage>
◆ adNodalValue() [2/5]
◆ adNodalValue() [3/5]
◆ adNodalValue() [4/5]
◆ adNodalValue() [5/5]
◆ adSecondSln() [1/5]
template<typename OutputType>
template<ComputeStage compute_stage>
◆ adSecondSln() [2/5]
◆ adSecondSln() [3/5]
◆ adSecondSln() [4/5]
◆ adSecondSln() [5/5]
◆ adSln() [1/5]
template<typename OutputType>
template<ComputeStage compute_stage>
◆ adSln() [2/5]
◆ adSln() [3/5]
◆ adSln() [4/5]
◆ adSln() [5/5]
◆ adUDot() [1/5]
template<typename OutputType>
template<ComputeStage compute_stage>
◆ adUDot() [2/5]
◆ adUDot() [3/5]
◆ adUDot() [4/5]
◆ adUDot() [5/5]
◆ arrayGradPhi()
template<typename OutputType>
◆ arrayGradPhiFace()
template<typename OutputType>
◆ assignADNodalValue() [1/3]
◆ assignADNodalValue() [2/3]
template<typename OutputType>
Helper methods for assigning nodal values from their corresponding solution values (dof values as they're referred to here in this class).
These methods are only truly meaningful for nodal basis families
◆ assignADNodalValue() [3/3]
◆ assignNodalValue() [1/2]
template<typename OutputType >
◆ assignNodalValue() [2/2]
Definition at line 2455 of file MooseVariableData.C.
2462 for (decltype(
n) i = 0; i <
n; ++i)
2468 for (decltype(
n) i = 0; i <
n; ++i)
2471 for (decltype(
n) i = 0; i <
n; ++i)
2474 for (decltype(
n) i = 0; i <
n; ++i)
2477 for (decltype(
n) i = 0; i <
n; ++i)
2480 for (decltype(
n) i = 0; i <
n; ++i)
2483 for (decltype(
n) i = 0; i <
n; ++i)
2487 for (decltype(
n) i = 0; i <
n; ++i)
◆ clearDofIndices()
template<typename OutputType>
◆ computeAD() [1/2]
template<typename OutputType >
void MooseVariableData< OutputType >::computeAD |
( |
const unsigned int |
num_dofs, |
|
|
const unsigned int |
nqp |
|
) |
| |
compute AD things
Definition at line 1282 of file MooseVariableData.C.
1328 "Unsupported element type ",
1332 "Either this is the zeroth variable or we should have an offset");
1334 #ifndef MOOSE_SPARSE_AD
1335 if (ad_offset + num_dofs > MOOSE_AD_MAX_DOFS_PER_ELEM)
1336 mooseError(
"Current number of dofs per element ",
1337 ad_offset + num_dofs,
1338 " is greater than AD_MAX_DOFS_PER_ELEM of ",
1339 MOOSE_AD_MAX_DOFS_PER_ELEM,
1340 ". You can run `configure --with-derivative-size=<n>` to request a larger "
1341 "derivative container.");
1344 for (
unsigned int qp = 0; qp < nqp; qp++)
1359 for (
unsigned int i = 0; i < num_dofs; i++)
1375 for (
unsigned int i = 0; i < num_dofs; i++)
1377 for (
unsigned int qp = 0; qp < nqp; qp++)
1404 for (MooseIndex(nqp) qp = 0; qp < nqp; ++qp)
◆ computeAD() [2/2]
template<>
void MooseVariableData< RealEigenVector >::computeAD |
( |
const unsigned int |
, |
|
|
const unsigned int |
|
|
) |
| |
◆ computeIncrementAtNode() [1/2]
template<typename OutputType >
void MooseVariableData< OutputType >::computeIncrementAtNode |
( |
const NumericVector< Number > & |
increment_vec | ) |
|
Compute and store incremental change at the current node based on increment_vec.
Definition at line 1876 of file MooseVariableData.C.
1879 mooseError(
"computeIncrementAtNode can only be called for nodal variables");
◆ computeIncrementAtNode() [2/2]
template<>
void MooseVariableData< RealEigenVector >::computeIncrementAtNode |
( |
const NumericVector< Number > & |
increment_vec | ) |
|
Definition at line 1889 of file MooseVariableData.C.
1893 mooseError(
"computeIncrementAtNode can only be called for nodal variables");
1899 for (
unsigned int j = 0; j <
_count; j++)
1904 for (
unsigned int j = 0; j <
_count; j++)
◆ computeIncrementAtQps() [1/2]
template<typename OutputType >
void MooseVariableData< OutputType >::computeIncrementAtQps |
( |
const NumericVector< Number > & |
increment_vec | ) |
|
Compute and store incremental change in solution at QPs based on increment_vec.
Definition at line 1825 of file MooseVariableData.C.
1827 unsigned int nqp =
_qrule->n_points();
1832 for (
unsigned int qp = 0; qp < nqp; qp++)
1835 for (
unsigned int i = 0; i < num_dofs; i++)
◆ computeIncrementAtQps() [2/2]
template<>
void MooseVariableData< RealEigenVector >::computeIncrementAtQps |
( |
const NumericVector< Number > & |
increment_vec | ) |
|
Definition at line 1842 of file MooseVariableData.C.
1845 unsigned int nqp =
_qrule->n_points();
1852 for (
unsigned int qp = 0; qp < nqp; qp++)
1854 for (
unsigned int i = 0; i < num_dofs; i++)
1855 for (
unsigned int j = 0; j <
_count; j++)
1861 for (
unsigned int qp = 0; qp < nqp; qp++)
1864 for (
unsigned int j = 0; j <
_count; j++)
1865 for (
unsigned int i = 0; i < num_dofs; i++)
◆ computeMonomialValues() [1/2]
template<typename OutputType >
compute the values for const monomial variables
Definition at line 1066 of file MooseVariableData.C.
1153 Real soln_older = 0;
1154 Real soln_previous_nl = 0;
1158 Real u_dotdot_old = 0;
1202 auto phi = (*_current_phi)[0][0];
1236 for (
unsigned qp = 1; qp < nqp; ++qp)
◆ computeMonomialValues() [2/2]
◆ computeNodalValues()
template<typename OutputType >
◆ computeValues() [1/2]
template<typename OutputType >
compute the variable values
Definition at line 471 of file MooseVariableData.C.
480 auto && active_coupleable_vector_tags =
482 auto && active_coupleable_matrix_tags =
488 for (
auto tag : active_coupleable_vector_tags)
492 for (
auto tag : active_coupleable_matrix_tags)
559 for (
unsigned int i = 0; i < nqp; ++i)
564 for (
auto tag : active_coupleable_vector_tags)
568 for (
auto tag : active_coupleable_matrix_tags)
636 bool second_required =
640 for (
unsigned int i = 0; i < num_dofs; i++)
642 for (
unsigned int qp = 0; qp < nqp; qp++)
644 const OutputType phi_local = (*_current_phi)[i][qp];
694 "We're requiring a second calculation but have not set a second shape function!");
696 (*_current_second_phi)[i][qp];
717 "We're requiring a curl calculation but have not set a curl shape function!");
718 const OutputType curl_phi_local = (*_current_curl_phi)[i][qp];
727 for (
auto tag : active_coupleable_vector_tags)
731 for (
auto tag : active_coupleable_matrix_tags)
◆ computeValues() [2/2]
Definition at line 750 of file MooseVariableData.C.
759 auto && active_coupleable_vector_tags =
761 auto && active_coupleable_matrix_tags =
768 for (
unsigned int i = 0; i < num_dofs; i++)
771 for (
unsigned int qp = 0; qp < nqp; qp++)
780 for (
unsigned int i = 0; i < num_dofs; i++)
783 for (
unsigned int qp = 0; qp < nqp; qp++)
793 for (
auto tag : active_coupleable_vector_tags)
797 for (
auto tag : active_coupleable_matrix_tags)
864 for (
unsigned int i = 0; i < nqp; ++i)
869 for (
auto tag : active_coupleable_vector_tags)
873 for (
auto tag : active_coupleable_matrix_tags)
941 bool second_required =
945 for (
unsigned int i = 0; i < num_dofs; i++)
947 for (
unsigned int qp = 0; qp < nqp; qp++)
949 const OutputShape phi_local = (*_current_phi)[i][qp];
954 for (
unsigned int d = 0; d < LIBMESH_DIM; ++d)
966 for (
unsigned int d = 0; d < LIBMESH_DIM; ++d)
970 for (
unsigned int d = 0; d < LIBMESH_DIM; ++d)
986 for (
unsigned int d = 0; d < LIBMESH_DIM; ++d)
990 for (
unsigned int d = 0; d < LIBMESH_DIM; ++d)
1000 if (second_required)
1004 "We're requiring a second calculation but have not set a second shape function!");
1008 for (
unsigned int d = 0, d1 = 0; d1 < LIBMESH_DIM; ++d1)
1009 for (
unsigned int d2 = 0; d2 < LIBMESH_DIM; ++d2)
1013 for (
unsigned int d = 0, d1 = 0; d1 < LIBMESH_DIM; ++d1)
1014 for (
unsigned int d2 = 0; d2 < LIBMESH_DIM; ++d2)
1021 for (
unsigned int d = 0, d1 = 0; d1 < LIBMESH_DIM; ++d1)
1022 for (
unsigned int d2 = 0; d2 < LIBMESH_DIM; ++d2)
1026 for (
unsigned int d = 0, d1 = 0; d1 < LIBMESH_DIM; ++d1)
1027 for (
unsigned int d2 = 0; d2 < LIBMESH_DIM; ++d2)
1035 "We're requiring a curl calculation but have not set a curl shape function!");
1036 const auto curl_phi_local = (*_current_curl_phi)[i][qp];
1045 for (
auto tag : active_coupleable_vector_tags)
1049 for (
auto tag : active_coupleable_matrix_tags)
1057 for (
unsigned int d = 0; d < LIBMESH_DIM; ++d)
◆ computingCurl()
template<typename OutputType>
◆ curlPhi()
template<typename OutputType >
◆ curlPhiFace()
template<typename OutputType >
◆ curlSln()
template<typename OutputType >
Local solution curl getter.
- Parameters
-
state | The state of the simulation: current, old, older |
Definition at line 408 of file MooseVariableData.C.
433 mooseError(
"We don't currently support curl from the previous non-linear iteration");
◆ currentElem()
template<typename OutputType>
◆ currentSide()
template<typename OutputType>
◆ dofIndices()
template<typename OutputType>
const std::vector<dof_id_type>& MooseVariableData< OutputType >::dofIndices |
( |
| ) |
const |
|
inline |
◆ dofValues()
template<typename OutputType >
◆ dofValuesDot()
template<typename OutputType >
Definition at line 1750 of file MooseVariableData.C.
1758 mooseError(
"MooseVariableData: Time derivative of solution (`u_dot`) is not stored. Please set "
1759 "uDotRequested() to true in FEProblemBase before requesting `u_dot`.");
◆ dofValuesDotDot()
template<typename OutputType >
Definition at line 1764 of file MooseVariableData.C.
1772 mooseError(
"MooseVariableData: Second time derivative of solution (`u_dotdot`) is not stored. "
1773 "Please set uDotDotRequested() to true in FEProblemBase before requesting "
◆ dofValuesDotDotOld()
template<typename OutputType >
Definition at line 1794 of file MooseVariableData.C.
1802 mooseError(
"MooseVariableData: Old second time derivative of solution (`u_dotdot_old`) is not "
1803 "stored. Please set uDotDotOldRequested() to true in FEProblemBase before "
1804 "requesting `u_dotdot_old`.");
◆ dofValuesDotOld()
template<typename OutputType >
Definition at line 1779 of file MooseVariableData.C.
1787 mooseError(
"MooseVariableData: Old time derivative of solution (`u_dot_old`) is not stored. "
1788 "Please set uDotOldRequested() to true in FEProblemBase before requesting "
◆ dofValuesDuDotDotDu()
template<typename OutputType >
◆ dofValuesDuDotDu()
template<typename OutputType >
◆ dofValuesOld()
template<typename OutputType >
◆ dofValuesOlder()
template<typename OutputType >
◆ dofValuesPreviousNL()
template<typename OutputType >
◆ duDotDotDu()
template<typename OutputType>
◆ duDotDu()
template<typename OutputType>
◆ fetchADDoFValues() [1/2]
template<typename OutputType >
◆ fetchADDoFValues() [2/2]
◆ fetchDoFValues() [1/3]
template<typename OutputType >
Definition at line 2144 of file MooseVariableData.C.
2201 auto & active_coupleable_vector_tags =
2203 for (
auto tag : active_coupleable_vector_tags)
2215 auto & active_coupleable_matrix_tags =
2217 for (
auto tag : active_coupleable_matrix_tags)
2224 for (
unsigned i = 0; i <
n; i++)
2226 Threads::spin_mutex::scoped_lock lock(Threads::spin_mtx);
2236 for (decltype(
n) i = 0; i <
n; ++i)
2242 for (decltype(
n) i = 0; i <
n; ++i)
◆ fetchDoFValues() [2/3]
◆ fetchDoFValues() [3/3]
Definition at line 2249 of file MooseVariableData.C.
2297 auto & active_coupleable_vector_tags =
2299 for (
auto tag : active_coupleable_vector_tags)
2307 auto & active_coupleable_matrix_tags =
2309 for (
auto tag : active_coupleable_matrix_tags)
2316 for (
unsigned i = 0; i <
n; i++)
2318 Threads::spin_mutex::scoped_lock lock(Threads::spin_mtx);
2319 for (
unsigned j = 0; j <
_count; j++)
2329 for (decltype(
n) i = 0; i <
n; ++i)
2335 for (decltype(
n) i = 0; i <
n; ++i)
◆ getArrayDoFValues()
template<typename OutputType >
void MooseVariableData< OutputType >::getArrayDoFValues |
( |
const NumericVector< Number > & |
sol, |
|
|
unsigned int |
n, |
|
|
MooseArray< RealEigenVector > & |
dof_values |
|
) |
| const |
|
inlineprivate |
Definition at line 2387 of file MooseVariableData.C.
2394 for (
unsigned int i = 0; i <
n; ++i)
2398 for (
unsigned int j = 0; j <
_count; ++j)
2399 dof_values[i](j) = sol(dof++);
2404 for (
unsigned int i = 0; i <
n; ++i)
2408 for (
unsigned int j = 0; j <
_count; ++j)
2410 dof_values[i](j) = sol(dof);
◆ getDofIndices()
template<typename OutputType >
void MooseVariableData< OutputType >::getDofIndices |
( |
const Elem * |
elem, |
|
|
std::vector< dof_id_type > & |
dof_indices |
|
) |
| const |
◆ getElementalValue() [1/2]
Definition at line 1586 of file MooseVariableData.C.
1590 std::vector<dof_id_type> dof_indices;
1593 dof_id_type dof = dof_indices[idx];
1600 for (
unsigned int i = 0; i <
_count; ++i)
1605 for (
unsigned int i = 0; i <
_count; ++i)
1610 for (
unsigned int i = 0; i <
_count; ++i)
1615 mooseError(
"PreviousNL not currently supported for getElementalValue");
◆ getElementalValue() [2/2]
template<typename OutputType >
Definition at line 1561 of file MooseVariableData.C.
1565 std::vector<dof_id_type> dof_indices;
1580 mooseError(
"PreviousNL not currently supported for getElementalValue");
◆ getNodalValue() [1/2]
template<typename OutputType >
Definition at line 1490 of file MooseVariableData.C.
1498 "Node " <<
node.id() <<
" does not contain any dofs for the "
1515 mooseError(
"PreviousNL not currently supported for getNodalValue");
◆ getNodalValue() [2/2]
Definition at line 1521 of file MooseVariableData.C.
1530 "Node " <<
node.id() <<
" does not contain any dofs for the "
1539 for (
unsigned int i = 0; i <
_count; ++i)
1544 for (
unsigned int i = 0; i <
_count; ++i)
1549 for (
unsigned int i = 0; i <
_count; ++i)
1554 mooseError(
"PreviousNL not currently supported for getNodalValue");
◆ gradPhi()
template<typename OutputType>
◆ gradPhiFace()
template<typename OutputType>
◆ gradSln()
template<typename OutputType >
Local solution gradient getter.
- Parameters
-
state | The state of the simulation: current, old, older, previous nl |
Definition at line 306 of file MooseVariableData.C.
◆ gradSlnDot()
template<typename OutputType >
Local time derivative of solution gradient getter.
Definition at line 340 of file MooseVariableData.C.
348 mooseError(
"MooseVariableFE: Time derivative of solution (`u_dot`) is not stored. Please set "
349 "uDotRequested() to true in FEProblemBase before requesting `u_dot`.");
◆ gradSlnDotDot()
template<typename OutputType >
Local second time derivative of solution gradient getter.
Definition at line 354 of file MooseVariableData.C.
362 mooseError(
"MooseVariableFE: Second time derivative of solution (`u_dotdot`) is not stored. "
363 "Please set uDotDotRequested() to true in FEProblemBase before requesting "
◆ hasDofValues()
template<typename OutputType>
setter of _has_dof_values
- Parameters
-
has_dof_values | The boolean value we are setting _has_dof_values to |
Definition at line 407 of file MooseVariableData.h.
◆ increment()
template<typename OutputType>
◆ insert() [1/2]
template<typename OutputType >
◆ insert() [2/2]
template<>
void MooseVariableData< RealEigenVector >::insert |
( |
NumericVector< Number > & |
residual | ) |
|
◆ insertNodalValue() [1/2]
template<typename OutputType >
◆ insertNodalValue() [2/2]
template<>
void MooseVariableData< RealEigenVector >::insertNodalValue |
( |
NumericVector< Number > & |
residual, |
|
|
const RealEigenVector & |
v |
|
) |
| |
◆ isNodal()
template<typename OutputType>
◆ isNodalDefined()
template<typename OutputType>
◆ matrixTagValue()
template<typename OutputType>
◆ needsAD()
template<typename OutputType>
Returns whether this data structure needs automatic differentiation calculations.
Definition at line 116 of file MooseVariableData.h.
◆ nodalDofIndex()
template<typename OutputType>
◆ nodalMatrixTagValue()
template<typename OutputType >
Definition at line 2122 of file MooseVariableData.C.
2131 mooseError(
"Tag is not associated with any matrix or there is no any data for tag ",
2133 " for nodal variable ",
2137 mooseError(
"Nodal values can be requested only on nodal variables, variable '",
◆ nodalValue()
template<typename OutputType >
◆ nodalValueArray()
template<typename OutputType >
◆ nodalValueDot()
template<typename OutputType >
Definition at line 1994 of file MooseVariableData.C.
2005 "MooseVariableData: Time derivative of solution (`u_dot`) is not stored. Please set "
2006 "uDotRequested() to true in FEProblemBase before requesting `u_dot`.");
2009 mooseError(
"Nodal values can be requested only on nodal variables, variable '",
◆ nodalValueDotDot()
template<typename OutputType >
Definition at line 2016 of file MooseVariableData.C.
2027 "MooseVariableData: Second time derivative of solution (`u_dotdot`) is not stored. "
2028 "Please set uDotDotRequested() to true in FEProblemBase before requesting "
2032 mooseError(
"Nodal values can be requested only on nodal variables, variable '",
◆ nodalValueDotDotOld()
template<typename OutputType >
Definition at line 2061 of file MooseVariableData.C.
2072 "MooseVariableData: Old second time derivative of solution (`u_dotdot_old`) is not "
2073 "stored. Please set uDotDotOldRequested() to true in FEProblemBase before "
2074 "requesting `u_dotdot_old`.");
2077 mooseError(
"Nodal values can be requested only on nodal variables, variable '",
◆ nodalValueDotOld()
template<typename OutputType >
Definition at line 2039 of file MooseVariableData.C.
2049 mooseError(
"MooseVariableData: Old time derivative of solution (`u_dot_old`) is not stored. "
2050 "Please set uDotOldRequested() to true in FEProblemBase before requesting "
2054 mooseError(
"Nodal values can be requested only on nodal variables, variable '",
◆ nodalValueDuDotDotDu()
template<typename OutputType>
◆ nodalValueDuDotDu()
template<typename OutputType>
◆ nodalVectorTagValue()
template<typename OutputType >
Definition at line 2100 of file MooseVariableData.C.
2109 mooseError(
"Tag is not associated with any vector or there is no any data for tag ",
2111 " for nodal variable ",
2115 mooseError(
"Nodal values can be requested only on nodal variables, variable '",
◆ node()
template<typename OutputType>
◆ numberOfDofs()
template<typename OutputType>
◆ phi()
template<typename OutputType>
◆ phiFace()
template<typename OutputType>
◆ phiFaceSize()
template<typename OutputType>
◆ phiSize()
template<typename OutputType>
◆ prepare()
template<typename OutputType >
◆ prepareAux()
template<typename OutputType >
Prepare dof indices and solution values for elemental auxiliary variables.
Definition at line 2534 of file MooseVariableData.C.
◆ prepareIC()
template<typename OutputType >
◆ reinitAux()
template<typename OutputType >
Prepare dof indices and solution values for elemental auxiliary variables.
Definition at line 2562 of file MooseVariableData.C.
◆ reinitNode()
template<typename OutputType >
Prepare degrees of freedom for the current node.
Definition at line 2541 of file MooseVariableData.C.
2546 for (
size_t i = 0; i < n_dofs; ++i)
◆ reinitNodes()
template<typename OutputType >
void MooseVariableData< OutputType >::reinitNodes |
( |
const std::vector< dof_id_type > & |
nodes | ) |
|
Set _dof_indices to the degrees of freedom existing on the passed-in nodes.
- Parameters
-
nodes | The nodes to grab the degrees of freedom for |
Definition at line 2593 of file MooseVariableData.C.
2596 for (
const auto & node_id : nodes)
◆ secondPhi()
template<typename OutputType >
◆ secondPhiFace()
template<typename OutputType >
◆ secondSln()
template<typename OutputType >
Local solution second spatial derivative getter.
- Parameters
-
state | The state of the simulation: current, old, older, previous nl |
Definition at line 369 of file MooseVariableData.C.
◆ setDofValue()
template<typename OutputType >
◆ setDofValues()
template<typename OutputType>
Set local DOF values and evaluate the values on quadrature points.
Definition at line 1456 of file MooseVariableData.C.
1458 for (
unsigned int i = 0; i < values.size(); i++)
1463 for (
unsigned int qp = 0; qp <
_u.
size(); qp++)
◆ setGeometry()
template<typename OutputType >
Set the geometry type before calculating variables values.
- Parameters
-
gm_type | The type type of geometry; either Volume or Face |
Definition at line 184 of file MooseVariableData.C.
◆ setNodalValue() [1/2]
template<typename OutputType>
void MooseVariableData< OutputType >::setNodalValue |
( |
const OutputType & |
value, |
|
|
unsigned int |
idx = 0 |
|
) |
| |
◆ setNodalValue() [2/2]
template<>
void MooseVariableData< RealVectorValue >::setNodalValue |
( |
const RealVectorValue & |
value, |
|
|
unsigned int |
idx |
|
) |
| |
◆ sln()
template<typename OutputType >
Local solution getter.
- Parameters
-
state | The state of the simulation: current, old, older, previous nl |
Definition at line 213 of file MooseVariableData.C.
◆ uDot()
template<typename OutputType >
Definition at line 247 of file MooseVariableData.C.
255 mooseError(
"MooseVariableFE: Time derivative of solution (`u_dot`) is not stored. Please set "
256 "uDotRequested() to true in FEProblemBase before requesting `u_dot`.");
◆ uDotDot()
template<typename OutputType >
Definition at line 261 of file MooseVariableData.C.
269 mooseError(
"MooseVariableFE: Second time derivative of solution (`u_dotdot`) is not stored. "
270 "Please set uDotDotRequested() to true in FEProblemBase before requesting "
◆ uDotDotOld()
template<typename OutputType >
Definition at line 291 of file MooseVariableData.C.
299 mooseError(
"MooseVariableFE: Old second time derivative of solution (`u_dotdot_old`) is not "
300 "stored. Please set uDotDotOldRequested() to true in FEProblemBase before "
301 "requesting `u_dotdot_old`");
◆ uDotOld()
template<typename OutputType >
Definition at line 276 of file MooseVariableData.C.
284 mooseError(
"MooseVariableFE: Old time derivative of solution (`u_dot_old`) is not stored. "
285 "Please set uDotOldRequested() to true in FEProblemBase before requesting "
◆ usesSecondPhi()
template<typename OutputType>
Whether or not this variable is computing any second derivatives.
Definition at line 237 of file MooseVariableData.h.
◆ vectorTagValue()
template<typename OutputType>
◆ zeroSizeDofValues()
template<typename OutputType >
◆ _ad_dof_values
template<typename OutputType>
◆ _ad_dofs_dot
template<typename OutputType>
◆ _ad_grad_phi
template<typename OutputType>
◆ _ad_grad_phi_assembly_method
template<typename OutputType>
◆ _ad_grad_phi_face
template<typename OutputType>
◆ _ad_grad_phi_face_assembly_method
template<typename OutputType>
◆ _ad_grad_u
template<typename OutputType>
◆ _ad_nodal_value
template<typename OutputType>
◆ _ad_second_u
template<typename OutputType>
◆ _ad_u
template<typename OutputType>
◆ _ad_u_dot
template<typename OutputType>
◆ _ad_zero
template<typename OutputType>
◆ _assembly
template<typename OutputType>
◆ _continuity
template<typename OutputType>
◆ _count
template<typename OutputType>
◆ _curl_phi
template<typename OutputType>
◆ _curl_phi_assembly_method
template<typename OutputType>
◆ _curl_phi_face
template<typename OutputType>
◆ _curl_phi_face_assembly_method
template<typename OutputType>
◆ _curl_u
template<typename OutputType>
◆ _curl_u_old
template<typename OutputType>
◆ _curl_u_older
template<typename OutputType>
◆ _current_ad_grad_phi
template<typename OutputType>
◆ _current_curl_phi
template<typename OutputType>
◆ _current_grad_phi
template<typename OutputType>
◆ _current_phi
template<typename OutputType>
◆ _current_qrule
template<typename OutputType>
◆ _current_second_phi
template<typename OutputType>
◆ _current_side
template<typename OutputType>
◆ _displaced
template<typename OutputType>
Whether this variable is being calculated on a displaced system.
Definition at line 795 of file MooseVariableData.h.
◆ _dof_du_dot_du
template<typename OutputType>
◆ _dof_du_dotdot_du
template<typename OutputType>
◆ _dof_indices
template<typename OutputType>
◆ _dof_map
template<typename OutputType>
◆ _dof_values
template<typename OutputType>
◆ _dof_values_dot
template<typename OutputType>
◆ _dof_values_dot_old
template<typename OutputType>
◆ _dof_values_dotdot
template<typename OutputType>
◆ _dof_values_dotdot_old
template<typename OutputType>
◆ _dof_values_old
template<typename OutputType>
◆ _dof_values_older
template<typename OutputType>
◆ _dof_values_previous_nl
template<typename OutputType>
◆ _du_dot_du
template<typename OutputType>
◆ _du_dotdot_du
template<typename OutputType>
◆ _du_dotdot_du_bak
template<typename OutputType>
◆ _elem
template<typename OutputType>
◆ _element_type
template<typename OutputType>
◆ _fe_type
template<typename OutputType>
◆ _grad_phi
template<typename OutputType>
◆ _grad_phi_assembly_method
template<typename OutputType>
◆ _grad_phi_face
template<typename OutputType>
◆ _grad_phi_face_assembly_method
template<typename OutputType>
◆ _grad_u
template<typename OutputType>
◆ _grad_u_dot
template<typename OutputType>
◆ _grad_u_dotdot
template<typename OutputType>
◆ _grad_u_old
template<typename OutputType>
◆ _grad_u_older
template<typename OutputType>
◆ _grad_u_previous_nl
template<typename OutputType>
◆ _has_dof_indices
template<typename OutputType>
◆ _has_dof_values
template<typename OutputType>
◆ _increment
template<typename OutputType>
◆ _is_nodal
template<typename OutputType>
◆ _mapped_grad_phi
template<typename OutputType>
◆ _mapped_grad_phi_face
template<typename OutputType>
◆ _mapped_grad_phi_face_neighbor
template<typename OutputType>
◆ _mapped_grad_phi_neighbor
template<typename OutputType>
◆ _matrix_tag_u
template<typename OutputType>
◆ _matrix_tags_dof_u
template<typename OutputType>
◆ _need_ad
template<typename OutputType>
◆ _need_ad_grad_u
template<typename OutputType>
◆ _need_ad_second_u
template<typename OutputType>
◆ _need_ad_u
template<typename OutputType>
◆ _need_ad_u_dot
template<typename OutputType>
◆ _need_curl
template<typename OutputType>
◆ _need_curl_old
template<typename OutputType>
◆ _need_curl_older
template<typename OutputType>
◆ _need_dof_du_dot_du
template<typename OutputType>
◆ _need_dof_du_dotdot_du
template<typename OutputType>
◆ _need_dof_values
template<typename OutputType>
◆ _need_dof_values_dot
template<typename OutputType>
◆ _need_dof_values_dot_old
template<typename OutputType>
◆ _need_dof_values_dotdot
template<typename OutputType>
◆ _need_dof_values_dotdot_old
template<typename OutputType>
◆ _need_dof_values_old
template<typename OutputType>
◆ _need_dof_values_older
template<typename OutputType>
◆ _need_dof_values_previous_nl
template<typename OutputType>
◆ _need_du_dot_du
template<typename OutputType>
◆ _need_du_dotdot_du
template<typename OutputType>
◆ _need_grad_dot
template<typename OutputType>
◆ _need_grad_dotdot
template<typename OutputType>
◆ _need_grad_old
template<typename OutputType>
◆ _need_grad_older
template<typename OutputType>
◆ _need_grad_previous_nl
template<typename OutputType>
◆ _need_matrix_tag_dof_u
template<typename OutputType>
◆ _need_matrix_tag_u
template<typename OutputType>
◆ _need_second
template<typename OutputType>
◆ _need_second_old
template<typename OutputType>
◆ _need_second_older
template<typename OutputType>
◆ _need_second_previous_nl
template<typename OutputType>
◆ _need_u_dot
template<typename OutputType>
◆ _need_u_dot_old
template<typename OutputType>
◆ _need_u_dotdot
template<typename OutputType>
◆ _need_u_dotdot_old
template<typename OutputType>
◆ _need_u_old
template<typename OutputType>
◆ _need_u_older
template<typename OutputType>
◆ _need_u_previous_nl
template<typename OutputType>
◆ _need_vector_tag_dof_u
template<typename OutputType>
◆ _need_vector_tag_u
template<typename OutputType>
◆ _nodal_dof_index
template<typename OutputType>
◆ _nodal_value
template<typename OutputType>
◆ _nodal_value_array
template<typename OutputType>
◆ _nodal_value_dot
template<typename OutputType>
◆ _nodal_value_dot_old
template<typename OutputType>
◆ _nodal_value_dotdot
template<typename OutputType>
◆ _nodal_value_dotdot_old
template<typename OutputType>
◆ _nodal_value_old
template<typename OutputType>
◆ _nodal_value_old_array
template<typename OutputType>
◆ _nodal_value_older
template<typename OutputType>
◆ _nodal_value_older_array
template<typename OutputType>
◆ _nodal_value_previous_nl
template<typename OutputType>
◆ _node
template<typename OutputType>
The current node.
This has to be a reference because the current node will be constantly changing. If we initialized this to point to one node, then in the next calculation we would be pointing to the wrong place!
Definition at line 787 of file MooseVariableData.h.
Referenced by MooseVariableData< OutputType >::node().
◆ _phi
template<typename OutputType>
◆ _phi_assembly_method
template<typename OutputType>
◆ _phi_face
template<typename OutputType>
◆ _phi_face_assembly_method
template<typename OutputType>
◆ _qrule
template<typename OutputType>
The current qrule.
This has to be a reference because the current qrule will be constantly changing. If we initialized this to point to one qrule, then in the next calculation we would be pointing to the wrong place!
Definition at line 717 of file MooseVariableData.h.
◆ _qrule_face
template<typename OutputType>
◆ _second_phi
template<typename OutputType>
◆ _second_phi_assembly_method
template<typename OutputType>
◆ _second_phi_face
template<typename OutputType>
◆ _second_phi_face_assembly_method
template<typename OutputType>
◆ _second_u
template<typename OutputType>
◆ _second_u_old
template<typename OutputType>
◆ _second_u_older
template<typename OutputType>
◆ _second_u_previous_nl
template<typename OutputType>
◆ _subproblem
template<typename OutputType>
◆ _sys
template<typename OutputType>
◆ _tid
template<typename OutputType>
◆ _time_integrator
template<typename OutputType>
◆ _u
template<typename OutputType>
◆ _u_dot
template<typename OutputType>
◆ _u_dot_old
template<typename OutputType>
◆ _u_dot_old_bak
template<typename OutputType>
◆ _u_dotdot
template<typename OutputType>
◆ _u_dotdot_bak
template<typename OutputType>
◆ _u_dotdot_old
template<typename OutputType>
◆ _u_dotdot_old_bak
template<typename OutputType>
◆ _u_old
template<typename OutputType>
◆ _u_older
template<typename OutputType>
◆ _u_previous_nl
template<typename OutputType>
◆ _var
template<typename OutputType>
◆ _var_num
template<typename OutputType>
◆ _vector_tag_u
template<typename OutputType>
◆ _vector_tags_dof_u
template<typename OutputType>
The documentation for this class was generated from the following files:
FieldVariableGradient _grad_u_older
dof_id_type _nodal_dof_index
The dof index for the current node.
std::vector< bool > _need_matrix_tag_dof_u
virtual void computeADTimeDerivatives(DualReal &ad_u_dot, const dof_id_type &dof) const =0
method for computing local automatic differentiation time derivatives
const FieldVariableValue & uDot() const
virtual SparseMatrix< Number > & getMatrix(TagID tag)
Get a raw SparseMatrix.
bool _need_dof_values_previous_nl
const QBase *const & _qrule
The current qrule.
FieldVariableValue _u_previous_nl
MooseArray< DualReal > _ad_dofs_dot
virtual MooseMesh & mesh()
FieldVariableSecond _second_u_older
FieldVariableGradient _grad_u_previous_nl
FieldVariableSecond _second_u_previous_nl
std::function< const typename VariableTestGradientType< OutputType, ComputeStage::JACOBIAN >::type &(const Assembly &, FEType)> _ad_grad_phi_face_assembly_method
DoFValue _dof_values_previous_nl
const FieldVariablePhiGradient * _grad_phi_face
const FEBase *const & getFE(FEType type, unsigned int dim) const
Get a reference to a pointer that will contain the current volume FE.
const VariableTestGradientType< OutputShape, JACOBIAN >::type * _ad_grad_phi
FieldVariableCurl _curl_u_older
TensorTools::IncrementRank< OutputShape >::type OutputShapeGradient
virtual NumericVector< Number > * solutionPreviousNewton()=0
bool isSemiLocal(Node *const node) const
Returns true if the node is semi-local.
const unsigned int & side() const
Returns the current side.
bool _is_nodal
if variable is nodal
OutputType _nodal_value_dot
nodal values of u_dot
VariableValue _du_dotdot_du
derivative of u_dotdot wrt u
std::function< const typename VariableTestGradientType< OutputType, ComputeStage::JACOBIAN >::type &(const Assembly &, FEType)> _ad_grad_phi_assembly_method
bool hasVector(const std::string &tag_name) const
Check if the named vector exists in the system.
const FieldVariablePhiValue * _current_phi
const FieldVariablePhiCurl * _curl_phi_face
std::vector< bool > _need_vector_tag_u
virtual bool isTransient() const =0
std::function< const typename OutputTools< OutputType >::VariablePhiGradient &(const Assembly &, FEType)> _grad_phi_assembly_method
virtual const bool & currentlyComputingJacobian() const
Returns true if the problem is in the process of computing Jacobian.
MooseArray< Number > _dof_du_dotdot_du
nodal values of derivative of u_dotdot wrt u
virtual DofMap & dofMap()
Gets writeable reference to the dof map.
const unsigned int _var_num
const FieldVariablePhiValue & phi() const
phi getter
bool _need_dof_values_dotdot
std::vector< bool > _need_vector_tag_dof_u
const FieldVariablePhiGradient * _grad_phi
virtual Number & duDotDotDu()
const VariableTestGradientType< OutputShape, JACOBIAN >::type * _current_ad_grad_phi
std::vector< FieldVariableValue > _matrix_tag_u
virtual System & system()=0
Get the reference to the libMesh system.
OutputType _nodal_value_dotdot
nodal values of u_dotdot
virtual NumericVector< Number > * solutionUDotDotOld()=0
virtual bool matrixTagActive(TagID tag) const
If or not a matrix tag is active.
bool _need_dof_values_dot
std::function< const typename OutputTools< OutputType >::VariablePhiSecond &(const Assembly &, FEType)> _second_phi_face_assembly_method
virtual bool hasMatrix(TagID tag) const
Check if the tagged matrix exists in the system.
const QBase *const & _qrule_face
const FieldVariablePhiSecond * _second_phi
std::vector< bool > _need_matrix_tag_u
virtual unsigned int numMatrixTags() const
The total number of tags.
std::function< const typename OutputTools< OutputType >::VariablePhiCurl &(const Assembly &, FEType)> _curl_phi_face_assembly_method
bool _need_dof_values
local solution flags
const FieldVariablePhiCurl & curlPhi() const
curl_phi getter
MooseArray< DualReal > _ad_dof_values
FieldVariableValue _increment
Increment in the variable used in dampers.
MooseArray< OutputType > _nodal_value_array
Nodal values as MooseArrays for use with AuxKernels.
virtual MooseMesh & mesh()=0
bool _need_curl
curl flags
FieldVariableGradient _grad_u_dotdot
bool _need_second
SolutionState second_u flags.
FieldVariableValue _u_old
void getArrayDoFValues(const NumericVector< Number > &sol, unsigned int n, MooseArray< RealEigenVector > &dof_values) const
MappedArrayVariablePhiGradient _mapped_grad_phi_face
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application.
DoFValue _dof_values
local solution values
std::vector< FieldVariableValue > _vector_tag_u
virtual NumericVector< Number > & solutionOlder()=0
virtual NumericVector< Number > & solutionOld()=0
FEContinuity _continuity
Continuity type of the variable.
bool _need_grad_dot
gradient dot flags
virtual SubProblem & subproblem()
bool _need_second_previous_nl
const QBase * _current_qrule
OutputType _nodal_value_previous_nl
FieldVariableValue _u_dotdot_old
u_dotdot_old (second time derivative)
bool _need_u_dot
u dot flags
unsigned int count() const
Get the number of components Note: For standard and vector variables, the number is one.
virtual NumericVector< Number > * solutionUDotDot()=0
DoFValue _dof_values_dot
nodal values of u_dot
FieldVariableValue _u_dot_old
u_dot_old (time derivative)
std::function< const typename OutputTools< OutputType >::VariablePhiSecond &(const Assembly &, FEType)> _second_phi_assembly_method
const FieldVariablePhiCurl * _current_curl_phi
FieldVariableValue _u_dotdot
u_dotdot (second time derivative)
const FEVectorBase *const & getVectorFE(FEType type, unsigned int dim) const
Get a reference to a pointer that will contain the current volume FEVector.
bool safeAccessTaggedVectors() const
Is it safe to access the tagged vectors.
MeshBase & getMesh()
Accessor for the underlying libMesh Mesh object.
const VariableTestGradientType< OutputShape, JACOBIAN >::type * _ad_grad_phi_face
std::function< const typename OutputTools< OutputType >::VariablePhiGradient &(const Assembly &, FEType)> _grad_phi_face_assembly_method
FieldVariableGradient _grad_u_dot
grad_u dots
virtual Number & duDotDu()
const unsigned int & _current_side
The current element side.
VariableValue _du_dot_du
derivative of u_dot wrt u
MooseArray< OutputType > _nodal_value_old_array
virtual Assembly & assembly(THREAD_ID tid)=0
const FieldVariablePhiCurl * _curl_phi
virtual unsigned int number() const
Gets the number of this system.
unsigned int _count
Number of components of the associated variable.
std::size_t getMaxVarNDofsPerNode() const
Gets the maximum number of dofs used by any one variable on any one node.
std::vector< DoFValue > _matrix_tags_dof_u
const std::set< TagID > & getActiveFEVariableCoupleableVectorTags(THREAD_ID tid) const
VariableSecondType< OutputShape, JACOBIAN >::type _ad_second_u
const FieldVariablePhiSecond & secondPhi() const
second_phi getter
OutputType _nodal_value_older
virtual NumericVector< Number > & getVector(const std::string &name)
Get a raw NumericVector.
std::size_t getMaxVarNDofsPerElem() const
Gets the maximum number of dofs used by any one variable on any one element.
virtual unsigned int dimension() const
Returns MeshBase::mesh_dimsension(), (not MeshBase::spatial_dimension()!) of the underlying libMesh m...
std::vector< dof_id_type > _dof_indices
The dof indices for the current element.
const Node *const & node() const
OutputType _nodal_value_dotdot_old
nodal values of u_dotdot_old
const SubProblem & _subproblem
VariableValueType< OutputShape, JACOBIAN >::type _ad_u_dot
const FieldVariablePhiSecond * _second_phi_face
std::function< const typename OutputTools< OutputType >::VariablePhiValue &(const Assembly &, FEType)> _phi_assembly_method
FieldVariableValue _u_dot
u_dot (time derivative)
DoFValue _dof_values_dotdot
nodal values of u_dotdot
bool _need_dof_du_dotdot_du
bool _need_grad_old
gradient flags
OutputType _nodal_value_dot_old
nodal values of u_dot_old
MooseArray< OutputType > _nodal_value_older_array
FieldVariableSecond _second_u
second_u
const Node *const & _node
The current node.
bool _need_dof_values_old
std::function< const typename OutputTools< OutputType >::VariablePhiValue &(const Assembly &, FEType)> _phi_face_assembly_method
FieldVariableCurl _curl_u
curl_u
bool _need_dof_values_older
const FieldVariablePhiSecond & secondPhiFace() const
second_phi_face getter
bool _need_dof_values_dotdot_old
const TimeIntegrator * _time_integrator
Pointer to time integrator.
FieldVariableGradient _grad_u_old
virtual unsigned int numVectorTags() const
The total number of tags.
DoFValue _dof_values_dot_old
nodal values of u_dot_old
bool _need_dof_values_dot_old
const Elem *const & _elem
The current elem.
FieldVariableValue _u_older
const std::set< TagID > & getActiveFEVariableCoupleableMatrixTags(THREAD_ID tid) const
DoFValue _dof_values_dotdot_old
nodal values of u_dotdot_old
void derivInsert(NumberArray< N, Real > &derivs, unsigned int index, Real value)
void resize(unsigned int size)
Change the number of elements the array can store.
Moose::ElementType _element_type
The element type this object is storing data for. This is either Element, Neighbor,...
const FieldVariablePhiValue * _phi
FieldVariableGradient _grad_u
grad_u
bool _need_grad_previous_nl
FieldVariableCurl _curl_u_old
TensorValue< Real > RealTensorValue
const Assembly & _assembly
DoFValue _dof_values_older
const MooseVariableFE< OutputType > & _var
A const reference to the owning MooseVariableFE object.
MappedArrayVariablePhiGradient _mapped_grad_phi
OutputType _nodal_value_old
unsigned int size() const
The number of elements that can currently be stored in the array.
virtual const NumericVector< Number > *const & currentSolution() const =0
The solution vector that is currently being operated on.
void assignADNodalValue(const DualReal &value, const unsigned int &component)
Helper methods for assigning nodal values from their corresponding solution values (dof values as the...
Eigen::Matrix< Real, Eigen::Dynamic, 1 > RealEigenVector
std::vector< DoFValue > _vector_tags_dof_u
OutputType _nodal_value
Nodal values.
void computeAD(const unsigned int num_dofs, const unsigned int nqp)
compute AD things
FieldVariableSecond _second_u_old
Moose::ShapeType< OutputType >::type OutputShape
bool safeAccessTaggedMatrices() const
Is it safe to access the tagged matrices.
Moose::ValueType< OutputType, JACOBIAN >::type _ad_nodal_value
AD nodal value.
void computeValues()
compute the variable values
virtual NumericVector< Number > * solutionUDot()=0
std::function< const typename OutputTools< OutputType >::VariablePhiCurl &(const Assembly &, FEType)> _curl_phi_assembly_method
const FieldVariablePhiValue * _phi_face
virtual NumericVector< Number > * solutionUDotOld()=0
const bool _displaced
Whether this variable is being calculated on a displaced system.
const FieldVariablePhiSecond * _current_second_phi
MooseArray< Number > _dof_du_dot_du
nodal values of derivative of u_dot wrt u
VariableValueType< OutputShape, JACOBIAN >::type _ad_u
AD u.
TimeIntegrator * getTimeIntegrator()
const DualReal _ad_zero
A zero AD variable.
const FieldVariablePhiGradient * _current_grad_phi
VariableGradientType< OutputShape, JACOBIAN >::type _ad_grad_u
const FieldVariablePhiCurl & curlPhiFace() const
curl_phi_face getter