Skip to content

Commit

Permalink
add topology tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joostvanzwieten committed Sep 20, 2021
1 parent 440b63a commit 1a088c1
Show file tree
Hide file tree
Showing 2 changed files with 692 additions and 39 deletions.
2 changes: 2 additions & 0 deletions nutils/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ def rectilinear(richshape, periodic=(), name='rect', space='X'):

return topo, geom

_oldrectilinear = rectilinear # reference for internal unittests

def line(nodes, periodic=False, bnames=None, *, name: str = 'line', space: str = 'X'):
if isinstance(nodes, int):
uniform = True
Expand Down
Loading

0 comments on commit 1a088c1

Please sign in to comment.