Commit e557a05a authored by Markus Mirz's avatar Markus Mirz
Browse files

update steady state init and add logging

parent ff11c497
Subproject commit 96a84a5454aa60735229945dfa994d365838a988 Subproject commit 732a79cc615c5b539fba5156008a1232c358c419
...@@ -385,8 +385,9 @@ void MnaSolver<VarType>::steadyStateInitialization() { ...@@ -385,8 +385,9 @@ void MnaSolver<VarType>::steadyStateInitialization() {
Int timeStepCount = 0; Int timeStepCount = 0;
Real time = 0; Real time = 0;
Real eps = 0.0001; Real eps = 0.0001;
Real maxDiff = 0, max = 0; Real maxDiff = 1.0;
Matrix diff; Real max = 1.0;
Matrix diff = Matrix::Zero(2 * mNumNodes, 1);
Matrix prevLeftSideVector = Matrix::Zero(2 * mNumNodes, 1); Matrix prevLeftSideVector = Matrix::Zero(2 * mNumNodes, 1);
for (auto comp : mSystem.mComponents) for (auto comp : mSystem.mComponents)
......
...@@ -229,6 +229,7 @@ void Simulation::schedule() { ...@@ -229,6 +229,7 @@ void Simulation::schedule() {
mSLog->info("Scheduling tasks."); mSLog->info("Scheduling tasks.");
prepSchedule(); prepSchedule();
mScheduler->createSchedule(mTasks, mTaskInEdges, mTaskOutEdges); mScheduler->createSchedule(mTasks, mTaskInEdges, mTaskOutEdges);
mSLog->info("Scheduling done.");
} }
#ifdef WITH_GRAPHVIZ #ifdef WITH_GRAPHVIZ
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment