Comments (3)
http://journals.aps.org/pre/pdf/10.1103/PhysRevE.60.2347 eq 36-38 can be usefull for D_n evaluation
from scattnlay.
Just to track it here, this is needed to solve #17 without using multiprecision
Sure!!! I browsed the code from scattnlay and I guess that the problem is two-fold:
- the recursion for bessel functions of complex argument is performed directly, and this exposes the code to an overflow problem when the imaginary part of the argument is big. If instead one performs the recursion over the ratio of bessel functions, as in Du's paper, the problem is solved. One then of course needs to express the all expansion coefficients (a_[n,l],b_[n,l],...) for each layer of the sphere as a function of the ratio of bessel functions.
- The recursion must be performed using kaptein inequality as in Du, in order to recover all the needed significant digits
Other than that no futher modifications should be needed
Best
Giovanni
from scattnlay.
from scattnlay.
Related Issues (20)
- pip version tests fail with buffer wrong dimensions HOT 3
- build errors, nscattlay_dp not found HOT 4
- possible numerical problems HOT 6
- Compilation problem HOT 20
- Microsphere nanojet simulation HOT 6
- Improvements for webapp HOT 8
- Fused silicon dioxide HOT 1
- Update convergence preset?
- nan values in the central part of the sphere HOT 4
- memory required HOT 5
- Support of materials with negative refractive index
- Add support of azimutal and radial polarization of incident light.
- First point calculated by fieldnlay is always inf&nan HOT 12
- Jump of field value at z=0 HOT 2
- SetMaxTerms(-1) yields wrong results HOT 7
- Near-field verification for a 10mkm water droplet - create test case
- Try to use arblib
- Compilation issues for mac HOT 2
- Inconsistent results between PyPi package, python package installed from repository and web app HOT 4
- errors when trying to install scattnlay in Mac HOT 2
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 scattnlay.