[Meep-discuss] exit code 139

2020-11-20 Thread lafulloway
Hi, I keep getting an segmentation fault with exit code 139 when running certain meep code through Ubuntu (particularly with very high resolutions). Does anyone know what the solution to this is, and/or whether this is linked to high resolutions? Thanks, -- Lydia Fulloway Scientist Malvern

[Meep-discuss] Reflectance measurements using supercells

2020-11-05 Thread lafulloway
Hi, I'm trying to use a supercell for reflectance measurements from a triangular lattice, with a supercell structure similar to that shown below (size of two primitive lattices). What value do I need for the k_point() argument in the simulation? Thanks, -- Lydia Fulloway Scientist Mal

Re: [Meep-discuss] Phase offsets of sources in supercells

2020-10-14 Thread lafulloway
I've currently got the same lattice structure as that in chapter 4.6, with the same layout of supercell (i.e. one point in the middle and a quarter of a point on each corner), but am not getting the results I'm expecting-I think the problem lies with either the k_point setting, or an incorrect phas

[Meep-discuss] Phase offsets of sources in supercells

2020-10-13 Thread lafulloway
Hi, I've been using a supercell to represent a non-orthogonal lattice. I know I need to use two sources to counter the effects of band folding in reflection or transmission measurements, however I'm struggling to get the correct results out from simulations. The two (Gaussian) sources currently in