source: LMDZ5/trunk/libf/phylmd/wrgradsfi.F @ 1970

Last change on this file since 1970 was 1907, checked in by lguez, 11 years ago

Added a copyright property to every file of the distribution, except
for the fcm files (which have their own copyright). Use svn propget on
a file to see the copyright. For instance:

$ svn propget copyright libf/phylmd/physiq.F90
Name of program: LMDZ
Creation date: 1984
Version: LMDZ5
License: CeCILL version 2
Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
See the license file in the root directory

Also added the files defining the CeCILL version 2 license, in French
and English, at the top of the LMDZ tree.

  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 824 bytes
RevLine 
[524]1!
2! $Header$
3!
[766]4      subroutine wrgradsfi(if,nl,fieldfi_p,name,titlevar)
[776]5      USE dimphy
6      USE mod_grid_phy_lmdz
7      USE mod_phys_lmdz_para
[524]8      implicit none
9
10c   Declarations
11
12#include "dimensions.h"
[766]13cym#include "dimphy.h"
[524]14
15c   arguments
16      integer if,nl
[766]17      real fieldfi_p(klon,nl)
[776]18      real fieldfi(klon_glo,nl)
[524]19      real fielddyn((iim+1)*(jjm+1),llm)
20      character*10 name
21      character*10 titlevar
22
23c   local
24
[1606]25      integer lm,l
[524]26
27
28
29c     print*,'Transformation pour ',name
[776]30      call Gather(fieldfi_p,fieldfi)
31
32c$OMP MASTER     
33      if (is_mpi_root) then
[766]34        call gr_fi_dyn(nl,klon,iim+1,jjm+1,fieldfi,fielddyn)
[776]35       
[524]36c     print*,'Transformation OK '
[766]37        call wrgrads(if,nl,fielddyn,name,titlevar)
[524]38c     print*,'Ecriture ok'
[766]39      endif
[776]40c$OMP END MASTER
[766]41     
[524]42      return
43      end
Note: See TracBrowser for help on using the repository browser.