]> https://gitweb.dealii.org/ - dealii.git/commit
Make code in steps 1 and 2 more obvious. 3244/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 14 Oct 2016 10:28:19 +0000 (04:28 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 14 Oct 2016 10:28:19 +0000 (04:28 -0600)
commit2376459c797a6bd3258947a364b1e83bbdcd0e58
tree850458e3d617648bbee7f3fcb2504cb366d9d446
parent2242b1647eef64238ec59ed5bfb4691306bbb2b1
Make code in steps 1 and 2 more obvious.

In the current setup, steps-1 and 2 first set all manifold ids, and only
then attach a manifold object. This invites the question what the triangulation
would do in between. On the other hand, we can easily fix this by first
attaching a manifold object to the triangulation for manifold_id zero,
and only then set the manifold_ids of cells and faces to zero.
examples/step-1/step-1.cc
examples/step-2/step-2.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.