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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
|
C Copyright 1981-2007 ECMWF
C
C Licensed under the GNU Lesser General Public License which
C incorporates the terms and conditions of version 3 of the GNU
C General Public License.
C See LICENSE and gpl-3.0.txt for details.
C
SUBROUTINE FREECF(KFLAG)
C
C---->
C**** FREECF
C
C PURPOSE
C _______
C
C This routine sets the flag controlling handling of spectral
C to grid interpolation coefficients memory.
C
C
C INTERFACE
C _________
C
C CALL FREECF(KFLAG)
C
C Input parameters
C ________________
C
C KFLAG - Flag indicating whether flushing of memory is done or not
C = 1 to turn on flushing
C = any other value to turn off flushing (default)
C
C
C Output parameters
C ________________
C
C None
C
C
C Common block usage
C __________________
C
C JDCSPGP - flag LFREECF
C
C
C Method
C ______
C
C Sets flags LFREECF and NFREECF
C
C
C Externals
C _________
C
C None
C
C
C Reference
C _________
C
C None
C
C
C Comments
C ________
C
C None.
C
C
C AUTHOR
C ______
C
C J.D.Chambers ECMWF March 1998
C
C
C MODIFICATIONS
C _____________
C
C None
C
C----<
C
IMPLICIT NONE
C
#include "jparam2.h"
C
C Subroutine arguments
C
INTEGER KFLAG
C
IF( KFLAG.EQ.1 ) THEN
LFREECF = .TRUE.
NFREECF = 11041967
ELSE
LFREECF = .FALSE.
NFREECF = 11041967
ENDIF
C
RETURN
END
|