Skip to content
Snippets Groups Projects
Commit bc7e4c7f authored by Markus Holzer's avatar Markus Holzer
Browse files

Fix Segfault

parent 90971617
No related branches found
No related tags found
No related merge requests found
Pipeline #62117 failed
...@@ -68,11 +68,11 @@ void Evaluation::operator()() ...@@ -68,11 +68,11 @@ void Evaluation::operator()()
if (coefficients_[0].size() > setup_.nbrOfEvaluationPointsForCoefficientExtremas) if (coefficients_[0].size() > setup_.nbrOfEvaluationPointsForCoefficientExtremas)
{ {
for (uint_t i = uint_t(0); i < uint_t(4); ++i) for (auto i = 0; i < coefficients_.size(); ++i)
coefficients_[i].pop_front(); coefficients_[i].pop_front();
} }
for (uint_t i = uint_t(0); i < uint_t(4); ++i) for (auto i = 0; i < coefficients_.size(); ++i)
{ {
coefficientExtremas_[i] = std::make_pair(*(coefficients_[i].begin()), *(coefficients_[i].begin())); coefficientExtremas_[i] = std::make_pair(*(coefficients_[i].begin()), *(coefficients_[i].begin()));
for (auto v = coefficients_[i].begin(); v != coefficients_[i].end(); ++v) for (auto v = coefficients_[i].begin(); v != coefficients_[i].end(); ++v)
......
...@@ -46,12 +46,12 @@ StabilityChecker ...@@ -46,12 +46,12 @@ StabilityChecker
VTKWriter VTKWriter
{ {
vtkWriteFrequency 700; vtkWriteFrequency 1000;
velocity true; velocity true;
density false; density false;
flag false; flag false;
writeOnlySlice false; writeOnlySlice true;
amrFileFormat true; amrFileFormat false;
oneFilePerProcess false; oneFilePerProcess false;
} }
...@@ -65,8 +65,8 @@ Logging ...@@ -65,8 +65,8 @@ Logging
Evaluation Evaluation
{ {
evaluationCheckFrequency 70; evaluationCheckFrequency 500;
rampUpTime 100; rampUpTime 10000;
logToStream true; logToStream true;
logToFile true; logToFile true;
filename FlowAroundSphere.txt; filename FlowAroundSphere.txt;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment