* A finite element, which is a tensor product polynomial on each face
* and undefined in the interior of the cells.
*
- * This finite element is the trace space of FE_RavirtThomas on the
+ * This finite element is the trace space of FE_RaviartThomas on the
* faces and serves in hybridized methods.
*
* @author Guido Kanschat, 2009
*/
FE_FaceQ(unsigned int p);
+ virtual FiniteElement<dim,spacedim>* clone() const;
+
/**
* Return a string that uniquely
* identifies a finite
// $Id$
// Version: $Name$
//
-// Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 by the deal.II authors
+// Copyright (C) 2009 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
{}
+template <int dim, int spacedim>
+FiniteElement<dim,spacedim>*
+FE_FaceQ<dim,spacedim>::clone() const
+{
+ return new FE_FaceQ<dim,spacedim>(this->degree);
+}
+
+
template <int dim, int spacedim>
std::string
FE_FaceQ<dim,spacedim>::get_name () const
return namebuf.str();
}
+
+
template <int dim, int spacedim>
bool
FE_FaceQ<dim,spacedim>::has_support_on_face (