Skip to content
README.md 1.24 KiB
Newer Older
# PSAAP3 WENO
Timothy Smith's avatar
Timothy Smith committed

Timothy A. Smith's avatar
Timothy A. Smith committed
Standalone Fortran WENO code with Loopy transformations.

## Notes

* The WENO scheme is taken from [1]
* The Roe matrix implementation follows the internal PlasCom2 documentation
* Boundary conditions are not really handled correctly at all
* A declaration of "real" is not intended to suggest single precision
* This implementation does not include the severe shock correction proposed
* Current assumption for metrics is that metrics(i,j) = (\xi_i)_(x_j)
* It's not immediately obvious, but there might be some wasted work in the
    frozen generalized flux computation
* Right now the specific gas constant gamma is implemented as a magic number
    (1.4) -- this should be generalized

## References

[1] Nonomura, T., Terakado, D., Abe, Y., & Fujii, K. (2015).
*A new technique for freestream preservation of finite-difference WENO on curvilinear grid.*
Computers and Fluids, 107, 242–255.

## Fortran dialect wishlist

- Automatic line continuation in parentheses
- Array-valued expressions
- In-place operators
- Slicing that automatically picks an increment of -1 when appropriate
  - (e.g. 2:0 instead of 2:0:-1)

Note: Tag 'nice' references the code at a point where several of these items are used