|
dune-localfunctions 2.8.0
|
Loading...
Searching...
No Matches
raviartthomassimplexinterpolation.hh
Go to the documentation of this file.
3#ifndef DUNE_LOCALFUNCTIONS_RAVIARTTHOMAS_RAVIARTTHOMASSIMPLEX_RAVIARTTHOMASSIMPLEXINTERPOLATION_HH
4#define DUNE_LOCALFUNCTIONS_RAVIARTTHOMAS_RAVIARTTHOMASSIMPLEX_RAVIARTTHOMASSIMPLEXINTERPOLATION_HH
145 TestFaceBasis *testFaceBasis ( unsigned int f ) const { assert( f < faceSize() ); return faceStructure_[ f ].basis_; }
148 const Normal &normal ( unsigned int f ) const { assert( f < faceSize() ); return *(faceStructure_[ f ].normal_); }
171 * For i.e. Prisms and Pyramids in 3d this does not work because they contain squares and triangles as faces.
175 TestFaceBasis *faceBasis = Impl::toGeometryTypeIdConstant<dimension-1>(refElement.type( face, 1 ), [&](auto faceGeometryTypeId) {
228 -> std::enable_if_t< std::is_same< decltype(std::declval<Vector>().resize(1) ),void >::value,void>
447#endif // #ifndef DUNE_LOCALFUNCTIONS_RAVIARTTHOMAS_RAVIARTTHOMASSIMPLEX_RAVIARTTHOMASSIMPLEXINTERPOLATION_HH
size_type dim() const
Iterator begin()
static const QuadratureRule & rule(const GeometryType &t, int p, QuadratureType::Enum qt=QuadratureType::GaussLegendre)
constexpr unsigned int id() const
constexpr bool isSimplex() const
Definition nedelecsimplexinterpolation.hh:36
LocalCoefficientsContainer(const Setter &setter)
Definition nedelecsimplexinterpolation.hh:41
const LocalKey & localKey(const unsigned int i) const
Definition raviartthomassimplexinterpolation.hh:46
std::size_t size() const
Definition nedelecsimplexinterpolation.hh:52
Definition orthonormalbasis.hh:18
static void release(Object *object)
Definition orthonormalbasis.hh:55
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:68
std::size_t Key
Definition raviartthomassimplexinterpolation.hh:69
static void release(Object *object)
Definition raviartthomassimplexinterpolation.hh:89
static bool supports(const Key &key)
Definition raviartthomassimplexinterpolation.hh:85
const LocalCoefficientsContainer Object
Definition raviartthomassimplexinterpolation.hh:70
static Object * create(const Key &key)
Definition raviartthomassimplexinterpolation.hh:73
Definition raviartthomassimplexinterpolation.hh:105
TestBasis * testBasis() const
Definition raviartthomassimplexinterpolation.hh:142
FieldVector< Field, dimension > Normal
Definition raviartthomassimplexinterpolation.hh:117
TestBasisFactory::Object TestBasis
Definition raviartthomassimplexinterpolation.hh:110
TestFaceBasisFactory::Object TestFaceBasis
Definition raviartthomassimplexinterpolation.hh:114
unsigned int faceSize() const
Definition raviartthomassimplexinterpolation.hh:139
void build(std::size_t order)
Definition raviartthomassimplexinterpolation.hh:151
RTL2InterpolationBuilder()=default
TestFaceBasis * testFaceBasis(unsigned int f) const
Definition raviartthomassimplexinterpolation.hh:145
GeometryType type() const
Definition raviartthomassimplexinterpolation.hh:134
const Normal & normal(unsigned int f) const
Definition raviartthomassimplexinterpolation.hh:148
RTL2InterpolationBuilder(const RTL2InterpolationBuilder &)=delete
OrthonormalBasisFactory< dimension-1, Field > TestFaceBasisFactory
Definition raviartthomassimplexinterpolation.hh:113
RTL2InterpolationBuilder(RTL2InterpolationBuilder &&)=delete
OrthonormalBasisFactory< dimension, Field > TestBasisFactory
Definition raviartthomassimplexinterpolation.hh:109
std::size_t order() const
Definition raviartthomassimplexinterpolation.hh:136
static const unsigned int dimension
Definition raviartthomassimplexinterpolation.hh:106
unsigned int topologyId() const
Definition raviartthomassimplexinterpolation.hh:132
~RTL2InterpolationBuilder()
Definition raviartthomassimplexinterpolation.hh:124
An L2-based interpolation for Raviart Thomas.
Definition raviartthomassimplexinterpolation.hh:214
std::size_t order() const
Definition raviartthomassimplexinterpolation.hh:245
RaviartThomasL2Interpolation()
Definition raviartthomassimplexinterpolation.hh:221
void interpolate(typename Base::template Helper< Func, Container, type > &func) const
Definition raviartthomassimplexinterpolation.hh:284
auto interpolate(const Basis &basis, Matrix &matrix) const -> std::enable_if_t< std::is_same< decltype(std::declval< Matrix >().rowPtr(0)), typename Matrix::Field * >::value, void >
Definition raviartthomassimplexinterpolation.hh:236
RTL2InterpolationBuilder< dimension, Field > Builder
Definition raviartthomassimplexinterpolation.hh:220
void build(std::size_t order)
Definition raviartthomassimplexinterpolation.hh:254
auto interpolate(const Function &function, Vector &coefficients) const -> std::enable_if_t< std::is_same< decltype(std::declval< Vector >().resize(1)), void >::value, void >
Definition raviartthomassimplexinterpolation.hh:227
std::size_t size() const
Definition raviartthomassimplexinterpolation.hh:249
void setLocalKeys(std::vector< LocalKey > &keys) const
Definition raviartthomassimplexinterpolation.hh:266
Definition interpolationhelper.hh:20
Definition interpolationhelper.hh:22
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