Skip to content
Snippets Groups Projects
Commit dcd6d528 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Merge branch 'fix-connection-constants-in-doc' into 'master'

Change ALL_FACES to FRESTR_ALL_FACES and INTERIOR_FACES to

See merge request inducer/meshmode!18
parents f03c76e5 5b4c7079
Branches
Tags
1 merge request!18Change ALL_FACES to FRESTR_ALL_FACES and INTERIOR_FACES to
Pipeline #
......@@ -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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment