Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions Source/Project/Model/SMModel.f90
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,6 @@ SUBROUTINE ConstructInnerBoundaries( self, blockType, boundariesList )
ALLOCATE(chain)
CALL chain % initChainWithNameAndID(chainName,0)
CALL ConstructCurve(self, chain, ibDict )
CALL SetChainOptimizationParameters(chain, ibDict)

ELSE
chainDict => ibDict !This is just an alias
Expand All @@ -513,7 +512,6 @@ SUBROUTINE ConstructInnerBoundaries( self, blockType, boundariesList )
curveDict => valueDictionaryFromObject(obj)

CALL ConstructCurve(self, chain, curveDict )
CALL SetChainOptimizationParameters(chain, chainDict)

CALL listOfCurvesIterator % moveToNext()
END DO
Expand All @@ -532,6 +530,7 @@ SUBROUTINE ConstructInnerBoundaries( self, blockType, boundariesList )
! Finalize the chain
! ------------------
!
CALL SetChainOptimizationParameters(chain, ibDict)
CALL chain % complete(innerOrOuterCurve = INNER, chainMustClose = .TRUE.)
obj => chain
CALL release(obj)
Expand Down Expand Up @@ -576,7 +575,6 @@ SUBROUTINE SetChainOptimizationParameters(curveChain, curveDict)
CHARACTER(LEN=DEFAULT_CHARACTER_LENGTH) :: str
INTEGER , PARAMETER :: DONT_SKIP = 0, SKIP = 1
INTEGER :: j

!
curveChain % optimization = NONE
IF ( curveDict % containsKey(CHAIN_OPTIMIZATION_KEY) ) THEN
Expand Down