Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
variable back to snake case
  • Loading branch information
shimwell authored Apr 26, 2024
1 parent d424f67 commit 0f9a8f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/geouned/GEOUNED/Conversion/CellDefinition.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,9 +749,9 @@ def cellDef(metaObj, Surfaces, UniverseBox):
extraPlaneReverse = dict()

flag_inv = isInverted(solid)
SolidGu = GU.SolidGu(solid)
Solid_Gu = GU.SolidGu(solid)
lastTorus = -1
for iface, face in enumerate(SolidGu.Faces):
for iface, face in enumerate(Solid_Gu.Faces):
surfaceType = str(face.Surface)
if abs(face.Area) < tol.min_area:
if opt.verbose:
Expand Down Expand Up @@ -831,7 +831,7 @@ def cellDef(metaObj, Surfaces, UniverseBox):

idT = getId(face.Surface, Surfaces)

index, Uparams = SolidGu.TorusUParams[iface]
index, Uparams = Solid_Gu.TorusUParams[iface]
if index == lastTorus:
continue
lastTorus = index
Expand Down Expand Up @@ -880,7 +880,7 @@ def cellDef(metaObj, Surfaces, UniverseBox):
VVar = "-%i" % idT

else:
index, Vparams = SolidGu.TorusVParams[iface]
index, Vparams = Solid_Gu.TorusVParams[iface]
VClosed, VminMax = Vparams
if VClosed:
VVar = "%i" % idT
Expand Down

0 comments on commit 0f9a8f8

Please sign in to comment.