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

Use `mfem::Workspace` for temporary `Vector` allocations #194

Open sebastiangrimberg opened 4 months ago

sebastiangrimberg commented 4 months ago

NOTE: Builds on https://github.com/awslabs/palace/pull/184 (and https://github.com/awslabs/palace/pull/194, and now https://github.com/awslabs/palace/pull/204)

See https://github.com/mfem/mfem/pull/4065

TODO: Add patch on MFEM for https://github.com/mfem/mfem/pull/4065 to enable this functionality -> Done as part of https://github.com/awslabs/palace/pull/184

sebastiangrimberg commented 4 months ago

Commit 3e5a42b introduces a patch for MFEM to fix the issues discussed here: https://github.com/mfem/mfem/pull/4065#issuecomment-1977653880.