PyMeep conda packages are currently available for python 2.7 and 3.6 on
Linux (tested on Debian Jessie and Ubuntu Xenial).
Note that PyMeep is still in its development stages, and should be
considered alpha software. The conda packages are subject to change at any
time.
Installation instructions
Hi Ian,
Thanks for catching this. I've fixed it in PR#170.
As a temporary workaround, you can adjust the progress_interval after
constructing the Simulation object but before calling any run functions
like this:
sim=mp.Simulation(cell_size=cell,
sources=[source1, source2],
Hi Ian,
The `output_Xfield_r` and `output_Xfield_p` functions are implemented and
should work. Could you post your code? Maybe there's a bug somewhere else.
Thanks,
Chris
On Mon, Jan 15, 2018 at 5:44 PM, Ian Sage wrote:
> Again in my hands, I get no output or error message when I try to invok
Hi Midhat,
> Ubuntu stops at the command where I try to copy the harminv.git.
What is the output of running:
$ git clone https://github.com/stevengj/harminv.git
Chris
___
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.ed
Hi Steve,
To force 3 dimensions in the current conda package, you have to add
`dimensions=3` to the Simulation constructor. This was fixed to behave as
the documentation describes in PR #187 (
https://github.com/stevengj/meep/pull/187). There will be a new conda
package soon with the correct behav
Hello,
New Conda packages corresponding to the Meep 1.4.3 release have been
posted. These are available for Python 2.7 and 3.6 on Linux and MacOS. With
the Conda package manager, installation is as simple as
$ conda create -n meep -c chogan -c defaults -c conda-forge pymeep
or for the MPI versio
Hi Ian,
Wrapping `sim.output_field_function` in a step function should do the trick
(leaving esq_mag in its original form).
```
def my_output(sim):
sim.output_field_function('E_sq', [mp.Ex, mp.Ey, mp.Ez], esq_mag)
sim.run(mp.to_appended('test', mp.at_every(0.1, my_output)), until=10)
```
`at
It is possible to change the material in a step function with something
like this:
```
import meep as mp
def change_mat(sim):
t = sim.meep_time()
fn = t * 0.2
geom = [mp.Sphere(radius=0.025, center=mp.Vector3(fn))]
mp.set_materials_from_geometry(
sim.structure,
geo
8 matches
Mail list logo