Skip to content
Snippets Groups Projects
Commit edd8944f authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Add a comment

parent f014e122
No related branches found
No related tags found
No related merge requests found
...@@ -449,7 +449,7 @@ int main(int argc, char *argv[]) { ...@@ -449,7 +449,7 @@ int main(int argc, char *argv[]) {
|| correction < minimalCorrectionReduction * lastCorrection) { || correction < minimalCorrectionReduction * lastCorrection) {
alpha = computed_state; alpha = computed_state;
dampingWriter << "N "; dampingWriter << "N ";
} else { } else { // alpha is still the old time step here
alpha *= damping; alpha *= damping;
alpha.axpy(1.0 - damping, computed_state); alpha.axpy(1.0 - damping, computed_state);
dampingWriter << "Y "; dampingWriter << "Y ";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment