AMReX-Microelectronics / FerroX

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

Fix Ez calculation near boundary #20

Closed prkkumar closed 2 years ago

prkkumar commented 2 years 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