# GetValue

Gets the configuration value of one particular configuration parameter.

## Syntax

Fortran:

Status = DftiGetValue( Desc_Handle, &

Config_Param, &

Config_Val )

C:

status = DftiGetValue( desc_handle, config_param, &config_val );

## Description

This function gets the configuration value of one particular configuration parameter. The configuration parameter is one of the named constants listed in Table “Settable Configuration Parameters” and Table “Read-Only Configuration Parameters”, and the configuration value is the corresponding appropriate type, which can be a named constant or a native type.

The function returns `DFTI_NO_ERROR` when completes successfully. See Status Checking Functions for more information on returned status.

## Interface and Prototype

! Fortran interface

INTERFACE DftiGetValue

//Note that the body provided here is to illustrate the different

//argument list and types of dummy arguments. The interface

//does not guarantee what the actual function names are.

//Users can only rely on the function name following the

//keyword INTERFACE

FUNCTION some_actual_function_7_INTVAL( Desc_Handle, Config_Param, INTVAL )

INTEGER :: some_actual_function_7_INTVAL

Type(DFTI_DESCRIPTOR), POINTER :: Desc_Handle

INTEGER, INTENT(IN) :: Config_Param

INTEGER, INTENT(OUT) :: INTVAL

END FUNCTION DFTI_GET_VALUE_INTVAL

FUNCTION some_actual_function_7_SGLVAL( Desc_Handle, Config_Param, SGLVAL )

INTEGER :: some_actual_function_7_SGLVAL

Type(DFTI_DESCRIPTOR), POINTER :: Desc_Handle

INTEGER, INTENT(IN) :: Config_Param

REAL, INTENT(OUT) :: SGLVAL

END FUNCTION some_actual_function_7_SGLVAL

FUNCTION some_actual_function_7_DBLVAL( Desc_Handle, Config_Param, DBLVAL )

INTEGER :: some_actual_function_7_DBLVAL

Type(DFTI_DESCRIPTOR), POINTER :: Desc_Handle

INTEGER, INTENT(IN) :: Config_Param

REAL (KIND(0D0)), INTENT(OUT) :: DBLVAL

END FUNCTION some_actual_function_7_DBLVAL

FUNCTION some_actual_function_7_INTVEC( Desc_Handle, Config_Param, INTVEC )

INTEGER :: some_actual_function_7_INTVEC

Type(DFTI_DESCRIPTOR), POINTER :: Desc_Handle

INTEGER, INTENT(IN) :: Config_Param

INTEGER, INTENT(OUT) :: INTVEC(*)

END FUNCTION some_actual_function_7_INTVEC

FUNCTION some_actual_function_7_INTPNT( Desc_Handle, Config_Param, INTPNT )

INTEGER :: some_actual_function_7_INTPNT

Type(DFTI_DESCRIPTOR), POINTER :: Desc_Handle

INTEGER, INTENT(IN) :: Config_Param

INTEGER, DIMENSION(*), POINTER :: INTPNT

END FUNCTION some_actual_function_7_INTPNT

FUNCTION some_actual_function_7_CHARS( Desc_Handle, Config_Param, CHARS )

INTEGER :: some_actual_function_7_CHARS

Type(DFTI_DESCRIPTOR), POINTER :: Desc_Handle

INTEGER, INTENT(IN) :: Config_Param

CHARCTER(*), INTENT(OUT):: CHARS

END FUNCTION some_actual_function_7_CHARS

END INTERFACE DftiGetValue

/* C prototype */

long DftiGetValue( DFTI_DESCRIPTOR_HANDLE,

DFTI_CONFIG_PARAM ,

... );

Parent topic: Descriptor Configuration Functions