I found myself the answer to the question I raised on the time-average of dpwr 
and prof. Steven Johnson's comment. 

I thought the plane wave that I made with a single frequency E field oscillates 
between -1 and +1. 
But when I looked at it closely, it oscillated between -1/2 and 1/2. So the 
time average of E*D/2 in vacuum 
must be 1/16 or 0.0625. My dpwr output shows that it is close to 0.0625 in the 
vacuum area, so it is consistent.

If anyone is interested in getting field enhancement fact of E for a certain 
target geometry, remember to normalize dpwr outputs accordingly.


On Feb 11, 2008, at 1:19 PM, Seong Kyu Kim wrote:
> (1) dwpr is supposed to write E*D/2 or epsilonE*E, whose time  
> average under vacuum should give 1/4.  However, the time averaged  
> dwpr gives almost zero in vacuum area?  (I get the same result if I  
> accumulated many h5 files and averaged them individually.) Isn't  
> this strange?
>
Why do you think this is strange?  It's obviously a positive quantity;  
the absolute magnitude will depend on your source etc.
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to