From bb3311ebaeb3131496bf2213abbb4f7984606a0c Mon Sep 17 00:00:00 2001 From: bangerth Date: Fri, 23 May 2008 04:51:49 +0000 Subject: [PATCH] Add a section on implementation. git-svn-id: https://svn.dealii.org/trunk@16174 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-33/doc/intro.dox | 34 ++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) 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. -- 2.39.5