This could have to do with a misinterpretation of meep coordinates. 
With the libctl interface, a 10x10 cell will have its center at (0,0), 
its bottom right at (5,5), and its top left at (-5,-5).  The C++ 
interface is a bit different, with the origin corresponding to the top 
left corner of the computation domain.

This behavior is "sort-of" documented here:
http://ab-initio.mit.edu/wiki/index.php/Meep_C-plus-plus_Tutorial#Differences_from_libctl

I say "sort-of" because it only defines the center and range for each 
interface, but not the orientation.

You can search the complete archives here:
http://www.mail-archive.com/[email protected]/

Happy New Year,
Matt


On Thu, 27 Dec 2007, Puck Ja wrote:

> Hi,
>
> I am new to MEEP and have found one issue with h5topng.  After simulation,
> the field snap shot was generated with the command in tutorial:
>
> h5topng -S3 -Zc dkbluered -a yarg -A eps-000000.00.h5 ez-000200.00.h5
>
> But I have shifted the structure down in my simulation.  The resulting png
> has structure shifted up.  However, if I use octave open the *eps*.h5 file
> and plot it, the structure is correctly positioned.
>
>
> I couldn't find any switch to flip it using h5topng.  Am I missing
> something?
>
>
> Thanks for the help.
>
>
>
> BTW, I tried to search the discussion group, but could not find a way to do
> in at
> http://ab-initio.mit.edu/pipermail/meep-discuss/
>
> Is it possible to do a search of the whole archive?
>
> Much obliged for your help!
>
> Puck
>

_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to