56 #include "include/finclude/petsc.h"
62 CHARACTER(CHRLEN) :: &
63 RCSIdentString =
'$RCSfile: RFLU_ModPETScAdmin.F90,v $ $Revision: 1.4 $'
115 'RFLU_ModPETScAdmin.F90')
117 IF ( global%myProcid == masterproc .AND. &
118 global%verbLevel > verbose_low )
THEN
119 WRITE(stdout,
'(A,1X,A)') solver_name,
'Finalizing PETSc...'
126 CALL petscfinalize(errorflag)
127 global%error = errorflag
128 IF ( global%error /= err_none )
THEN
129 CALL
errorstop(global,err_petsc_output,__line__)
136 IF ( global%myProcid == masterproc .AND. &
137 global%verbLevel > verbose_low )
THEN
138 WRITE(stdout,
'(A,1X,A)') solver_name,
'Finalizing PETSc done.'
190 'RFLU_ModPETScAdmin.F90')
192 IF ( global%myProcid == masterproc .AND. &
193 global%verbLevel > verbose_low )
THEN
194 WRITE(stdout,
'(A,1X,A)') solver_name,
'Initializing PETSc...'
201 CALL petscinitialize(petsc_null_character,errorflag)
202 global%error = errorflag
203 IF ( global%error /= err_none )
THEN
204 CALL
errorstop(global,err_petsc_output,__line__)
211 IF ( global%myProcid == masterproc .AND. &
212 global%verbLevel > verbose_low )
THEN
213 WRITE(stdout,
'(A,1X,A)') solver_name,
'Initializing PETSc done.'
subroutine registerfunction(global, funName, fileName)
subroutine, public rflu_petsc_finalize(global)
subroutine, public rflu_petsc_init(global)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)