17#include "libmesh/dof_object.h"
18#include "libmesh/dof_map.h"
24#ifdef MOOSE_KOKKOS_ENABLED
31template <
typename DofObjectType>
32std::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());
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);
Every object that can be built by the factory should be derived from this class.
std::set< MooseVariableFieldBase * > checkVariablesHelper(const DofObjectType &dof_object, const std::set< MooseVariableFieldBase * > &vars_to_check)
Helper method for checking variables for dof indices.
std::vector< libMesh::dof_id_type > _dof_indices
A container for holding dof indices in order to avoid constant memory reallocation.
MooseVariableDependencyInterface(const MooseObject *)
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...