summaryrefslogtreecommitdiffstats
path: root/src/electronics/simulation/element.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:13:30 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-08-01 04:34:45 +0200
commite72829f3fa8d309ba0c3f64034c14ce5eecd8590 (patch)
treead28ceea8f25258a0f1e4eaf5c08e59f42c23298 /src/electronics/simulation/element.cpp
parent0e831bb9c456be0d2880357a4bf294369c435984 (diff)
downloadktechlab-e72829f3fa8d309ba0c3f64034c14ce5eecd8590.tar.gz
ktechlab-e72829f3fa8d309ba0c3f64034c14ce5eecd8590.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit abb8cd68f820cfe0c96965136890a6bdd1093db5)
Diffstat (limited to 'src/electronics/simulation/element.cpp')
-rw-r--r--src/electronics/simulation/element.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/electronics/simulation/element.cpp b/src/electronics/simulation/element.cpp
index dbcd02d..2411897 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();
- updatetqStatus();
+ updateStatus();
}
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);
- updatetqStatus();
+ updateStatus();
}
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;
- updatetqStatus();
+ updateStatus();
}
-bool Element::updatetqStatus()
+bool Element::updateStatus()
{
// First, set status to false if all nodes in use are ground
b_status = false;