SURFEX v7.3
General documentation of Surfex
 All Classes Files Functions Variables Typedefs
/home/dasprezs/EXPORT_v7_3/src/LIB/XRD38/FA/mt/fa_limits_mt.F
Go to the documentation of this file.
00001 C Jan-2011 P. Marguinaud Thread-safe FA
00002       SUBROUTINE FA_LIMITS_MT(FA, KPXPAH,KPXIND,KPXGEO,KPXNIV)
00003       USE FA_MOD, ONLY : FA_COM
00004       USE PARKIND1, ONLY : JPRB
00005       USE YOMHOOK , ONLY : LHOOK, DR_HOOK
00006 
00007       ! -----
00008       ! Purpose:
00009       !   Returns limits necessary for proper dimensioning of FA fields
00010       !   (arrays entering subroutine FACIES). It was created because
00011       !   of two reasons:
00012       !
00013       !   1) Subroutine FALIMU does not provide all needed limits.
00014       !
00015       !   2) Direct use of parameters JPX* from include "facomp.h" would
00016       !   be more convenient (no need to define interface arrays as
00017       !   allocatable). But since this include contains CPP directives,
00018       !   its use in external utilities might give wrong numbers with
00019       !   improper compile options. Moreover, include is written
00020       !   in fixed form and cannot be inserted into free form source.
00021       !
00022       ! Created:
00023       !   25-Jun-2010, J. Masek
00024       !
00025       ! Modified:
00026       !
00027       ! -----
00028 
00029       TYPE(FA_COM) :: FA
00030       INTEGER :: KPXPAH,KPXIND,KPXGEO,KPXNIV
00031 
00032       KPXPAH=FA%JPXPAH
00033       KPXIND=FA%JPXIND
00034       KPXGEO=FA%JPXGEO
00035       KPXNIV=FA%JPXNIV
00036 
00037       END SUBROUTINE 
00038