Meep integration: cell size not correctly calculated
See original GitHub issueThe size of the Mode monitor is not correctly taken into account for bends:
from gdsfactory.components import bend_euler
from gdsfactory.simulation.gmeep import write_sparameters_meep
from gdsfactory.simulation.effective_permittivity import calculate_effective_permittivity
bend = bend_euler(radius=5)
material_name_to_meep = {
'si': float(calculate_effective_permittivity(3.477 ** 2, 1.444 ** 2, 1.444 ** 2, .22, 1.55, 'te')[0] ** .5)}
write_sparameters_meep(bend, resolution=20, is_3d=False, animate=True, material_name_to_meep=material_name_to_meep)
Issue Analytics
- State:
- Created a year ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
FAQ - MEEP Documentation - Read the Docs
What is an estimate of the memory requirements of a simulation given only its cell size and resolution? Can Meep be compiled to...
Read more >Python Tutorial - NanoComp/meep - GitHub
We compute the fluxes through a line segment twice the width of the waveguide, located at the beginning or end of the waveguide....
Read more >Meep Tutorial - AbInitio
The last no-size parameter says that the computational cell has no size in the z direction, i.e. it is two-dimensional.
Read more >Simulations of electromagnetic waves with python-meep
Summary: This page is based on my experience with the MEEP Finite-Difference Time-Domain simulations. Installation procedure, basic simulation, ...
Read more >ios - Using Auto Layout in UITableView for dynamic cell ...
This // is important so that we'll get the correct cell height for different // table view widths if the cell's height depends...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
see function to add port markers in the docs
another way to automatically fix these issues is to add
port_markers