v4.6.1
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