|
dune-localfunctions 2.11
|
Loading...
Searching...
No Matches
nedelecsimplexinterpolation.hh
Go to the documentation of this file.
3// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
236 testBasis_ = (order > requiredOrder ? TestBasisFactory::template create< geometry >( order-1-requiredOrder ) : nullptr);
271 * TestFaceBasis *faceBasis = ( dim == 3 && order > 0 ? TestFaceBasisFactory::template create< faceGeometry >( order-1 ) : nullptr);
274 * For i.e. Prisms and Pyramids in 3d this does not work because they contain squares and triangles as faces.
278 TestFaceBasis *faceBasis = ( dim == 3 && order > 0 ? Impl::IfGeometryType< CreateFaceBasis, dimension-1 >::apply( refElement.type( i, 1 ), order-1 ) : nullptr);
299 TestEdgeBasis *edgeBasis = Impl::IfGeometryType< CreateEdgeBasis, 1 >::apply( refElement.type( i, dim-1 ), order );
321 static TestEdgeBasis *apply ( std::size_t order ) { return TestEdgeBasisFactory::template create< edgeGeometryId >( order ); }
339 static TestFaceBasis *apply ( std::size_t order ) { return TestFaceBasisFactory::template create< faceGeometryId >( order ); }
size_type dim() const
constexpr Iterator begin()
static const QuadratureRule & rule(const GeometryType &t, int p, QuadratureType::Enum qt=QuadratureType::GaussLegendre)
constexpr unsigned int id() const
Definition nedelecsimplexinterpolation.hh:667
static Object * create(const Key &key)
Definition nedelecsimplexinterpolation.hh:674
const NedelecL2Interpolation< dim, Field > Object
Definition nedelecsimplexinterpolation.hh:669
NedelecL2InterpolationBuilder< dim, Field > Builder
Definition nedelecsimplexinterpolation.hh:668
std::size_t Key
Definition nedelecsimplexinterpolation.hh:670
static bool supports(const Key &key)
Definition nedelecsimplexinterpolation.hh:684
std::remove_const< Object >::type NonConstObject
Definition nedelecsimplexinterpolation.hh:671
static void release(Object *object)
Definition nedelecsimplexinterpolation.hh:689
Definition nedelecsimplexinterpolation.hh:41
LocalCoefficientsContainer(const Setter &setter)
Definition nedelecsimplexinterpolation.hh:46
const LocalKey & localKey(const unsigned int i) const
Definition nedelecsimplexinterpolation.hh:51
std::size_t size() const
Definition nedelecsimplexinterpolation.hh:57
Definition nedelecsimplexinterpolation.hh:73
static Object * create(const Key &key)
Definition nedelecsimplexinterpolation.hh:78
static bool supports(const Key &key)
Definition nedelecsimplexinterpolation.hh:90
const LocalCoefficientsContainer Object
Definition nedelecsimplexinterpolation.hh:75
static void release(Object *object)
Definition nedelecsimplexinterpolation.hh:95
Definition nedelecsimplexinterpolation.hh:114
TestEdgeBasis * testEdgeBasis(unsigned int e) const
Definition nedelecsimplexinterpolation.hh:191
~NedelecL2InterpolationBuilder()
Definition nedelecsimplexinterpolation.hh:141
GeometryType type() const
Definition nedelecsimplexinterpolation.hh:155
OrthonormalBasisFactory< dimension-1, Field, Field, Field > TestFaceBasisFactory
Definition nedelecsimplexinterpolation.hh:122
TestBasisFactory::Object TestBasis
Definition nedelecsimplexinterpolation.hh:119
FieldVector< Field, dimension > Tangent
Definition nedelecsimplexinterpolation.hh:130
TestFaceBasisFactory::Object TestFaceBasis
Definition nedelecsimplexinterpolation.hh:123
TestFaceBasis * testFaceBasis(unsigned int f) const
Definition nedelecsimplexinterpolation.hh:184
TestEdgeBasisFactory::Object TestEdgeBasis
Definition nedelecsimplexinterpolation.hh:127
OrthonormalBasisFactory< dimension, Field, Field, Field > TestBasisFactory
Definition nedelecsimplexinterpolation.hh:118
FieldVector< Field, dimension > Normal
Definition nedelecsimplexinterpolation.hh:133
void build(std::size_t order)
Definition nedelecsimplexinterpolation.hh:216
OrthonormalBasisFactory< 1, Field, Field, Field > TestEdgeBasisFactory
Definition nedelecsimplexinterpolation.hh:126
const FaceTangents & faceTangents(unsigned int f) const
Definition nedelecsimplexinterpolation.hh:203
unsigned int faceSize() const
Definition nedelecsimplexinterpolation.hh:166
TestBasis * testBasis() const
Definition nedelecsimplexinterpolation.hh:178
std::array< FieldVector< Field, dimension >, dim-1 > FaceTangents
Definition nedelecsimplexinterpolation.hh:134
const Tangent & edgeTangent(unsigned int e) const
Definition nedelecsimplexinterpolation.hh:197
NedelecL2InterpolationBuilder(NedelecL2InterpolationBuilder &&)=delete
std::size_t order() const
Definition nedelecsimplexinterpolation.hh:160
unsigned int edgeSize() const
Definition nedelecsimplexinterpolation.hh:172
unsigned int topologyId() const
Definition nedelecsimplexinterpolation.hh:150
NedelecL2InterpolationBuilder(const NedelecL2InterpolationBuilder &)=delete
static const unsigned int dimension
Definition nedelecsimplexinterpolation.hh:115
NedelecL2InterpolationBuilder()=default
const Normal & normal(unsigned int f) const
Definition nedelecsimplexinterpolation.hh:209
An L2-based interpolation for Nedelec.
Definition nedelecsimplexinterpolation.hh:364
Builder::FaceTangents FaceTangents
Definition nedelecsimplexinterpolation.hh:371
std::size_t size() const
Definition nedelecsimplexinterpolation.hh:403
void interpolate(typename Base::template Helper< Func, Container, type > &func) const
Definition nedelecsimplexinterpolation.hh:451
NedelecL2InterpolationBuilder< dimension, Field > Builder
Definition nedelecsimplexinterpolation.hh:370
NedelecL2Interpolation()
Definition nedelecsimplexinterpolation.hh:373
void interpolate(const Function &function, Vector &coefficients) const
Definition nedelecsimplexinterpolation.hh:381
void build(std::size_t order)
Definition nedelecsimplexinterpolation.hh:409
std::size_t order() const
Definition nedelecsimplexinterpolation.hh:399
void setLocalKeys(std::vector< LocalKey > &keys) const
Definition nedelecsimplexinterpolation.hh:426
Definition orthonormalbasis.hh:20
static void release(Object *object)
Definition orthonormalbasis.hh:59
Definition interpolationhelper.hh:21
Definition interpolationhelper.hh:23
Definition polynomialbasis.hh:63
T apply(T... args)
T emplace_back(T... args)
T fill(T... args)
T reserve(T... args)
T resize(T... args)
T size(T... args)
T swap(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8