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 RT spaces for electrostatics error estimation #209

Closed hughcars closed 3 months ago

hughcars commented 3 months ago

Change the smoothed flux field used for error estimation in electrostatics from H1d to RT. The RT field is stored only in the estimator class similar to the previous H1d due to not being needed otherwise in the laplace operator class.

The reduction in regularity reduces false positives at material interfaces.

Before: Screenshot 2024-03-07 at 10 41 27 AM After: Screenshot 2024-03-12 at 11 32 52 AM

These come from slightly different meshes, but the red on the bottom half of the before image corresponds to a silicon air interface that should not cause the estimate to light up.