Dear all, I am trying to write a step function which calculates step-by-step the vector potential A in the Coulomb gauge, by integrating with respect to time the electric field. I already defined a function that calculates the timestep (delta t = Courant factor / resolution). Could you please help me in writing the vector potential function? I think a simple "rectangle rule" will suffice.
-- ===================================== Mattia Mantovani Dipartimento di Fisica, Università degli Studi di Milano Via Celoria 16, I-20133 Milano Tel.: +39 347 555 7462 Skype: mmantovani91 =====================================
_______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss