/usr/include/dune/localfunctions/raviartthomas/raviartthomassimplex.hh is in libdune-localfunctions-dev 2.3.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 | // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#ifndef DUNE_LOCALFUNCTIONS_RAVIARTTHOMAS_SIMPLEX_HH
#define DUNE_LOCALFUNCTIONS_RAVIARTTHOMAS_SIMPLEX_HH
#include <dune/localfunctions/utility/localfiniteelement.hh>
#include "raviartthomassimplex/raviartthomassimplexbasis.hh"
/**
* \file
* \brief Raviart-Thomas local finite elements of arbitrary order
* for simplices of arbitrary dimension.
*/
namespace Dune
{
/**
* \brief Raviart-Thomas local finite elements of arbitrary order
* for simplices of arbitrary dimension.
*
* These generic local finite elements are only available for
* simplex geometry types. The extension to cube and prism
* elements could be added.
*
* \tparam dimDomain dimension of reference elements
* \tparam D domain for basis functions
* \tparam R range for basis functions
* \tparam SF storage field for basis matrix
* \tparam CF compute field for basis matrix
*/
template<unsigned int dimDomain, class D, class R,
class SF=R, class CF=SF>
class RaviartThomasSimplexLocalFiniteElement
: public GenericLocalFiniteElement<RaviartThomasBasisFactory<dimDomain, SF, CF>,
RaviartThomasCoefficientsFactory<dimDomain>,
RaviartThomasL2InterpolationFactory<dimDomain, SF> >
{
typedef GenericLocalFiniteElement<RaviartThomasBasisFactory<dimDomain, SF, CF>,
RaviartThomasCoefficientsFactory<dimDomain>,
RaviartThomasL2InterpolationFactory<dimDomain, SF> > Base;
public:
using typename Base::Traits;
/** \todo Please doc me */
RaviartThomasSimplexLocalFiniteElement(const GeometryType >, unsigned int order)
: Base(gt, order)
{}
};
/**
* \copydoc Dune::RaviartThomasSimplexLocalFiniteElement
*
* \deprecated This class is deprecated and will be removed after Dune 2.3.
* Use RaviartThomasSimplexLocalFiniteElement instead.
**/
template< unsigned int dimDomain, class D, class R,
class SF=R, class CF=SF >
class
DUNE_DEPRECATED_MSG("Use RaviartThomasSimplexLocalFiniteElement instead")
RaviartThomasLocalFiniteElement
: public GenericLocalFiniteElement< RaviartThomasBasisFactory< dimDomain, SF, CF >,
RaviartThomasCoefficientsFactory< dimDomain >,
RaviartThomasL2InterpolationFactory< dimDomain, SF > >
{
public:
/** \todo Please doc me */
RaviartThomasLocalFiniteElement(const GeometryType >, unsigned int order)
: RaviartThomasSimplexLocalFiniteElement<dimDomain, D, R, SF, CF>::
RaviartThomasSimplexLocalFiniteElement(gt, order)
{}
};
} // namespace Dune
#endif // #ifndef DUNE_LOCALFUNCTIONS_RAVIARTTHOMAS_SIMPLEX_HH
|