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

MGTwoLevelTransferNonNested: simplices with multiple components #15927

Merged
merged 1 commit into from Oct 11, 2023

Conversation

peterrum
Copy link
Member

No description provided.

@peterrum peterrum marked this pull request as draft August 24, 2023 20:18
@fdrmrc
Copy link
Contributor

fdrmrc commented Aug 25, 2023

Thanks @peterrum! I changed the logic in following snippet so that dof_handler_support_points doesn't distribute dofs twice (with simplices and degree>0).

//dof_handler_support_points defined above
          if (fe.reference_cell().is_simplex())
            dof_handler_support_points->distribute_dofs(fe.base_element(0));
          if (degree == 0)
            dof_handler_support_points->distribute_dofs(
              FE_DGQ<dim, spacedim>(degree));
          else
            dof_handler_support_points->distribute_dofs(
              FE_Q<dim, spacedim>(degree));


          return dof_handler_support_points;

While there, I've templatized the Operator with n_components in order to add a test with multiple components.

@peterrum peterrum force-pushed the mg_nm_simplex_multiple_components branch from 8e94607 to 077b9a8 Compare August 26, 2023 05:14
@peterrum peterrum marked this pull request as ready for review August 26, 2023 05:15
@peterrum
Copy link
Member Author

peterrum commented Sep 7, 2023

This is ready from our side. @fdrmrc has done some elasticity simulations with this already.

Copy link
Contributor

@fdrmrc fdrmrc left a comment

Choose a reason for hiding this comment

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

I confirm I've used the present PR for different tests and everything runs fine.

@peterrum peterrum force-pushed the mg_nm_simplex_multiple_components branch from 077b9a8 to c66425a Compare September 27, 2023 11:29
@peterrum peterrum force-pushed the mg_nm_simplex_multiple_components branch from c66425a to c51967c Compare October 10, 2023 20:00
@drwells drwells merged commit 39ae76c into dealii:master Oct 11, 2023
15 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