mfem / PyMFEM

Python wrapper for MFEM
http://mfem.org
BSD 3-Clause "New" or "Revised" License
221 stars 62 forks source link

Is there a faster way to do find points with PyMFEM ? #251

Closed jtristano closed 2 months ago

jtristano commented 2 months ago

Hi, I have a cartesian mesh where I can integerize the lookup of elements. I want to paralleize the getting the integration points for a set of points in space given the associated element to the point that I can find quickly, how would I parallelize the calculation of the integration points with pymfem so that I dont have to call mesh.FindPoints which is inefficient?

Can I then , in parallel sample a grid function with these points?

All of this in python?

I'm open to using numba and whatever other python tricks we can use.

Thanks Joe

jtristano commented 2 months ago

found a way ...

tzanio commented 2 months ago

do you mind posting the solution?