Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One-dimensional Helmholtz kernel #237

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ilfreddy
Copy link
Contributor

@ilfreddy ilfreddy commented Feb 15, 2024

In order to solve the Schrödinger Equation in 1d, we need to include the 1d Helmholtz kernel. That is simply a "Slater-type" function.

  • Create class for Slater-type functions (bonus: we can do it for all dimensions)
    $$s(\mathbf{x}) = c e^{-a |\mathbf{x}-\mathbf{x}_0|}$$
  • Implement the corresponding operator: a NS form which has $s(|x-y|)$ as a kernel
  • Test

This operator does not require an expansion in a sum of Gaussians, but it is one component only. It is not singular either and its NS form should therefore decay pretty efficiently

Copy link

codecov bot commented Feb 15, 2024

Codecov Report

Attention: Patch coverage is 86.15385% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 65.80%. Comparing base (75b4ebe) to head (198a81b).

❗ Current head 198a81b differs from pull request most recent head 7f5d40b. Consider uploading reports for the commit 7f5d40b to get more accurate results

Files Patch % Lines
src/functions/Slater.h 35.71% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #237      +/-   ##
==========================================
+ Coverage   65.70%   65.80%   +0.09%     
==========================================
  Files         185      188       +3     
  Lines       10232    10299      +67     
==========================================
+ Hits         6723     6777      +54     
- Misses       3509     3522      +13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant