|
dune-localfunctions 2.9.1
|
Loading...
Searching...
No Matches
nedelecsimplexinterpolation.hh
Go to the documentation of this file.
3// SPDX-FileCopyrightInfo: Copyright (C) DUNE Project contributors, see file LICENSE.md in module root
233 testBasis_ = (order > requiredOrder ? TestBasisFactory::template create< geometry >( order-1-requiredOrder ) : nullptr);
268 * TestFaceBasis *faceBasis = ( dim == 3 && order > 0 ? TestFaceBasisFactory::template create< faceGeometry >( order-1 ) : nullptr);
271 * For i.e. Prisms and Pyramids in 3d this does not work because they contain squares and triangles as faces.
275 TestFaceBasis *faceBasis = ( dim == 3 && order > 0 ? Impl::IfGeometryType< CreateFaceBasis, dimension-1 >::apply( refElement.type( i, 1 ), order-1 ) : nullptr);
296 TestEdgeBasis *edgeBasis = Impl::IfGeometryType< CreateEdgeBasis, 1 >::apply( refElement.type( i, dim-1 ), order );
318 static TestEdgeBasis *apply ( std::size_t order ) { return TestEdgeBasisFactory::template create< edgeGeometryId >( order ); }
336 static TestFaceBasis *apply ( std::size_t order ) { return TestFaceBasisFactory::template create< faceGeometryId >( order ); }
377 -> std::enable_if_t< std::is_same< decltype(std::declval<Vector>().resize(1) ),void >::value,void>
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
Definition nedelecsimplexinterpolation.hh:662
static Object * create(const Key &key)
Definition nedelecsimplexinterpolation.hh:669
const NedelecL2Interpolation< dim, Field > Object
Definition nedelecsimplexinterpolation.hh:664
NedelecL2InterpolationBuilder< dim, Field > Builder
Definition nedelecsimplexinterpolation.hh:663
std::size_t Key
Definition nedelecsimplexinterpolation.hh:665
static bool supports(const Key &key)
Definition nedelecsimplexinterpolation.hh:679
std::remove_const< Object >::type NonConstObject
Definition nedelecsimplexinterpolation.hh:666
static void release(Object *object)
Definition nedelecsimplexinterpolation.hh:684
Definition nedelecsimplexinterpolation.hh:38
LocalCoefficientsContainer(const Setter &setter)
Definition nedelecsimplexinterpolation.hh:43
const LocalKey & localKey(const unsigned int i) const
Definition nedelecsimplexinterpolation.hh:48
std::size_t size() const
Definition nedelecsimplexinterpolation.hh:54
Definition nedelecsimplexinterpolation.hh:70
static Object * create(const Key &key)
Definition nedelecsimplexinterpolation.hh:75
static bool supports(const Key &key)
Definition nedelecsimplexinterpolation.hh:87
const LocalCoefficientsContainer Object
Definition nedelecsimplexinterpolation.hh:72
static void release(Object *object)
Definition nedelecsimplexinterpolation.hh:92
Definition nedelecsimplexinterpolation.hh:111
TestEdgeBasis * testEdgeBasis(unsigned int e) const
Definition nedelecsimplexinterpolation.hh:188
~NedelecL2InterpolationBuilder()
Definition nedelecsimplexinterpolation.hh:138
GeometryType type() const
Definition nedelecsimplexinterpolation.hh:152
TestBasisFactory::Object TestBasis
Definition nedelecsimplexinterpolation.hh:116
FieldVector< Field, dimension > Tangent
Definition nedelecsimplexinterpolation.hh:127
TestFaceBasisFactory::Object TestFaceBasis
Definition nedelecsimplexinterpolation.hh:120
TestFaceBasis * testFaceBasis(unsigned int f) const
Definition nedelecsimplexinterpolation.hh:181
TestEdgeBasisFactory::Object TestEdgeBasis
Definition nedelecsimplexinterpolation.hh:124
FieldVector< Field, dimension > Normal
Definition nedelecsimplexinterpolation.hh:130
void build(std::size_t order)
Definition nedelecsimplexinterpolation.hh:213
OrthonormalBasisFactory< dimension, Field > TestBasisFactory
Definition nedelecsimplexinterpolation.hh:115
OrthonormalBasisFactory< dimension-1, Field > TestFaceBasisFactory
Definition nedelecsimplexinterpolation.hh:119
const FaceTangents & faceTangents(unsigned int f) const
Definition nedelecsimplexinterpolation.hh:200
unsigned int faceSize() const
Definition nedelecsimplexinterpolation.hh:163
TestBasis * testBasis() const
Definition nedelecsimplexinterpolation.hh:175
std::array< FieldVector< Field, dimension >, dim-1 > FaceTangents
Definition nedelecsimplexinterpolation.hh:131
OrthonormalBasisFactory< 1, Field > TestEdgeBasisFactory
Definition nedelecsimplexinterpolation.hh:123
const Tangent & edgeTangent(unsigned int e) const
Definition nedelecsimplexinterpolation.hh:194
NedelecL2InterpolationBuilder(NedelecL2InterpolationBuilder &&)=delete
std::size_t order() const
Definition nedelecsimplexinterpolation.hh:157
unsigned int edgeSize() const
Definition nedelecsimplexinterpolation.hh:169
unsigned int topologyId() const
Definition nedelecsimplexinterpolation.hh:147
NedelecL2InterpolationBuilder(const NedelecL2InterpolationBuilder &)=delete
static const unsigned int dimension
Definition nedelecsimplexinterpolation.hh:112
NedelecL2InterpolationBuilder()=default
const Normal & normal(unsigned int f) const
Definition nedelecsimplexinterpolation.hh:206
An L2-based interpolation for Nedelec.
Definition nedelecsimplexinterpolation.hh:361
Builder::FaceTangents FaceTangents
Definition nedelecsimplexinterpolation.hh:368
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 nedelecsimplexinterpolation.hh:376
std::size_t size() const
Definition nedelecsimplexinterpolation.hh:398
void interpolate(typename Base::template Helper< Func, Container, type > &func) const
Definition nedelecsimplexinterpolation.hh:446
NedelecL2InterpolationBuilder< dimension, Field > Builder
Definition nedelecsimplexinterpolation.hh:367
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 nedelecsimplexinterpolation.hh:385
NedelecL2Interpolation()
Definition nedelecsimplexinterpolation.hh:370
void build(std::size_t order)
Definition nedelecsimplexinterpolation.hh:404
std::size_t order() const
Definition nedelecsimplexinterpolation.hh:394
void setLocalKeys(std::vector< LocalKey > &keys) const
Definition nedelecsimplexinterpolation.hh:421
Definition orthonormalbasis.hh:20
static void release(Object *object)
Definition orthonormalbasis.hh:57
Definition interpolationhelper.hh:22
Definition interpolationhelper.hh:24
Definition polynomialbasis.hh:65
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