Changeset 2715 for trunk/NEMOGCM/NEMO/OPA_SRC/SBC/sbcapr.F90
- Timestamp:
- 2011-03-30T17:58:35+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/OPA_SRC/SBC/sbcapr.F90
r2528 r2715 19 19 USE in_out_manager ! I/O manager 20 20 USE lib_fortran ! distribued memory computing library 21 USE iom 22 USE restart 21 USE iom ! IOM library 22 USE lib_mpp ! MPP library 23 USE restart ! ocean restart 23 24 24 25 IMPLICIT NONE … … 32 33 LOGICAL, PUBLIC :: ln_ref_apr = .FALSE. !: ref. pressure: global mean Patm (F) or a constant (F) 33 34 34 REAL(wp), ALLOCATABLE, PUBLIC, DIMENSION(:,:) :: ssh_ib ! Inverse barometer now sea surface height[m]35 REAL(wp), ALLOCATABLE, PUBLIC, DIMENSION(:,:) :: ssh_ibb ! Inverse barometer before sea surface height[m]36 REAL(wp), ALLOCATABLE, PUBLIC, DIMENSION(:,:) :: apr ! atmospheric pressure at kt[N/m2]35 REAL(wp), ALLOCATABLE, SAVE, PUBLIC, DIMENSION(:,:) :: ssh_ib ! Inverse barometer now sea surface height [m] 36 REAL(wp), ALLOCATABLE, SAVE, PUBLIC, DIMENSION(:,:) :: ssh_ibb ! Inverse barometer before sea surface height [m] 37 REAL(wp), ALLOCATABLE, SAVE, PUBLIC, DIMENSION(:,:) :: apr ! atmospheric pressure at kt [N/m2] 37 38 38 39 REAL(wp) :: rpref = 101000._wp ! reference atmospheric pressure [N/m2] 39 40 REAL(wp) :: tarea ! whole domain mean masked ocean surface 40 41 REAL(wp) :: r1_grau ! = 1.e0 / (grav * rau0) 41 42 42 43 TYPE(FLD), ALLOCATABLE, DIMENSION(:) 43 TYPE(FLD), ALLOCATABLE, DIMENSION(:) :: sf_apr ! structure of input fields (file informations, fields read) 44 44 45 45 !! * Substitutions 46 46 # include "domzgr_substitute.h90" 47 47 !!---------------------------------------------------------------------- 48 !! NEMO/OPA 3.3 , NEMO Consortium (2010)49 !! $Id $50 !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt)48 !! NEMO/OPA 4.0 , NEMO Consortium (2011) 49 !! $Id: $ 50 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 51 51 !!---------------------------------------------------------------------- 52 52 CONTAINS … … 91 91 ! 92 92 ALLOCATE( sf_apr(1), STAT=ierror ) !* allocate and fill sf_sst (forcing structure) with sn_sst 93 IF( ierror > 0 ) THEN 94 CALL ctl_stop( 'sbc_apr: unable to allocate sf_apr structure' ) ; RETURN 95 ENDIF 93 IF( ierror > 0 ) CALL ctl_stop( 'STOP', 'sbc_apr: unable to allocate sf_apr structure' ) 94 ! 96 95 CALL fld_fill( sf_apr, (/ sn_apr /), cn_dir, 'sbc_apr', 'Atmospheric pressure ', 'namsbc_apr' ) 97 96 ALLOCATE( sf_apr(1)%fnow(jpi,jpj,1) )
Note: See TracChangeset
for help on using the changeset viewer.