ciaaw__capi Module

C API. See specs


Uses

  • module~~ciaaw__capi~~UsesGraph module~ciaaw__capi ciaaw__capi iso_c_binding iso_c_binding module~ciaaw__capi->iso_c_binding module~ciaaw__api ciaaw__api module~ciaaw__capi->module~ciaaw__api module~ciaaw__common ciaaw__common module~ciaaw__capi->module~ciaaw__common module~ciaaw__api->module~ciaaw__common ieee_arithmetic ieee_arithmetic module~ciaaw__api->ieee_arithmetic module~ciaaw__pte ciaaw__pte module~ciaaw__api->module~ciaaw__pte module~ciaaw__types ciaaw__types module~ciaaw__api->module~ciaaw__types module~ciaaw__version ciaaw__version module~ciaaw__api->module~ciaaw__version module~ciaaw__common->ieee_arithmetic stdlib_kinds stdlib_kinds module~ciaaw__common->stdlib_kinds stdlib_optval stdlib_optval module~ciaaw__common->stdlib_optval module~ciaaw__pte->module~ciaaw__common module~ciaaw__pte->module~ciaaw__types module~ciaaw__ice ciaaw__ice module~ciaaw__pte->module~ciaaw__ice module~ciaaw__naw ciaaw__naw module~ciaaw__pte->module~ciaaw__naw module~ciaaw__saw ciaaw__saw module~ciaaw__pte->module~ciaaw__saw module~ciaaw__types->module~ciaaw__common stdlib_string_type stdlib_string_type module~ciaaw__types->stdlib_string_type module~ciaaw__ice->module~ciaaw__common module~ciaaw__ice->module~ciaaw__types module~ciaaw__naw->module~ciaaw__common module~ciaaw__naw->module~ciaaw__types module~ciaaw__saw->module~ciaaw__common module~ciaaw__saw->module~ciaaw__types

Used by

  • module~~ciaaw__capi~~UsedByGraph module~ciaaw__capi ciaaw__capi module~ciaaw ciaaw module~ciaaw->module~ciaaw__capi

Functions

public function capi_get_ice(s, n, A, uncertainty) result(res) bind(C, name="ciaaw_get_ice"))

C API for get_ice

Arguments

Type IntentOptional Attributes Name
type(c_ptr), intent(in), value :: s

Element symbol.

integer(kind=c_int), intent(in), value :: n

Size of the symbol string.

integer(kind=c_int), intent(in), value :: A

Mass number.

logical(kind=c_bool), intent(in), value :: uncertainty

Flag for returning the uncertainty instead of the value. Default to FALSE.

Return Value real(kind=c_double)

public function capi_get_ice_values(s, n) result(res) bind(C, name="ciaaw_get_ice_values"))

C API for get_ice_values

Arguments

Type IntentOptional Attributes Name
type(c_ptr), intent(in), value :: s

Element symbol.

integer(kind=c_int), intent(in), value :: n

Size of the symbol string.

Return Value type(c_ptr)

public function capi_get_naw(s, n, A, uncertainty) result(res) bind(C, name="ciaaw_get_naw"))

C API for get_naw

Arguments

Type IntentOptional Attributes Name
type(c_ptr), intent(in), value :: s

Element symbol.

integer(kind=c_int), intent(in), value :: n

Size of the symbol string.

integer(kind=c_int), intent(in), value :: A

Mass number.

logical(kind=c_bool), intent(in), value :: uncertainty

Flag for returning the uncertainty instead of the value. Default to FALSE.

Return Value real(kind=c_double)

public function capi_get_nice(s, n) result(res) bind(C, name="ciaaw_get_nice"))

C API for get_nice

Arguments

Type IntentOptional Attributes Name
type(c_ptr), intent(in), value :: s

Element symbol.

integer(kind=c_int), intent(in), value :: n

Size of the symbol string.

Return Value integer(kind=c_int)

public function capi_get_nnaw(s, n) result(res) bind(C, name="ciaaw_get_nnaw"))

C API for get_nnaw

Arguments

Type IntentOptional Attributes Name
type(c_ptr), intent(in), value :: s

Element symbol.

integer(kind=c_int), intent(in), value :: n

Size of the symbol string.

Return Value integer(kind=c_int)

public function capi_get_saw(s, n, abridged, uncertainty) result(res) bind(C, name="ciaaw_get_saw"))

C API for get_saw.

Arguments

Type IntentOptional Attributes Name
type(c_ptr), intent(in), value :: s

Symbol.

integer(kind=c_int), intent(in), value :: n

Size of the symbol string.

logical(kind=c_bool), intent(in), value :: abridged

Flag for setting if abridged value is desired.

logical(kind=c_bool), intent(in), value :: uncertainty

Flag for setting if the uncertainty is desired instead of the value.

Return Value real(kind=c_double)

public function capi_get_version() result(cptr) bind(c, name='ciaaw_get_version'))

C API for get_version.

Arguments

None

Return Value type(c_ptr)

C pointer to a string indicating the version.