Skip to content

Commit

Permalink
Fix error related to scale factor at annulus
Browse files Browse the repository at this point in the history
  • Loading branch information
mlin865 committed Jul 13, 2021
1 parent a807de3 commit 7999a63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scaffoldmaker/meshtypes/meshtype_3d_stomach1.py
Original file line number Diff line number Diff line change
Expand Up @@ -2651,8 +2651,8 @@ def generateBaseMesh(cls, region, options):
result1 = splitElementtemplate2.defineField(splitCoordinates, -1, eft2)
result2 = element.merge(splitElementtemplate2)
element.setNodesByIdentifier(eft2, nodeIdentifiers)
if eft2.getNumberOfLocalScaleFactors() == 1:
result3 = element.setScaleFactors(eft2, [-1.0])
if eft2.getNumberOfLocalScaleFactors() > 0:
element.setScaleFactor(eft2, 1, -1.0)
else:
result1 = splitElementtemplate1.defineField(splitCoordinates, -1, eft)
result2 = element.merge(splitElementtemplate1)
Expand Down

0 comments on commit 7999a63

Please sign in to comment.