/usr/include/dune/localfunctions/raviartthomas/raviartthomascube.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 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#ifndef DUNE_LOCALFUNCTIONS_RAVIARTTHOMAS_CUBE_HH
#define DUNE_LOCALFUNCTIONS_RAVIARTTHOMAS_CUBE_HH
#include "raviartthomas0cube2d.hh"
#include "raviartthomas0cube3d.hh"
#include "raviartthomas1cube2d.hh"
#include "raviartthomas1cube3d.hh"
#include "raviartthomas2cube2d.hh"
/**
* \file
* \brief Convenience header that includes all available Raviart-Thomas
* local finite elements for cubes.
*/
namespace Dune
{
/**
* \brief Raviart-Thomas local finite elements for cubes.
*
* Convenience class to access all implemented Raviart-Thomas local
* finite elements for cubes.
* Generic Raviart-Thomas local finite elements for cubes like for
* simpleces could be written.
*
* \tparam D type to represent the field in the domain.
* \tparam R type to represent the field in the range.
* \tparam dim dimension of the reference elements, must be 2 or 3.
* \tparam order order of the element, depending on \a dim it can be 0, 1, or 2.
*/
template<class D, class R, unsigned int dim, unsigned int order>
class RaviartThomasCubeLocalFiniteElement;
/**
* \brief Raviart-Thomas local finite elements for cubes with dimension 2 and order 0.
*/
template<class D, class R>
class RaviartThomasCubeLocalFiniteElement<D, R, 2, 0>
: public RT0Cube2DLocalFiniteElement<D, R>
{
public:
RaviartThomasCubeLocalFiniteElement()
: RT0Cube2DLocalFiniteElement<D, R>::RT0Cube2DLocalFiniteElement()
{}
RaviartThomasCubeLocalFiniteElement(int s)
: RT0Cube2DLocalFiniteElement<D, R>::RT0Cube2DLocalFiniteElement(s)
{}
};
/**
* \brief Raviart-Thomas local finite elements for cubes with dimension 2 and order 1.
*/
template<class D, class R>
class RaviartThomasCubeLocalFiniteElement<D, R, 2, 1>
: public RT1Cube2DLocalFiniteElement<D, R>
{
public:
RaviartThomasCubeLocalFiniteElement()
: RT1Cube2DLocalFiniteElement<D, R>::RT1Cube2DLocalFiniteElement()
{}
RaviartThomasCubeLocalFiniteElement(int s)
: RT1Cube2DLocalFiniteElement<D, R>::RT1Cube2DLocalFiniteElement(s)
{}
};
/**
* \brief Raviart-Thomas local finite elements for cubes with dimension 2 and order 2.
*/
template<class D, class R>
class RaviartThomasCubeLocalFiniteElement<D, R, 2, 2>
: public RT2Cube2DLocalFiniteElement<D, R>
{
public:
RaviartThomasCubeLocalFiniteElement()
: RT2Cube2DLocalFiniteElement<D, R>::RT2Cube2DLocalFiniteElement()
{}
RaviartThomasCubeLocalFiniteElement(int s)
: RT2Cube2DLocalFiniteElement<D, R>::RT2Cube2DLocalFiniteElement(s)
{}
};
/**
* \brief Raviart-Thomas local finite elements for cubes with dimension 3 and order 0.
*/
template<class D, class R>
class RaviartThomasCubeLocalFiniteElement<D, R, 3, 0>
: public RT0Cube3DLocalFiniteElement<D, R>
{
public:
RaviartThomasCubeLocalFiniteElement()
: RT0Cube3DLocalFiniteElement<D, R>::RT0Cube3DLocalFiniteElement()
{}
RaviartThomasCubeLocalFiniteElement(int s)
: RT0Cube3DLocalFiniteElement<D, R>::RT0Cube3DLocalFiniteElement(s)
{}
};
/**
* \brief Raviart-Thomas local finite elements for cubes with dimension 3 and order 1.
*/
template<class D, class R>
class RaviartThomasCubeLocalFiniteElement<D, R, 3, 1>
: public RT1Cube3DLocalFiniteElement<D, R>
{
public:
RaviartThomasCubeLocalFiniteElement()
: RT1Cube3DLocalFiniteElement<D, R>::RT1Cube3DLocalFiniteElement()
{}
RaviartThomasCubeLocalFiniteElement(int s)
: RT1Cube3DLocalFiniteElement<D, R>::RT1Cube3DLocalFiniteElement(s)
{}
};
} // namespace Dune
#endif // #ifndef DUNE_LOCALFUNCTIONS_RAVIARTTHOMAS_CUBE_HH
|