]> https://gitweb.dealii.org/ - dealii.git/commit
Overhaul GridTools::internal::fix_up_object.
authorDavid Wells <wellsd2@rpi.edu>
Sat, 12 Aug 2017 00:13:32 +0000 (20:13 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Sun, 8 Oct 2017 23:22:35 +0000 (19:22 -0400)
commit0d7747c53cce8a5edafdd21bc90c43c6e491d8e8
tree91f25ccc262a166c15e3a083bdd91cf7caf59ec9
parent647437040967dc6eab881d6d71efa1d8057a2e7e
Overhaul GridTools::internal::fix_up_object.

The primary issue with excising Boundary from the library is the lack of
an equivalent project_to_surface function in the Manifold code (since
Manifolds don't know anything about faces or lines, just points and
geodesics). Fortunately, this function is only called in one place, and
the default implementation in StraightManifold is the only
implementation in the library: hence, we get around this issue by
copying and pasting StraightManifold::project_to_surface into the new
internal project_to_object function and marking this change as
incompatible.

To the best of the author's knowledge, no users have implemented their
own custom project_to_surface nor are they using the one function that
calls this (GridTools::fix_up_distorted_child_cells) so this small
incompatibility is acceptable.
include/deal.II/grid/grid_tools.h
source/fe/mapping_c1.cc
source/grid/grid_tools.cc
tests/grid/project_to_object_01.cc [new file with mode: 0644]
tests/grid/project_to_object_01.output [new file with mode: 0644]

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.