fe_clough_shape_3D.C
Go to the documentation of this file.00001 // The libMesh Finite Element Library. 00002 // Copyright (C) 2002-2012 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner 00003 00004 // This library is free software; you can redistribute it and/or 00005 // modify it under the terms of the GNU Lesser General Public 00006 // License as published by the Free Software Foundation; either 00007 // version 2.1 of the License, or (at your option) any later version. 00008 00009 // This library is distributed in the hope that it will be useful, 00010 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 // Lesser General Public License for more details. 00013 00014 // You should have received a copy of the GNU Lesser General Public 00015 // License along with this library; if not, write to the Free Software 00016 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00017 00018 00019 // C++ includes 00020 00021 // Local includes 00022 #include "libmesh/fe.h" 00023 #include "libmesh/elem.h" 00024 00025 00026 // FIXME: 3D C1 finite elements are still a work in progress 00027 00028 namespace libMesh 00029 { 00030 00031 00032 template <> 00033 Real FE<3,CLOUGH>::shape(const ElemType, 00034 const Order, 00035 const unsigned int, 00036 const Point&) 00037 { 00038 libMesh::err << "Clough-Tocher elements require the real element\n" 00039 << "to construct gradient-based degrees of freedom." 00040 << std::endl; 00041 00042 libmesh_error(); 00043 return 0.; 00044 } 00045 00046 00047 00048 template <> 00049 Real FE<3,CLOUGH>::shape(const Elem* elem, 00050 const Order, 00051 const unsigned int, 00052 const Point&) 00053 { 00054 libmesh_assert(elem); 00055 00056 libmesh_not_implemented(); 00057 return 0.; 00058 } 00059 00060 00061 00062 template <> 00063 Real FE<3,CLOUGH>::shape_deriv(const ElemType, 00064 const Order, 00065 const unsigned int, 00066 const unsigned int, 00067 const Point&) 00068 { 00069 libMesh::err << "Clough-Tocher elements require the real element\n" 00070 << "to construct gradient-based degrees of freedom." 00071 << std::endl; 00072 00073 libmesh_error(); 00074 return 0.; 00075 } 00076 00077 00078 00079 template <> 00080 Real FE<3,CLOUGH>::shape_deriv(const Elem* elem, 00081 const Order, 00082 const unsigned int, 00083 const unsigned int, 00084 const Point&) 00085 { 00086 libmesh_assert(elem); 00087 libmesh_not_implemented(); 00088 return 0.; 00089 } 00090 00091 00092 00093 template <> 00094 Real FE<3,CLOUGH>::shape_second_deriv(const Elem* elem, 00095 const Order, 00096 const unsigned int, 00097 const unsigned int, 00098 const Point&) 00099 { 00100 libmesh_assert(elem); 00101 libmesh_not_implemented(); 00102 return 0.; 00103 } 00104 00105 } // namespace libMesh
Site Created By: libMesh Developers
Last modified: February 05 2013 19:54:46 UTC
Hosted By: