54 TYPE (t_region
),
POINTER :: regions(:)
66 global => regions(1)%global
69 'RFLO_EndFlowSolver.F90' )
73 IF (global%myProcid == masterproc)
THEN
74 CLOSE(if_conver,iostat=errorflag)
75 global%error = errorflag
76 IF (global%error /= 0) CALL
errorstop( global,err_file_close,__line__ )
77 IF (global%thrustType /= thrust_none)
THEN
78 CLOSE(if_thrust,iostat=errorflag)
79 global%error = errorflag
80 IF (global%error /= 0) CALL
errorstop( global,err_file_close,__line__ )
84 IF (global%nProbes > 0)
THEN
85 DO iprobe=1,global%nProbes
86 IF (regions(global%probePos(iprobe,1))%procid==global%myProcid .AND. &
87 regions(global%probePos(iprobe,1))%active==active)
THEN
88 CLOSE(if_probe+iprobe-1,iostat=errorflag)
89 global%error = errorflag
90 IF (global%error /= 0) CALL
errorstop( global,err_file_close,__line__ )
95 IF (global%myProcid==masterproc .AND. global%verbLevel/=verbose_none) &
96 WRITE(stdout,
'(/,A,/)') solver_name//
' Program finished.'
102 CALL mpi_barrier( global%mpiComm,global%mpierr )
103 CALL mpi_finalize( global%mpierr )
104 IF (global%mpierr /=0 ) CALL
errorstop( global,err_mpi_trouble,__line__ )
subroutine registerfunction(global, funName, fileName)
subroutine rflo_endflowsolver(regions)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)