anchor.diff:  			endif
   			call FlagPanelsForTracerVariationRefinement(refineFlag, newMesh, remesh, startIndex, counters(5))
   		endif
  -
  +		call FlagPanelsForTransitionRefinement( refineFlag, newMesh, remesh, startIndex, counters(6) )
  +		
   		refineCount = count(refineFlag)
   		spaceLeft = newPanels%N_Max - newPanels%N
   
  
positive.code: 						endif
  						call FlagPanelsForTracerVariationRefinement(refineFlag, aMesh, remesh, startIndex, counters(5))
  					endif
  
  					refineCount = count(refineFlag)
  					spaceLeft = aPanels%N_Max - aPanels%N
  
  
negative.code: 							endif
  							call FlagPanelsForTracerVariationRefinement(refineFlag, newMesh, remesh, startIndex, counters(5))
  						endif
  						call FlagPanelsForTransitionRefinement( refineFlag, newMesh, remesh, startIndex, counters(6) )
  
  						refineCount = count(refineFlag)
  						spaceLeft = newPanels%N_Max - newPanels%N
  