Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 662 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 662 Bytes

SageMath scripts used in the paper "MPDATA: Third-order accuracy for arbitrary flows".

Requirements

  • SageMath (known to work in the version 8.0)
  • Tests also require pytest installed in the SageMath own version of Python.
    You can install it using $ sage --python -m easy_install pytest.

Testing

$ make followed by $ make test runs the tests.

Usage

The file mea.sage contains a routine to perform the modified equation analysis for a given flux function. The flux function of MPDATA is defined in schemes.sage. See test_upwind.sage and test_mpdata.sage for an example of combining the two.