Skip to content

Commit

Permalink
Elaborated on comments for boundary label.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-cohere committed Aug 13, 2021
1 parent dd022ff commit 16c8173
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tdycore.c
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,8 @@ PetscErrorCode TDyCreateGrid(TDy tdy) {
tdy->dm = dm;
}

// Mark the grid's boundary faces.
// Mark the grid's boundary faces and their transitive closure. All are
// stored at their appropriate strata within the label.
DMLabel boundary_label;
ierr = DMCreateLabel(tdy->dm, "boundary"); CHKERRQ(ierr);
ierr = DMGetLabel(tdy->dm, "boundary", &boundary_label); CHKERRQ(ierr);
Expand Down

0 comments on commit 16c8173

Please sign in to comment.