56 TYPE(t_region
),
POINTER :: regions(:)
62 REAL(RFREAL) :: cfl, dtmin, dtmintot
68 global => regions(1)%global
71 'RFLO_MinimumTimeStep.F90' )
75 dtmin = global%dtImposed
77 DO ireg=1,global%nRegions
78 IF (regions(ireg)%procid==global%myProcid .AND. &
79 regions(ireg)%active==active)
THEN
80 cfl = regions(ireg)%mixtInput%cfl
81 dtmin =
min(dtmin,global%dtMin*cfl)
90 CALL mpi_allreduce( global%dtMin,dtmintot,1,mpi_rfreal,mpi_min, &
91 global%mpiComm,global%mpierr )
92 IF (global%mpierr /=0 ) CALL
errorstop( global,err_mpi_trouble,__line__ )
94 global%dtMin = dtmintot
subroutine registerfunction(global, funName, fileName)
subroutine rflo_minimumtimestep(regions)
Vector_n min(const Array_n_const &v1, const Array_n_const &v2)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)