![]() |
00001 // Copyright (C) 2003 Johan Hoffman and Anders Logg. 00002 // Licensed under the GNU GPL Version 2. 00003 00004 #ifndef __PROBLEM_H 00005 #define __PROBLEM_H 00006 00007 namespace dolfin { 00008 00009 class Mesh; 00010 class Solver; 00011 00012 class Problem { 00013 public: 00014 00015 Problem(const char* problem); 00016 Problem(const char* problem, Mesh& mesh); 00017 Problem(const char* problem, ODE& ode); 00018 00019 ~Problem(); 00020 00021 void set(const char* property, ...); 00022 void solve(); 00023 00024 private: 00025 00026 Solver* solver; 00027 00028 }; 00029 00030 } 00031 00032 #endif
Documentation automatically generated with Doxygen on 10 Sep 2004.