AMReX-Microelectronics / FerroX

FerroX is a massively parallel, 3D phase-field simulation framework for modeling ferroelectric materials based scalable logic devices.
Other
9 stars 9 forks source link

Fix Ez calculation near boundary #20

Closed prkkumar closed 1 year ago

prkkumar commented 1 year ago

This PR addresses issue #15

Note that it only affects diagnostics, since Ex, Ey, and Ez fields are only computed for analysis.

I tested it with a previously run case (MFIM stack with only nonzero Pz) and made a vector plot of E as shown below

Screen Shot 2022-10-27 at 4 37 55 PM