/usr/include/dune/localfunctions/raviartthomas/raviartthomas0q.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 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | // -*- tab-width: 4; indent-tabs-mode: nil -*-
#ifndef DUNE_RAVIARTTHOMAS0QLOCALFINITEELEMENT_HH
#define DUNE_RAVIARTTHOMAS0QLOCALFINITEELEMENT_HH
#include "raviartthomas0q2d.hh"
#include "raviartthomas0q3d.hh"
namespace Dune
{
/**
* \brief Lowest order Raviart-Thomas shape functions on quadrilaterals.
*
* The dimensions d=2 and dim=3 are supported. This is a convenience class
* to include the Raviart-Thomas-0 basis elements on quadrilaterals.
*
* \tparam D Type to represent the field in the domain.
* \tparam R Type to represent the field in the range.
* \tparam dim Dimension.
*/
template<class D, class R, int dim>
class RT0QLocalFiniteElement;
/**
* \brief Specialization on 2d quadrilaterals for lowest order Raviart-Thomas shape functions.
*
* \tparam D Type to represent the field in the domain.
* \tparam R Type to represent the field in the range.
*/
template<class D, class R>
class RT0QLocalFiniteElement<D, R, 2>
: public RT0Q2DLocalFiniteElement<D, R>
{
public:
RT0QLocalFiniteElement () : RT0Q2DLocalFiniteElement<D, R>()
{
}
RT0QLocalFiniteElement (int s) : RT0Q2DLocalFiniteElement<D, R>(s)
{
}
};
/**
* \brief Specialization on 3d quadrilaterals for lowest order Raviart-Thomas shape functions.
*
* \tparam D Type to represent the field in the domain.
* \tparam R Type to represent the field in the range.
*/
template<class D, class R>
class RT0QLocalFiniteElement<D, R, 3>
: public RT0Q3DLocalFiniteElement<D, R>
{
public:
RT0QLocalFiniteElement () : RT0Q3DLocalFiniteElement<D, R>()
{
}
RT0QLocalFiniteElement (int s) : RT0Q3DLocalFiniteElement<D, R>(s)
{
}
};
}
#endif
|