From c86309a266330da4e3e357196bde9dffb6a0c9f9 Mon Sep 17 00:00:00 2001 From: antjost <124277807+antjost@users.noreply.github.com> Date: Mon, 17 Jun 2024 14:09:43 +0200 Subject: [PATCH] Update IBM.py add space between comma & argument. --- Cassiopee/Generator/Generator/IBM.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Cassiopee/Generator/Generator/IBM.py b/Cassiopee/Generator/Generator/IBM.py index 6f8d6b0f3..42f71019b 100644 --- a/Cassiopee/Generator/Generator/IBM.py +++ b/Cassiopee/Generator/Generator/IBM.py @@ -457,7 +457,7 @@ def generateIBMMeshPara(tb, vmin=15, snears=None, dimPb=3, dfar=10., dfarList=[] del o # fill vmin + merge in parallel - res = octree2StructLoc__(p, vmin=vmin, ext=-1, optimized=0, parento=parento, sizeMax=1000000,tbOneOver=tbOneOver) + res = octree2StructLoc__(p, vmin=vmin, ext=-1, optimized=0, parento=parento, sizeMax=1000000, tbOneOver=tbOneOver) del p if parento is not None: for po in parento: del po @@ -797,7 +797,7 @@ def addRefinementZones(o, tb, tbox, snearsf, vmin, dim): return Internal.getNodeFromType2(to, 'Zone_t') # only in generateIBMMeshPara and generateCartMesh__ -def octree2StructLoc__(o, parento=None, vmin=21, ext=0, optimized=0, sizeMax=4e6,tbOneOver=None): +def octree2StructLoc__(o, parento=None, vmin=21, ext=0, optimized=0, sizeMax=4e6, tbOneOver=None): sizeMax=int(sizeMax) dim = Internal.getZoneDim(o) if dim[3] == 'QUAD': dimPb = 2 @@ -954,7 +954,7 @@ def octree2StructLoc__(o, parento=None, vmin=21, ext=0, optimized=0, sizeMax=4e6 for i in range(NBases): ZONEStbOneOverTmp[i] = T.mergeCart(ZONEStbOneOverTmp[i][0]+ZONEStbOneOverTmp[i][1]+ZONEStbOneOverTmp[i][2]+ \ ZONEStbOneOverTmp[i][3]+ZONEStbOneOverTmp[i][4]+ZONEStbOneOverTmp[i][5]+ \ - ZONEStbOneOverTmp[i][6]+ZONEStbOneOverTmp[i][7],sizeMax=sizeMax) + ZONEStbOneOverTmp[i][6]+ZONEStbOneOverTmp[i][7], sizeMax=sizeMax) zones +=ZONEStbOneOverTmp[i] del ZONEStbOneOver del ZONEStbOneOverTmp @@ -970,7 +970,7 @@ def octree2StructLoc__(o, parento=None, vmin=21, ext=0, optimized=0, sizeMax=4e6 if ZONEStbOneOver is not None: for i in range(NBases): ZONEStbOneOverTmp[i] = T.mergeCart(ZONEStbOneOverTmp[i][0]+ZONEStbOneOverTmp[i][1]+ \ - ZONEStbOneOverTmp[i][2]+ZONEStbOneOverTmp[i][3],sizeMax=sizeMax) + ZONEStbOneOverTmp[i][2]+ZONEStbOneOverTmp[i][3], sizeMax=sizeMax) zones +=ZONEStbOneOverTmp[i] del ZONEStbOneOver del ZONEStbOneOverTmp