diff options
Diffstat (limited to 'src/electronics/simulation/element.cpp')
-rw-r--r-- | src/electronics/simulation/element.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/electronics/simulation/element.cpp b/src/electronics/simulation/element.cpp index 2411897..46f0442 100644 --- a/src/electronics/simulation/element.cpp +++ b/src/electronics/simulation/element.cpp @@ -55,7 +55,7 @@ void Element::setElementSet( ElementSet *c ) p_eSet = c; p_A = p_eSet->matrix(); p_b = p_eSet->b(); - updateStatus(); + updatetqStatus(); } void Element::componentDeleted() @@ -113,7 +113,7 @@ void Element::setCNodes( const int n0, const int n1, const int n2, const int n3 p_cnode[1] = (n1>-1)?p_eSet->cnodes()[n1]:(n1==-1?p_eSet->ground():0l); p_cnode[2] = (n2>-1)?p_eSet->cnodes()[n2]:(n2==-1?p_eSet->ground():0l); p_cnode[3] = (n3>-1)?p_eSet->cnodes()[n3]:(n3==-1?p_eSet->ground():0l); - updateStatus(); + updatetqStatus(); } void Element::setCBranches( const int b0, const int b1, const int b2, const int b3 ) @@ -128,10 +128,10 @@ void Element::setCBranches( const int b0, const int b1, const int b2, const int p_cbranch[1] = (b1>-1)?p_eSet->cbranches()[b1]:0l; p_cbranch[2] = (b2>-1)?p_eSet->cbranches()[b2]:0l; p_cbranch[3] = (b3>-1)?p_eSet->cbranches()[b3]:0l; - updateStatus(); + updatetqStatus(); } -bool Element::updateStatus() +bool Element::updatetqStatus() { // First, set status to false if all nodes in use are ground b_status = false; @@ -160,7 +160,7 @@ bool Element::updateStatus() resetCurrents(); } // And return the status :-) -// kdDebug() << "Element::updateStatus(): Setting b_status to "<<(b_status?"true":"false")<<" this="<<this<<endl; +// kdDebug() << "Element::updatetqStatus(): Setting b_status to "<<(b_status?"true":"false")<<" this="<<this<<endl; return b_status; } |