/[lmdze]/trunk/bibio/Writefield/getfieldindex.f
ViewVC logotype

Contents of /trunk/bibio/Writefield/getfieldindex.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 108 - (show annotations)
Tue Sep 16 14:00:41 2014 UTC (9 years, 7 months ago) by guez
File size: 533 byte(s)
Imported writefield from LMDZ. Close at the end of gcm the files which
were created by writefiled (not done in LMDZ).

Removed procedures for the output of Grads files. Removed calls to
dump2d. In guide, replaced calls to wrgrads by calls to writefield.

In vlspltqs, removed redundant programming of saturation
pressure. Call foeew from module FCTTRE instead.

Bug fix in interpre: size of w exceeding size of correponding actual
argument wg in advtrac.

In leapfrog, call guide until the end of the run, instead of six hours
before the end.

Bug fix in readsulfate_preind: type of arguments.

1 module getfieldindex_m
2
3 implicit none
4
5 contains
6
7 integer function GetFieldIndex(name)
8
9 USE write_field, ONLY: fieldname, nbfield
10
11 character(len=*), intent(in):: name
12
13 ! Local:
14 character(len=255) TrueName
15 integer i
16
17 !--------------------------------------------------
18
19 TrueName=TRIM(ADJUSTL(name))
20
21 GetFieldIndex=-1
22
23 do i=1,NbField
24 if (TrueName==FieldName(i)) then
25 GetFieldIndex=i
26 exit
27 endif
28 enddo
29
30 end function GetFieldIndex
31
32 end module getfieldindex_m

  ViewVC Help
Powered by ViewVC 1.1.21