I am brand new to MEEP.  I have used XFDTD at my old job, but now I am a grad 
student and would really like to be able to master MEEP for some projects.

I have successfully run the first two tutorial examples.

When I run a MEEP script that I have written I get the following:

Using MPI version 1.2, 1 processes
ERROR: In procedure list-ref:
ERROR: Argument 2 out of range: 1

What I really want to know is if there is a way to decode this error message to 
help identify exactly where the error is.

I will attach my code below.  I know it is not optimal (I haven't started using 
all of MEEPs capabilities yet).  But I think it should run.

Thanks in advance

Noel

(set! geometry-lattice (make lattice (size 24 24 24)))
; Outside of Centrifuge Tube radius 8.1mm
; material of centrifuge tube PET
; column of cellular fluid
; material of cellular fluid =saline
; column of collagen matrix
; material of matrix = collagen
; plane of ITO at base of centrifuge tube

(set! geometry (list
        (make cylinder (center 0 0 10) (radius 8.1) (height 20)
            (material (make dielectric (epsilon 2.2))))
        (make cylinder (center 0 0 8) (radius 7.3) (height 16)
            (material (make dielectric (epsilon 10))))
        
        (make cylinder (center 0 0 1.5) (radius 7.3) (height 3)
            (material (make dielectric (epsilon 75))))
        
        (make block (size infinity infinity 1)(center 0 0 -0.5)
            (material (make perfect-electric-conductor)))

        (make cylinder (center 0 0 3.6) (radius 6.3) (height 1.2)
            (material (make perfect-electric-conductor)))

        (make cylinder (center 0 0 6.1) (radius 2.3) (height 5)
            (material (make perfect-electric-conductor)))))

(set! pml-layers (list (make pml (thickness 1.0))))

(set! resolution 10)

(set! sources (list
        (make source
            (src (make continuous-src (frequency 33e-12)
            (component Ez)
            (center 0 0 6.1))))))

(run-until 200
    (at-beginning output-epsilon)
    (to-appended "ez" (at-every 0.6 output-efield-z)))


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

Reply via email to