Deals with optional arguments. Run all tests to verify axioms. Generate random vectors. Check additivity. Generate random vectors. generate the identical non-trivial alpha on all ranks
Check homogeneity. Exit if the test fails. Check that the zero vector is mapped to the zero vector. Exit if the test fails. Generate random vectors. Check adjoint consistency.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(abstract_linop_rsp), | intent(inout) | :: | A |
Linear operator whose implementation needs to be tested. |
||
| class(abstract_vector_rsp), | intent(in) | :: | x |
Mold vector from the operator's domain (used to generate random inputs). |
||
| integer, | intent(in), | optional | :: | ntrials |
Number of random samples generated for the tests. |
|
| real(kind=sp), | intent(in), | optional | :: | tolerance |
Tolerance used for the axiom checks. |
|
| logical, | intent(in), | optional | :: | test_zero_map |
Verify explicitly that the operator maps x = 0 to 0? (Default: .true.) |
|
| logical, | intent(in), | optional | :: | test_adjoint |
Verify also the adjoint consistency |
Deals with optional arguments. Run all tests to verify axioms. Generate random vectors. Check additivity. Generate random vectors. generate the identical non-trivial alpha on all ranks
Check homogeneity. Exit if the test fails. Check that the zero vector is mapped to the zero vector. Exit if the test fails. Generate random vectors. Check adjoint consistency.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(abstract_linop_rdp), | intent(inout) | :: | A |
Linear operator whose implementation needs to be tested. |
||
| class(abstract_vector_rdp), | intent(in) | :: | x |
Mold vector from the operator's domain (used to generate random inputs). |
||
| integer, | intent(in), | optional | :: | ntrials |
Number of random samples generated for the tests. |
|
| real(kind=dp), | intent(in), | optional | :: | tolerance |
Tolerance used for the axiom checks. |
|
| logical, | intent(in), | optional | :: | test_zero_map |
Verify explicitly that the operator maps x = 0 to 0? (Default: .true.) |
|
| logical, | intent(in), | optional | :: | test_adjoint |
Verify also the adjoint consistency |
Deals with optional arguments. Run all tests to verify axioms. Generate random vectors. Check additivity. Generate random vectors. generate the identical non-trivial alpha on all ranks
Check homogeneity. Exit if the test fails. Check that the zero vector is mapped to the zero vector. Exit if the test fails. Generate random vectors. Check adjoint consistency.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(abstract_linop_csp), | intent(inout) | :: | A |
Linear operator whose implementation needs to be tested. |
||
| class(abstract_vector_csp), | intent(in) | :: | x |
Mold vector from the operator's domain (used to generate random inputs). |
||
| integer, | intent(in), | optional | :: | ntrials |
Number of random samples generated for the tests. |
|
| real(kind=sp), | intent(in), | optional | :: | tolerance |
Tolerance used for the axiom checks. |
|
| logical, | intent(in), | optional | :: | test_zero_map |
Verify explicitly that the operator maps x = 0 to 0? (Default: .true.) |
|
| logical, | intent(in), | optional | :: | test_adjoint |
Verify also the adjoint consistency |
Deals with optional arguments. Run all tests to verify axioms. Generate random vectors. Check additivity. Generate random vectors. generate the identical non-trivial alpha on all ranks
Check homogeneity. Exit if the test fails. Check that the zero vector is mapped to the zero vector. Exit if the test fails. Generate random vectors. Check adjoint consistency.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(abstract_linop_cdp), | intent(inout) | :: | A |
Linear operator whose implementation needs to be tested. |
||
| class(abstract_vector_cdp), | intent(in) | :: | x |
Mold vector from the operator's domain (used to generate random inputs). |
||
| integer, | intent(in), | optional | :: | ntrials |
Number of random samples generated for the tests. |
|
| real(kind=dp), | intent(in), | optional | :: | tolerance |
Tolerance used for the axiom checks. |
|
| logical, | intent(in), | optional | :: | test_zero_map |
Verify explicitly that the operator maps x = 0 to 0? (Default: .true.) |
|
| logical, | intent(in), | optional | :: | test_adjoint |
Verify also the adjoint consistency |