cell.h
Go to the documentation of this file.
1 // The libMesh Finite Element Library.
2 // Copyright (C) 2002-2014 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner
3 
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either
7 // version 2.1 of the License, or (at your option) any later version.
8 
9 // This library is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 // Lesser General Public License for more details.
13 
14 // You should have received a copy of the GNU Lesser General Public
15 // License along with this library; if not, write to the Free Software
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 
18 
19 
20 #ifndef LIBMESH_CELL_H
21 #define LIBMESH_CELL_H
22 
23 // Local includes
24 #include "libmesh/elem.h"
25 
26 namespace libMesh
27 {
28 
29 
30 // Forward declarations
31 
32 
33 
40 // ------------------------------------------------------------
41 // Cell class definition
42 class Cell : public Elem
43 {
44 public:
45 
49  Cell (const unsigned int nn,
50  const unsigned int ns,
51  Elem* p,
52  Elem** elemlinkdata,
53  Node** nodelinkdata) :
54  Elem (nn, ns, p, elemlinkdata, nodelinkdata)
55  {}
56 
60  unsigned int dim () const { return 3; }
61 
62 // /**
63 // * @returns 4
64 // */
65 // unsigned int n_children_per_side(const unsigned int) const { return 4; }
66 
67 
68 #ifdef LIBMESH_ENABLE_INFINITE_ELEMENTS
69 
74  bool infinite () const { return false; }
75 
76 #endif
77 
78 };
79 
80 
81 } // namespace libMesh
82 
83 
84 #endif // LIBMESH_CELL_H

Site Created By: libMesh Developers
Last modified: February 07 2014 16:57:04 UTC

Hosted By:
SourceForge.net Logo