def find_full_domain(self, obj):
        r"""
        Find the full domain object associated with a given object.
        For geometry the network is found, for physics the phase is found and
        for all other objects which are defined for for the full domain,
        themselves are found.

        Parameters
        ----------
        obj : OpenPNM Object
            Can be any object

        Returns
        -------
        An OpenPNM object

        """
        if 'Subdomain' not in obj._mro():
            # Network, Phase, Alg
            return obj
        else:
            if obj._isa() == 'geometry':
                # Geom
                return self.network
            else:
                # Phys
                return self.find_phase(obj)
def find_full_domain ( self , obj ) : if 'Subdomain' not in obj . _mro ( ) : return obj else : if obj . _isa ( ) == 'geometry' : return self . network else : return self . find_phase ( obj )
r"""
        Find the full domain object associated with a given object.
        For geometry the network is found, for physics the phase is found and
        for all other objects which are defined for for the full domain,
        themselves are found.

        Parameters
        ----------
        obj : OpenPNM Object
            Can be any object

        Returns
        -------
        An OpenPNM object