81 auto aggregates = Get<RCP<Aggregates_kokkos> >(currentLevel,
"Aggregates");
82 auto nullspace = Get<RCP<MultiVector> > (currentLevel,
"Nullspace");
84 auto map = aggregates->GetMap();
86 const GO numAggs = aggregates->GetNumAggregates();
87 const size_t NSDim = nullspace->getNumVectors();
91 std::vector<size_t> stridingInfo(1);
92 stridingInfo[0] = NSDim;
94 auto INVALID = Teuchos::OrdinalTraits<Xpetra::global_size_t>::invalid();
95 RCP<const Map> coarseMap = StridedMapFactory::Build(map->lib(), INVALID, numCoarseDofs, map->getIndexBase(), stridingInfo, map->getComm());
97 Set(currentLevel,
"CoarseMap", coarseMap);