awslabs / palace

3D finite element solver for computational electromagnetics
https://awslabs.github.io/palace/dev
Apache License 2.0
224 stars 50 forks source link

Add owning and non constructors from mfem::SparseMatrix #217

Closed hughcars closed 3 months ago

hughcars commented 3 months ago

Description of changes: Add owning and non owning constructors for HypreCSRMatrix from mfem::SparseMatrix.

Issue #, if available: https://github.com/awslabs/palace/issues/216

sebastiangrimberg commented 3 months ago

I just rebased on main and added https://github.com/awslabs/palace/pull/217/commits/35370e759d0dfa46fcb41ee76e5c905e9f9a3b5a, which just fixes in case Hypre is built with 64-bit integers. Let me know if that looks OK and I will approve.