fe_clough_shape_3D.C
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 // C++ includes
20 
21 // Local includes
22 #include "libmesh/fe.h"
23 #include "libmesh/elem.h"
24 
25 
26 // FIXME: 3D C1 finite elements are still a work in progress
27 
28 namespace libMesh
29 {
30 
31 
32 template <>
34  const Order,
35  const unsigned int,
36  const Point&)
37 {
38  libMesh::err << "Clough-Tocher elements require the real element\n"
39  << "to construct gradient-based degrees of freedom."
40  << std::endl;
41 
42  libmesh_error();
43  return 0.;
44 }
45 
46 
47 
48 template <>
50  const Order,
51  const unsigned int,
52  const Point&)
53 {
54  libmesh_assert(elem);
55 
56  libmesh_not_implemented();
57  return 0.;
58 }
59 
60 
61 
62 template <>
64  const Order,
65  const unsigned int,
66  const unsigned int,
67  const Point&)
68 {
69  libMesh::err << "Clough-Tocher elements require the real element\n"
70  << "to construct gradient-based degrees of freedom."
71  << std::endl;
72 
73  libmesh_error();
74  return 0.;
75 }
76 
77 
78 
79 template <>
81  const Order,
82  const unsigned int,
83  const unsigned int,
84  const Point&)
85 {
86  libmesh_assert(elem);
87  libmesh_not_implemented();
88  return 0.;
89 }
90 
91 
92 
93 template <>
95  const Order,
96  const unsigned int,
97  const unsigned int,
98  const Point&)
99 {
100  libmesh_assert(elem);
101  libmesh_not_implemented();
102  return 0.;
103 }
104 
105 } // namespace libMesh

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

Hosted By:
SourceForge.net Logo