Skip to content

Commit

Permalink
Update IBM.py
Browse files Browse the repository at this point in the history
add space between comma & argument.
  • Loading branch information
antjost authored Jun 17, 2024
1 parent e12e2db commit c86309a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Cassiopee/Generator/Generator/IBM.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c86309a

Please sign in to comment.