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

Implement Testcases for Davidson #8

Open
JensWehner opened this issue Jun 23, 2020 · 1 comment
Open

Implement Testcases for Davidson #8

JensWehner opened this issue Jun 23, 2020 · 1 comment
Assignees

Comments

@JensWehner
Copy link

JensWehner commented Jun 23, 2020

Within the Catch2 framework we need small testcases for
the Symmetric Davidson case.

They have to cover the following aspects:

datatypes: float, double, std::complex, std::complex
selection rules: min and max

and the following error conditions:
number of iterations exceeded without convergence,
input of the already diagonlized matrix,
some sort of numerically unstable problem(degeneracy)

and validation of input parameters:
too large searchspace
too many eigenvalues requested.

it has to cover restarts/deflation

reference values can be obtained from the Eigen solvers for dense matrices.

one test case should include a user defined matrixproduct.

@v1kko v1kko self-assigned this Jun 26, 2020
@v1kko
Copy link

v1kko commented Jun 29, 2020

We can use TEMPLATE_TEST_CASE (or even fancier, depending on catch2 version) to quickly enable support for various types in our tests : https://github.com/catchorg/Catch2/blob/master/docs/test-cases-and-sections.md#type-parametrised-test-cases

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

No branches or pull requests

3 participants