MED fichier
medprofile.f
Aller à la documentation de ce fichier.
1 C* This file is part of MED.
2 C*
3 C* COPYRIGHT (C) 1999 - 2023 EDF R&D, CEA/DEN
4 C* MED is free software: you can redistribute it and/or modify
5 C* it under the terms of the GNU Lesser General Public License as published by
6 C* the Free Software Foundation, either version 3 of the License, or
7 C* (at your option) any later version.
8 C*
9 C* MED is distributed in the hope that it will be useful,
10 C* but WITHOUT ANY WARRANTY; without even the implied warranty of
11 C* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 C* GNU Lesser General Public License for more details.
13 C*
14 C* You should have received a copy of the GNU Lesser General Public License
15 C* along with MED. If not, see <http://www.gnu.org/licenses/>.
16 C*
17 c
18 c
19 c
20  subroutine mpfprw(fid,pname,psize,profil,cret)
21 c DEC$ ATTRIBUTES DLLEXPORT :: mpfprw
22 c
23  implicit none
24  save
25  character*(*) pname
26  integer profil(*)
27  integer*8 fid
28  integer cret,psize
29  integer mpffprw
30 c
31  cret = mpffprw(fid,pname,len(pname),psize,profil)
32 c
33  return
34  end
35 c
36 c
37 c
38  subroutine mpfnpf(fid,n,cret)
39 c DEC$ ATTRIBUTES DLLEXPORT :: mpfnpf
40 c
41  implicit none
42  save
43  integer*8 fid
44  integer n,cret
45  integer mpffnpf
46 c
47  n = mpffnpf(fid)
48 c
49  if (n.lt.0) then
50  cret = -1
51  else
52  cret = 0
53  endif
54 c
55  return
56  end
57 c
58 c
59 c
60  subroutine mpfpfi(fid, it, pname, psize, cret)
61 c DEC$ ATTRIBUTES DLLEXPORT :: mpfpfi
62 c
63  implicit none
64  save
65 c
66  character *(*) pname
67  integer*8 fid
68  integer psize, it, cret
69  integer mpffpfi
70 c
71  cret = mpffpfi(fid, it, pname, psize)
72 c
73  return
74  end
75 c
76 c
77 c
78  subroutine mpfpsn(fid, pname, psize, cret)
79 c DEC$ ATTRIBUTES DLLEXPORT :: mpfpsn
80 c
81  implicit none
82  save
83 c
84  character *(*) pname
85  integer*8 fid
86  integer psize, cret
87  integer mpffpsn
88 c
89  cret = mpffpsn(fid, pname, len(pname), psize)
90 c
91  return
92  end
93 c
94 c
95 c
96  subroutine mpfprr(fid,pname,profil,cret)
97 c DEC$ ATTRIBUTES DLLEXPORT :: mpfprr
98 c
99  implicit none
100  save
101  character*(*) pname
102  integer profil(*)
103  integer*8 fid
104  integer cret
105  integer mpffprr
106 c
107  cret = mpffprr(fid,pname,len(pname),profil)
108 c
109  return
110  end
111 
mpfpfi
subroutine mpfpfi(fid, it, pname, psize, cret)
Cette routine permet de lire les informations sur un profil dans un fichier MED.
Definition: medprofile.f:61
mpfprw
subroutine mpfprw(fid, pname, psize, profil, cret)
Cette routine permet d'écrire un profil dans un fichier MED.
Definition: medprofile.f:21
mpfnpf
subroutine mpfnpf(fid, n, cret)
Cette routine permet de lire le nombre de profils dans un fichier MED.
Definition: medprofile.f:39
mpfprr
subroutine mpfprr(fid, pname, profil, cret)
Cette routine permet de lire un profil dans un fichier MED.
Definition: medprofile.f:97
mpfpsn
subroutine mpfpsn(fid, pname, psize, cret)
Cette routine permet de lire la taille d'un profil dont on connait le nom.
Definition: medprofile.f:79