/[MITgcm]/MITgcm/pkg/streamice/streamice_finalize_petsc.F
ViewVC logotype

Contents of /MITgcm/pkg/streamice/streamice_finalize_petsc.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Mon Feb 16 16:46:45 2015 UTC (9 years, 2 months ago) by dgoldberg
Branch: MAIN
CVS Tags: checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, HEAD
Changes since 1.1: +10 -1 lines
require parameter streamice_use_petsc to be true even if ALLOW_PETSC cpp command is defined for streamice to use petsc for linear solveD

1 C $Header: /u/gcmpack/MITgcm/pkg/streamice/streamice_finalize_petsc.F,v 1.1 2013/08/24 20:32:03 dgoldberg Exp $
2 C $Name: $
3
4 #include "STREAMICE_OPTIONS.h"
5
6 C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
7
8 CBOP
9 SUBROUTINE STREAMICE_FINALIZE_PETSC
10 C /============================================================\
11 C | SUBROUTINE |
12 C | o |
13 C |============================================================|
14 C | |
15 C \============================================================/
16 IMPLICIT NONE
17
18 C === Global variables ===
19 #include "SIZE.h"
20 #include "GRID.h"
21 #include "EEPARAMS.h"
22 #include "PARAMS.h"
23 #include "STREAMICE.h"
24 #ifdef ALLOW_PETSC
25 #include "finclude/petsc.h"
26 #endif
27
28
29 C !INPUT/OUTPUT ARGUMENTS
30 INTEGER myThid
31
32 #ifdef ALLOW_STREAMICE
33
34 #ifdef ALLOW_PETSC
35
36 PetscErrorCode ierr
37
38 if (streamice_use_petsc) then
39 call PetscFinalize(ierr)
40 endif
41
42 #endif
43
44 #endif
45 RETURN
46 END
47

  ViewVC Help
Powered by ViewVC 1.1.22