inline IndexSet
SparsityPattern::locally_owned_domain_indices() const
{
- return IndexSet(static_cast<const Epetra_Map &>(graph->DomainMap()));
+ return IndexSet(graph->DomainMap());
}
inline IndexSet
SparsityPattern::locally_owned_range_indices() const
{
- return IndexSet(static_cast<const Epetra_Map &>(graph->RangeMap()));
+ return IndexSet(graph->RangeMap());
}
# endif // DOXYGEN
# ifdef DEAL_II_WITH_64BIT_INDICES
-IndexSet::IndexSet(const Epetra_Map &map)
+IndexSet::IndexSet(const Epetra_BlockMap &map)
: is_compressed(true)
, index_space_size(1 + map.MaxAllGID64())
, largest_range(numbers::invalid_unsigned_int)
{
Assert(map.MinAllGID64() == 0,
- ExcMessage("The Epetra_Map does not contain the global index 0, which "
- "means some entries are not present on any processor."));
+ ExcMessage(
+ "The Epetra_BlockMap does not contain the global index 0, "
+ "which means some entries are not present on any processor."));
// For a contiguous map, we do not need to go through the whole data...
if (map.LinearMap())
// this is the standard 32-bit implementation
-IndexSet::IndexSet(const Epetra_Map &map)
+IndexSet::IndexSet(const Epetra_BlockMap &map)
: is_compressed(true)
, index_space_size(1 + map.MaxAllGID())
, largest_range(numbers::invalid_unsigned_int)
{
Assert(map.MinAllGID() == 0,
- ExcMessage("The Epetra_Map does not contain the global index 0, which "
- "means some entries are not present on any processor."));
+ ExcMessage(
+ "The Epetra_BlockMap does not contain the global index 0, "
+ "which means some entries are not present on any processor."));
// For a contiguous map, we do not need to go through the whole data...
if (map.LinearMap())