/usr/include/dune/localfunctions/lagrange.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 67 68 | #ifndef DUNE_LAGRANGEFINITEELEMENT_HH
#define DUNE_LAGRANGEFINITEELEMENT_HH
#include <dune/localfunctions/utility/localfiniteelement.hh>
#include <dune/localfunctions/utility/dglocalcoefficients.hh>
#include <dune/localfunctions/lagrange/lagrangecoefficients.hh>
#include <dune/localfunctions/lagrange/interpolation.hh>
#include <dune/localfunctions/lagrange/lagrangebasis.hh>
namespace Dune
{
/**
* @brief Lagrange local finite elements for a given set of interpolation
* points.
*
* The class LP provides the points for the interpolation.
* It has two template arguments, the first is the Field type to
* use for evaluating the points the second the dimension
* of the reference elements on which to construct the points.
* It is instantiated with the desired order and has a template
* method build taking a Topology to construct the points
* (a std::vector of FieldVectors).
* It also provides a static template method supports to indicate
* if the point set can be build for a specified Topology.
*
* Examples include:
* - EqualdistantPointSet: standard point set for lagrange points
* - LobattoPointSet: an approximate Freget type point set
* (provided for simplex and generalized prism
* topologies (i.e. not for a 3d pyramid)
*
* \tparam LP a template class defining the points for the lagrange interpolation
* \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< template <class,unsigned int> class LP,
unsigned int dimDomain, class D, class R,
class SF=R, class CF=SF >
class LagrangeLocalFiniteElement
: public GenericLocalFiniteElement< LagrangeBasisFactory< LP, dimDomain, SF, CF >,
LagrangeCoefficientsFactory<LP, dimDomain, SF >,
LagrangeInterpolationFactory< LP, dimDomain, SF > >
{
typedef GenericLocalFiniteElement< LagrangeBasisFactory< LP, dimDomain, SF, CF >,
LagrangeCoefficientsFactory<LP, dimDomain, SF >,
LagrangeInterpolationFactory< LP, dimDomain, SF > > Base;
public:
typedef typename Base::Traits Traits;
/** \todo Please doc me !
*/
LagrangeLocalFiniteElement ( unsigned int topologyId, unsigned int order ) DUNE_DEPRECATED
: Base( topologyId, order )
{}
/** \todo Please doc me !
*/
LagrangeLocalFiniteElement ( const GeometryType >, unsigned int order )
: Base( gt, order )
{}
};
}
#endif // #ifndef DUNE_LAGRANGEFINITEELEMENT_HH
|