PyMFEM icon indicating copy to clipboard operation
PyMFEM copied to clipboard

TMOP support

Open sshiraiwa opened this issue 3 years ago • 0 comments

This PR includes a wrapper for

  • tmop.hpp
  • tmop_tools.hpp
  • tmop_amr.hpp

This modules are loaded under mfem.ser.tmop and mfem.par.tmop. Thus, we need to point it using mfem.tmop.xxx as follows

import mfem.ser as mfem
tc = mfem.tmop.DiscreteAdaptTC(target_t)

test/test_tmop.py shows an example (converted from meshOptWME.cpp).

This PR also fixed the issue that GSLIB is not compiled properly in serial mode.

Need to choose if we turn on --with-gslib for default binary distribution too.

sshiraiwa avatar Aug 09 '22 23:08 sshiraiwa