Logo  0.95.0-final
Finite Element Embedded Library and Language in C++
Feel++ Feel++ on Github Feel++ community
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
applicationpetsc.hpp
1 /* -*- mode: c++; coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; show-trailing-whitespace: t -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2 
3  This file is part of the Feel library
4 
5  Author(s): Christophe Prud'homme <christophe.prudhomme@feelpp.org>
6  Date: 2005-10-18
7 
8  Copyright (C) 2005,2006,2009 EPFL
9  Copyright (C) 2007 Université Joseph Fourier (Grenoble I)
10 
11  This library is free software; you can redistribute it and/or
12  modify it under the terms of the GNU Lesser General Public
13  License as published by the Free Software Foundation; either
14  version 3.0 of the License, or (at your option) any later version.
15 
16  This library is distributed in the hope that it will be useful,
17  but WITHOUT ANY WARRANTY; without even the implied warranty of
18  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19  Lesser General Public License for more details.
20 
21  You should have received a copy of the GNU Lesser General Public
22  License along with this library; if not, write to the Free Software
23  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24 */
30 #ifndef __Application_H
31 #define __Application_H 1
32 
34 
35 #if defined( FEELPP_HAS_PETSC_H )
36 extern "C"
37 {
38 #include <petsc.h>
39 #include <petscerror.h>
40 }
41 #endif /* FEELPP_HAS_PETSC_H */
42 
43 namespace Feel
44 {
45 #if defined( FEELPP_HAS_PETSC_H )
46 
54 class Application : public Application
55 {
56  typedef Application super;
57 public:
58 
59 
63 
64 
66 
70 
74  Application( int argc, char** argv, AboutData const& ad, MPI_Comm Comm = MPI_COMM_WORLD );
75 
79  Application( int argc, char** argv, AboutData const& ad, po::options_description const& od, MPI_Comm Comm = MPI_COMM_WORLD );
80 
84  ~Application();
85 
87 
91 
92 
94 
98 
99 
101 
105 
106 
108 
112 
113 
115 
116 
117 
118 protected:
119 
120 private:
121  Application( Application const & );
122 
123 private:
124 
125 };
126 #endif /* FEELPP_HAS_PETSC_H */
127 } // Feel
128 #endif /* __Application_H */

Generated on Sun Oct 20 2013 08:24:54 for Feel++ by doxygen 1.8.4