source: trunk/SRC/ToBeReviewed/GRILLE/changegrid.pro @ 72

Last change on this file since 72 was 69, checked in by smasson, 18 years ago

debug + new xxx

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 496 bytes
Line 
1function changegrid, newgrid
2;
3@cm_4mesh
4;
5;
6   if cmpgrid(newgrid) EQ 0 then return, 0
7;
8; update the common paramaters
9;
10   ccmeshparameters = newgrid
11
12   ixminmesh = newgrid.ixminmesh
13   ixmaxmesh = newgrid.ixmaxmesh
14   iyminmesh = newgrid.iyminmesh
15   iymaxmesh = newgrid.iymaxmesh
16   izminmesh = newgrid.izminmesh
17   izmaxmesh = newgrid.izmaxmesh
18;
19; read the new file
20;
21   loadgrid, newgrid.filename
22;
23  IF NOT keyword_set(key_forgetold) THEN BEGIN
24   @updateold
25  ENDIF
26;
27   return, 1
28end
Note: See TracBrowser for help on using the repository browser.