capi__core Module


Uses

  • module~~capi__core~~UsesGraph module~capi__core capi__core iso_c_binding iso_c_binding module~capi__core->iso_c_binding module~ecx__core ecx__core module~capi__core->module~ecx__core module~ecx__core->iso_c_binding codata codata module~ecx__core->codata ieee_arithmetic ieee_arithmetic module~ecx__core->ieee_arithmetic stdlib_kinds stdlib_kinds module~ecx__core->stdlib_kinds stdlib_math stdlib_math module~ecx__core->stdlib_math

Used by

  • module~~capi__core~~UsedByGraph module~capi__core capi__core module~capi capi module~capi->module~capi__core module~ecx ecx module~ecx->module~capi

Subroutines

public pure subroutine capi_kTe(T, kTe_, n) bind(C, name="ecx_core_kTe")

Compute the thermal voltage.

Arguments

Type IntentOptional Attributes Name
real(kind=c_double), intent(in) :: T(n)

Temperature in °C.

real(kind=c_double), intent(out) :: kTe_(n)

Thermal voltage in V.

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

Size of T and kTe.

public pure subroutine capi_nm2eV(lambda, E, n) bind(C, name="ecx_core_nm2eV")

Convert wavelength to energy

Arguments

Type IntentOptional Attributes Name
real(kind=c_double), intent(in) :: lambda(n)

Wavelength in nm.

real(kind=c_double), intent(out) :: E(n)

Energy in eV.

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

Size of lambda and E.