Comments (2)
This is very strange. I downloaded your code and tried to run it and had the same issue, but if I change the number of Fourier orders from 100 to 9 I no longer get NaN (although I don't know if the results are reasonable). I realise this does not solve the issue but perhaps it gives a starting point for further investigation...
P.S. Thank you very much for making me aware of Inkstone, I did not know about it before
from s4.
Thank you for your prompt response. Yes, the code does run for me with up to 12 Fourier orders, but not for 13 or higher. The code seems to converge with this number of orders, so while it would be nice to enable arbitrarily large numbers of Fourier orders, I think this is good enough for my purposes!
from s4.
Related Issues (20)
- About the S4 installation HOT 4
- Aperiodic Structure With PML HOT 4
- How to use real dielectric constant of the material?
- Is there a way to implement a layer with pixelized refractive index distribution in S4?
- Which function can be used to set the incident plane wave to be circularly polarized? HOT 2
- Could S4 do interference simulation?
- Cannot execute S4 after installation HOT 2
- Layers with different lattice vectors HOT 2
- A problem of "SetLayerPatternPolygon" HOT 1
- Scattering Matrix
- Installation Problem in M2 Max
- Python API: Error while setting excitation wave
- Creating a model with different refractive index along the wavelength HOT 1
- Multi-threading/Muti-processing HOT 2
- Angle orientation
- Adaptive fequency sampling HOT 1
- Installation for Windows HOT 2
- Trouble installing on Ubuntu 24
- Pyramidal Structure HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from s4.