Dear Prof. Steven, and meep users, I am trying to output field components at a lot of points, for example: Ex @ pt1 pt2 pt3 pt4.... (pt means point, vector3). If there is only a few points. I think it is easier if I make a list of these points a list in the ctl file, and then define a function to print Ex at these pts on screen by using a loop. However, the list contains >10000 pts. It seems not good to make the list in ctl file because it is too large. Is there any better way to do it? I have think of a method to do it by reading and writing files. But I don't know whether it can be done by meep. Here are the steps: 1) put the (x,y,z) list into a sperate file. 2) open the file, read the data line by line and then use (get-field-point c pt) to get the field component. 3) output the data (c) to another file.
Can anyone give some suggestions? Thanks in advance. Best, Jiangjun
_______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

