df?interpcallback

A callback function for user-defined interpolation to be passed into df?interpolateex1d.

Syntax

Fortran:

status = dfsinterpcallback(n, cell, site, r, params)

status = dfdinterpcallback(n, cell, site, r, params)

C:

status = dfsInterpCallBack(n, cell, site, r, params)

status = dfdInterpCallBack(n, cell, site, r, params)

Include Files

  • Fortran: mkl_df.f90
  • C: mkl.h

Input Parameters

Name

Type

Description

n

Fortran: INTEGER(KIND=8)

C: long long*

Number of interpolation sites.

cell

Fortran: INTEGER(KIND=8) DIMENSION(*)

C: long long*

Array of size n containing indices of the cells to which the interpolation sites in array site belong.

site

Fortran: REAL(KIND=4) DIMENSION(*) for dfsinterpcallback

REAL(KIND=8) DIMENSION(*) for dfdinterpcallback

C: float* for dfsInterpCallBack

double* for dfdInterpCallBack

Array of interpolation sites of size n.

params

Fortran: INTEGER DIMENSION(*)

C: void*

Pointer to user-defined parameters of the callback function.

Output Parameters

Name

Type

Description

status

Fortran: INTEGER

C: int

The status returned by the callback function:

  • Zero indicates successful completion of the callback operation.
  • A negative value indicates an error.
  • A positive value indicates a warning.
See "Task Status and Error Reporting" for error code definitions.

r

Fortran: REAL(KIND=4) DIMENSION(*) for dfsinterpcallback

REAL(KIND=8) DIMENSION(*) for dfdinterpcallback

C: float* for dfsInterpCallBack

double* for dfdInterpCallBack

Array of the computed interpolation results packed in row-major format.

Description

When passed into the df?interpolateex1d routine, this function performs user-defined interpolation operation.

Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.