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

Introduce patch_dim and patch_spacedim in DataOut classes. #12322

Merged
merged 2 commits into from
May 27, 2021

Conversation

marcfehling
Copy link
Member

@marcfehling marcfehling commented May 27, 2021

Follow-up to #11221. Part of #10333.

Reading through the implementation of the DataOut classes in #11221 left me confused about which of the dim template parameters belonged to the dof_handler and which to the actual patch.

This is an attempt to make the interface more descriptive by introducing patch_dim and patch_spacedim static variables for classes

  • DataOutFaces
  • DataOutRotatation
  • DataOutStack

I believe that I found some copy&paste errors along the way.

We could also use these new parameters to overhaul the actual implementation (e.g. by replacing some Point<dim> by Point<patch_spacedim>). However, to do this properly, we would need actual tests for dim != spacedim, which we don't have currently. Let's leave this as a future task.

@bangerth -- FYI

@bangerth
Copy link
Member

/rebuild

@bangerth bangerth merged commit 3137ac1 into dealii:master May 27, 2021
@marcfehling marcfehling deleted the patch-spacedim branch May 27, 2021 20:34
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

2 participants