IDRS Induced Dimension Reduction method
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=realdp), | intent(in) | :: | v(1-LAP:nx+LAP,1-LAP:ny+LAP) | |||
| complex(kind=realdp), | intent(in) | :: | w(1-LAP:nx+LAP,1-LAP:ny+LAP) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=realdp), | intent(in) | :: | v(1-LAP:nx+LAP,1-LAP:ny+LAP) | |||
| real(kind=realdp), | intent(in) | :: | w(1-LAP:nx+LAP,1-LAP:ny+LAP) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=realdp), | intent(in) | :: | v(1-LAP:nx+LAP,1-LAP:ny+LAP) | |||
| complex(kind=realdp), | intent(in) | :: | w(1-LAP:nx+LAP,1-LAP:ny+LAP) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=realdp), | intent(in), | allocatable | :: | P(:,:,:) | ||
| complex(kind=realdp), | intent(in), | allocatable | :: | R0(:,:) | ||
| complex(kind=realdp), | intent(in) | :: | w(1-LAP:nx+LAP,1-LAP:ny+LAP) | |||
| integer | :: | s |
made a big mistake here, only found after done numerous tests,
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=realdp), | intent(in), | allocatable | :: | P(:,:,:) | ||
| real(kind=realdp), | intent(in), | allocatable | :: | R0(:,:) | ||
| real(kind=realdp), | intent(in) | :: | w(1-LAP:nx+LAP,1-LAP:ny+LAP) | |||
| integer | :: | s |
Frobenius norm of complex matrix
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=realdp), | intent(in) | :: | v(1-LAP:nx+LAP,1-LAP:ny+LAP) |
Frobenius norm of real matrix
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=realdp), | intent(in) | :: | v(1-LAP:nx+LAP,1-LAP:ny+LAP) |
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(matrix), | intent(in) | :: | A | |||
| complex(kind=realdp), | intent(in), | allocatable | :: | b(:,:) | ||
| type(preconditioner), | intent(in) | :: | M1 | |||
| integer, | intent(in) | :: | s | |||
| real(kind=realdp), | intent(in), | optional | :: | tolerance | ||
| integer, | intent(in), | optional | :: | maximum_iterations | ||
| character(len=8), | intent(in), | optional | :: | variant | ||
| integer, | intent(out), | optional | :: | flag | ||
| real(kind=realdp), | intent(out), | optional | :: | relres | ||
| integer, | intent(out), | optional | :: | iterations | ||
| complex(kind=realdp), | intent(in), | optional | :: | x0(:,:) | ||
| complex(kind=realdp), | intent(in), | optional | :: | U0(:,:,:) | ||
| complex(kind=realdp), | intent(in), | optional | :: | omega(:) | ||
| real(kind=realdp), | intent(out), | optional | :: | resvec(:) | ||
| complex(kind=realdp), | intent(out), | optional | :: | H(:,:) |
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(matrix), | intent(in) | :: | A | |||
| real(kind=realdp), | intent(in), | allocatable | :: | b(:,:) | ||
| type(preconditioner), | intent(in) | :: | M1 | |||
| integer, | intent(in) | :: | s | |||
| real(kind=realdp), | intent(in), | optional | :: | tolerance | ||
| integer, | intent(in), | optional | :: | maximum_iterations | ||
| character(len=8), | intent(in), | optional | :: | variant | ||
| integer, | intent(out), | optional | :: | flag | ||
| real(kind=realdp), | intent(out), | optional | :: | relres | ||
| integer, | intent(out), | optional | :: | iterations | ||
| real(kind=realdp), | intent(in), | optional | :: | x0(:,:) | ||
| real(kind=realdp), | intent(in), | optional | :: | U0(:,:,:) | ||
| real(kind=realdp), | intent(in), | optional | :: | omega(:) | ||
| real(kind=realdp), | intent(out), | optional | :: | H(:,:) | ||
| real(kind=realdp), | intent(out), | optional | :: | resvec(:) |