Last change
on this file since 2 was
2,
checked in by opalod, 22 years ago
|
Initial revision
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.1 KB
|
Line | |
---|
1 | FUNCTION cmpgrid, newgrid |
---|
2 | ; |
---|
3 | @common |
---|
4 | ; |
---|
5 | ; |
---|
6 | ; newgrid must be a structure |
---|
7 | ; |
---|
8 | if size(newgrid, /type) NE 8 then return, 0 |
---|
9 | ; |
---|
10 | ; does ccmeshparameters exist ? |
---|
11 | ; |
---|
12 | if n_elements(ccmeshparameters) EQ 0 then return, 1 |
---|
13 | ; |
---|
14 | ; we compare the structure which caracterise the grid whith |
---|
15 | ; ccmeshparameters |
---|
16 | ; |
---|
17 | case 1 of |
---|
18 | ccmeshparameters.filename NE newgrid.filename: |
---|
19 | ccmeshparameters.filetype NE newgrid.filetype: |
---|
20 | ccmeshparameters.jpiglo NE newgrid.jpiglo: |
---|
21 | ccmeshparameters.jpjglo NE newgrid.jpjglo: |
---|
22 | ccmeshparameters.jpkglo NE newgrid.jpkglo: |
---|
23 | ccmeshparameters.jpi NE newgrid.jpi: |
---|
24 | ccmeshparameters.jpj NE newgrid.jpj: |
---|
25 | ccmeshparameters.jpk NE newgrid.jpk: |
---|
26 | ccmeshparameters.ixminmesh NE newgrid.ixminmesh: |
---|
27 | ccmeshparameters.ixmaxmesh NE newgrid.ixmaxmesh: |
---|
28 | ccmeshparameters.iyminmesh NE newgrid.iyminmesh: |
---|
29 | ccmeshparameters.iymaxmesh NE newgrid.iymaxmesh: |
---|
30 | ccmeshparameters.izminmesh NE newgrid.izminmesh: |
---|
31 | ccmeshparameters.izmaxmesh NE newgrid.izmaxmesh: |
---|
32 | ccmeshparameters.key_shift NE newgrid.key_shift: |
---|
33 | ELSE:return, 0 |
---|
34 | endcase |
---|
35 | |
---|
36 | return, 1 |
---|
37 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.