Skip to content

Commit

Permalink
use the array property with shapes as a set for nodes in the curvi me…
Browse files Browse the repository at this point in the history
…sh. See updates in seequent/properties#195
  • Loading branch information
lheagy committed Sep 11, 2017
1 parent ad2d77a commit a75afa5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions discretize/CurvilinearMesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,9 @@ class CurvilinearMesh(

nodes = properties.List(
"List of arrays describing the node locations",
prop=properties.Union(
prop=properties.Array(
"node locations in an n-dimensional array",
props=[
properties.Array('2D array', shape=('*', '*')),
properties.Array('3D array', shape=('*', '*', '*')),
]
shape={('*', '*'), ('*', '*', '*')}
),
min_length=2,
max_length=3
Expand Down

0 comments on commit a75afa5

Please sign in to comment.