https://github.com/szaghi/foreseer
FOrtran RiEmann SolveErs EnviRonment
https://github.com/szaghi/foreseer
fortran oop riemann-solvers
Last synced: 4 months ago
JSON representation
FOrtran RiEmann SolveErs EnviRonment
- Host: GitHub
- URL: https://github.com/szaghi/foreseer
- Owner: szaghi
- Created: 2017-01-01T09:18:05.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-03-26T17:44:06.000Z (about 5 years ago)
- Last Synced: 2024-06-11T18:54:09.651Z (about 1 year ago)
- Topics: fortran, oop, riemann-solvers
- Language: Fortran
- Size: 14.4 MB
- Stars: 10
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.bsd-2.md
Awesome Lists containing this project
README
# FORESEER []() [](https://gitter.im/szaghi/FORESEER?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[]()
[]()
[]()
[]()[]()
[](https://travis-ci.org/szaghi/FORESEER)
[](http://codecov.io/github/szaghi/FORESEER?branch=master)### FORESEER, FOrtran RiEmann SolvErs EnviRonment
A KISS pure Fortran Library providing a large set of Riemann Solvers:
- FORESEER is a pure Fortran (KISS) library for solving Riemann problems (1D);
- FORESEER is Fortran 2008+ standard compliant;
- FORESEER is OOP designed;
- FORESEER is TDD developed;
- FORESEER is a Free, Open Source Project.#### A taste of FORESEER
```fortran
use foreseer
type(eos_compressible) :: eos ! Equation of state.
type(conservative_compressible) :: state_left ! Left state.
type(conservative_compressible) :: state_right ! Right state.
type(conservative_compressible) :: fluxes ! Conservative fluxes.
class(riemann_solver_compressible_llf) :: riemann_solver ! Riemman Problem solver.! air
eos = eos_compressible(cp=1040.004_R8P, cv=742.86_R8P)! SOD's Riemann Problem
state_left = conservative_compressible(density=1._R8P, &
energy=1._R8P*eos%energy(density=1._R8P, &
pressure=1._R8P))
state_right = conservative_compressible(density=0.125_R8P, &
energy=0.125_R8P*eos%energy(density=0.125_R8P, &
pressure=0.1_R8P))! solve Riemann Problem
call riemann_solver%solve(eos_left=eos, state_left=state_left, &
eos_right=eos, state_right=state_right, normal=ex, &
fluxes=fluxes)! print results
print '(A)', 'Fluxes at interface:'
print '(A)', fluxes%description(prefix=' ')
```#### Issues
[]()
[](https://waffle.io/szaghi/FORESEER)
[](https://waffle.io/szaghi/FORESEER)
[](https://waffle.io/szaghi/FORESEER)#### Compiler Support
[]()
[]()
[]()
[]()
[]()
[]()---
[What is FORESEER?](#what-is-foreseer) | [Main features](#main-features) | [Copyrights](#copyrights) | [Download](#download) | [Compilation](#compilation) | [Documentation](#documentation) | [References](#references)
---
## What is FORESEER?
> **FORESEER** is a modern Fortran library providing a large set of Riemann Solvers.
To be completed.
### How to use
To be written.
Go to [Top](#top)
## Main features
To be written.
Any feature request is welcome.
Go to [Top](#top)
## Copyrights
FORESEER is a Free and Open Source Software (FOSS), it is distributed under a **very permissive** multi-licensing system: selectable licenses are [GPLv3](http://www.gnu.org/licenses/gpl-3.0.html), [BSD2-Clause](http://opensource.org/licenses/BSD-2-Clause), [BSD3-Clause](http://opensource.org/licenses/BSD-3-Clause) and [MIT](http://opensource.org/licenses/MIT), feel free to select the license that best matches your workflow.
> Anyone is interest to use, to develop or to contribute to FORESEER is welcome.
More details can be found on [wiki](https://github.com/szaghi/FORESEER/wiki/Copyrights).
Go to [Top](#top)
## Download
To be written.
Go to [Top](#top)
## Compilation
To be written.
## Documentation
Besides this README file the FORESEER documentation is contained into its own [wiki](https://github.com/szaghi/FORESEER/wiki). Detailed documentation of the API is contained into the [GitHub Pages](http://szaghi.github.io/FORESEER/index.html) that can also be created locally by means of [ford tool](https://github.com/cmacmackin/ford).
Go to [Top](#top)