summaryrefslogtreecommitdiffstats
path: root/Project/Electromechanical.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2019-01-22 15:06:09 -0200
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2019-01-22 15:06:09 -0200
commit59c28b89bb2a4eb05a87bb28154442266c35b17d (patch)
treeae65a35f314e55d2527e4cdc8196673cac42bf17 /Project/Electromechanical.h
parent5a06bb4424311cbb728af35fe73d259499d7c9bf (diff)
downloadPSP.git-59c28b89bb2a4eb05a87bb28154442266c35b17d.tar.gz
PSP.git-59c28b89bb2a4eb05a87bb28154442266c35b17d.tar.xz
PSP.git-59c28b89bb2a4eb05a87bb28154442266c35b17d.zip
Some code stability optimization
Diffstat (limited to 'Project/Electromechanical.h')
-rw-r--r--Project/Electromechanical.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Project/Electromechanical.h b/Project/Electromechanical.h
index 573c0c2..65275e5 100644
--- a/Project/Electromechanical.h
+++ b/Project/Electromechanical.h
@@ -126,6 +126,8 @@ class Electromechanical : public ElectricCalculation
double m_tolerance = 1e-8;
int m_maxIterations = 100;
double m_saturationTolerance = 1e-8;
+
+ int m_currentPoint = 0;
std::vector<double> m_eventTimeList;
std::vector<bool> m_eventOccurrenceList;