Skip to content

Commit

Permalink
Panzer: fix resize with colBlock and don't specify map in fillComplete
Browse files Browse the repository at this point in the history
  • Loading branch information
stmcgovern committed Sep 26, 2024
1 parent fc32cf2 commit 5aac48e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions packages/panzer/disc-fe/src/Panzer_L2Projection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,7 @@ namespace panzer {

{
PANZER_FUNC_TIME_MONITOR_DIFF("Exporting of mass matrix",ExportMM);
auto map = factory.getMap(0);
ghostedMatrix->fillComplete(map,map);
ghostedMatrix->fillComplete();
const auto exporter = factory.getGhostedExport(0);
ownedMatrix->doExport(*ghostedMatrix, *exporter, Tpetra::ADD);
ownedMatrix->fillComplete();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -483,10 +483,10 @@ makeRoomForBlocks(std::size_t blockCnt, std::size_t colBlockCnt)
importers_.resize(blockCnt);
exporters_.resize(blockCnt);
if(colBlockCnt > 0) {
colMaps_.resize(blockCnt);
colGhostedMaps_.resize(blockCnt);
colImporters_.resize(blockCnt);
colExporters_.resize(blockCnt);
colMaps_.resize(colBlockCnt);
colGhostedMaps_.resize(colBlockCnt);
colImporters_.resize(colBlockCnt);
colExporters_.resize(colBlockCnt);
}
}

Expand Down

0 comments on commit 5aac48e

Please sign in to comment.