from openpnm.models.collections.geometry import cubes_and_cuboids
from openpnm.geometry import GenericGeometry
from openpnm.utils import Docorator


docstr = Docorator()


@docstr.dedent
class CubesAndCuboids(GenericGeometry):
    r"""
    Pores are treated as cubes and throats as elongated cuboids

    Parameters
    ----------
    %(GenericGeometry.parameters)s

    """

    def __init__(self, **kwargs):
        super().__init__(**kwargs)
        self.models.update(cubes_and_cuboids)
        self.regenerate_models()

from openpnm.models.collections.geometry import cubes_and_cuboids
from openpnm.geometry import GenericGeometry
from openpnm.utils import Docorator


docstr = Docorator()


@docstr.dedent
class CubesAndCuboids(GenericGeometry):
    r"""
    Pores are treated as cubes and throats as elongated cuboids

    Parameters
    ----------
    %(GenericGeometry.parameters)s

    """

    def __init__(self, **kwargs):
        super().__init__(**kwargs)
        self.models.update(cubes_and_cuboids)
        self.regenerate_models()

Pores are treated as cubes and throats as elongated cuboids      Parameters     ----------     %(GenericGeometry.parameters)s