Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testing of step-40 to step-49 #17165

Merged
merged 2 commits into from
Jul 11, 2024
Merged

Conversation

vyushut
Copy link
Contributor

@vyushut vyushut commented Jun 21, 2024

Proceeding after #17100, #17084, #17130.

CTests should not write any vtk and, if they output any iteration counts, they should do it with with a range of acceptable answers.

@tjhei tjhei changed the title Step-40 to Step-49 testing of step-40 to step-49 Jun 21, 2024
tests/examples/step-42.diff Outdated Show resolved Hide resolved
tests/examples/step-44.diff Outdated Show resolved Hide resolved
tests/examples/step-48.diff Outdated Show resolved Hide resolved
tests/examples/step-48.diff Outdated Show resolved Hide resolved
88,91c88,92
< std::ofstream out(filename);
< GridOut grid_out;
< grid_out.write_vtu(triangulation, out);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only remove this single line

< const unsigned int n_cycles = 8;
---
> const unsigned int n_cycles = 3;
662c664
659c661
< output_results(cycle);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about this some more and I think we should keep all calls to graphical output.

> // std::cout << " ..." << solver_control.last_step()
> // << " CG iterations." << std::endl;
2161,2162c2170,2171
< if (timestep_number % 200 == 0)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep these

1126c1126
< output_results();
---
> // output_results();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and these

---
> // output_results();
1543c1543
< std::cout << " Setting up quadrature point data..." << std::endl;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do you remove this?

@@ -0,0 +1,4 @@
768c768
< output_results(refinement_cycle);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep this

Copy link
Member

@tjhei tjhei Jul 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you did not address this point

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it, thanks! Instead of changing tests/examples/step-45.cc and propagating it via update_diffs, I corrected the step-45.diff directly. Needless to say I called update_diffs later for other reason which reversed step-45.cc to the original state...

< std::cout << " Writing output..." << std::endl;
< output_results(refinement_cycle);
---
> std::cout << " Writing output..." << std::endl;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep these

@@ -0,0 +1,4 @@
905c905
< output_results(cycle);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep these

91,91c91,92
< std::cout << " written to " << filename << std::endl << std::endl;
---
> // std::cout << " written to " << filename << std::endl << std::endl;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep this

@kronbichler kronbichler added this to the Release 9.6 milestone Jul 11, 2024
@kronbichler kronbichler merged commit ace2b75 into dealii:master Jul 11, 2024
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants