Skip to content
Snippets Groups Projects
Commit 6b42dc08 authored by Carl Philipp Klemm's avatar Carl Philipp Klemm
Browse files

Print element contribution warnings in export

parent 8d828095
Branches main
No related tags found
No related merge requests found
...@@ -70,6 +70,12 @@ static void runSweep(const Config& config, eis::Model& model) ...@@ -70,6 +70,12 @@ static void runSweep(const Config& config, eis::Model& model)
auto end = std::chrono::high_resolution_clock::now(); auto end = std::chrono::high_resolution_clock::now();
auto duration = std::chrono::duration_cast<std::chrono::microseconds>(end - start); auto duration = std::chrono::duration_cast<std::chrono::microseconds>(end - start);
if(!model.allElementsContribute(omega))
eis::Log(eis::Log::INFO)<<"This model has elements that do not contribute meaningfully to the result";
if(!model.hasSeriesDifference(omega))
eis::Log(eis::Log::INFO)<<"This model has series elements that are the same";
if(config.reduce) if(config.reduce)
{ {
eis::Log(eis::Log::INFO)<<"reduced normalized results:"; eis::Log(eis::Log::INFO)<<"reduced normalized results:";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment