capi__eis Module

EIS: CAPI.


Uses

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

Used by

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

Variables

Type Visibility Attributes Name Initial
character(len=:), public, allocatable, target :: errmsg_c

Subroutines

public subroutine capi_z(p, w, zout, e, k, n, errstat, errmsg) bind(C, name="ecx_eis_z")

Compute the complex impedance for the given element.

Arguments

Type IntentOptional Attributes Name
real(kind=c_double), intent(in) :: p(k)

Parameters.

real(kind=c_double), intent(in) :: w(n)

Angular frequencies in rad.s-1

complex(kind=c_double_complex), intent(out) :: zout(n)

Complex impedance in Ohms.

character(kind=c_char, len=1), intent(in), value :: e

Electrochemical element: R, C, L, Q, O, T, G

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

Size of p

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

Size of w

integer(kind=c_int), intent(out) :: errstat

Error status

type(c_ptr), intent(out) :: errmsg

errmsg Error message