SALOME Mesh module
Go to file
eap fce720f2d2 22465: [CEA] sometimes isinstance(m, Mesh) returns False for Mesh objects // PPGP pb
class MeshMeta(type):
    def __instancecheck__(cls, inst):
        """Implement isinstance(inst, cls)."""
        return any(cls.__subclasscheck__(c)
                   for c in {type(inst), inst.__class__})

    def __subclasscheck__(cls, sub):
        """Implement issubclass(sub, cls)."""
        return type.__subclasscheck__(cls, sub) or (cls.__name__ == sub.__name__ and cls.__module__ == sub.__module__)

...

class Mesh:
    __metaclass__ = MeshMeta

...
2014-02-05 08:08:10 +00:00
adm_local Minor change 2013-11-20 13:46:15 +00:00
bin Manage concurrent hypotheses sets properly 2013-10-18 11:05:26 +00:00
doc 22359: Body Fitting algorithm: grid orientation 2014-02-04 13:27:03 +00:00
idl 22359: Body Fitting algorithm: grid orientation 2014-02-04 13:02:26 +00:00
resources Fix the first item of the 0022387: EDF GUI: New behaviour of store position of windows is not always suitable" issue: 2014-01-21 12:37:34 +00:00
src 22465: [CEA] sometimes isinstance(m, Mesh) returns False for Mesh objects // PPGP pb 2014-02-05 08:08:10 +00:00
AUTHORS Join modifications from BR_Dev_For_4_0 tag V4_1_1. 2008-03-07 07:47:05 +00:00
ChangeLog DCQ : Merge with Ecole_Ete_a6. 2004-06-18 08:34:31 +00:00
CMakeLists.txt Merge from V7_3_BR branch 18/12/2013 2013-12-18 15:08:18 +00:00
COPYING Join modifications from BR_Dev_For_4_0 tag V4_1_1. 2008-03-07 07:47:05 +00:00
cvs-tags DCQ : Merge with Ecole_Ete_a6. 2004-06-18 08:34:31 +00:00
INSTALL Join modifications from branch BR_DEBUG_3_2_0b1 2006-06-01 11:39:17 +00:00
LICENCE NRI : add LICENCE file 2003-11-06 11:34:19 +00:00
NEWS Join modifications from BR_Dev_For_4_0 tag V4_1_1. 2008-03-07 07:47:05 +00:00
README Join modifications from BR_Dev_For_4_0 tag V4_1_1. 2008-03-07 07:47:05 +00:00
SalomeSMESHConfig.cmake.in CMake: 2013-11-06 10:36:07 +00:00
SMESH_version.h.in Porting SALOME SMESH module to the CMake build system: initial version. 2013-10-10 12:57:42 +00:00