PyMFEM
PyMFEM copied to clipboard
(WIP) Support Darcy-hdg-dev
This PR is to add wrapper for
- darcyform.hpp
- darcyreduction.hpp
- darcyhybridization.hpp
- estimators_hdg.hpp
- bilininteg_hdg.hpp
Goal is to add HDG
- [x] ex5-hdg
- [ ] ex5p-hdg
- [ ] use numba coefficient in examples
- [ ] parallel build
- [ ] applications in miniapps/hdg ?
Instruction to setup this branch.
python3.12 -m venv $HOME/venvs/py312_hdg
source $HOME/venvs/py312_hdg/bin/activate
pip install swig
pip install setuptools
mkdir -p $HOME/venvs/py312_hdg/src
cd $HOME/venvs/py312_hdg/src
git clone [email protected]:mfem/PyMFEM.git
cd PyMFEM
git checkout darcy-hdg-dev # check out this bracn
pip install . --verbose -C"mfem-branch=darcy-hdg-dev" # build PyMFEM using corresponding MFEM branch
cd examples
python ex5-hdg.py -m star.mesh -vis #glvis needs to be opened for -vis flag