# - Extract pathological cells (uncomputable or non-star) (array) - import Converter as C import Intersector as XOR M1 = C.convertFile2Arrays('boolNG_M1.tp') M1 = C.convertArray2NGon(M1[0]) M2 = C.convertFile2Arrays('boolNG_M2.tp') M2 = C.convertArray2NGon(M2[0]) tol = -0.5e-3 m = XOR.booleanMinus(M1, M2, tol, preserve_right=1, solid_right=1, agg_mode=1) aspect_ratio = XOR.computeGrowthRatio(m) aspect_ratio = C.center2Node(aspect_ratio) C._addVars([m, aspect_ratio]) C.convertArrays2File(m, 'out.plt')