Skip to content

Commit

Permalink
UpdateBoundaryValues -> DMPlexInsertBoundaryValues_NS
Browse files Browse the repository at this point in the history
  • Loading branch information
LeilaGhaffari committed Jul 10, 2023
1 parent 8a72371 commit 33f3ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/fluids/src/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ PetscErrorCode GetError_NS(CeedData ceed_data, DM dm, User user, ProblemData *pr
// Get the local values of the final solution
PetscCall(DMGetLocalVector(dm, &Q_loc));
PetscCall(DMGlobalToLocal(dm, Q, INSERT_VALUES, Q_loc));
PetscCall(DMPlexInsertBoundaryValues_NS(dm, PETSC_TRUE, Q_loc, final_time, NULL, NULL, NULL));
PetscCall(UpdateBoundaryValues(user, Q_loc, final_time));

// Compute the L2 error in the source state variables
if (user->phys->ics_time_label) PetscCall(UpdateContextLabel(user->comm, final_time, ceed_data->op_ics_ctx->op, user->phys->ics_time_label));
Expand Down

0 comments on commit 33f3ca5

Please sign in to comment.