Is tidy3d's adjoint method in time-domain or frequency-domain? #1646
-
Hi, all. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @Guizhixing You are correct, in the lectures we present the adjoint method in the frequency-domain. The reason is that it's much easier to reason about the adjoint method when the electric field In fact, you can extend the same adjoint analysis to the time domain, with a bit more complication. There is a paper we wrote a few years ago that derives everything for time and frequency domain here: https://arxiv.org/abs/1908.10507. The basic idea is the same, except technically the adjoint FDTD is run backwards in time and also the adjoint source is time-dependent, among other details. The time domain adjoint often also suffers from high memory requirements due to the need to store the entire time series info. In tidy3d's Hopefully that makes sense but let me know if you need clarification or have other questions! |
Beta Was this translation helpful? Give feedback.
Hi @Guizhixing
You are correct, in the lectures we present the adjoint method in the frequency-domain. The reason is that it's much easier to reason about the adjoint method when the electric field
e
is written as the solution to a linear systemAe=b
. This is a pretty common and natural way to write frequency-domain Maxwell's equations (although you can write time domain problems like this too).In fact, you can extend the same adjoint analysis to the time domain, with a bit more complication. There is a paper we wrote a few years ago that derives everything for time and frequency domain here: https://arxiv.org/abs/1908.10507. The basic idea is the same, except technically the adjoint FDT…