]> https://gitweb.dealii.org/ - dealii.git/commit
Add a function for projecting points onto reference cells. 15218/head
authorDavid Wells <drwells@email.unc.edu>
Mon, 15 May 2023 16:36:25 +0000 (12:36 -0400)
committerDavid Wells <drwells@email.unc.edu>
Sat, 3 Jun 2023 15:11:14 +0000 (11:11 -0400)
commit0a82faa4f005e528fb9350cf52ee2e63bf511e95
treedc4116893b5492cfcc49ebc9bfe85e68a17642e4
parent64735c01f7e9f524ba1687ab34887605e9050127
Add a function for projecting points onto reference cells.

This can replace GeometryInfo::distance_to_unit_cell() and
GeometryInfo::project_to_unit_cell() in most circumstances.

There is no clear way to define the infinity norm for sloped surfaces (like the
top face of a tetrahedron), so this new function uses the Euclidean norm.
include/deal.II/grid/reference_cell.h
source/grid/reference_cell.cc
source/grid/reference_cell.inst.in
tests/grid/closest_point.cc [new file with mode: 0644]
tests/grid/closest_point.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.