[Meep-discuss] Define a current source as a function of E field and update it at each time step?

2013-07-20 Thread Ann YC Liu
Dear Meep Users: I would like to define a Current Source as a function of E field and update it at each time step J(n+1)=constant1*E(n+1)+ constant2*E(n) + constant3*E(n-1) Is there any feasible way to do this in Meep ? Best Regard Liu ___

[Meep-discuss] Define a current source as a function of E field and update it at each time step?

2013-07-20 Thread Ann YC Liu
Dear Meep Users: I would like to define a Current Source as a function of E field and update it at each time step J(n+1)=constant1*E(n+1)+ constant2*E(n) + constant3*E(n-1) Is there any feasible way to do this in Meep ? Best Regard Liu ___