MED fichier
medsupport.f
Aller à la documentation de ce fichier.
1C* This file is part of MED.
2C*
3C* COPYRIGHT (C) 1999 - 2020 EDF R&D, CEA/DEN
4C* MED is free software: you can redistribute it and/or modify
5C* it under the terms of the GNU Lesser General Public License as published by
6C* the Free Software Foundation, either version 3 of the License, or
7C* (at your option) any later version.
8C*
9C* MED is distributed in the hope that it will be useful,
10C* but WITHOUT ANY WARRANTY; without even the implied warranty of
11C* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12C* GNU Lesser General Public License for more details.
13C*
14C* You should have received a copy of the GNU Lesser General Public License
15C* along with MED. If not, see <http://www.gnu.org/licenses/>.
16C
17
18 subroutine msmcre(fid , maa , sdim , mdim , des,
19 & atype, aname, aunit, cret)
20c DEC$ ATTRIBUTES DLLEXPORT :: msmcre
21c
22 implicit none
23 save
24c
25 character *(*) maa, des, aname, aunit
26 integer*8 fid
27 integer cret, atype, sdim, mdim
28 integer msmfcre
29c
30 cret = msmfcre(fid, maa, len(maa), sdim, mdim,
31 & des, len(des), atype, aname, 16*sdim,
32 & aunit, 16*sdim)
33c
34 return
35 end
36c
37c
38c
39 subroutine msmnsm( fid , n , cret)
40c DEC$ ATTRIBUTES DLLEXPORT :: msmnsm
41c
42 implicit none
43 save
44c
45 integer*8 fid
46 integer n, cret
47 integer msmfnsm
48c
49 n = msmfnsm(fid)
50
51 if (n.lt.0) then
52 cret = -1
53 else
54 cret = 0
55 endif
56c
57 return
58 end
59c
60c
61c
62 subroutine msmsni(fid, name, sdim, mdim, desc,
63 & atype, aname, aunit, cret)
64c DEC$ ATTRIBUTES DLLEXPORT :: msmsni
65c
66 implicit none
67 save
68c
69 character *(*) name, desc, aname, aunit
70 integer*8 fid
71 integer sdim, mdim, atype, cret
72 integer msmfsni
73c
74 cret = msmfsni(fid, name, len(name), sdim, mdim, desc,
75 & atype, aname, aunit)
76c
77 return
78 end
79c
80c
81c
82 subroutine msmsmi(fid, it, name, sdim, mdim, desc,
83 & atype, aname, aunit, cret)
84c DEC$ ATTRIBUTES DLLEXPORT :: msmsmi
85c
86 implicit none
87 save
88c
89 character *(*) name, desc, aname, aunit
90 integer*8 fid
91 integer sdim, mdim, atype, it, cret
92 integer msmfsmi
93c
94 cret = msmfsmi(fid, it, name, sdim, mdim, desc,
95 & atype, aname, aunit)
96c
97 return
98 end
99c
100c
101c
102 subroutine msmnax( fid , it, naxis, cret)
103c DEC$ ATTRIBUTES DLLEXPORT :: msmnax
104c
105 implicit none
106 save
107c
108 integer*8 fid
109 integer it,naxis,cret
110 integer msmfnax
111c
112 naxis = msmfnax(fid,it)
113c
114 if (naxis.lt.0) then
115 cret = -1
116 else
117 cret = 0
118 endif
119 return
120 end
121c
122c
123c
124 subroutine msmnan( fid , name, naxis, cret)
125c DEC$ ATTRIBUTES DLLEXPORT :: msmnan
126c
127 implicit none
128 save
129c
130 integer*8 fid
131 integer naxis,cret
132 character *(*) name
133 integer msmfnan
134c
135 naxis = msmfnan(fid,name,len(name))
136c
137 if (naxis.lt.0) then
138 cret = -1
139 else
140 cret = 0
141 endif
142 return
143 end
subroutine msmsmi(fid, it, name, sdim, mdim, desc, atype, aname, aunit, cret)
Definition medsupport.f:84
subroutine msmnan(fid, name, naxis, cret)
Definition medsupport.f:125
subroutine msmcre(fid, maa, sdim, mdim, des, atype, aname, aunit, cret)
Definition medsupport.f:20
subroutine msmnsm(fid, n, cret)
Definition medsupport.f:40
subroutine msmnax(fid, it, naxis, cret)
Definition medsupport.f:103
subroutine msmsni(fid, name, sdim, mdim, desc, atype, aname, aunit, cret)
Definition medsupport.f:64