Hi, I want to convert time units which Im getting from meep::fields::time() to the number of steps and vice versa. To make it more clear: I have to convert a stepping loop of type:
for (int i = 0; i < maxStep; i++ ) fields->step(); into a loop : while (fields->time() < lastTime) fields->step(); So I need some way to calculate the value of lastTime from the value of maxStep. How can I do it ? Best regards, Thomas Jefferson _______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss