Skip to content

Conversation

@sshiraiwa
Copy link
Member

@sshiraiwa sshiraiwa commented Nov 21, 2025

This PR is to add wrapper for

  • darcyform.hpp
  • darcyreduction.hpp
  • darcyhybridization.hpp
  • estimators_hdg.hpp
  • bilininteg_hdg.hpp

Goal is to add HDG

  • 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
image

@sshiraiwa sshiraiwa self-assigned this Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants