|
dune-localfunctions 2.9.1
|
Loading...
Searching...
No Matches
raviartthomassimplexinterpolation.hh
Go to the documentation of this file.
3// SPDX-FileCopyrightInfo: Copyright (C) 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
144 TestFaceBasis *testFaceBasis ( unsigned int f ) const { assert( f < faceSize() ); return faceStructure_[ f ].basis_; }
147 const Normal &normal ( unsigned int f ) const { assert( f < faceSize() ); return *(faceStructure_[ f ].normal_); }
170 * For i.e. Prisms and Pyramids in 3d this does not work because they contain squares and triangles as faces.
174 TestFaceBasis *faceBasis = Impl::toGeometryTypeIdConstant<dimension-1>(refElement.type( face, 1 ), [&](auto faceGeometryTypeId) {
227 -> std::enable_if_t< std::is_same< decltype(std::declval<Vector>().resize(1) ),void >::value,void>
446#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 bool isSimplex() const
Definition nedelecsimplexinterpolation.hh:38
LocalCoefficientsContainer(const Setter &setter)
Definition nedelecsimplexinterpolation.hh:43
const LocalKey & localKey(const unsigned int i) const
Definition raviartthomassimplexinterpolation.hh:48
std::size_t size() const
Definition nedelecsimplexinterpolation.hh:54
Definition orthonormalbasis.hh:20
static void release(Object *object)
Definition orthonormalbasis.hh:57
Definition raviartthomassimplexinterpolation.hh:421
std::remove_const< Object >::type NonConstObject
Definition raviartthomassimplexinterpolation.hh:425
static void release(Object *object)
Definition raviartthomassimplexinterpolation.hh:441
static bool supports(const Key &key)
Definition raviartthomassimplexinterpolation.hh:437
static Object * create(const Key &key)
Definition raviartthomassimplexinterpolation.hh:428
RTL2InterpolationBuilder< dim, Field > Builder
Definition raviartthomassimplexinterpolation.hh:422
const RaviartThomasL2Interpolation< dim, Field > Object
Definition raviartthomassimplexinterpolation.hh:423
std::size_t Key
Definition raviartthomassimplexinterpolation.hh:424
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:141
FieldVector< Field, dimension > Normal
Definition raviartthomassimplexinterpolation.hh:119
TestBasisFactory::Object TestBasis
Definition raviartthomassimplexinterpolation.hh:112
TestFaceBasisFactory::Object TestFaceBasis
Definition raviartthomassimplexinterpolation.hh:116
unsigned int faceSize() const
Definition raviartthomassimplexinterpolation.hh:138
void build(std::size_t order)
Definition raviartthomassimplexinterpolation.hh:150
RTL2InterpolationBuilder()=default
TestFaceBasis * testFaceBasis(unsigned int f) const
Definition raviartthomassimplexinterpolation.hh:144
GeometryType type() const
Definition raviartthomassimplexinterpolation.hh:133
const Normal & normal(unsigned int f) const
Definition raviartthomassimplexinterpolation.hh:147
RTL2InterpolationBuilder(const RTL2InterpolationBuilder &)=delete
OrthonormalBasisFactory< dimension-1, Field > TestFaceBasisFactory
Definition raviartthomassimplexinterpolation.hh:115
RTL2InterpolationBuilder(RTL2InterpolationBuilder &&)=delete
OrthonormalBasisFactory< dimension, Field > TestBasisFactory
Definition raviartthomassimplexinterpolation.hh:111
std::size_t order() const
Definition raviartthomassimplexinterpolation.hh:135
static const unsigned int dimension
Definition raviartthomassimplexinterpolation.hh:108
~RTL2InterpolationBuilder()
Definition raviartthomassimplexinterpolation.hh:126
An L2-based interpolation for Raviart Thomas.
Definition raviartthomassimplexinterpolation.hh:213
std::size_t order() const
Definition raviartthomassimplexinterpolation.hh:244
RaviartThomasL2Interpolation()
Definition raviartthomassimplexinterpolation.hh:220
void interpolate(typename Base::template Helper< Func, Container, type > &func) const
Definition raviartthomassimplexinterpolation.hh:283
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:235
RTL2InterpolationBuilder< dimension, Field > Builder
Definition raviartthomassimplexinterpolation.hh:219
void build(std::size_t order)
Definition raviartthomassimplexinterpolation.hh:253
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:226
std::size_t size() const
Definition raviartthomassimplexinterpolation.hh:248
void setLocalKeys(std::vector< LocalKey > &keys) const
Definition raviartthomassimplexinterpolation.hh:265
Definition interpolationhelper.hh:22
Definition interpolationhelper.hh:24
Definition polynomialbasis.hh:65
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