Skip to content

Commit

Permalink
Added parallel comuunication update for calculating cell-center darcy…
Browse files Browse the repository at this point in the history
… velocity
  • Loading branch information
dasvyat committed Jan 27, 2025
1 parent 6d53e5d commit 550422e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pks/flow/richards_pk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,7 @@ Richards::CalculateDiagnostics(const Tag& tag)
// derive fluxes
Teuchos::RCP<CompositeVector> flux = S_->GetPtrW<CompositeVector>(flux_key_, tag_next_, name_);
matrix_diff_->UpdateFlux(pres.ptr(), flux.ptr());
flux->ScatterMasterToGhosted("face");
UpdateVelocity_(tag);
};

Expand Down

0 comments on commit 550422e

Please sign in to comment.