Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(optimisation_type), | intent(inout) | :: | optim |
subroutine finish_optimisation_config(optim)
use file_utils, only: close_output_file
use mp, only: proc0
implicit none
type(optimisation_type), intent(inout) :: optim
initialized = .false.
if(optim%on) then
if (proc0) call close_output_file(optim%outunit)
end if
call optimisation_config%reset()
end subroutine finish_optimisation_config