$extrastylesheet
00001 // The libMesh Finite Element Library. 00002 // Copyright (C) 2002-2014 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 namespace libMesh 00026 { 00027 00028 template <> 00029 Real FE<2,SCALAR>::shape(const ElemType, 00030 const Order, 00031 const unsigned int, 00032 const Point&) 00033 { 00034 return 1.; 00035 } 00036 00037 template <> 00038 Real FE<2,SCALAR>::shape(const Elem*, 00039 const Order, 00040 const unsigned int, 00041 const Point&) 00042 { 00043 return 1.; 00044 } 00045 00046 00047 template <> 00048 Real FE<2,SCALAR>::shape_deriv(const ElemType, 00049 const Order, 00050 const unsigned int, 00051 const unsigned int, 00052 const Point&) 00053 { 00054 return 0.; 00055 } 00056 00057 template <> 00058 Real FE<2,SCALAR>::shape_deriv(const Elem*, 00059 const Order, 00060 const unsigned int, 00061 const unsigned int, 00062 const Point&) 00063 { 00064 return 0.; 00065 } 00066 00067 00068 template <> 00069 Real FE<2,SCALAR>::shape_second_deriv(const ElemType, 00070 const Order, 00071 const unsigned int, 00072 const unsigned int, 00073 const Point&) 00074 { 00075 return 0.; 00076 } 00077 00078 template <> 00079 Real FE<2,SCALAR>::shape_second_deriv(const Elem*, 00080 const Order, 00081 const unsigned int, 00082 const unsigned int, 00083 const Point&) 00084 { 00085 return 0.; 00086 } 00087 00088 } // namespace libMesh