Python translation of Michael Porter's KRAKEN (not KRAKENC).
An alternative implementation which provided an internal wave mode equation solver using the same numerical methods as Richard Evans
FORTRANmodel WAVE is found on an archived branch of the code calledrev1_archive.
The code is provided "as is", with no guarantees of correctness. When in doubt, compare to KRAKEN and to KRAKENC.
Comparisons for a number of test environments are provided in tests/.
This repository use uv to manage its dependency
uv sync # install necessary dependency
source .venv/bin/activate # activate the virtual environment (you can also use `uv run $SHELL`)Install development and testing dependencies using
uv sync --all-groupsSome basic tests are implemented to compare the results of the modal parameters KRAKEN program.
uv run pytest