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: 			call FlagPanelsForTracerMassRefinement(refineFlag, newMesh, remesh, startIndex, counters(3))
  			call FlagPanelsForTracerVariationRefinement(refineFlag, newMesh, remesh, startIndex, counters(4))
  		endif
  
  		refineCount = count(refineFlag)
  		spaceLeft = newPanels%N_Max - newPanels%N
  
negative.code: 		call FlagPanelsForTracerVariationRefinement(refineFlag, aMesh, remesh, startIndex, counters(5))
  	endif
  
  	call FlagPanelsForTransitionRefinement( refineFlag, aMesh, remesh, startIndex, counters(6) )
  	
  	refineCount = count(refineFlag)
  	spaceLeft = aPanels%N_Max - aPanels%N
  
  