Skip to content

Commit

Permalink
fluids - fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylt committed Sep 19, 2024
1 parent 3e961e1 commit 8a31047
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/fluids/src/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,9 +493,10 @@ PetscErrorCode PrintRunInfo(User user, Physics phys_ctx, ProblemData problem, TS
PetscInt num_remote_roots_total = 0, num_remote_leaves_total = 0, num_ghost_interface_ranks = 0, num_owned_interface_ranks = 0;
{
PetscSF sf;
PetscInt nrranks, niranks;
PetscMPIInt nrranks, niranks;
const PetscInt *roffset, *rmine, *rremote, *ioffset, *irootloc;
const PetscMPIInt *rranks, *iranks;

PetscCall(DMGetSectionSF(user->dm, &sf));
PetscCall(PetscSFGetRootRanks(sf, &nrranks, &rranks, &roffset, &rmine, &rremote));
PetscCall(PetscSFGetLeafRanks(sf, &niranks, &iranks, &ioffset, &irootloc));
Expand Down

0 comments on commit 8a31047

Please sign in to comment.