]> https://gitweb.dealii.org/ - dealii.git/commit
Merge pull request #144 from luca-heltai/pr_tria_accessor_manifold_aware
authorLuca Heltai <luca.heltai@sissa.it>
Sat, 13 Sep 2014 12:12:24 +0000 (14:12 +0200)
committerLuca Heltai <luca.heltai@sissa.it>
Sat, 13 Sep 2014 12:12:24 +0000 (14:12 +0200)
commiteb33cbf6a0cad2966eb9b748ae0a2b02691aef59
tree2b60665e46babea01159c997b8545e56f6056235
parent1e67afdd71fa06b3d0d120bf2184f0888ffaf914
parentaf5a16b483b290f3926089b7117b7845a2a637ba
Merge pull request #144 from luca-heltai/pr_tria_accessor_manifold_aware

Made TriaAccessor aware of Manifold.

This is the initial work to make TriaAccessor more aware of Manifold.

This allows (and future PR will implement this) to switch internal calls to get_manifold to syntax like

cell->center(true);
line->center(true):
line->point(p);
instead of the fairly redundant versions

cell->get_manifold().get_new_point_on_cell(cell);
line->get_manifold().get_new_point_on_line(line);

vector<Point<2> > ps(2); ps[0] = line->vertex(0); ps[1] = line->vertex(1);
vector<double> ws(2, .5);
Quadrature<2> quadrature(ws, ps);
line->get_manifold().get_new_point(quadrature);

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.