@@ -135,7 +135,7 @@ subroutine pAdaptation_Construct(this, controlVariables, t0, mesh, adaptiveTimeS
135135 call readValueInRegion ( trim ( paramFile ) , " order across faces" , R_OrderAcrossFaces , in_label , " # end" )
136136 call readValueInRegion ( trim ( paramFile ) , " mode" , R_mode , in_label , " # end" )
137137 call readValueInRegion ( trim ( paramFile ) , " interval" , R_interval , in_label , " # end" )
138- call readValueInRegion ( trim ( paramFile ) , " max polynomial diff" , R_Jump , in_label , " # end" )
138+ call readValueInRegion ( trim ( paramFile ) , " max polynomial diff" , R_Jump , in_label , " # end" )
139139 call readValueInRegion ( trim ( paramFile ) , " restart files" , R_restart , in_label , " # end" )
140140 call readValueInRegion ( trim ( paramFile ) , " agent file" , agentFile , in_label , " # end" )
141141 call readValueInRegion ( trim ( paramFile ) , " threshold" , R_threshold , in_label , " # end" )
@@ -484,8 +484,6 @@ subroutine pAdaptation_pAdapt(this, sem, itera, t, computeTimeDerivative, Comput
484484 integer :: Dir ! Direction
485485 integer :: NNew(3 ,sem % mesh % no_of_elements) ! New polynomial orders of mesh (after adaptation!)
486486 integer , save :: Stage = 0 ! Stage of p-adaptation for the increasing method
487- CHARACTER (LEN= LINE_LENGTH) :: newInput ! Variable used to change the input in controlVariables after p-adaptation
488- character (len= LINE_LENGTH) :: RegfileName
489487 integer :: i ! Counters
490488 character (len= LINE_LENGTH) :: AdaptedMeshFile
491489 logical :: last
@@ -559,9 +557,6 @@ subroutine pAdaptation_pAdapt(this, sem, itera, t, computeTimeDerivative, Comput
559557 else
560558 adaptationPercentage = 100.0_RP * adaptedElements / sem % mesh % no_of_elements
561559 end if
562-
563- ! Only adapt once
564- this % Adapt = .FALSE.
565560
566561!
567562! -----------------------------------------------------------------------------
0 commit comments