Re: [Meep-discuss] (no subject)

2019-05-28 Thread John Weiner
Hi Galaa, I’ve seen similar things, large isolated, unphysical excursions in otherwise perfectly reasonable results when plotting data from a meep output. Are you using Matplotlib/pyplot for your plotting routines? And do the excursions appear at exactly the same points and with the same

Re: [Meep-discuss] problem in make on mac OSX Mojave

2019-03-05 Thread John Weiner
c... > > i am trying to install meep on my mac mini which has an OSX mojave 10.14.3 > > i have tried the "miniconda way" and that did not work so i'm trying to > install things step by step according to a post by John Weiner (relating to > installation on mac OSX Sie

Re: [Meep-discuss] Python MPB Documentation problem (or not)?

2019-01-21 Thread John Weiner
rgs return func.__code__.co_argcount AttributeError: 'NoneType' object has no attribute '__code__' > On Jan 21, 2019, at 2:27 PM, John Weiner wrote: > > Thanks Chris, much obliged. > > John > > Envoyé de mon iPhone > > Le 21 janv. 2019 à 14:25, Chri

Re: [Meep-discuss] Python MPB Documentation problem (or not)?

2019-01-21 Thread John Weiner
rams(...) # See documentation for an explanation of the arguments > ms.output_epsilon() > ``` > > You can also call `ms.output_epsilon()` after any of the `run` functions. > > Chris > >> On Mon, Jan 21, 2019 at 11:55 AM John Weiner wrote: >> Meep and MPB User

[Meep-discuss] Python MPB Documentation problem (or not)?

2019-01-21 Thread John Weiner
Meep and MPB Users and Developers, I have been experimenting with the python version of MPB and found in the Run Functions section of the MPB Documentation on readthedocs the following statement under ModeSolver.run(*band_func) This runs the simulation described by the input parameters (see

Re: [Meep-discuss] The Meep logo

2018-11-09 Thread John Weiner
n 9 Nov 2018, at 16:17, Ardavan Oskooi wrote: > > On 11/8/2018 11:38 PM, John Weiner wrote: > >> The Meep logo, e.g. on the first page of readthedocs, >> https://meep.readthedocs.io/en/latest/, shows a clock face set to 18 minutes >> past 8 o’clock. Does anyo

[Meep-discuss] The Meep logo

2018-11-08 Thread John Weiner
Dear Meep Users, Maintainers, and Developers, The Meep logo, e.g. on the first page of readthedocs, https://meep.readthedocs.io/en/latest/ , shows a clock face set to 18 minutes past 8 o’clock. Does anyone know the origin and meaning of this logo? Best

Re: [Meep-discuss] EPS averaging affecting harminv mode search and mode distribution

2018-11-05 Thread John Weiner
Hi Chee, I have also observed unexpected behavior in results from meep as the resolution is varied. I have been studying the local density of states (LDOS) for a gaussian source placed near a spherical structure consisting of a lossless dielectric core with high permittivity and coated with a

Re: [Meep-discuss] Differences in LDOS leads to reflection > 1

2018-11-01 Thread John Weiner
Hi Christoph > Now is the Power emitted by the source in air and near the grating different, > observable by calculating the LDOS for these cases. I presume this sentence is really a question. If so, the LDOS will certainly be different for the “air” case and the “grating” case. In order to

Re: [Meep-discuss] Community resources

2018-10-16 Thread John Weiner
>) site comes to mind, but they need to be well-moderated, well-organised and well-filtered to be of any use. Maybe the meep Github repository could be enlarged to include a branch for such activity…maybe not. Any knowledgeable comments or suggestions would be most welcome. John Weiner > On

Re: [Meep-discuss] Version problem with dynamic library

2018-10-11 Thread John Weiner
quot;conda-forge" channel is missing in the `conda list` output for > libpng, then you have a version from the "defaults" channel. > > Chris > > On Thu, Oct 11, 2018 at 2:22 AM, John Weiner <mailto:johwei...@gmail.com>> wrote: > Dear Meep users,

[Meep-discuss] Version problem with dynamic library

2018-10-11 Thread John Weiner
Dear Meep users, developers and maintainers, Trying to invoke h5topng today, while running python meep, I ran into this problem. Is there an updated version of libpng? Best regards, John dyld: Library not loaded: @rpath/libpng16.16.dylib Referenced from:

Re: [Meep-discuss] Import materials.py

