From: bangerth Date: Fri, 23 May 2008 04:51:49 +0000 (+0000) Subject: Add a section on implementation. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb3311ebaeb3131496bf2213abbb4f7984606a0c;p=dealii-svn.git Add a section on implementation. git-svn-id: https://svn.dealii.org/trunk@16174 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-33/doc/intro.dox b/deal.II/examples/step-33/doc/intro.dox index 1512993e13..256a8a18fe 100644 --- a/deal.II/examples/step-33/doc/intro.dox +++ b/deal.II/examples/step-33/doc/intro.dox @@ -305,5 +305,39 @@ InitialConditions or BoundaryConditions will be declared in the program below. +

Implementation

+The implementation of this program is split into three essential parts: + + +The reason for this approach is that it separates the various concerns in a +program: the ConservationLaw is written in such a way that it +would be relatively straightforward to adapt it to a different set of +equations: One would simply re-implement the members of the +EulerEquations class for some other hyperbolic equation, or +augment the existing equations by additional ones (for example by advecting +additional variables, or my adding chemistry, etc). Such modifications, +however, would not affect the time stepping, or the nonlinear solvers if +correctly done, and consequently nothing in the ConservationLaw +would have to be modified. + +Similarly, if we wanted to improve on the linear or nonlinear solvers, or on +the time stepping scheme (as hinted at at the end of the results section), then this would not require changes in +the EulerEquations at all.