Rate This Document
Findability
Accuracy
Completeness
Readability

KSOLVERGetVersion

Obtain the solver version.

Interface Definition

C interface:

int KSOLVERGetVersion(KSOLVERVersion *ver);

Parameters

Parameter

Type

Description

Input/Output

ver

KSOLVERVersion *

Product information structure

Input/Output

Return Values

Return Value

Type

Description

0

int

Success.

1

int

The value of ver is empty.

Dependencies

#include "kml_iss.h"

#include "kml_service.h"

Examples

C interface:

    KSOLVERVersion ver[1];
    ierr = KSOLVERGetVersion(ver);
    printf("Component           : %s\n", ver[0].component);
    printf("Version             : %s\n", ver[0].version);
    printf("Support Package Name: %s\n", ver[0].supportPackage);
    printf("Compile Time        : %s\n", ver[0].compileTime);

Execution result

Component           : boostkit-kml-solver
Version             : 1.3.0
Support Package Name: BoostKit-kml-solver_1.3.0
Compile Time        : 2021/08/31-12:00

The version number and compile time in the example above are for reference only.