Questions tagged [meep]

Meep (or MEEP) is a free finite-difference time-domain (FDTD) simulation software package developed at MIT to model electromagnetic systems, along with the MPB eigenmode package.

Meep (or MEEP) is a free finite-difference time-domain (FDTD) simulation software package developed at MIT to model electromagnetic systems, along with the MPB eigenmode package. Meep officially stands for MIT Electromagnetic Equation Propagation

41 questions
1
vote
0 answers

Compiling MIT MEEP In Visual C++ 2013

I know it's possible to do since I have seen some internet articles about it, but none specifically outline the process. I would like to compile MIT MEEP to Visual C++ to use the libmeep libraries in a .NET CLR application. The source provided…
amusk
  • 11
  • 1
1
vote
2 answers

Optimize a function in scipy without explicitly defining the gradient

I'm currently trying to optimize a function using scipy. I have some constraints on the variables, and from this link: http://docs.scipy.org/doc/scipy-0.14.0/reference/tutorial/optimize.html, it looks like SLSQP is exactly what I want. In their…
QuantumFool
  • 609
  • 3
  • 10
  • 29
1
vote
1 answer

MEEP cygwin install issue

I'm trying to install MEEP through cygwin, I have all the required packages installed, however when I run ./configure I get the following error message: configure: error: Couldn't find the required libctl library. Even though the libctl package is…
KRS-fun
  • 696
  • 3
  • 9
  • 20
0
votes
0 answers

MEEP Simulation of Two Sources

I am trying to code up a simulation of a light source passing through a refractive waveguide under a static electric field. I adapted the fields in a waveguide code…
0
votes
1 answer

How do I use MEEP on a google colab environment?

I have been trying to install MEEP on my google colab environment but every solution online does not work for me. The code I have so far is below: !wget -c https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh !chmod +x…
0
votes
0 answers

Low brightness in beam visualization

prism with low brightness beam Never posted a question on stack before, please forgive any question upload mistakes. As seen in the image above, I'm having trouble visualizing beam propagation in a prism. The source is a GaussianBeamSource. The beam…
0
votes
0 answers

Error during source installation - MEEP - on macos

I am trying to install MIT's meep from source on my macOS following this recommended procedure: install meep from source on macOs After the final step, I ran "make check" to ensure that everything went well. However, the following error is shown for…
Pranav
  • 3
  • 4
0
votes
0 answers

Python OverflowError : in method 'get_GDSII_prisms', argument 3 of type 'int'

I'm a new user of a Python module called meep. I followed this tutorial and everything works fine. However, I tried to change something and I keep having the same error : OverflowError : in method 'get_GDSII_prisms', argument 3 of type 'int' Here is…
solenec08
  • 21
  • 1
  • 2
0
votes
0 answers

AttributeError: module 'meep' has no attribute 'Vector3' in python3 jupyter notebook

AttributeError: module 'meep' has no attribute 'Vector3' in python 3 in jupyter notebook and google collab. the error keeps occurring no matter how many times run or uninstalled and installed ubuntu 18.04 again.
0
votes
1 answer

How to properly install MEEP in Google Colab?

In the past I have installed the pymeep package in Google Colab with the following cell: !wget -c https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh !chmod +x Miniconda3-latest-Linux-x86_64.sh !bash…
0
votes
1 answer

Should I install meep using Ubuntu or Cygwin for windows?

I'm new to using meep and don't know the difference between using Ubuntu and Cygwin. The meep installation page recommends using Ubuntu, but it says this means that matplotlib plots won't show in the environment is this always the case? And if so is…
0
votes
1 answer

ImportError: No module named meep on Ubuntu 18.04

I followed the procedure in here. sudo apt-get install meep h5utils and tried this also. But still have that error message. xxxx@xxxxxxxxxxxx:~/Downloads$ python3 mie_scattering.py Traceback (most recent call last): File "mie_scattering.py", line…
Codelearner777
  • 313
  • 3
  • 15
0
votes
1 answer

Package conflict for pymeep-parallel in anaconda environment

So I am trying to install pymeep-parallel through conda. I am getting all these package conflict errors. the command I used is conda create -n pmp -c chogan -c conda-forge pymeep-parallel My system is windows subsystem linux 1. Package harminv…
DrKeith
  • 59
  • 5
0
votes
1 answer

Python / pymeep / ModuleNotFoundError: no module named 'pymeep'

Was installing pymeep per https://meep.readthedocs.io/en/latest/Installation/ used: wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh bash miniconda.sh -b -p export…
user3533030
  • 359
  • 3
  • 17
0
votes
2 answers

Compiling meep with openmpi

I am trying to build meep from MIT with OpenMPI on an iMac with Corei7 processor. I installed OpenMPI using macport. I have also installed hdf5 with OpenMPI. Now when I try to compile meep with mpi using --with-mpi, meep does not compile and gives…
Raiyan Kabir
  • 1,016
  • 2
  • 11
  • 23