Re: [Meep-discuss] (no subject)

2019-05-28 Thread Galaa Badrakh
od fix. > > Best regards, > > John > > > On May 28, 2019, at 17:33, Galaa Badrakh wrote: > > > > Hi All. > > > > I am new to MEEP and trying to use the "geometric_objects_duplicates" > feature. After simulation complete, I extracted the

[Meep-discuss] (no subject)

2019-05-28 Thread Galaa Badrakh
Hi All. I am new to MEEP and trying to use the "geometric_objects_duplicates" feature. After simulation complete, I extracted the dielectric spatial profile with "data=sim.get_array(center=mp.Vector3(), size=mp.Vector3(0.0,0.0,height), component=mp.Dielectric)" to double check my geometry but I

[Meep-discuss] Python vs Scheme.

2019-05-23 Thread Galaa Badrakh
Gi All, I am trying to evaluate following block but getting error " AttributeError: 'list' object has no attribute 'material' ". What I am doing wrong? The same block in Scheme interface is working. geometry = [mp.geometric_objects_duplicates(mp.Vector3(0, 0, 3), 0, 3, [layer1, layer2]),