From 5b4c707905b04c38b324dfb452abb04335637286 Mon Sep 17 00:00:00 2001 From: Matt Wala Date: Fri, 3 Nov 2017 13:44:09 -0500 Subject: [PATCH] Change ALL_FACES to FRESTR_ALL_FACES and INTERIOR_FACES to FRESTR_INTERIOR_FACES in a few documentation spots. (Noticed by Li Lu.) --- meshmode/discretization/connection/face.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/meshmode/discretization/connection/face.py b/meshmode/discretization/connection/face.py index 680d0686..fce3972c 100644 --- a/meshmode/discretization/connection/face.py +++ b/meshmode/discretization/connection/face.py @@ -146,9 +146,9 @@ def _get_face_vertices(mesh, boundary_tag): # }}} else: - # For INTERIOR_FACES, this is likely every vertex in the book. + # For FRESTR_INTERIOR_FACES, this is likely every vertex in the book. # Don't ever bother trying to cut the list down. - # For ALL_FACES, it literally is every single vertex. + # For FRESTR_ALL_FACES, it literally is every single vertex. return np.arange(mesh.nvertices, dtype=np.intp) @@ -163,9 +163,9 @@ def make_face_restriction(discr, group_factory, boundary_tag, :arg boundary_tag: The boundary tag for which to create a face restriction. May be - :class:`meshmode.discretization.connection.INTERIOR_FACES` + :class:`meshmode.discretization.connection.FRESTR_INTERIOR_FACES` to indicate interior faces, or - :class:`meshmode.discretization.connection.ALL_FACES` + :class:`meshmode.discretization.connection.FRESTR_ALL_FACES` to make a discretization consisting of all (interior and boundary) faces. @@ -194,7 +194,7 @@ def make_face_restriction(discr, group_factory, boundary_tag, boundary_tag = FRESTR_INTERIOR_FACES from warnings import warn warn("passing *None* for boundary_tag is deprecated--pass " - "INTERIOR_FACES instead", + "FRESTR_INTERIOR_FACES instead", DeprecationWarning, stacklevel=2) logger.info("building face restriction: start") -- GitLab