[Meep-discuss] help: set_epsilon in c++

2016-12-19 Thread Sendy Phang
Hi, In my Meep c++ script, I tried to use set_epsilon and set_mu based on my derived material_function class. But it seems that the set_epsilon in the structure class does not recognize the overloaded eps member function. I made the simplified case only for set_epsilon below. Kind regards, S

[Meep-discuss] components of the source

2010-03-15 Thread Sendy Phang
Hi, First, I'm quite new with this program and I find some difficulties involving the source. I want to generate TE mode wave. Since there are only the transverse component (Ey and Ez) (propagating in the x direction), then I have to define 2 source, first with component Ey and then with com

[Meep-discuss] [help] ERROR: Wrong type argument in position 2: 0

2010-02-03 Thread Sendy Phang
l. plane (if no-bend? (save-flux "refl-flux" refl)); (display-fluxes trans refl); ----snap-- Thanks Sendy Phang ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] Straight Waveguide 3D

2010-02-01 Thread Sendy Phang
Dear all, I am working with straight hollow waveguide in 3d and how do I process the h5 file to have the simulation? --snip-- (reset-meep) (define-param sx 20) ; size of cell in X direction 20 cm (define-param sy 20) ; size of cell in Y direction 20 cm (define-param sz 20) ; s

[Meep-discuss] How to make a sloping waveguide?

2010-01-28 Thread Sendy Phang
Dear al,   I want to make a block waveguide which area is getting smaller (just like cone but with square base). How to construct such waveguide?   Thanks     Sendy Phang Computational Electromagnetic Engineering Physic Department Bandung Institute of Technology Indonesia

Re: [Meep-discuss] metal bended waveguide error at crosssection

2010-01-26 Thread Sendy Phang
Dear all, Thank you so much. The problem has been resolved after I follow your suggestion. Thanks Sendy Phang --- On Wed, 1/27/10, Emmanuel Lambert wrote: From: Emmanuel Lambert Subject: Re: [Meep-discuss] metal bended waveguide error at crosssection To: "Sendy Phang" Cc: me

Re: [Meep-discuss] metal bended waveguide error at crosssection

2010-01-26 Thread Sendy Phang
, Sendy Phang Engineering Physics Computational Electromagnetics Bandung Institute of Technology Indonesia --- On Wed, 1/27/10, meep-discuss-requ...@ab-initio.mit.edu wrote: From: meep-discuss-requ...@ab-initio.mit.edu Subject: meep-discuss Digest, Vol 47, Issue 24 To: meep-discuss@ab

[Meep-discuss] metal bended waveguide error at crosssection

2010-01-26 Thread Sendy Phang
-appended "ez" (at-every 0.6 output-efield-z)) ) ---snap--- Thanks Sendy Phang Engineering Physics Computational Electromagnetics Resarch Group   Bandung Institute of Technology