39 use json_module,
only : json_file
57 class(
ident_t),
intent(inout),
target :: this
58 type(
coef_t),
intent(in),
target :: coef
59 type(
bc_list_t),
intent(inout),
target :: bclst
60 type(json_file),
intent(inout) :: json
65 integer,
intent(in) :: n
66 class(
ident_t),
intent(inout) :: this
67 real(kind=
rp),
dimension(n),
intent(inout) :: z
68 real(kind=
rp),
dimension(n),
intent(inout) :: r
74 class(
ident_t),
intent(inout) :: this
79 class(
ident_t),
intent(inout) :: this
__device__ T solve(const T u, const T y, const T guess, const T nu, const T kappa, const T B)
Krylov preconditioner (identity)
subroutine ident_init(this, coef, bclst, json)
Mandatory init routine (NOP)
subroutine ident_solve(this, z, r, n)
The (default) naive preconditioner .
subroutine ident_free(this)
Mandatory free routine (NOP)
subroutine ident_update(this)
Mandatory update routine.
subroutine, public copy(a, b, n)
Copy a vector .
integer, parameter, public rp
Global precision used in computations.
A list of allocatable `bc_t`. Follows the standard interface of lists.
Coefficients defined on a given (mesh, ) tuple. Arrays use indices (i,j,k,e): element e,...
Defines a canonical Krylov preconditioner.
Defines a canonical Krylov preconditioner.