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 g11 and g44 indexing with coordinate transform #42

Closed jackieyao0114 closed 1 year ago

jackieyao0114 commented 1 year ago

In normal coordinate, d2Pz/dx2, d2Pz/dy2 -> g44 d2Pz/dz2 -> g11

Now the new coordinate has (p,q,r) corresponding to (x,y,z), which makes d2Pr/dp2, d2Pr/dq2 -> g44 d2Pr/dr2 -> g11

Here are the related documents: https://docs.google.com/document/d/1lgQL4nNJNlfiEGDrqrf7bdHotZktxLuW9y6jM66_D6Q/edit PxPy_PR16.pdf