AMReX-Microelectronics / artemis

ARTEMIS (Adaptive mesh Refinement Time-domain ElectrodynaMIcs Solver) couples the Maxwell's equations implementation in WarpX with classical equations that describe quantum material behavior (such as, LLG equation for micromagnetics and London equation for superconducting materials) for quantifying the performance of next-generation microelectronics.
Other
12 stars 15 forks source link

Fix e surface integral normal and include multiplier vector #77

Closed saurabh-s-sawant closed 2 years ago

saurabh-s-sawant commented 2 years ago

This pull request is a modification to our recently merged pull request for calculation of E field surface integral. Earlier version required specification of surface_normal not only for surface integral but also for volume integral. This was a mistake on my part. We do not need to define a surface normal for volume integral. This is fixed.

Also, a multiplier_vector is added for surface_integral. We use this to specify 3 numbers which are multiplied to our final answer of surface integral of Ex, Ey, and Ez. This way we can account for surface integral for surface having normal in the negative direction or if we want to multiply our final answer by a constant number such as epsilon, etc. Please see updated documentation.