File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 33 :platform: Unix, Windows
44 :synopsis: Provides freeform geometry classes
55
6- .. moduleauthor:: Onur Rauf Bingol <orbingol@gmail.com >
6+ .. moduleauthor:: Onur R. Bingol <contact@onurbingol.net >
77
88"""
99
1212
1313class Freeform (abstract .Geometry ):
1414 """ n-dimensional freeform geometry """
15- def __init__ (self , ** kwargs ):
16- super (Freeform , self ).__init__ (** kwargs )
17- self ._geometry_type = "freeform"
15+ def __init__ (self , * args , * *kwargs ):
16+ super (Freeform , self ).__init__ (* args , * *kwargs )
17+ self ._idt [ 'geometry_type' ] = "freeform"
1818 self .name = "freeform geometry"
1919
2020 @property
@@ -36,4 +36,4 @@ def evaluate(self, **kwargs):
3636 * ``points``: sets the points
3737 """
3838 self ._eval_points = kwargs .get ('points' , self ._init_array ())
39- self ._dimension = len (self ._eval_points [0 ])
39+ self ._idt [ 'dimension' ] = len (self ._eval_points [0 ])
You can’t perform that action at this time.
0 commit comments