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
gmshsimplexdomain.hpp
Go to the documentation of this file.
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: 2007-10-11
7 
8  Copyright (C) 2007-2010 Université Joseph Fourier Grenoble 1
9 
10  This library is free software; you can redistribute it and/or
11  modify it under the terms of the GNU Lesser General Public
12  License as published by the Free Software Foundation; either
13  version 3.0 of the License, or (at your option) any later version.
14 
15  This library is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18  Lesser General Public License for more details.
19 
20  You should have received a copy of the GNU Lesser General Public
21  License along with this library; if not, write to the Free Software
22  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 */
29 #ifndef __GmshSimplexDomain_H
30 #define __GmshSimplexDomain_H 1
31 
32 
33 #include <boost/parameter.hpp>
34 #include <feel/feelcore/feel.hpp>
35 #include <feel/feelcore/parameter.hpp>
36 
38 
39 
40 namespace Feel
41 {
49 class GmshSimplexDomain : public Gmsh
50 {
51  typedef Gmsh super;
52 public:
53 
54 
58 
60 
64 
65  GmshSimplexDomain( int dim, int order, DomainType dt = GMSH_REAL_DOMAIN );
66 
68  :
69  super( td ),
70  M_descr( td.M_descr )
71  {
72  }
74  {}
75 
77 
81 
82 
84 
88 
89 
90 
92 
96 
97 
99 
103 
104 
106 
107 
108 
109 private:
110  std::string getDescription() const;
111 
112  // 1D
113  std::string getDescription1D() const;
114  // 2D
115  std::string getDescription2D() const;
116  // 3D
117  std::string getDescription3D() const;
118 
119 private:
120 
121  std::string M_descr;
122 };
123 
124 } // Feel
125 
126 #endif /* __GmshSimplexDomain_H */

Generated on Fri Oct 25 2013 14:24:15 for Feel++ by doxygen 1.8.4