Hi,
I've analyzed MEEP source code and I've one question regarding this: how
did you defined your volume: by vol2d(10, 1, 40) or vol3d(10, 1, 0, 40)?
The "0" in the error message is the result of volume::nowned_min()
method (defined in vec.hpp), which returns number of the Yee cells in
the volume. The only possibility (for me) is that you have defined your
volume as 3d (10x1x0) and therefore you have 0 Yee cells (10*1*0*40^3 =
0). I can't see any other possibility in the source code (version 0.20.3).

-- 
Regards,
Pawel Smolinski
Faculty of the Fundamental Problems of Technology
Wroclaw Univeristy of Technology, Poland

asadollahbaik a. (aa306) pisze:
>  
> 
> It didn’t help,
> 
> I even changed the dimension of the computational cell, and the problem
> is still there!!!!!!!!!!!!!!!!!
> 
> ------------------------------------------------------------------------
> 
> *From:* MEGENS, Mischa [mailto:[email protected]]
> *Sent:* 30 January 2009 09:37
> *To:* asadollahbaik a. (aa306)
> *Subject:* RE: Meep error: Cannot split 0 grid points into 1 parts
> 
>  
> 
> Hi,
> 
>  
> 
> It looks like meep is thinking you want to do 10x0 instead of 10x1.
> 
> Perhaps there is a rounding problem?  Can you do 10x1.0001?
> 
>  
> 
> Good luck,
> 
> m.
> 
>  
> 
>  
> 
> ------------------------------------------------------------------------
> 
> *From:* [email protected]
> [mailto:[email protected]] *On Behalf Of
> *asadollahbaik a. (aa306)
> *Sent:* Thursday 29 January 2009 19:49
> *To:* [email protected]
> *Subject:* [Meep-discuss] Meep error: Cannot split 0 grid points into 1
> parts
> 
>  
> 
> Dear Meep users,
> 
>  
> 
> I am calculating the band diagram of a 1D PC ( dielectric multilayer).
> 
>  
> 
> My computational cell is 10x1, and I have set the resolution to 40. I am
> also exploiting the mirror symmetry along the x direction (since the
> periodicity of my structure is along the y direction)
> 
>  
> 
> But unfortunately I am getting an error from meep saying:
> 
>  “Cannot split 0 grid points into 1 parts”
> 
>  
> 
> Why is that for?!?
> 
> How come it is saying the grid points is zero?!?!
> 
>  
> 
> Thanks for your help,
> 
> Asa
> 
>  
> 
>  
> 
> Asa Asadollahbaik
> 
> PhD Research Student
> 
> Materials Research Group
> 
>  
> 
> Room 2045, Building 25
> 
> University of Southampton
> 
> Highfield Avenue
> 
> Southampton
> 
> SO17 1BJ
> 
>  
> 
> Phone Number : +44 (0) 23 8059 8365
> 
>  
> 
>  
> 
> ------------------------------------------------------------------------
> 
> The information contained in this message may be confidential and
> legally protected under applicable law. The message is intended solely
> for the addressee(s). If you are not the intended recipient, you are
> hereby notified that any use, forwarding, dissemination, or reproduction
> of this message is strictly prohibited and may be unlawful. If you are
> not the intended recipient, please contact the sender by return e-mail
> and destroy all copies of the original message.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> meep-discuss mailing list
> [email protected]
> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

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

Reply via email to