28 common /nekmpi/ mid,mp,nekcomm,nekgroup,nekreal
41 common /c_is1/ glo_num(lx1 * ly1 * lz1, lelt)
42 common /ivrtx/ vertex((2 ** ldim) * lelt)
43 integer*8 glo_num, ngv
47 wdsize = sizeof(rtest)
51 isize8 = sizeof(itest8)
57 call setupcomm(comm,newcomm,newcommg,
'',
'')
60 iglobalcomm = newcommg
79 if (nsteps.eq.0 .and. fintim.eq.0.) instep=0
86 if(nio.eq.0)
write(6,*)
'call usrdat'
88 if(nio.eq.0)
write(6,
'(A,/)')
' done :: usrdat'
94 if(nio.eq.0)
write(6,*)
'call usrdat2'
96 if(nio.eq.0)
write(6,
'(A,/)')
' done :: usrdat2'
110 if (fintim.ne.0.0 .or. nsteps.ne.0)
115 if (ifflow.and.iftran)
then
116 if (fintim.ne.0 .or. nsteps.ne.0)
call prinit
121 if(nio.eq.0)
write(6,*)
'call usrdat3'
123 if(nio.eq.0)
write(6,
'(A,/)')
' done :: usrdat3'
132 if (instep.ne.0)
then
136 if (nio.eq.0)
write(6,*)
'call userchk'
138 if(nio.eq.0)
write(6,
'(A,/)')
' done :: userchk'
143 if (ifcvode .and. nsteps.gt.0)
call cv_init
159 if (timeio.ne.0.0) ntdump = int( time/timeio )
164 if (time.ne.0.0)
write (6,
'(a,e14.7)')
' Initial time:',time
165 write (6,
'(a,g13.5,a)')
166 &
' Initialization successfully completed ', tinit,
' sec'
181 if (instep.eq.0)
then
182 if(nid.eq.0)
write(6,
'(/,A,/,A,/)')
183 &
' nsteps=0 -> skip time loop',
184 &
' running solver in post processing mode'
186 if(nio.eq.0)
write(6,
'(/,A,/)')
'Starting time loop ...'
202 irstat = int(param(120))
204 do kstep=1,nsteps,msteps
206 if(kstep.ge.nsteps) lastep = 1
214 if (mod(kstep,irstat).eq.0 .and. lastep.eq.0)
call runstat
215 if (lastep .eq. 1)
goto 1001
222 if (instep.eq.0)
then
225 if(nio.eq.0)
write(6,*)
'call userchk'
227 if(nio.eq.0)
write(6,*)
'done :: userchk'
230 if (nio.eq.0)
write(6,
'(/,A,/)')
231 $
'end of time-step loop'
247 ntot = lx1*ly1*lz1*nelv
259 if (nio.eq.0.and.istep.le.1)
write(6,*)
'CMT branch active'
268 if (ifneknekc .and. igeom.gt.2)
then
274 if (ifheat .and. ifcvode)
call heat_cvode (igeom)
281 if (ifheat)
call heat (igeom)
289 if (ifflow)
call fluid (igeom)
290 if (ifmvbd)
call meshv (igeom)
291 if (igeom.eq.ngeom.and.filtertype.eq.1)
300 if (ifneknekc .and. igeom.gt.2)
then
306 if (ifheat .and. ifcvode)
call heat_cvode (igeom)
309 if (.not.ifrich)
call gengeom (igeom)
314 if (ifheat)
call heat (igeom)
317 if (ifbase.and.ifheat)
call heat (igeom)
318 if (ifbase.and.ifflow)
call fluid (igeom)
319 if (ifflow)
call fluidp (igeom)
320 if (ifheat)
call heatp (igeom)
322 if (ifheat)
call heat (igeom)
323 if (ifflow)
call fluid (igeom)
324 if (ifmvbd)
call meshv (igeom)
326 if (igeom.eq.ngeom.and.filtertype.eq.1)
subroutine setlog(ifecho)
subroutine setupcomm(comm, newcomm, newcommg, path_in, session_in)
real *8 function dnekclock()
real *8 function dnekclock_sync()
subroutine setup_mesh_dssum
subroutine setup_convect(igeom)
subroutine nek__multi_advance(kstep, msteps)
subroutine nek_init(comm)
subroutine opcount(ICALL)
subroutine heat_cvode(igeom)
subroutine gengeom(igeom)
subroutine geom_reset(icall)
subroutine neknek_exchange
subroutine q_filter(wght)
subroutine in_situ_init()
subroutine in_situ_check()
subroutine prepost(ifdoin, prefin)