moved fractal box builder

这个提交包含在:
jasminium
2019-09-05 12:39:46 +01:00
父节点 f18f6570a7
当前提交 05ef4b7fec

查看文件

@@ -22,11 +22,6 @@ class Scene:
self.geometry_cmds = [] self.geometry_cmds = []
self.essential_cmds = [Domain, TimeWindow, Discretisation] self.essential_cmds = [Domain, TimeWindow, Discretisation]
# fractal box commands have an additional nonuser object which
# process modifications
fbb = FractalBoxBuilder()
self.add(fbb)
def add(self, user_object): def add(self, user_object):
"""Add the user object to the scene. """Add the user object to the scene.
@@ -97,6 +92,11 @@ class Scene:
def create_internal_objects(self, G): def create_internal_objects(self, G):
# fractal box commands have an additional nonuser object which
# process modifications
fbb = FractalBoxBuilder()
self.add(fbb)
# gprMax API presents the user with UserObjects in order to build # gprMax API presents the user with UserObjects in order to build
# the internal Rx(), Cylinder() etc... objects. This function # the internal Rx(), Cylinder() etc... objects. This function
# essentially calls the UserObject.create() function in the correct # essentially calls the UserObject.create() function in the correct