forked from altMITgcm/MITgcm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
streamice_finalize_petsc.F
38 lines (27 loc) · 1000 Bytes
/
streamice_finalize_petsc.F
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
C $Header: /u/gcmpack/MITgcm/pkg/streamice/streamice_finalize_petsc.F,v 1.1 2013/08/24 20:32:03 dgoldberg Exp $
C $Name: $
#include "STREAMICE_OPTIONS.h"
C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
CBOP
SUBROUTINE STREAMICE_FINALIZE_PETSC
C /============================================================\
C | SUBROUTINE |
C | o |
C |============================================================|
C | |
C \============================================================/
IMPLICIT NONE
C === Global variables ===
#ifdef ALLOW_PETSC
#include "finclude/petsc.h"
#endif
C !INPUT/OUTPUT ARGUMENTS
INTEGER myThid
#ifdef ALLOW_STREAMICE
#ifdef ALLOW_PETSC
PetscErrorCode ierr
call PetscFinalize(ierr)
#endif
#endif
RETURN
END