Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better conversion from electric field to vector potential? #322

Open
MaxThevenet opened this issue Nov 15, 2024 · 0 comments
Open

Better conversion from electric field to vector potential? #322

MaxThevenet opened this issue Nov 15, 2024 · 0 comments

Comments

@MaxThevenet
Copy link
Contributor

The conversion between (scalar) electric field $E$ and vector potential $A$ should be

$E = - \frac{\partial A}{\partial t}$.

Assuming

$E = \Re[\mathcal{E}e^{-i\omega_0t}]$ and $A = \Re[\mathcal{A}e^{-i\omega_0t}]$

that should read

$\frac{\partial \mathcal{A}}{\partial t} -i\omega_0\mathcal{A} = \mathcal{E}$.

In the current implementation at

def field_to_vector_potential(grid, omega0):

we neglect the time derivative (first LHS term), which may be too rough in some cases. A more accurate option, e.g., solving in $\omega$ space, could be useful in some cases.

@MaxThevenet MaxThevenet changed the title Better conversion from electric field to vector potential Better conversion from electric field to vector potential? Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant