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

AMR: explicit timestepping for convection diffusion module #637

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

richardschu
Copy link
Contributor

Enables explicit time integration in the convection diffusion module together with adaptive mesh refinement and adds a little test case.

The test uses a static mapping already (similar to the test with the implicit time stepping). The error is a bit lower compared to the implicit test, which computes the same scenario.

I did not add get_solution_np() to TimeIntBase, which requires some dynamic casts of the time_integratorin the driver.


mark_cells_coarsening_and_refinement(*grid->triangulation,
bdf_time_integrator->get_solution_np());
// Mark cells for coarsening and refinement based on the most recent solution.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

introducing TimeIntBase::get_solution_np() would lead to:
mark_cells_for_coarsening_and_refinement(*grid->triangulation, time_integrator->get_solution_np());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant