How georgu/shyfemcm-ismar works
SHYFEM is a finite-element community model for 2D/3D hydrodynamics in complex coastal and inland waters, with documented mass-conserving treatment of drying flats. The supplied tree is a partial source snapshot: it exposes grid and mesh tools, plotting backends, ecological components, and GOTM configuration, but not the current model’s runtime or simulation driver. The visible workflow is grid editing or cleanup, with mesh cleanup writing a standard grid file; plotting and model integrations are separate branches. Edges are limited to relationships shown in excerpts or the source index.
Main entry points: exgrd.c Mesh cleanup · gridma1.c Grid editor · cppdefs.h GOTM configuration · grid Grid framework
Components 16
Grid and mesh tools
- Grid editor
src/tools/grid/gridma1.c - Grid framework
src/tools/grid - Grid graphics
src/tools/grid/graph.c - Mesh cleanup
src/tools/mesh/exgrd.c - Mesh framework
src/tools/mesh
Plotting
- PostScript plotting
src/tools/postscript/psgraph.c - HCBS plotting
src/tools/hcbs/xgraph.c - Ocean color tables
src/tools/shyplot/color/oceanlib - SeaWiFS colors
src/tools/shyplot/color/seawifs/colortb.c
Model components
- AquaBC component
src/contrib/ecological/aquabc/aquabc_II_aout.h - WEUTRO component
src/contrib/ecological/weutro/weutro.h - Obsolete BFM
src/obsolete/femersem/src/BFM - GOTM configuration
src/external/gotm/cppdefs.h - GOTM version
src/external/gotm/version.h
File utilities
- Unformatted I/O
src/tools/femutil/unform/unformatted.c - Standard grid file
Connections 4
- Grid editor → Grid framework: uses declarations
src/tools/grid/gridma1.c - Mesh cleanup → Mesh framework: uses mesh APIs
src/tools/mesh/exgrd.c - Mesh cleanup → Standard grid file: writes grid
src/tools/mesh/exgrd.c - GOTM configuration → GOTM version: includes version
src/external/gotm/cppdefs.h