capi_z Subroutine

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


Calls

proc~~capi_z~~CallsGraph proc~capi_z capi_z proc~z z proc~capi_z->proc~z

Variables

Type Visibility Attributes Name Initial
character(len=:), public, pointer :: fptr