2018-10-08 Thread John Weiner
. But: (1) is this the source of the warning message and (2) what are the implications/consequences of this warning (and why does it persist up to and including wavelength = 220nm?). Best regards, John > On 8 Oct 2018, at 17:57, Ardavan Oskooi wrote: > > On 10/08/2018 01:27 AM, Jo

[Meep-discuss] Import materials.py

2018-10-08 Thread John Weiner
Dear meep users, developers and maintainers, I am running parallel python meep to generate an LDOS spectrum (LDOS vs. wavelength) using the meep LDOS function. The simulation includes a dispersive material, Ag, characterised by a Drude-Lorentz fit of the frequency dependence of the dielectric

Re: [Meep-discuss] materials_library module

2018-09-17 Thread John Weiner
`conda update -c chogan -c conda-forge > pymeep`. The old materials_library.py now lives at meep/python/materials.py > in the repo. > > Chris > > On Sun, Sep 16, 2018 at 3:40 PM, John Weiner <mailto:johwei...@gmail.com>> wrote: > Thanks Thomas for this script. I

Re: [Meep-discuss] materials_library module

2018-09-16 Thread John Weiner
erials_library, which was downloaded by the command > above it. > This script checks if materials_library already exists and avoids > redownloading it. Thus, the file can become outdated. Just delete it to > redownload it. > > Cheers, > Thomas > > On 16-Sep-18 21

[Meep-discuss] materials_library module

2018-09-16 Thread John Weiner
Dear meep users, maintainers and developers, Today I was experimenting with the materials_library.py which can be found in the /examples subdirectory, installed via the conda package. As a first step I tried to run one of the examples that uses the library, refl-quartz.py. The first two

[Meep-discuss] follow up to question on path to materials_library.py

2018-08-17 Thread John Weiner
I found another, simpler path, ~/pymeep/examples/materials_library.py, which is is included in the meep github respository.  Any changes or updates would be, I presume, included automatically using the git clone meep command. Specifying ~/pymeep/examples as the path-to-materiais_library

[Meep-discuss] path to materials library in python

2018-08-16 Thread John Weiner
Dear Chris and meep-discussion, I just discovered that there is a materials library for python meep AND scheme meep in which real materials (dispersive dielectrics and elemental metals such as Au, Ag, Cu, Al) are parameterized by Lorentz and Drude-Lorentz fitting to the polarization fields. 

[Meep-discuss] h5topng triggers core dump in mp and mp_test environments

2018-08-15 Thread John Weiner
Dear Chris and meep-discussion: I have run into a seemingly strange problem with h5topng, the program in h5utils that converts h5 files to png.  While working on a python tutorial file in the parallel python meep environment (pmp) h5topng works with no problem.  However, when working with the

Re: [Meep-discuss] getting parallel python meep up and running

2018-08-14 Thread John Weiner
ase, and the development package work on a clean Ubuntu 18.04. Chris On Sat, Aug 4, 2018 at 9:01 AM, John Weiner <mailto:johwei...@gmail.com>> wrote: Hello to all, Having gotten the impression that  future development of meep will be essentially in python meep, I have tak

Re: [Meep-discuss] getting parallel python meep up and running

