Thanks, but as far as I understand this algorithm only solves the two curl equations. It is fine if you start with a solution that satisfies the divergence equations.
My problem is still how to incorporate boundary conditions which are time-dependent and given in terms of the potential only.
Hi folks,
I was wondering how to code a Maxwell solver for a problem with time-dependent boundary conditions. This is not my homework, but I love programming and would like to implement what I learned in my physics undergrad course to get a better understanding.
More precisely, if I have an...