Call this function to tell the element to calculate the current flowing *into* it's cnodes *from* the element. You can get the currents with m_cnodeI. Child class must implement this function.
Definition at line 39 of file capacitance.cpp.
References Element::b_status, and Element::m_cnodeI.
if (!b_status) return;
const double r_i = (p_cnode->v-p_cnode->v)*g_eq_old;
m_cnodeI = -i_eq_old-r_i;
m_cnodeI = -m_cnodeI;