/usr/include/dune/localfunctions/rannacherturek/rannacherturek2d.hh is in libdune-localfunctions-dev 2.2.1-2.
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 | #ifndef DUNE_RANNACHER_TUREK2DLOCALFINITEELEMENT_HH
#define DUNE_RANNACHER_TUREK2DLOCALFINITEELEMENT_HH
#include<dune/geometry/type.hh>
#include <dune/localfunctions/common/localfiniteelementtraits.hh>
#include "rannacherturek2d/rannacherturek2dlocalbasis.hh"
#include "rannacherturek2d/rannacherturek2dlocalcoefficients.hh"
#include "rannacherturek2d/rannacherturek2dlocalinterpolation.hh"
namespace Dune {
template<class D, class R>
class RannacherTurek2DLocalFiniteElement
{
RannacherTurek2DLocalBasis<D,R> basis;
RannacherTurek2DLocalCoefficients coefficients;
RannacherTurek2DLocalInterpolation<RannacherTurek2DLocalBasis<D,R> > interpolation;
GeometryType gt;
public:
typedef LocalFiniteElementTraits<
RannacherTurek2DLocalBasis<D,R>,
RannacherTurek2DLocalCoefficients,
RannacherTurek2DLocalInterpolation<RannacherTurek2DLocalBasis<D,R> > > Traits;
RannacherTurek2DLocalFiniteElement () { gt.makeQuadrilateral(); }
const typename Traits::LocalBasisType& localBasis () const
{
return basis;
}
const typename Traits::LocalCoefficientsType& localCoefficients () const
{
return coefficients;
}
const typename Traits::LocalInterpolationType& localInterpolation () const
{
return interpolation;
}
GeometryType type () const { return gt; }
};
} // namespace Dune
#endif // DUNE_RANNACHER_TUREK2DLOCALFINITEELEMENT_HH
|