]> https://gitweb.dealii.org/ - dealii.git/commit
Modified implementation in favor of a constant eccentricity manifold 7442/head
authorStefano Dominici <sfndmn@gmail.com>
Mon, 3 Dec 2018 13:25:35 +0000 (14:25 +0100)
committerStefano Dominici <sfndmn@gmail.com>
Mon, 10 Dec 2018 07:58:18 +0000 (08:58 +0100)
commitbdb54a333144897339f75e8441f9ee2e5a79c2ca
treee14b1f56608f7216dd29af4b47eb6347ea4c1e10
parent13dfeb9c83c704eebc4b89b77165d0532d592e31
Modified implementation in favor of a constant eccentricity manifold
Unit tests, comments, and pictures were modified accordingly.

Minor modifications

 - Adjusted style.
 - Used `std_cxx14` instead of `std` for `make_unique()`.
 - Added guard in `pull_back()` to prevent NaNs in `std::acos()`. This
 may happen due to numerical errors: when the argument of acos() falls
 outside the range [-1,1].

Included a special case for pull_back()

If the first coordinate is exactly 0, the center of the manifold is
returned.
doc/doxygen/images/elliptical_hyper_shell.png
include/deal.II/grid/manifold_lib.h
source/grid/manifold_lib.cc
tests/manifold/elliptical_manifold_01.cc
tests/manifold/elliptical_manifold_01.output
tests/manifold/elliptical_manifold_02.cc
tests/manifold/elliptical_manifold_02.output

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.