55 CHARACTER(CHRLEN) :: casename, verbosity
57 INTEGER :: verblevel, ditersystem, errorflag
59 REAL(RFREAL) :: dtimesystem
61 TYPE(t_region
),
POINTER :: regions(:)
67 CALL getarg(1,casename)
68 CALL getarg(2,verbosity)
70 IF (len_trim(casename) == 0 .OR. len_trim(verbosity) == 0)
THEN
71 WRITE(stdout,
'(A)') solver_name
72 WRITE(stdout,
'(A,1X,A)') solver_name,
'Usage: rflomp <casename> <verbosity>'
73 WRITE(stdout,
'(A,1X,A)') solver_name,
' verbosity = 0 - no output'
74 WRITE(stdout,
'(A,1X,A)') solver_name,
' = 1 - moderate output'
75 WRITE(stdout,
'(A,1X,A)') solver_name,
' = 2 - output all'
76 WRITE(stdout,
'(A)') solver_name
80 READ(verbosity,*) verblevel
84 ALLOCATE( global,stat=errorflag )
85 IF (errorflag /= err_none)
THEN
86 WRITE(stderr,
'(A)') solver_name//
' ERROR - pointer allocation failed.'
94 dtimesystem = global%maxTime - global%currentTime
95 ditersystem = global%MaxIter - global%currentIter
subroutine rflo_flowsolver(dTimeSystem, dIterSystem, regions)
subroutine rflo_endflowsolver(regions)
subroutine rflo_initflowsolver(casename, verbLevel, global, regions)
int main(int argc, char *argv[])