Skip to content

MemTunnerNeuron_RHS

struct MemTunnerNeuron_RHS

Right-hand side functor for the memristor tunneling neuron model.

See
MemTunnerNeuron

Operators

Name Description
operator() Evaluates time derivatives for the memristor neuron.

Functions

Name Description
GI403 Computes the diode/tunnel current contribution.
AND_TS Calculates memristor branch current and state derivative.

Operator Details

operator()

host device inline void operator()(const MemTunnerNeuron& state_in, MemTunnerNeuron& ddt_out, float I_syn, float t) const

Evaluates time derivatives for the memristor neuron.

state_in
Current state tuple (Vc, XSV).
ddt_out
Output derivatives.
I_syn
Input synaptic current.
t
Current simulation time (unused).

Function Details

AND_TS

host device inline MemTunnerNeuron AND_TS(float V1, float V2) const

Calculates memristor branch current and state derivative.

V1
Membrane voltage.
V2
State variable representing conductance fraction.
Return
Pair of memristor current and state change.

GI403

host device inline float GI403(float e) const

Computes the diode/tunnel current contribution.

e
Diode voltage.
Return
Combined current through the device.