Please edit "src/SparseClass/SparseClass.c" for 'c_dot_product' 'crs_spmv_real32' 'crs_spmv_real64'
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=c_double), | intent(in) | :: | a(n) | |||
real(kind=c_double), | intent(in) | :: | b(n) | |||
integer(kind=C_size_t), | value | :: | n | |||
real(kind=c_double), | intent(out) | :: | ret(1) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=C_float), | intent(in) | :: | val(n) | |||
integer(kind=C_int64_t), | intent(in) | :: | row_ptr(n+1) | |||
integer(kind=C_int), | intent(in) | :: | col_idx(col_size) | |||
real(kind=C_float), | intent(in) | :: | old_vector(n) | |||
real(kind=C_float), | intent(inout) | :: | new_vector(n) | |||
integer(kind=C_size_t), | Value | :: | n | |||
integer(kind=C_size_t), | Value | :: | col_size |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=C_double), | intent(in) | :: | val(n) | |||
integer(kind=C_int64_t), | intent(in) | :: | row_ptr(n+1) | |||
integer(kind=C_int), | intent(in) | :: | col_idx(col_size) | |||
real(kind=C_double), | intent(in) | :: | old_vector(n) | |||
real(kind=C_double), | intent(inout) | :: | new_vector(n) | |||
integer(kind=C_size_t), | Value | :: | n | |||
integer(kind=C_size_t), | Value | :: | col_size |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=c_int), | intent(in) | :: | row_ptr(n) | |||
integer(kind=c_int), | intent(in) | :: | col_idx(n_col) | |||
real(kind=c_double), | intent(in) | :: | val(n-1) | |||
real(kind=c_double), | intent(in) | :: | x(n-1) | |||
integer(kind=C_size_t), | value | :: | n | |||
integer(kind=C_size_t), | value | :: | n_col | |||
real(kind=c_double), | intent(out) | :: | ret(n-1) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=real64), | intent(in) | :: | x |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | x |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | x(:) |
$OMP parallel do private(col_2,col_1) $OMP atomic $OMP end parallel do
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(CRS_), | intent(in) | :: | CRS1 | |||
type(CRS_), | intent(in) | :: | CRS2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(CRS_), | intent(in) | :: | CRS1 | |||
type(CRS_), | intent(in) | :: | CRS2 |
INPUT INPUT/OUTPUT INPUT OUTPUT
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | A(:,:) | |||
real(kind=real64), | intent(in) | :: | B(:,:) | |||
real(kind=real64), | intent(inout), | allocatable | :: | x(:,:) | ||
real(kind=real64), | intent(inout), | allocatable | :: | lambda(:) | ||
logical, | intent(in), | optional | :: | debug |
INPUT INPUT/OUTPUT INPUT OUTPUT
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(CRS_), | intent(in) | :: | A | |||
type(CRS_), | intent(in) | :: | B | |||
real(kind=real64), | intent(inout), | allocatable | :: | x(:,:) | ||
real(kind=real64), | intent(inout), | allocatable | :: | lambda(:) | ||
logical, | intent(in), | optional | :: | debug |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | scalar64 | |||
type(CRS_), | intent(in) | :: | CRS1 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(CRS_), | intent(in) | :: | CRS1 | |||
real(kind=real64), | intent(in) | :: | scalar64 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | scalar64 | |||
type(BCRS_), | intent(in) | :: | BCRS1 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(BCRS_), | intent(in) | :: | BCRS1 | |||
real(kind=real64), | intent(in) | :: | scalar64 |
$OMP parallel do $OMP atomic $OMP end parallel do
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(CRS_), | intent(in) | :: | A | |||
type(CRS_), | intent(in) | :: | B |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(CRS_), | intent(in) | :: | A | |||
real(kind=real64), | intent(in) | :: | b(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(CRS_), | intent(in) | :: | A | |||
type(CRS_), | intent(in) | :: | B | |||
real(kind=real64), | intent(out), | allocatable | :: | lambda(:) | ||
real(kind=real64), | intent(out), | allocatable | :: | X(:,:) | ||
integer(kind=int32), | intent(in) | :: | m | |||
integer(kind=int32), | intent(in) | :: | MAX_ITR | |||
real(kind=real64), | intent(in) | :: | TOL | |||
logical, | intent(in), | optional | :: | debug |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(CRS_), | intent(in) | :: | A | |||
type(CRS_), | intent(in) | :: | B | |||
real(kind=real64), | intent(inout), | allocatable | :: | lambda | ||
real(kind=real64), | intent(inout), | allocatable | :: | X(:) | ||
real(kind=real64), | intent(in) | :: | alpha | |||
real(kind=real64), | intent(in) | :: | tol | |||
logical, | intent(in), | optional | :: | debug |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | diag_vec(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | dense_matrix(:,:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Array_), | intent(in) | :: | arrayobject |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | dense_matrix(:,:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Array_), | intent(in) | :: | arrayobject |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=real64), | public, | allocatable | :: | val(:) | |||
complex(kind=real64), | public, | allocatable | :: | val_complex64(:) | |||
integer(kind=int32), | public, | allocatable | :: | col(:) |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(COO_Row_), | public, | allocatable | :: | row(:) |
procedure, public :: init => initCOO | |
procedure, public :: update => updateCOO | |
procedure, public :: set => updateCOO | |
procedure, public, pass :: addCOO | |
procedure, public, pass :: add_complexCOO | |
generic, public :: add => addCOO, add_complexCOO | |
procedure, public :: getDenseMatrix => getDenseMatrixCOO | |
procedure, public :: to_dense => getDenseMatrixCOO | |
procedure, public :: remove => removeCOO | |
procedure, public :: getAllCol => getAllColCOO | |
procedure, public :: DOF => DOFCOO | |
procedure, public :: to_CRS => to_CRSCOO | |
procedure, public :: get => getCOO | |
procedure, public :: ne => neCOO | |
procedure, public :: maxval => maxvalCOO | |
procedure, public :: random => randomCOO | |
procedure, public :: eyes => eyesCOO | |
procedure, public :: poisson => poissonCOO |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer(kind=int32), | public, | allocatable | :: | col_ptr(:) | |||
integer(kind=int32), | public, | allocatable | :: | row_idx(:) | |||
real(kind=real64), | public, | allocatable | :: | val(:) |
procedure, public :: get_column => get_column_CCS |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer(kind=int32), | public, | allocatable | :: | col_idx(:) | |||
integer(kind=int64), | public, | allocatable | :: | row_ptr(:) | |||
real(kind=real64), | public, | allocatable | :: | val(:) | |||
real(kind=real32), | public, | allocatable | :: | val_real32(:) | |||
complex(kind=real64), | public, | allocatable | :: | val_complex64(:) | |||
integer(kind=int32), | public | :: | dtype | = | real64 |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(CRS_), | public, | allocatable | :: | CRS(:,:) |
procedure, public :: set => setBCRS | |
procedure, public :: add => addBCRS | |
procedure, public :: showShape => showShapeBCRS | |
procedure, public :: shape => shapeBCRS | |
procedure, public :: row_range => row_range_BCRS | |
procedure, public :: col_range => col_range_BCRS | |
procedure, public :: matmul => matmulBCRS | |
procedure, public :: to_dense => to_dense_BCRS | |
procedure, public :: exp => expBCRS |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(COO_), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(COO_), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | CRS | |||
real(kind=real64), | intent(in) | :: | Old_vector(:) | |||
integer(kind=int32), | intent(in), | optional | :: | run_mode | ||
integer(kind=int32), | intent(in), | optional | :: | cache_size |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | CRS | |||
real(kind=real64), | intent(in) | :: | Old_vector(:) | |||
character(len=*), | intent(in) | :: | c_routine |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | CRS | |||
real(kind=real32), | intent(in) | :: | Old_vector(:) | |||
character(len=*), | intent(in) | :: | c_routine |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | CRS | |||
real(kind=real32), | intent(in) | :: | Old_vector(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | CRS | |||
complex(kind=real64), | intent(in) | :: | Old_vector(:) |
x_i = A_ij b_j
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | CRS_value(:) | |||
integer(kind=int32), | intent(in) | :: | CRS_col(:) | |||
integer(kind=int64), | intent(in) | :: | CRS_row_ptr(:) | |||
real(kind=real64), | intent(in) | :: | Old_vector(:) | |||
integer(kind=int32), | intent(in), | optional | :: | cache_size |
x_i = A_ij b_j
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | CRS_value(:) | |||
integer(kind=int32), | intent(in) | :: | CRS_col(:) | |||
integer(kind=int64), | intent(in) | :: | CRS_row_ptr(:) | |||
real(kind=real64), | intent(in) | :: | Old_vector(:) |
x_i = A_ij b_j
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real32), | intent(in) | :: | CRS_value(:) | |||
integer(kind=int32), | intent(in) | :: | CRS_col(:) | |||
integer(kind=int64), | intent(in) | :: | CRS_row_ptr(:) | |||
real(kind=real32), | intent(in) | :: | Old_vector(:) |
x_i = A_ij b_j
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=real64), | intent(in) | :: | CRS_value(:) | |||
integer(kind=int32), | intent(in) | :: | CRS_col(:) | |||
integer(kind=int64), | intent(in) | :: | CRS_row_ptr(:) | |||
complex(kind=real64), | intent(in) | :: | Old_vector(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(COO_), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(COO_), | intent(in) | :: | this | |||
integer(kind=int32), | intent(in) | :: | row | |||
integer(kind=int32), | intent(in) | :: | col |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(COO_), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(COO_), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
integer(kind=int32), | intent(in) | :: | row | |||
integer(kind=int32), | intent(in) | :: | col |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
integer(kind=int32), | intent(in) | :: | row | |||
integer(kind=int32), | intent(in) | :: | col |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
logical, | intent(in), | optional | :: | cell_centered |
[2,5,8,11,13, 13] [2,2,5, 8,11, 13]
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | A(:,:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(CRS_), | intent(in) | :: | A | |||
real(kind=real64), | intent(in) | :: | b(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CCS_), | intent(in) | :: | this | |||
integer(kind=int32), | intent(in) | :: | col |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
integer(kind=int32), | intent(in) | :: | itr_tol | |||
real(kind=real64), | intent(in) | :: | tol | |||
real(kind=real64), | intent(in) | :: | x(:) | |||
real(kind=real64), | intent(in), | optional | :: | dt | ||
integer(kind=int32), | intent(in), | optional | :: | fix_idx(:) | ||
real(kind=real64), | intent(in), | optional | :: | fix_val(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
real(kind=real64), | intent(in) | :: | v(:) | |||
real(kind=real64), | intent(in) | :: | tol | |||
complex(kind=real64), | intent(in), | optional | :: | coeff | ||
integer(kind=int32), | intent(in) | :: | itrmax | |||
logical, | intent(in), | optional | :: | binomial |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
real(kind=real64), | intent(in) | :: | v(:) | |||
real(kind=real64), | intent(in) | :: | tol | |||
integer(kind=int32), | intent(in) | :: | itrmax | |||
logical, | intent(in), | optional | :: | binomial | ||
real(kind=real64), | intent(in), | optional | :: | r |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
real(kind=real64), | intent(in) | :: | v(:) | |||
real(kind=real64), | intent(in) | :: | tol | |||
integer(kind=int32), | intent(in) | :: | itrmax | |||
real(kind=real64), | intent(in), | optional | :: | r |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
real(kind=real64), | intent(in) | :: | v(:) | |||
real(kind=real64), | intent(in) | :: | tol | |||
integer(kind=int32), | intent(in) | :: | itrmax | |||
real(kind=real64), | intent(in), | optional | :: | r |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
integer(kind=int32), | intent(in) | :: | itr_tol | |||
real(kind=real64), | intent(in) | :: | tol | |||
complex(kind=real64), | intent(in) | :: | x(:) | |||
real(kind=real64), | intent(in), | optional | :: | dt | ||
integer(kind=int32), | intent(in), | optional | :: | fix_idx(:) | ||
complex(kind=real64), | intent(in), | optional | :: | fix_val(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
complex(kind=real64), | intent(in) | :: | v(:) | |||
real(kind=real64), | intent(in) | :: | tol | |||
integer(kind=int32), | intent(in) | :: | itrmax | |||
complex(kind=real64), | intent(in), | optional | :: | coeff | ||
integer(kind=int32), | intent(in), | optional | :: | fix_idx(:) | ||
logical, | intent(in), | optional | :: | binomial | ||
real(kind=real64), | intent(in), | optional | :: | r |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
complex(kind=real64), | intent(in) | :: | v(:) | |||
real(kind=real64), | intent(in) | :: | tol | |||
integer(kind=int32), | intent(in) | :: | itrmax | |||
logical, | intent(in), | optional | :: | binomial | ||
real(kind=real64), | intent(in), | optional | :: | r |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
complex(kind=real64), | intent(in) | :: | v(:) | |||
real(kind=real64), | intent(in) | :: | tol | |||
integer(kind=int32), | intent(in) | :: | itrmax |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
complex(kind=real64), | intent(in) | :: | v(:) | |||
real(kind=real64), | intent(in) | :: | tol | |||
integer(kind=int32), | intent(in) | :: | itrmax | |||
complex(kind=real64), | intent(in), | optional | :: | coeff | ||
logical, | intent(in), | optional | :: | debug | ||
integer(kind=int32), | intent(in), | optional | :: | fix_idx(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
real(kind=real64), | intent(in) | :: | v(:) | |||
real(kind=real64), | intent(in) | :: | tol | |||
integer(kind=int32), | intent(in) | :: | itrmax | |||
real(kind=real64), | intent(in), | optional | :: | coeff | ||
logical, | intent(in), | optional | :: | debug | ||
integer(kind=int32), | intent(in), | optional | :: | fix_idx(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
complex(kind=real64), | intent(in) | :: | u0(:) | |||
complex(kind=real64), | intent(in) | :: | v0(:) | |||
real(kind=real64), | intent(in), | optional | :: | tol | ||
integer(kind=int32), | intent(in), | optional | :: | itrmax | ||
real(kind=real64), | intent(in) | :: | h | |||
real(kind=real64), | intent(in) | :: | t | |||
integer(kind=int32), | intent(in), | optional | :: | fix_idx(:) | ||
logical, | intent(in), | optional | :: | debug |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(inout) | :: | this | |||
real(kind=real64), | intent(in) | :: | u0(:) | |||
real(kind=real64), | intent(in) | :: | v0(:) | |||
real(kind=real64), | intent(in), | optional | :: | tol | ||
integer(kind=int32), | intent(in), | optional | :: | itrmax | ||
real(kind=real64), | intent(in) | :: | h | |||
real(kind=real64), | intent(in) | :: | t | |||
integer(kind=int32), | intent(in), | optional | :: | fix_idx(:) | ||
logical, | intent(in), | optional | :: | debug |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
real(kind=real64), | intent(in) | :: | u0(:) | |||
real(kind=real64), | intent(in) | :: | v0(:) | |||
real(kind=real64), | intent(in), | optional | :: | tol | ||
integer(kind=int32), | intent(in), | optional | :: | itrmax | ||
real(kind=real64), | intent(in) | :: | h | |||
real(kind=real64), | intent(in) | :: | t | |||
integer(kind=int32), | intent(in), | optional | :: | fix_idx(:) | ||
logical, | intent(in), | optional | :: | debug | ||
real(kind=real64), | intent(in) | :: | cutoff_frequency |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
real(kind=real64), | intent(in) | :: | RHS(:) | |||
real(kind=real64), | intent(in) | :: | t | |||
real(kind=real64), | intent(in), | optional | :: | tol | ||
integer(kind=int32), | intent(in), | optional | :: | itrmax | ||
integer(kind=int32), | intent(in), | optional | :: | fix_idx(:) | ||
logical, | intent(in), | optional | :: | debug |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
real(kind=real64), | intent(in) | :: | RHS(:) | |||
real(kind=real64), | intent(in) | :: | t | |||
real(kind=real64), | intent(in), | optional | :: | tol | ||
integer(kind=int32), | intent(in), | optional | :: | itrmax | ||
integer(kind=int32), | intent(in), | optional | :: | fix_idx(:) | ||
logical, | intent(in), | optional | :: | debug | ||
real(kind=real64), | intent(in) | :: | cutoff_frequency | |||
real(kind=real64), | intent(in), | optional | :: | weights(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
complex(kind=real64), | intent(in) | :: | RHS(:) | |||
real(kind=real64), | intent(in) | :: | t | |||
real(kind=real64), | intent(in), | optional | :: | tol | ||
integer(kind=int32), | intent(in), | optional | :: | itrmax | ||
integer(kind=int32), | intent(in), | optional | :: | fix_idx(:) | ||
logical, | intent(in), | optional | :: | debug |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
complex(kind=real64), | intent(in) | :: | u(:) | |||
complex(kind=real64), | intent(in) | :: | v(:) | |||
real(kind=real64), | intent(in) | :: | tol | |||
integer(kind=int32), | intent(in) | :: | itrmax | |||
complex(kind=real64), | intent(in), | optional | :: | coeff |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
complex(kind=real64), | intent(in) | :: | v(:) | |||
real(kind=real64), | intent(in) | :: | tol | |||
integer(kind=int32), | intent(in) | :: | itrmax | |||
complex(kind=real64), | intent(in), | optional | :: | coeff | ||
logical, | intent(in), | optional | :: | debug | ||
integer(kind=int32), | intent(in), | optional | :: | fix_idx(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | dt | |||
integer, | intent(in) | :: | num_sample | |||
integer, | intent(in) | :: | t_power |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
real(kind=real64), | intent(in) | :: | v(:) | |||
real(kind=real64), | intent(in) | :: | tol | |||
integer(kind=int32), | intent(in) | :: | itrmax | |||
real(kind=real64), | intent(in), | optional | :: | coeff | ||
logical, | intent(in), | optional | :: | debug | ||
integer(kind=int32), | intent(in), | optional | :: | fix_idx(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
real(kind=real64), | intent(in) | :: | v(:) | |||
real(kind=real64), | intent(in) | :: | tol | |||
integer(kind=int32), | intent(in) | :: | itrmax | |||
real(kind=real64), | intent(in), | optional | :: | coeff | ||
logical, | intent(in), | optional | :: | debug | ||
integer(kind=int32), | intent(in), | optional | :: | fix_idx(:) | ||
real(kind=real64), | intent(in) | :: | cutoff_frequency |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
real(kind=real64), | intent(in) | :: | v(:) | |||
real(kind=real64), | intent(in) | :: | tol | |||
integer(kind=int32), | intent(in) | :: | itrmax | |||
real(kind=real64), | intent(in), | optional | :: | coeff | ||
logical, | intent(in), | optional | :: | debug | ||
integer(kind=int32), | intent(in), | optional | :: | fix_idx(:) | ||
real(kind=real64), | intent(in) | :: | cutoff_frequency |
Type | Intent | Optional | Attributes | Name | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
public function a(k, params) result(ret)Arguments
Return Value complex(kind=real64) |
|||||||||||||||||||||||||||
public function b(k, params) result(ret)Arguments
Return Value complex(kind=real64) |
|||||||||||||||||||||||||||
complex(kind=real64), | intent(in) | :: | a_params(:) | ||||||||||||||||||||||||
complex(kind=real64), | intent(in) | :: | b_params(:) | ||||||||||||||||||||||||
integer(kind=int32), | intent(in) | :: | i_plus_j | ||||||||||||||||||||||||
integer(kind=int32), | intent(in) | :: | ir(1:2) | ||||||||||||||||||||||||
integer(kind=int32), | intent(in) | :: | jr(1:2) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
complex(kind=real64), | intent(in) | :: | v(:) | |||
real(kind=real64), | intent(in) | :: | tol | |||
integer(kind=int32), | intent(in) | :: | itrmax | |||
complex(kind=real64), | intent(in) | :: | coeff_1 | |||
complex(kind=real64), | intent(in) | :: | coeff_2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
complex(kind=real64), | intent(in) | :: | v(:) | |||
real(kind=real64), | intent(in) | :: | tol | |||
integer(kind=int32), | intent(in) | :: | itrmax | |||
complex(kind=real64), | intent(in) | :: | coeff_1 | |||
complex(kind=real64), | intent(in) | :: | coeff_2 | |||
logical, | intent(in), | optional | :: | debug |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
complex(kind=real64), | intent(in) | :: | v(:) | |||
real(kind=real64), | intent(in) | :: | tol | |||
integer(kind=int32), | intent(in) | :: | itrmax | |||
complex(kind=real64), | intent(in) | :: | coeff_1 | |||
complex(kind=real64), | intent(in) | :: | coeff_2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
complex(kind=real64), | intent(in) | :: | v(:) | |||
real(kind=real64), | intent(in) | :: | tol | |||
integer(kind=int32), | intent(in) | :: | itrmax | |||
complex(kind=real64), | intent(in) | :: | coeff_1 | |||
complex(kind=real64), | intent(in) | :: | coeff_2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | k | |||
complex(kind=real64), | intent(in) | :: | params(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | k | |||
complex(kind=real64), | intent(in) | :: | params(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=real64), | intent(in) | :: | x |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | x |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | x(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | diag_vec(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | dense_matrix(:,:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | dense_matrix(:,:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | n |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | n |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(BCRS_), | intent(in) | :: | this | |||
real(kind=real64), | intent(in) | :: | vec(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(BCRS_), | intent(in) | :: | this | |||
integer(kind=int32), | intent(in) | :: | box_row | |||
integer(kind=int32), | intent(in) | :: | box_col |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(BCRS_), | intent(in) | :: | this | |||
integer(kind=int32), | intent(in) | :: | box_row | |||
integer(kind=int32), | intent(in) | :: | box_col |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(BCRS_), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(BCRS_), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(BCRS_), | intent(in) | :: | this | |||
real(kind=real64), | intent(in) | :: | vec(:) | |||
integer(kind=int32), | intent(in), | optional | :: | max_itr | ||
integer(kind=int32), | intent(in), | optional | :: | fix_idx(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(COO_), | intent(inout) | :: | this | |||
integer(kind=int32), | intent(in) | :: | num_row |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(COO_), | intent(inout) | :: | this | |||
integer(kind=int32), | intent(in) | :: | row | |||
integer(kind=int32), | intent(in) | :: | col | |||
real(kind=real64), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(COO_), | intent(inout) | :: | this | |||
integer(kind=int32), | intent(in) | :: | row | |||
integer(kind=int32), | intent(in) | :: | col | |||
real(kind=real64), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(COO_), | intent(inout) | :: | this | |||
integer(kind=int32), | intent(in) | :: | row | |||
integer(kind=int32), | intent(in) | :: | col | |||
complex(kind=real64), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(COO_), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
real(kind=real64), | intent(inout), | allocatable | :: | DiagonalVector(:) | ||
real(kind=real64), | intent(inout), | allocatable | :: | subDiagonalVector(:) | ||
real(kind=real64), | intent(inout), | allocatable | :: | V(:,:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
real(kind=real64), | intent(in) | :: | old_vector(:) | |||
real(kind=real64), | intent(out) | :: | new_vector(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
real(kind=real64), | intent(inout), | allocatable | :: | Eigen_vectors(:,:) | ||
real(kind=real64), | intent(inout), | allocatable | :: | eigen_values(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(inout) | :: | this | |||
real(kind=real64), | intent(in) | :: | val(:) | |||
integer(kind=int32), | intent(in) | :: | col_idx(:) | |||
integer(kind=int64), | intent(in) | :: | row_ptr(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(inout) | :: | this | |||
integer(kind=int32), | intent(in) | :: | row | |||
integer(kind=int32), | intent(in) | :: | col | |||
real(kind=real64), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(inout) | :: | this | |||
integer(kind=int32), | intent(in) | :: | row | |||
integer(kind=int32), | intent(in) | :: | col | |||
real(kind=real64), | intent(in) | :: | val |
$OMP parallel do
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(inout) | :: | this | |||
integer(kind=int32), | intent(in) | :: | fill_in_order | |||
real(kind=real64), | intent(inout), | optional | :: | RHS(:) | ||
logical, | intent(in), | optional | :: | debug |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this | |||
real(kind=real64), | intent(in) | :: | old_vector(:) | |||
real(kind=real64), | intent(inout), | allocatable | :: | new_vector(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(COO_) | :: | this | ||||
integer(kind=int32), | intent(in) | :: | n |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(COO_) | :: | this | ||||
integer(kind=int32), | intent(in) | :: | n |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(CRS_), | intent(in) | :: | A | |||
type(CRS_), | intent(in) | :: | B | |||
real(kind=real64), | intent(inout), | allocatable | :: | lambda | ||
real(kind=real64), | intent(inout), | allocatable | :: | X(:) | ||
real(kind=real64), | intent(in) | :: | alpha | |||
real(kind=real64), | intent(in) | :: | tol | |||
logical, | intent(in), | optional | :: | debug |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(CRS_), | intent(in) | :: | A | |||
type(CRS_), | intent(in) | :: | B | |||
real(kind=real64), | intent(out), | allocatable | :: | lambda(:) | ||
real(kind=real64), | intent(out), | allocatable | :: | X(:,:) | ||
integer(kind=int32), | intent(in) | :: | m | |||
integer(kind=int32), | intent(in) | :: | MAX_ITR | |||
real(kind=real64), | intent(in) | :: | TOL | |||
logical, | intent(in), | optional | :: | debug |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | mat_v(1:m,1:n) | |||
integer, | intent(in) | :: | m | |||
integer, | intent(in) | :: | n | |||
real(kind=real64), | intent(inout) | :: | mat_v_out(1:m,1:n) |
INPUT INPUT/OUTPUT INPUT OUTPUT
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | A(:,:) | |||
real(kind=real64), | intent(in) | :: | B(:,:) | |||
real(kind=real64), | intent(inout), | allocatable | :: | x(:,:) | ||
real(kind=real64), | intent(inout), | allocatable | :: | lambda(:) | ||
logical, | intent(in), | optional | :: | debug |
INPUT INPUT/OUTPUT INPUT OUTPUT
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(CRS_), | intent(in) | :: | A | |||
type(CRS_), | intent(in) | :: | B | |||
real(kind=real64), | intent(inout), | allocatable | :: | x(:,:) | ||
real(kind=real64), | intent(inout), | allocatable | :: | lambda(:) | ||
logical, | intent(in), | optional | :: | debug |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(inout) | :: | this | |||
real(kind=real64), | intent(inout), | allocatable | :: | x(:) | ||
real(kind=real64), | intent(in) | :: | b(:) | |||
logical, | intent(in), | optional | :: | debug | ||
real(kind=real64), | intent(in), | optional | :: | tol |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | a(:) | |||
integer(kind=int64), | intent(in) | :: | ptr_i(:) | |||
integer(kind=int32), | intent(in) | :: | index_j(:) | |||
real(kind=real64), | intent(inout) | :: | x(:) | |||
real(kind=real64), | intent(in) | :: | b(:) | |||
integer(kind=int32), | intent(in) | :: | itrmax | |||
real(kind=real64), | intent(in) | :: | er | |||
real(kind=real64), | intent(in), | optional | :: | relative_er | ||
logical, | intent(in), | optional | :: | debug |
x_i = A_ij b_j
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | CRS_value(:) | |||
integer(kind=int32), | intent(in) | :: | CRS_col(:) | |||
integer(kind=int64), | intent(in) | :: | CRS_row_ptr(:) | |||
real(kind=real64), | intent(in) | :: | Old_vector(:) | |||
real(kind=real64), | intent(inout), | allocatable | :: | new_vector(:) | ||
type(CRS_), | intent(in), | optional | :: | precondition |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(inout) | :: | this | |||
real(kind=real64), | intent(in) | :: | diag_vector(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(COO_), | intent(inout) | :: | this | |||
integer(kind=int32), | intent(in) | :: | n | |||
real(kind=real32), | intent(in), | optional | :: | percent |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(inout) | :: | This | |||
integer(kind=int32), | intent(in) | :: | n |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(inout) | :: | this | |||
integer(kind=int32), | intent(in) | :: | n |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(inout) | :: | this | |||
integer(kind=int32), | intent(in) | :: | idx(:) | |||
real(kind=real64), | intent(in) | :: | val(:) | |||
real(kind=real64), | intent(inout), | optional | :: | RHS(:) | ||
logical, | intent(in), | optional | :: | only_row |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(inout) | :: | this | |||
integer(kind=int32), | intent(in) | :: | idx(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(inout) | :: | this | |||
integer(kind=int32), | intent(in) | :: | idx(:) | |||
complex(kind=real64), | intent(in) | :: | val(:) | |||
complex(kind=real64), | intent(inout), | optional | :: | RHS(:) | ||
logical, | intent(in), | optional | :: | only_row |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(inout) | :: | this | |||
integer(kind=int32), | intent(in), | optional | :: | idx(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(CRS_), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(BCRS_), | intent(in) | :: | this |