RROMPy/7e2d435a8d1bdevelop
develop vs master
Commit | Author | Details | Committed | ||||
---|---|---|---|---|---|---|---|
d6451a36626a | pradovera | Fixed C before applyC bug. Fixed vector L2 norm bug. Improved verbosity for… | Jun 9 2022 | ||||
973db1bc5eed | pradovera | Several bug fixes for barycentric polynomial and rational format. | Apr 14 2022 | ||||
72f796dcc85a | pradovera | Added least squares version of barycentric rational interpolation. | Oct 20 2021 |
README.md
HelmholtzMOR
Module for the solution and model order reduction of the Helmholtz problem. Coded in Python 3.6 and based on Fenics.
Installing
After cloning the repository, you will need to have Fenics installed on your system. To this aim, you can install Anaconda3/Miniconda3 and run the command (from the main directory ./)
conda env create --file conda-fenics-nonotebook.yml
or
conda env create --file conda-fenics.yml
This will create an environment where Fenics can be used. To activate the environment, it is sufficent to run (from any directory)
source activate fenicsenv-nonotebook
or
source activate fenicsenv
To deactivate it, run
source deactivate
Running the samples
Many examples can be found in the ./examples/ folder. Both Python and IPhyton scripts are given. To run the Python examples you can use
python examplename.py
whereas IPython examples can be run (e.g.) through Jupyter notebook. In both cases, an environment/kernel with Fenics installed must be active.
License
This project is licensed under the GNU GENERAL PUBLIC LICENSE license - see the [LICENSE.md](LICENSE.md) file for details.