/usr/include/deal.II/fe/fe_face.h is in libdeal.ii-dev 6.3.1-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | //---------------------------------------------------------------------------
// $Id: fe_face.h 20209 2009-12-07 22:39:12Z kanschat $
// Version: $Name$
//
// 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
// to the file deal.II/doc/license.html for the text and
// further information on this license.
//
//---------------------------------------------------------------------------
#ifndef __deal2__fe_face_h
#define __deal2__fe_face_h
#include <base/config.h>
#include <base/tensor_product_polynomials.h>
#include <fe/fe_poly_face.h>
DEAL_II_NAMESPACE_OPEN
/**
* @warning This class has not been tested
*
* 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_RaviartThomas on the
* faces and serves in hybridized methods.
*
* @author Guido Kanschat, 2009
*/
template <int dim, int spacedim=dim>
class FE_FaceQ : public FE_PolyFace<TensorProductPolynomials<dim-1>, dim, spacedim>
{
public:
/**
* Constructor for tensor product
* polynomials of degree
* <tt>p</tt>. The shape
* functions created using this
* constructor correspond to
* Legendre polynomials in each
* coordinate direction.
*/
FE_FaceQ(unsigned int p);
virtual FiniteElement<dim,spacedim>* clone() const;
/**
* Return a string that uniquely
* identifies a finite
* element. This class returns
* <tt>FE_DGQ<dim>(degree)</tt> , with
* <tt>dim</tt> and <tt>degree</tt>
* replaced by appropriate
* values.
*/
virtual std::string get_name () const;
/**
* Check for non-zero values on a face.
*
* This function returns
* @p true, if the shape
* function @p shape_index has
* non-zero values on the face
* @p face_index.
*
* Implementation of the
* interface in
* FiniteElement
*/
virtual bool has_support_on_face (const unsigned int shape_index,
const unsigned int face_index) const;
private:
/**
* Return vector with dofs per
* vertex, line, quad, hex.
*/
static std::vector<unsigned int> get_dpo_vector (const unsigned int deg);
};
DEAL_II_NAMESPACE_CLOSE
#endif
|