def __init__(self, *args):

        self.shape = None

        self.r_wall = None
        self.t_wall = None
        self.p_wall = None

        self.r = None
        self.t = None
        self.p = None

        self.gr = None
        self.gt = None
        self.gp = None

        self.gw = None
        self.gz = None

        self.volumes = None
        self.areas = None
        self.widths = None

        self.quantities = {}

        self._freeze()

        if len(args) > 0:
            if isinstance(args[0], SphericalPolarGrid):
                self.set_walls(args[0].r_wall, args[0].t_wall, args[0].p_wall)
            else:
                self.set_walls(*args)
dataset/ETHPy150Open hyperion-rt/hyperion/hyperion/grid/spherical_polar_grid.py/SphericalPolarGrid.__init__/original