Skip to content

Commit

Permalink
Merge pull request #293 from yuan-feng/master
Browse files Browse the repository at this point in the history
Added physical_group support to PointBase
  • Loading branch information
nschloe authored Nov 24, 2019
2 parents 9d51f0f + 74671ed commit d6eebb4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions pygmsh/built_in/geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ def add_physical(self, entities, label=None):
e,
(
Point,
PointBase,
LineBase,
Surface,
PlaneSurface,
Expand Down
2 changes: 0 additions & 2 deletions pygmsh/built_in/point.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ class Point(PointBase):
The prescribed mesh element size at this point.
"""

dimension = 0

def __init__(self, x, lcar=None):
super(Point, self).__init__()

Expand Down
1 change: 1 addition & 0 deletions pygmsh/built_in/point_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class PointBase(object):
"""

_ID = 0
dimension = 0

def __init__(self, id0=None):
if id0:
Expand Down

0 comments on commit d6eebb4

Please sign in to comment.