The Coastline Evolution Model (or CEM) is a one-contour line model that focuses
on sandy, wave-dominated shoreline evolution, simulating the plan-view evolution
of a coastline due to gradients in alongshore sediment transport. A unique
aspect of CEM is its ability to process an arbitrarily sinuous shoreline
by dividing the plan-view domain into a 2-dimensional cell array, allowing the
simulation of complex shoreline features including spits and capes. The model
is exploratory in nature, designed to simulate large-scale (
CEM can be built from source on Linux, macOS, and Windows with a C compiler and CMake. Instructions are given below.
Note:
A convenient way to gather dependencies and build CEM is with a virtual environment set up through the conda package manager. Create a conda environment with the included environment file:
conda env create --file environment.ymlTo build CEM from source with CMake, run
cmake -B _build --fresh
cmake --build _buildThe compiled model files live in the directory _build.
Run the tests with
ctest -V --test-dir _buildInstall the model with
cmake --install _build --prefix PATH-TO-INSTALLATIONwhere PATH-TO-INSTALLATION is the base directory
in which to install the model (/usr/local is the default).
CEM is self-contained,
so installing to a local directory,
e.g., _install, is a convenient option.
Run the model with
./_install/bin/cem --help