anchor.diff:  						endif
   						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
  
positive.code: 				!
  				!	TO DO : ensure adjacent panels differ by at most one level of refinement
  				!
  
  				!
  				! set data on new panels and particles
  				!
  
negative.code: 			do k = 1, nAdj
  				adjNestLevels(k) = aPanels%nest( adjPanels(k) )
  			enddo	
  			if ( maxval(adjNestLevels) - aPanels%nest(j) >= 4 ) then
  				refineFlag(j) = .TRUE.
  				counter = counter + 1
  			endif
  