7
$\begingroup$

I have been following the FDTD tutorials for GPAW, and have been able to determine how to print the electric field strength (magnitude), but not the components of the electric field. How would I do this?

Thank you, Jason Gray

The tutorials I am following are: this one for the classical case and this one for the hybrid quantum/classical scheme.

$\endgroup$
6
  • $\begingroup$ +1. Welcome to the site and thank you so much for contributing your question here! We hope to see much more of you in the future !!!!! We also have a GPAW chat room (which is still new, so there's not a lot of chat going on yet). Please type "hello" to us at least once so that we know you're interested in GPAW! chat.stackexchange.com/rooms/112878/gpaw $\endgroup$ – Nike Dattani Oct 22 '20 at 21:17
  • $\begingroup$ This might also be related, and I'm posting it here since the finite-difference-time-domain tag didn't exist before! mattermodeling.stackexchange.com/q/2380/5 $\endgroup$ – Nike Dattani Oct 22 '20 at 21:48
  • $\begingroup$ Hi! It would nice if you could add in links to the tutorials you've followed to learn the software in case its useful to other users. $\endgroup$ – Anoop A Nair Oct 22 '20 at 22:30
  • $\begingroup$ I just added links to the tutorials. Good call! $\endgroup$ – Jason M Gray Oct 22 '20 at 22:50
  • 1
    $\begingroup$ @JasonMGray Please answer your own post with that information so it can be preserved, comments should not be considered permanent. $\endgroup$ – Tristan Maxson Oct 23 '20 at 16:43
2
$\begingroup$

You can get the induced field components from an induced field object. If you call your induced field object ind, then you can get the Fourier transform of the field components by accessing ind.Fef_wvg. Adding the initial kick strength to this and taking the magnitude you can get the total electric field. Comparing the total electric field magnitude to the field enhancement (ind.Ffe_wg) times the initial field magnitude you should get the same value.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.