Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 3/22/2024
Public
Document Table of Contents

dcg_get

Retrieves the number of the current iteration.

Syntax

dcg_get(n, x, b, RCI_request, ipar, dpar, tmp, itercount)

Include Files

  • Fortran: mkl_rci.fi, mkl_rci.f90

Description

The routine dcg_get retrieves the current iteration number of the solutions process.

Input Parameters

n

INTEGER. Sets the size of the problem.

x

DOUBLE PRECISION. Array of size n. Contains the approximation vector to the solution.

b

DOUBLE PRECISION. Array of size n. Contains the right-hand side vector.

RCI_request

INTEGER. This parameter is not used.

ipar

INTEGER. Array of size 128. Refer to the CG Common Parameters.

dpar

DOUBLE PRECISION. Array of size 128. Refer to the CG Common Parameters.

tmp

DOUBLE PRECISION. Array of size (n,4). Refer to the CG Common Parameters.

Output Parameters

itercount

INTEGER. Returns the current iteration number.

Return Values

The routine dcg_get has no return values.