17 #include "libmesh/dof_object.h" 18 #include "libmesh/dof_map.h" 24 #ifdef MOOSE_KOKKOS_ENABLED 31 template <
typename DofObjectType>
32 std::set<MooseVariableFieldBase *>
34 const DofObjectType & dof_object,
const std::set<MooseVariableFieldBase *> & vars_to_check)
36 std::set<MooseVariableFieldBase *> vars_without_indices;
37 for (
auto *
const var : vars_to_check)
39 var->sys().dofMap().dof_indices(&dof_object, _dof_indices, var->number());
40 if (_dof_indices.empty())
41 vars_without_indices.insert(var);
44 return vars_without_indices;
48 const Elem & dof_object,
const std::set<MooseVariableFieldBase *> & vars_to_check);
50 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 * > checkVariablesHelper(const DofObjectType &dof_object, const std::set< MooseVariableFieldBase *> &vars_to_check)
Helper method for checking variables for dof indices.
Every object that can be built by the factory should be derived from this class.