[Meep-discuss] trying to find charge density of metamaterials

2016-10-25 Thread Heligman, Daniel M.
Hi,


I was wondering if there is a way to find the charge density or near-fields in 
metamaterials from a simulation. I am trying to find the charge density at the 
resonant frequency.


Best,

Daniel Heligman
___
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] Error in delete-meep-volume

2016-10-25 Thread Nicolas Bachelard
Dear Meep users,

I am using meep for many of my codes and everything was working fine so far.
For a couple of days I do face a weird problem when I execute any of my
codes.
For instance when I execute the example ring.ctl

>> meep ring.ctl

---
Initializing structure...
Working in 2D dimensions.
Computational cell is 16 x 16 x 0 with resolution 10
 cylinder, center = (0,0,0)
  radius 2, height 1e+20, axis (0, 0, 1)
  dielectric constant epsilon diagonal = (11.56,11.56,11.56)
 cylinder, center = (0,0,0)
  radius 1, height 1e+20, axis (0, 0, 1)
  dielectric constant epsilon diagonal = (1,1,1)
Halving computational cell along direction y
time for set_epsilon = 0.0344498 s
---
creating output file "./ring-eps-00.00.h5"...
Backtrace:
In ice-9/boot-9.scm:
 160: 12 [catch #t # ...]
In unknown file:
   ?: 11 [apply-smob/1 #]
In ice-9/eval.scm:
 432: 10 [eval # #]
 432: 9 [eval # #]
In unknown file:
   ?: 8 [primitive-load "ring.ctl"]
In ice-9/eval.scm:
 432: 7 [eval # #]
In ice-9/boot-9.scm:
 705: 6 [map # #]
In ice-9/eval.scm:
 399: 5 Exception thrown while printing backtrace:
ERROR: In procedure delete-meep-volume: Wrong type argument in position 1:
#

ERROR: In procedure %run-finalizers:
ERROR: In procedure delete-meep-volume: Wrong type argument in position 1:
#

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.



I am strongly suspecting that I did something wrong, but unfortunately I
don't have any idea of what it could be.
Does someone has any idea of what is going on?


Best regards

Nicolas



-- 

--
Nicolas Bachelard, PhD
NSF Nanoscale Science and Engineering Center (NSEC),
University of California, Berkeley 3112 Etcheverry Hall,
UC Berkeley, California 94720, USA
___
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss