def __init__(self, *args):

        self.shape = None

        self.x = None
        self.y = None
        self.z = None

        self.dx = None
        self.dy = None
        self.dz = None

        self.refined = None

        self.quantities = {}

        self._freeze()

        if len(args) > 0:
            if isinstance(args[0], OctreeGrid):
                self.set_walls(args[0].x, args[0].y, args[0].z,
                               args[0].dx, args[0].dy, args[0].dz,
                               args[0].refined)
            else:
                self.set_walls(*args)
dataset/ETHPy150Open hyperion-rt/hyperion/hyperion/grid/octree_grid.py/OctreeGrid.__init__/original