|
dune-localfunctions 2.12-git
|
Loading...
Searching...
No Matches
raviartthomassimplexinterpolation.hh
Go to the documentation of this file.
3// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
5#ifndef DUNE_LOCALFUNCTIONS_RAVIARTTHOMAS_RAVIARTTHOMASSIMPLEX_RAVIARTTHOMASSIMPLEXINTERPOLATION_HH
6#define DUNE_LOCALFUNCTIONS_RAVIARTTHOMAS_RAVIARTTHOMASSIMPLEX_RAVIARTTHOMASSIMPLEXINTERPOLATION_HH
143 TestFaceBasis *testFaceBasis ( unsigned int f ) const { assert( f < faceSize() ); return faceStructure_[ f ].basis_; }
146 const Normal normal ( unsigned int f ) const { assert( f < faceSize() ); return faceStructure_[ f ].normal_; }
169 * For i.e. Prisms and Pyramids in 3d this does not work because they contain squares and triangles as faces.
173 TestFaceBasis *faceBasis = Impl::toGeometryTypeIdConstant<dimension-1>(refElement.type( face, 1 ), [&](auto faceGeometryTypeId) {
447#endif // #ifndef DUNE_LOCALFUNCTIONS_RAVIARTTHOMAS_RAVIARTTHOMASSIMPLEX_RAVIARTTHOMASSIMPLEXINTERPOLATION_HH
size_type dim() const
constexpr Iterator begin()
static const QuadratureRule & rule(const GeometryType &t, int p, QuadratureType::Enum qt=QuadratureType::GaussLegendre)
constexpr bool isSimplex() const
Definition nedelecsimplexinterpolation.hh:41
LocalCoefficientsContainer(const Setter &setter)
Definition nedelecsimplexinterpolation.hh:46
const LocalKey & localKey(const unsigned int i) const
Definition raviartthomassimplexinterpolation.hh:48
std::size_t size() const
Definition nedelecsimplexinterpolation.hh:57
Definition orthonormalbasis.hh:20
static void release(Object *object)
Definition orthonormalbasis.hh:59
Definition raviartthomassimplexinterpolation.hh:422
std::remove_const< Object >::type NonConstObject
Definition raviartthomassimplexinterpolation.hh:426
static void release(Object *object)
Definition raviartthomassimplexinterpolation.hh:442
static bool supports(const Key &key)
Definition raviartthomassimplexinterpolation.hh:438
static Object * create(const Key &key)
Definition raviartthomassimplexinterpolation.hh:429
RTL2InterpolationBuilder< dim, Field > Builder
Definition raviartthomassimplexinterpolation.hh:423
const RaviartThomasL2Interpolation< dim, Field > Object
Definition raviartthomassimplexinterpolation.hh:424
std::size_t Key
Definition raviartthomassimplexinterpolation.hh:425
Definition raviartthomassimplexinterpolation.hh:70
std::size_t Key
Definition raviartthomassimplexinterpolation.hh:71
static void release(Object *object)
Definition raviartthomassimplexinterpolation.hh:91
static bool supports(const Key &key)
Definition raviartthomassimplexinterpolation.hh:87
const LocalCoefficientsContainer Object
Definition raviartthomassimplexinterpolation.hh:72
static Object * create(const Key &key)
Definition raviartthomassimplexinterpolation.hh:75
Definition raviartthomassimplexinterpolation.hh:107
TestBasis * testBasis() const
Definition raviartthomassimplexinterpolation.hh:140
FieldVector< Field, dimension > Normal
Definition raviartthomassimplexinterpolation.hh:118
TestBasisFactory::Object TestBasis
Definition raviartthomassimplexinterpolation.hh:111
TestFaceBasisFactory::Object TestFaceBasis
Definition raviartthomassimplexinterpolation.hh:115
const Normal normal(unsigned int f) const
Definition raviartthomassimplexinterpolation.hh:146
unsigned int faceSize() const
Definition raviartthomassimplexinterpolation.hh:137
OrthonormalBasisFactory< dimension, Field, Field, Field > TestBasisFactory
Definition raviartthomassimplexinterpolation.hh:110
void build(std::size_t order)
Definition raviartthomassimplexinterpolation.hh:149
RTL2InterpolationBuilder()=default
TestFaceBasis * testFaceBasis(unsigned int f) const
Definition raviartthomassimplexinterpolation.hh:143
GeometryType type() const
Definition raviartthomassimplexinterpolation.hh:132
RTL2InterpolationBuilder(const RTL2InterpolationBuilder &)=delete
RTL2InterpolationBuilder(RTL2InterpolationBuilder &&)=delete
std::size_t order() const
Definition raviartthomassimplexinterpolation.hh:134
OrthonormalBasisFactory< dimension-1, Field, Field, Field > TestFaceBasisFactory
Definition raviartthomassimplexinterpolation.hh:114
static const unsigned int dimension
Definition raviartthomassimplexinterpolation.hh:108
~RTL2InterpolationBuilder()
Definition raviartthomassimplexinterpolation.hh:125
An L2-based interpolation for Raviart Thomas.
Definition raviartthomassimplexinterpolation.hh:212
std::size_t order() const
Definition raviartthomassimplexinterpolation.hh:245
void interpolate(const Function &function, Vector &coefficients) const
Definition raviartthomassimplexinterpolation.hh:227
RaviartThomasL2Interpolation()
Definition raviartthomassimplexinterpolation.hh:219
void interpolate(typename Base::template Helper< Func, Container, type > &func) const
Definition raviartthomassimplexinterpolation.hh:284
RTL2InterpolationBuilder< dimension, Field > Builder
Definition raviartthomassimplexinterpolation.hh:218
void build(std::size_t order)
Definition raviartthomassimplexinterpolation.hh:254
std::size_t size() const
Definition raviartthomassimplexinterpolation.hh:249
void setLocalKeys(std::vector< LocalKey > &keys) const
Definition raviartthomassimplexinterpolation.hh:266
Definition interpolationhelper.hh:21
Definition interpolationhelper.hh:23
Definition polynomialbasis.hh:63
T emplace_back(T... args)
T reserve(T... args)
T resize(T... args)
T size(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8