| CARVIEW |
Select Language
HTTP/2 200
date: Sat, 27 Dec 2025 16:08:04 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"19d4b3ceb94906a908f8af29c2426d47"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com github.githubassets.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=FdmbAVZt%2BUythjvWclSNrBTNLqGBe0wJHq0e%2FSb9pdU3K2sPvb1CvbWn%2Bc%2FLh3hGzoJP55PE%2Fo11xGvyMiOG4aiGQCxLzNQyTs4jnT9uSwLbpajAGvlGlRL6Dgfdhi9tDvxrHLX9iv8uU5MDGrbt7sqmxvMPPZ6LaiXzPwiVJwbrjfUwaKfhOoPb9dpJQbFxNeqe5Ep1JNu%2BIYqhB0gnZvDHfkrEgnoNAWJQSUb69uM73gHPUQvgSlO4lgw7BXbo%2FgEvwFO6b6TWbABjrezGQg%3D%3D--2AASWYJ2wBTLdh0S--ASEc1G3Zp9Ks35qu3q4u8A%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1923679523.1766851683; Path=/; Domain=github.com; Expires=Sun, 27 Dec 2026 16:08:03 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 27 Dec 2026 16:08:03 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C4BE:36A2E5:45FDC6C:5438B9D:69500463
GitHub - jtramm/FNF: Fast Nuclear Faddeeva (FNF) - A fast approximation of the Faddeeva function W(z) for use in applications where the imaginary component of z is greater than 0. Ideal for SLBW nuclear resonance calculations where high fidelity is not required.
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 0
Fast Nuclear Faddeeva (FNF) - A fast approximation of the Faddeeva function W(z) for use in applications where the imaginary component of z is greater than 0. Ideal for SLBW nuclear resonance calculations where high fidelity is not required.
License
jtramm/FNF
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
+++++++++++++=+==++==========+++??IIIIIIIIIII??+++===========+=++=++++++++++++++
++++++++++++++++=+++=========++??III77777777II??++==========+++=++++++++++++++++
++++++++++++++++++++=+=======++?II777$$$$$777II?++==========++==++++++++++++++++
+++++++++++++++++++++++=+====+?II7$$ZZZOZZZ$$7I??+====+=++++=+++++++++++++++++++
+++++++++++++++++++++++======+?I7$ZOO8DD88OZZ$7I?+===+++++++++++++++++++++++++++
++++++++++++++++++++++++++====+I7$O8DDDDDDD8O$7I+===++++++++++++++++++++++++++++
++++++++++++++++++++++++++++==+I7Z8DDDDDDDDD8Z7?+=++++++++++++++++++++++++++++++
+++++++++++++++++++++++===++++=?7ODDDDDDDDDDDO7+=++====+++++++++++++++++++++++++
+++++++++++++++++++======+++==+=IODDDDDDDDDDDOI=+=++++====++++++++++++++++++++++
++++++++++++++++++++===+?I7$$7?++ODDDDDDDDDDDO++?7$$7I?+====++++++++++++++++++++
+++++++++++++++++++=+==?7Z88888Z+7DDDDDDDDDDDI+Z8888O$I?+==+++++++++++++++++++++
+++++++++++++++++++++==?7O8888888?8DDDDDDDDDDI8888888O7?==++++++++++++++++++++++
+++++++++++++++++++++++=?O88888888ZDDDDDDDDD$88888888O?=++++++++++++++++++++++++
++++++++++++++++++++==+++I88888888ZDDDDDDDDDO88888888I+?+==+++++++++++++++++++++
+++++++++++++++++=+++78DD8I88888888ZDDDDDDD$88888888I8DD8I=+++==++++++++++++++++
+++++++++++++++==++=+$DDDDD$8888888DDDDDDDDD8888888ZDDDDD$+=+=====++++++++++++++
++++++++++++++++=IZ8O?DDDDD8D8888888DDDDDDD8888888D8DDDD8IO8ZI=+++++++++++++++++
+++++++++++++++++I888888DDDDDD888888DDDDDDD888888DDDDDD888888I++++++++++++++++++
+++++++++++++++7Z7$888888D 8888877ZI=+++++++++++++++
++++++++++==+++8DDDO88888D ███████╗███╗ ██╗███████╗ 8888ODDD8+++=++++++++++++
++++++++++++Z8O7DDDDD88888 ██╔════╝████╗ ██║██╔════╝ 888DDDDD$O8Z+++++++++++++
+++++++++==+Z8888DDDDD8888 █████╗ ██╔██╗ ██║█████╗ 88DDDDD8888$===++++++++++
++++++++=+8DDO8888DDDDD888 ██╔══╝ ██║╚██╗██║██╔══╝ 8DDDDD8888Z8DO+++++++++++
++++++=IOO$DDDD8888DDDDD88 ██║ ██║ ╚████║██║ DDDDD8888DDDD78O?++++++++
+++++=??88888DDD8888DDDDD8 ╚═╝ ╚═╝ ╚═══╝╚═╝ DDDD8888DDDD8888??=++++++
+++=+?D888888DDDDD888DDDDD DDD888DDDDD888888D++==+++
+++I88ODD88888DDDDD8888DDD8888DDDD888DDDDD888DDDD8888DDDD8888DDDD888DDDDO88?++++
++OD7888DDDD888DDDD8888DDDD888DDDD888DDDDD888DDDD8888DDD8888DDDD888DDDD888IDZ+++
$O7DDD888DDDD888DDDD888DDDD888D8DD888DDDDD888DDDD888DDDD8888DDD888DDDD888DDD78$=
$888DDD888DDDDD88DDDD888DDDD888DDD888DDDDD88DDDD888DDDD888DDDD888DDD8888DDD888$$
DD888DDD888DDDD888DDDD88DDDD888DDDD888DDD888DDDD8888DD888DDDD888DDDD888DDD888DDD
================================================================================
Fast Nuclear Faddeeva Function
Version 1
John Tramm
2015
================================================================================
A fast approximation of the Faddeeva function W(z) for use in
applications where the imaginary component of z is greater than 0.
Ideal for SLBW nuclear resonance calculations where high fidelity
is not required. Written in C.
================================================================================
Overview
================================================================================
This function combines appromxation methods for two ranges of Complex space:
1) |z| >= 6.0
In this range, the Faddeeva function is easily approximated by a three
term asymptotic expansion. This method was first implemented by the
QUICK_W code in [1], but was also implemented by Josey et al.[2].
2) |z| < 6.0
In this range, the Faddeeva function requires a more precise appromxation
method. This function uses an approximation developed by
Abrarov et al.[3][4].
================================================================================
Usage Assumptions
================================================================================
Use of this function comes with several assumptions:
1) The imaginary component of Z is always greater than zero. This is useful
for many applications that can meet this assumption, as the Faddeeva
function is much simplere to compute in positive complex space.
2) Machine precision or high fidelity is not required for the result when
compared to reference implentations such as the MIT W function[5].
The estimated accuracy of this function is O(1e-4) for |z| < 6.0, and
O(1e-6) for |z| > 6.0.
================================================================================
References
================================================================================
[1] H. Henryson II, B. J. Toppel, and C. G. Stenberg. MC^2 2: A Code to Calculate Fast Neutron Spectra and Multigroup Cross Sections. Technical Report Argonne-8144, Argonne National Laboratory (1976).
[2] C. Josey, B. Forget, and K. S. Smith, “EFFICIENCY AND ACCURACY EVALUATION OF THE WINDOWED MULTIPOLE DIRECT DOPPLER BROADENING METHO,” presented at the PHYSOR 2014 - The Role of Reactor Physics toward a Sustainable Future, 2014.
[3] S. M. Abrarov and B. M. Quine, “A rapid and highly accurate approximation for the error function of complex argument,” arXiv.org, vol. math.NA. 14-Aug-2013.
[4] S. M. Abrarov and B. M. Quine, “Applied Mathematics and Computation,” Applied Mathematics and Computation, vol. 218, no. 5, pp. 1894–1902, Nov. 2011.
[5] S. G. Johnson. “Faddeeva package - abinitio.” URL https://ab-initio.mit.edu/wiki/ index.php/Faddeeva_Package (2013).
About
Fast Nuclear Faddeeva (FNF) - A fast approximation of the Faddeeva function W(z) for use in applications where the imaginary component of z is greater than 0. Ideal for SLBW nuclear resonance calculations where high fidelity is not required.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
You can’t perform that action at this time.