Skip to content

Releases: mfem/PyMFEM

4.8.0.1

24 Sep 21:22
5fcbd6d

Choose a tag to compare

Minor fix to

  • add integrator.i. mfem::Integrator is a new base class for all integrator. Some methods such as GetIntegrationRule is defined
    at this level.
  • addressed newly added Array::IsConstant being implemented only for "typical" types
  • added _build_system sub-directory to MANIFEST.in. This keep pip download mfem from failing.

PyMFEM 4.8.0

18 Sep 14:10
baf8e68

Choose a tag to compare

PyMFEM 4.8.0 for MFEM4.8 (https://github.com/mfem/mfem/blob/v4.8/CHANGELOG)

  • Fix examples
  • Check with numpy 2.2 (numpy >= 2.0.0 is now required) (#289, #291)
  • test with Python3.12
  • test with Python 3.13
  • package with Python3.12 (#274)
  • provide bessel.py in order to remove numba-scipy from dependency (#267)
  • ex40p.py, ex40.py (#275)
  • fix pip on MacOS (#270, #276)
  • cleaning setup.py, README etc (#278, #281, #290)
  • update Hypre version (#280, #284)
  • Python 3.12, Python3.13 release from PyPI
  • remove requirement.txt. because pyproject.toml provides the same information.
  • update documents (#282)
  • Fix broken mfem-branch=master (#293)
  • Finalize release number + run edit_copyright.py (#294)

PyMFEM 4.7.0.1

09 Aug 22:30
0054c54

Choose a tag to compare

Minor update with #249

PyMFEM 4.7.0

08 Aug 00:39

Choose a tag to compare

2024 Aug 07
* MFEM 4.7 support
- AttributeSets are supported. ex39 and ex39p are added to demonstrate how to use it from Python
- Hyperbolic conservation element/face form integrators (hyperbolic.hpp) are supported. ex18.py and
ex18.py are updated to conform with the updated C++ examples.
- Update SWIG requirement to >= 4.2.1 (required to wrap MFEM routines which use recent C++ features)
- Buiding --with-libceed will download libceed=0.12.0, as required by MFEM 4.7
- Fixed eltrans::transformback
- Improved testing using Github actions
- New caller and dispatch yml configulations allows for running a test manually
- Test runs automatically for PR and PR update
- Test using Python 3.11 is added
- Refresh install instruction (Install.md)
- Python 3.7 has reached EOL and is no longer supported. This version will support Python 3.8 and above, and
will likely be the last version to support Python 3.8.

v4.6.1

10 Jan 04:06

Choose a tag to compare

MFEM 4.6.1

  • binary is build using MFEM SHA = 4a45c70d1269d293266b77a3a025a9756d10ed8f (commit on 2023 Nov. 23)

  • new Python version of examples, translated from ex34, 34p, 35p, 36, 36p, 37, 37p, 38

  • Support subclassing PyLinFormIntegraor, PyBilinearFormIntegrator, PyNonlinearFormIntegrator in python (see ex38.py)

  • field_diff.py is added under miniapps/gslib (PR195)

  • wrappers for Array, Array, and Array are added

  • Since Array is not explicitly instantiated in Array.cpp, thus some
    method such as Print, Sort etc are not avaialbe. As a workaround, GetDataArray is
    added to return a numpy array view of underlying memory section.
    >>> v = mfem.uintArray(10)
    >>> v.GetDataArray()[:] = (1, 105, 20, 3, 50, 4, 2, 15, 8)
    >>> v.GetDataArray()[:] = np.sort(a.GetDataArray())
    >>> v.ToList()
    [1, 2, 3, 4, 8, 15, 20, 50, 105, 300]

  • Minor fix/adjustments for MFEM4.6

    • intrules_cut.i is added
    • following method of (Par)MixedBilinearForm accept HypreParMatrix as OperatorPtr
      - (Par)MixedBilinearForm::FormRectangularSystemMatrix
      • (Par)MixedBilinearForm::FormRectangularLinearSystem

4.5.2.1rc0

18 Jul 02:27
37084af

Choose a tag to compare

4.5.2.1rc0 Pre-release
Pre-release

Minor update.
#175
#176
#179
#182

v4.5.2

27 Mar 16:02
c51e207

Choose a tag to compare

version 4.5.2

  • #169
  • #170
  • update default HYPRE version to 2.28.0
  • update setup.py to use MFEM 4.5.2 release as default (when --mfem-branch is not used)

4.5.2rc0

27 Mar 05:19
0cabe32

Choose a tag to compare

4.5.2rc0 Pre-release
Pre-release
Merge pull request #174 from mfem/mfem_452_dev

PyMFEM4.5.2

v4.5.0.2rc2

04 Mar 16:11
32f54d9

Choose a tag to compare

v4.5.0.2rc2 Pre-release
Pre-release
v_4_5_0_2rc2

Update __init__.py

v4.5.0.1

29 Jan 14:31

Choose a tag to compare

Build with MFEM 4.5.0 (+ slightly later version to include a few fixes)

#154