2018-08-06 Thread John Weiner
st/lib/python3.6/site-packages/meep/_meep.so` to make > sure it's linking with the correct libmeep.so. I verified that both the 1.5 > release, and the development package work on a clean Ubuntu 18.04. > > Chris > >> On Sat, Aug 4, 2018 at 9:01 AM, John Weiner wrote

[Meep-discuss] guile >=2.0.12

2018-08-04 Thread John Weiner
Dear Christopher, Ardavan and Steve, I saw on the stevengj/meep GitHub site that Fix SWIG garbage collection issue for Guile >= 2.0.12 #419 and Fix garbage collection for guile >= 2.0.12 #1288 appears to be fixed.  Does this mean that the restriction on using no guile version >2.0.11

Re: [Meep-discuss] getting parallel python meep up and running

2018-08-04 Thread John Weiner
uld help you a little bit at least! > > Best regards, > Max > > > -- Originalnachricht-- > Von: John Weiner > Datum: Sa., 4. Aug. 2018 16:03 > An: meep-discuss@ab-initio.mit.edu; > Cc: > Betreff:[Meep-discuss] getting parallel python meep up and running > > Hello to all,

[Meep-discuss] getting parallel python meep up and running

2018-08-04 Thread John Weiner
Hello to all, Having gotten the impression that  future development of meep will be essentially in python meep, I have taken the first tentative baby steps to get python meep working on my pc Ubuntu box.  Scheme meep, both stand-alone and parallel, is now working on this box running Ubuntu

Re: [Meep-discuss] meep-1.5 does not install from git clone

2018-08-03 Thread John Weiner
S. Best regards, John > On 2 Aug 2018, at 18:50, John Weiner wrote: > > Hello again to everybody, > > Yesterday I reported a problem that appears to have cropped up in the > installation of meep-1.5. Today, after updating my Ubuntu system to 18.04 > LTS, I r

[Meep-discuss] meep-1.5 does not install from git clone

2018-08-02 Thread John Weiner
Hello again to everybody, Yesterday I reported a problem that appears to have cropped up in the installation of meep-1.5.  Today, after updating my Ubuntu system to 18.04 LTS, I reinstalled everything again according the prescription,

[Meep-discuss] Meep install from git clone on ubuntu 17.10

2018-08-01 Thread John Weiner
Dear developers and maintainers, I decided this morning to update my meep installation on a pc ubuntu box running 17.10 using “git clone” from the GitHub. Everything proceeded normally until the make file. The following error ensued: Meep.hpp:1275:78 error: invalid conversion from

Re: [Meep-discuss] Run-time problem opening hdf5 files with hdf5-1.8.14

2018-07-30 Thread John Weiner
the normalization. > > Best, > Derek > > On Mon, Jul 30, 2018 at 4:25 PM John Weiner <mailto:johwei...@gmail.com>> wrote: > Dear meep users and maintainers, > > During the last week I have had to reinstall a working meep/h5utils on both a > pc box runnin

[Meep-discuss] Run-time problem opening hdf5 files with hdf5-1.8.14

2018-07-30 Thread John Weiner
Dear meep users and maintainers, During the last week I have had to reinstall a working meep/h5utils on both a pc box running ubuntu 17.10 and on an iMac running macOS High Sierra (version 10.13.6). Meep and all its dependencies seem to install ok following the instructions posted by Ardavan

[Meep-discuss] print or display from one process in a mpi job

2017-11-16 Thread John Weiner
y to use print or display to direct output to a file from only one process in a multi-process job? Thanks for any suggestions, John Weiner ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] Installation instructions for Meep on Ubuntu 16.04 work for 17.04 as well.

2017-11-05 Thread John Weiner
buntu repository still results in an error at meep run time. This package installs guile-2.0.13 rather than guile-2.0.11 per Ardavan’s instructions. John Weiner ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/ma

[Meep-discuss] overlapping set! geometry-lattice?

2017-09-10 Thread John Weiner
…once for the overall space and once for the very small volume…with two different resolution specifications? Would appreciate hearing from anybody who has found a solution for this situation. Best regards, John Weiner ___ meep-discuss mailing list meep

[Meep-discuss] LDOS, atoms and metamaterials

2017-08-22 Thread John Weiner
metals at the dielectric metal interfaces introduce loss via surface plasmon evanescent waves. Has anybody thought about pushing meep development in this direction? John Weiner ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab

[Meep-discuss] Meep installation notes for macOS Sierra, August 2017

2017-08-14 Thread John Weiner
the listed tarballs is “mob”. It should be “MPB”. Best regards, John Weiner ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] Notes on installing guile-meep on macOS Sierra--version 3 July 2017

2017-07-23 Thread John Weiner
he correct version, meep-1.3. Then I went through the meep > abi initio tutorials and, so far, everything is working as expected. When > meep runs you get a “some stuff is deprecated” message at the end, but for > now at least it does not interfere with meep’s functioning. > >

[Meep-discuss] two questions from a Meep debutant

2013-06-22 Thread John Weiner
Dear Meep users: I am just getting my feet wet using Meep and have two questions. The first relates to the coordinate system of the computational cell. According to the Tutorial the positive direction of the x-axis is horizontal-left-to-right; and the positive direction of the y-axis is

[Meep-discuss] add-field, save-field, load-field, etc.

2013-06-21 Thread John Weiner
Dear Meep users: The Meep Reference describes the add-flux, save-flux, load-flux, load-minus-flux statements and the tutorial shows how to use these to calculate transmission and reflection from the fluxes through specified flux-region objects. My question is: Do analogous statements exist