16 #include "libmesh/dof_object.h" 17 #include "libmesh/dof_map.h" 23 template <
typename DofObjectType>
24 std::set<MooseVariableFieldBase *>
26 const DofObjectType & dof_object,
const std::set<MooseVariableFieldBase *> & vars_to_check)
28 std::set<MooseVariableFieldBase *> vars_without_indices;
29 for (
auto *
const var : vars_to_check)
31 var->sys().dofMap().dof_indices(&dof_object, _dof_indices, var->number());
32 if (_dof_indices.empty())
33 vars_without_indices.insert(var);
36 return vars_without_indices;
40 const Elem & dof_object,
const std::set<MooseVariableFieldBase *> & vars_to_check);
42 const Node & dof_object,
const std::set<MooseVariableFieldBase *> & vars_to_check);
MooseVariableDependencyInterface(const MooseObject *)
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
std::set< MooseVariableFieldBase * > checkVariables(const DofObjectType &dof_object, const std::set< MooseVariableFieldBase *> &vars_to_check)
Check whether all of the supplied variables have degree of freedom indices on the supplied degree of ...
Every object that can be built by the factory should be derived from this class.