19 return ref_grid_.cells.GetNumGhosts() * N;
28 std::vector<int64_t> dof_ids;
29 dof_ids.reserve(GetNumGhostDOFs(unknown_manager));
31 std::vector<uint64_t> ghost_cell_ids = ref_grid_.cells.GetGhostGlobalIDs();
33 const size_t num_uks = unknown_manager.
unknowns_.size();
35 for (
const auto cell_id : ghost_cell_ids)
37 const auto& cell = ref_grid_.cells[cell_id];
38 for (
size_t u = 0; u < num_uks; ++u)
40 const auto& unkn = unknown_manager.
unknowns_[u];
41 const size_t num_comps = unkn.num_components_;
42 for (
size_t c = 0; c < num_comps; ++c)
44 const int64_t dofmap = MapDOF(cell, 0, unknown_manager, u, c);
45 dof_ids.push_back(dofmap);
std::vector< Unknown > unknowns_
unsigned int GetTotalUnknownStructureSize() const
size_t GetNumGhostDOFs(const UnknownManager &unknown_manager) const override
std::vector< int64_t > GetGhostDOFIndices(const UnknownManager &unknown_manager) const override