source: LMDZ.3.3/branches/rel-LF/libf/dyn3d/inter_barxy.F @ 317

Last change on this file since 317 was 317, checked in by lmdzadmin, 22 years ago

Import dans la version couplée
LF

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1       SUBROUTINE inter_barxy ( interfd,jnterfd,dlonid,dlatid ,
2     ,        champ,imod,jmod,rlonimod,rlatimod, jsort,champint )
3
4c    Auteur :   P. Le Van
5c
6       INTEGER interfd,jnterfd,imod,jmod
7       REAL champ(interfd,jnterfd +1 ),dlonid(interfd),dlatid(jnterfd),
8     ,      champint(imod,jsort)
9       REAL rlonimod(imod),rlatimod(jmod)
10
11#include "dimensions.h"
12#include "paramet.h"
13#include "comgeom2.h"
14
15       REAL champx(imod),champy(jnterfd +1,imod),chpn(imod),chps(imod)
16       REAL chhpn,chhps
17       REAL fmody(jjp1)
18c
19
20         print *,' NEEEEE BY ** '
21       DO j = 1, jnterfd + 1
22        CALL inter_barx( interfd, dlonid, champ( 1,j ),
23     ,                       imod, rlonimod , champx )
24         DO i = 1,imod
25           champy(j,i) = champx(i)
26         ENDDO
27       ENDDO
28
29       DO i = 1, imod
30        CALL inter_bary( jjm,jnterfd,dlatid,champy(1,i),
31     ,                     jmod ,rlatimod,  fmody     )
32          DO j = 1, jsort
33           champint(i,j) = fmody(j)
34          ENDDO
35       ENDDO
36
37       IF( jsort.EQ.jjp1)  THEN
38
39c   ....  Valeurs uniques  aux  poles ....
40c
41         DO i =  1,imod
42          chpn(i)  = aire( i,  1   ) * champint( i, 1   )
43          chps(i)  = aire( i, jjp1 ) * champint( i,jjp1 )
44         ENDDO
45          chhpn  = SSUM(imod,chpn,1)/apoln
46          chhps  = SSUM(imod,chps,1)/apols
47
48         DO i = 1, imod
49          champint( i,  1  ) = chhpn
50          champint( i, jjp1) = chhps
51         ENDDO
52c
53       ENDIF
54
55       RETURN
56       END
57
Note: See TracBrowser for help on using the repository browser.