]> https://gitweb.dealii.org/ - dealii.git/commit
Fix instantiation issue with FlatManifold properly 63/head
authorMatthias Maier <matthias.maier@iwr.uni-heidelberg.de>
Thu, 7 Aug 2014 11:07:45 +0000 (13:07 +0200)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Thu, 7 Aug 2014 12:43:11 +0000 (14:43 +0200)
commit9079b697e54b70265a400600499411abac953527
tree654f96b046f4d45c657c4a86c23de178b1321106
parent6e0d625ca11f370b70fd42c4492dd3ecdd4ee72f
Fix instantiation issue with FlatManifold properly

This commit reverts the quick fix in commit 982b0683.

This commit closes #56

The issue why we encountered unresolved references to
dealii::FlatManifold<3, 2>::FlatManifold(dealii::Point<2, double>, double)
etc. was due to boilerplate instantiations of Triangulation::get_manifold
for cases with spacedim < dim (in order to make TriaAccessor happy).

This commit fixes the issue by using a nullptr-dereference in order to
return an invalid object - the specific code throws an error message before
that and should actually not be reachable at all.
source/grid/manifold.inst.in
source/grid/tria.cc

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.