Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

ODESolver.h

Go to the documentation of this file.
00001 // Copyright (C) 2003 Johan Hoffman and Anders Logg.
00002 // Licensed under the GNU GPL Version 2.
00003 
00004 #ifndef __ODE_SOLVER_H
00005 #define __ODE_SOLVER_H
00006 
00007 #include <dolfin/constants.h>
00008 
00009 namespace dolfin {
00010 
00011   class ODE;
00012   class Function;
00013 
00023 
00024   class ODESolver {
00025   public:
00026 
00027     static void solve(ODE& ode);
00028     static void solve(ODE& ode, Function& u);
00029     static void solve(ODE& ode, Function& u, Function& phi);
00030 
00031   private:
00032 
00033     static void solvePrimal(ODE& ode, Function& u);
00034     static void solveDual(ODE& ode, Function& u, Function& phi);
00035 
00036   };
00037 
00038 }
00039 
00040 #endif


Documentation automatically generated with Doxygen on 10 Sep 2004.