#include <MooseVariableDependencyInterface.h>
Public Member Functions | |
| MooseVariableDependencyInterface (const MooseObject *) | |
| MooseVariableDependencyInterface (const MooseVariableDependencyInterface &, const Moose::Kokkos::FunctorCopy &key) | |
| Special constructor used for Kokkos functor copy during parallel dispatch. More... | |
| const std::set< MooseVariableFieldBase * > & | getMooseVariableDependencies () const |
| Retrieve the set of MooseVariableFieldBase that this object depends on. More... | |
| template<typename DofObjectType > | |
| std::set< MooseVariableFieldBase * > | checkAllVariables (const DofObjectType &dof_object, const std::set< MooseVariableFieldBase *> &vars_to_omit={}) |
| Check whether all of the variable dependencies have degree of freedom indices on the supplied degree of freedom object. More... | |
| virtual std::set< MooseVariableFieldBase * > | checkVariables (const libMesh::Node &node, const std::set< MooseVariableFieldBase *> &vars_to_check) |
| Check whether all of the supplied variables have degree of freedom indices on the supplied node. More... | |
| std::set< MooseVariableFieldBase * > | checkVariables (const libMesh::Elem &element, const std::set< MooseVariableFieldBase *> &vars_to_check) |
| Check whether all of the supplied variables have degree of freedom indices on the supplied element. More... | |
| void | addMooseVariableDependency (MooseVariableFieldBase *var) |
| Call this function to add the passed in MooseVariableFieldBase as a variable that this object depends on. More... | |
| void | addMooseVariableDependency (const std::vector< MooseVariableFieldBase *> &vars) |
Private Member Functions | |
| template<typename DofObjectType > | |
| std::set< MooseVariableFieldBase * > | checkVariablesHelper (const DofObjectType &dof_object, const std::set< MooseVariableFieldBase *> &vars_to_check) |
| Helper method for checking variables for dof indices. More... | |
Private Attributes | |
| std::set< MooseVariableFieldBase * > | _moose_variable_dependencies |
| std::vector< libMesh::dof_id_type > | _dof_indices |
| A container for holding dof indices in order to avoid constant memory reallocation. More... | |
Definition at line 27 of file MooseVariableDependencyInterface.h.
| MooseVariableDependencyInterface::MooseVariableDependencyInterface | ( | const MooseObject * | ) |
Definition at line 22 of file MooseVariableDependencyInterface.C.
| MooseVariableDependencyInterface::MooseVariableDependencyInterface | ( | const MooseVariableDependencyInterface & | , |
| const Moose::Kokkos::FunctorCopy & | key | ||
| ) |
Special constructor used for Kokkos functor copy during parallel dispatch.
Definition at line 25 of file MooseVariableDependencyInterface.C.
|
inline |
Call this function to add the passed in MooseVariableFieldBase as a variable that this object depends on.
Definition at line 94 of file MooseVariableDependencyInterface.h.
Referenced by ADArrayKernel::ADArrayKernel(), ADArrayNodalKernel::ADArrayNodalKernel(), ADDGKernel::ADDGKernel(), ADDiracKernel::ADDiracKernel(), ADIntegratedBCTempl< T >::ADIntegratedBCTempl(), ADInterfaceKernelTempl< T >::ADInterfaceKernelTempl(), ADKernelTempl< T >::ADKernelTempl(), ADNodalKernel::ADNodalKernel(), ArrayDGKernel::ArrayDGKernel(), ArrayIntegratedBC::ArrayIntegratedBC(), ArrayKernel::ArrayKernel(), ArrayNodalBC::ArrayNodalBC(), ArrayNodalKernel::ArrayNodalKernel(), AuxKernelBase::AuxKernelBase(), AuxNodalScalarKernel::AuxNodalScalarKernel(), CoupleableMooseVariableDependencyIntermediateInterface::CoupleableMooseVariableDependencyIntermediateInterface(), CoupleableMooseVariableDependencyIntermediateInterface::coupledArrayValueByName(), CoupleableMooseVariableDependencyIntermediateInterface::coupledValueByName(), DGKernel::DGKernel(), DiffusionLHDGAssemblyHelper::DiffusionLHDGAssemblyHelper(), DiracKernelTempl< T >::DiracKernelTempl(), ElemElemConstraint::ElemElemConstraint(), ElementIndicator::ElementIndicator(), ElementIntegralArrayVariablePostprocessor::ElementIntegralArrayVariablePostprocessor(), ElementIntegralVariablePostprocessor::ElementIntegralVariablePostprocessor(), ElementIntegralVariableUserObject::ElementIntegralVariableUserObject(), ElementVariablePostprocessor::ElementVariablePostprocessor(), FVBoundaryCondition::FVBoundaryCondition(), FVElementalKernel::FVElementalKernel(), FVInterfaceKernel::FVInterfaceKernel(), IntegratedBC::IntegratedBC(), InterfaceIntegralVariableValuePostprocessor::InterfaceIntegralVariableValuePostprocessor(), InterfaceKernelTempl< T >::InterfaceKernelTempl(), InterfaceMaterial::InterfaceMaterial(), InternalSideIndicatorBase::InternalSideIndicatorBase(), InternalSideIndicatorTempl< ComputeValueType >::InternalSideIndicatorTempl(), InternalSideIntegralVariablePostprocessor::InternalSideIntegralVariablePostprocessor(), IPHDGAssemblyHelper::IPHDGAssemblyHelper(), Kernel::Kernel(), LinearFVBoundaryCondition::LinearFVBoundaryCondition(), LinearFVKernel::LinearFVKernel(), Marker::Marker(), Material::Material(), MortarConstraintBase::MortarConstraintBase(), NeighborCoupleableMooseVariableDependencyIntermediateInterface::NeighborCoupleableMooseVariableDependencyIntermediateInterface(), NodalBC::NodalBC(), NodalConstraint::NodalConstraint(), NodalKernel::NodalKernel(), NodalScalarKernel::NodalScalarKernel(), NodeElemConstraintBase::NodeElemConstraintBase(), NodeFaceConstraint::NodeFaceConstraint(), PointVariableSamplerBase::PointVariableSamplerBase(), QuadraturePointMarker::QuadraturePointMarker(), SideIntegralVariablePostprocessor::SideIntegralVariablePostprocessor(), SideIntegralVariableUserObject::SideIntegralVariableUserObject(), SideVariablePostprocessor::SideVariablePostprocessor(), VectorIntegratedBC::VectorIntegratedBC(), VectorKernel::VectorKernel(), and VectorNodalBC::VectorNodalBC().
|
inline |
Definition at line 98 of file MooseVariableDependencyInterface.h.
| std::set< MooseVariableFieldBase * > MooseVariableDependencyInterface::checkAllVariables | ( | const DofObjectType & | dof_object, |
| const std::set< MooseVariableFieldBase *> & | vars_to_omit = {} |
||
| ) |
Check whether all of the variable dependencies have degree of freedom indices on the supplied degree of freedom object.
| dof_object | The degree of freedom object (an element or node) that we want to check for existence of variable degrees of freedom on |
| vars_to_omit | Variables that we can omit from checking |
Definition at line 119 of file MooseVariableDependencyInterface.h.
|
inlinevirtual |
Check whether all of the supplied variables have degree of freedom indices on the supplied node.
| node | The node that we want to check for existence of variable degrees of freedom on |
| vars_to_check | the variables to check |
Reimplemented in AuxKernelTempl< ComputeValueType >, AuxKernelTempl< RT >, AuxKernelTempl< RealVectorValue >, AuxKernelTempl< Real >, and NodalValueSampler.
Definition at line 135 of file MooseVariableDependencyInterface.h.
Referenced by checkAllVariables(), and AuxKernelTempl< Real >::checkVariables().
|
inline |
Check whether all of the supplied variables have degree of freedom indices on the supplied element.
| element | The element that we want to check for existence of variable degrees of freedom on |
| vars_to_check | the variables to check |
Definition at line 142 of file MooseVariableDependencyInterface.h.
|
private |
Helper method for checking variables for dof indices.
Returns the subset of variables of vars_to_check that do not have dof indices on the provided dof_object
Definition at line 33 of file MooseVariableDependencyInterface.C.
Referenced by AuxKernelTempl< Real >::checkVariables().
|
inline |
Retrieve the set of MooseVariableFieldBase that this object depends on.
Definition at line 45 of file MooseVariableDependencyInterface.h.
Referenced by ComputeUserObjectsThread::subdomainChanged(), and MooseObjectWarehouseBase< Indicator >::updateVariableDependencyHelper().
|
private |
A container for holding dof indices in order to avoid constant memory reallocation.
Definition at line 114 of file MooseVariableDependencyInterface.h.
|
private |
Definition at line 111 of file MooseVariableDependencyInterface.h.
Referenced by addMooseVariableDependency(), checkAllVariables(), and getMooseVariableDependencies().
1.8.14