SMS:CMS-Flow Grid Modification Flag

From XMS Wiki
Revision as of 14:25, 17 June 2019 by Jcreer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

As CMS-Flow runs, especially when coupled with CMS-Wave, water levels increase and decrease and bed morphology changes the bottom elevations. Some cells may change state from dry to active. When this occurs, the datasets associate with grid change. The grid modification flag was created to indicate that the grid status has changed so that the model knows that geometric relationships (such as neighbor files) need to be updated.

The grid modification flag will start at 0 and increment by 1 when one of the following occurs:

  • Merging Rows and columns
  • Splitting rows and columns
  • Dragging row or column edges
  • Duplicating a grid
  • Making an active ocean cell inactive or vice versa

The flag is written out to the *.cmcards file with the GRID_MODIFICATION_NUMBER card. Below is an example:

GRID_MODIFICATION_NUMBER 4


Related Topics