From: bangerth Date: Fri, 10 Apr 2009 23:55:04 +0000 (+0000) Subject: A brief section on implementation details. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d38f3ccb91f94c5f3cee7934fbf1fb52ba14181b;p=dealii-svn.git A brief section on implementation details. git-svn-id: https://svn.dealii.org/trunk@18580 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-34/doc/intro.dox b/deal.II/examples/step-34/doc/intro.dox index 6593489537..2d7932eaf2 100644 --- a/deal.II/examples/step-34/doc/intro.dox +++ b/deal.II/examples/step-34/doc/intro.dox @@ -573,3 +573,23 @@ significantly sparser representation of these matrices that also facilitates rapid evaluations of the scalar product between vectors and matrices. This not being the goal of this program, we leave this for more sophisticated implementations. + + +

Implementation

+ +The implementation is rather straight forward. The main point that hasn't been +used in any of the previous tutorial programs is that most classes in deal.II +are not only templated on the dimension, but in fact on the dimension of the +manifold on which we pose the differential equation as well as the dimension +of the space into which this manifold is embedded. By default, the second +template argument equals the first, meaning for example that we want to solve +on a two-dimensional region of two-dimensional space. The triangulation class +to use in this case would be Triangulation@<2@>, which is an +equivalent way of writing Triangulation@<2,2@>. + +However, this doesn't have to be so: in the current example, we will for +example want to solve on the surface of a sphere, which is a two-dimensional +manifold embedded in a three-dimensional space. Consequently, the right class +will be Triangulation@<2,3@>, and correspondingly we will use +DoFHandler@<2,3@> as the DoF handler class and +FE_Q@<2,3@> for finite elements.