|
dune-fem 2.12-git
|
Loading...
Searching...
No Matches
p1bubble.hh
Go to the documentation of this file.
63 std::enable_if_t< std::is_same< std::decay_t< decltype( std::declval< const RefElement & >().size( 0 ) ) >, int >::value, int > = 0,
64 std::enable_if_t< std::is_same< std::decay_t< decltype( std::declval< const RefElement & >().type( 0, 0 ) ) >, GeometryType >::value, int > = 0 >
117 phi[ 0 ] *= phi0[ 0 ] / bubbleNormalization(dimDomain); // std::pow( ( dimDomain + 1.0 ), dimDomain + 1.0 );
146 jac0[ 0 ] *= 1.0 / bubbleNormalization(dimDomain); // ::pow( dimDomain + 1.0, dimDomain + 1.0 );
194 DUNE_THROW( NotImplemented, "2DCubeBubbleElementShapeFunctionSet only implemented for dimension = 2." );
296 typedef SimplexBubbleElementShapeFunctionSet< ScalarFunctionSpaceType > ScalarSimplexShapeFunctionSetType;
297 typedef Cube2DBubbleElementShapeFunctionSet< ScalarFunctionSpaceType > ScalarCubeShapeFunctionSetType;
302 typedef VectorialShapeFunctionSet< ScalarShapeFunctionSetType, typename FunctionSpaceType::RangeType > ShapeFunctionSetType;
349 static_assert( TraitsType::topologyId == 0, "p1Bubble interpolation is only implemented for simplicial grids.");
394 : public DiscreteFunctionSpaceDefault< BubbleElementSpaceTraits< FunctionSpace, GridPart, Storage > >
398 typedef DiscreteFunctionSpaceDefault< BubbleElementSpaceTraits< FunctionSpace, GridPart, Storage > > BaseType;
500 struct DifferentDiscreteFunctionSpace< BubbleElementSpace < FunctionSpace, GridPart, Storage >, NewFunctionSpace >
514 typedef EmptyLocalRestrictProlong< BubbleElementSpace< FunctionSpace, GridPart, Storage > > BaseType;
size_type dim() const
virtual void operator()()=0
#define DUNE_THROW(E,...)
CommunicationDirection
InterfaceType
ForwardCommunication
constexpr int bubbleNormalization(int dimDomain)
Definition p1bubble.hh:35
DofMapperCode compile(const RefElement &refElement, const LocalCoefficients &localCoefficients)
Definition compile.hh:50
Definition explicitfieldvector.hh:75
Definition hybrid.hh:86
Definition space/basisfunctionset/default.hh:124
Default communication handler for discrete functions.
Definition defaultcommhandler.hh:38
Definition discretefunctionspace.hh:134
Traits::BasisFunctionSetType BasisFunctionSetType
type of basis function set of this space
Definition discretefunctionspace.hh:201
GridPartType::IntersectionType IntersectionType
type of the intersections
Definition discretefunctionspace.hh:226
This is the class with default implementations for discrete function. The methods not marked with hav...
Definition discretefunctionspace.hh:649
BaseType::EntityType EntityType
Definition discretefunctionspace.hh:665
BaseType::BlockMapperType BlockMapperType
Definition discretefunctionspace.hh:681
BaseType::GridPartType GridPartType
Definition discretefunctionspace.hh:661
GridPartType & gridPart() const
Definition discretefunctionspace.hh:766
FunctionSpaceTraits::DomainFieldType DomainFieldType
Intrinsic type used for values in the domain field (usually a double)
Definition functionspaceinterface.hh:60
FunctionSpaceTraits::RangeType RangeType
Type of range vector (using type of range field) has a Dune::FieldVector type interface.
Definition functionspaceinterface.hh:71
FunctionSpaceTraits::DomainType DomainType
Type of domain vector (using type of domain field) has a Dune::FieldVector type interface.
Definition functionspaceinterface.hh:67
@ dimDomain
dimension of domain vector space
Definition functionspaceinterface.hh:46
@ dimRange
dimension of range vector space
Definition functionspaceinterface.hh:48
Definition common/localrestrictprolong.hh:16
Definition common/localrestrictprolong.hh:107
Definition code.hh:18
Definition indexsetdofmapper.hh:747
Definition localkey.hh:21
Definition p1bubble.hh:39
std::size_t size() const
[Constructor of LocalKey tripple]
Definition p1bubble.hh:49
BubbleElementLocalKeyMap(int vertices)
[Constructor of LocalKey tripple]
Definition p1bubble.hh:41
LocalKey & localKey(std::size_t i)
Definition p1bubble.hh:51
const LocalKey & localKey(std::size_t i) const
Definition p1bubble.hh:52
Definition p1bubble.hh:59
Definition p1bubble.hh:82
FunctionSpace::DomainType DomainType
Definition p1bubble.hh:90
void hessianEach(const Point &x, Functor functor) const
Definition p1bubble.hh:151
SimplexBubbleElementShapeFunctionSet()
Definition p1bubble.hh:96
FunctionSpace FunctionSpaceType
Definition p1bubble.hh:89
std::size_t size() const
Definition p1bubble.hh:164
FunctionSpace::JacobianRangeType JacobianRangeType
Definition p1bubble.hh:93
FunctionSpace::HessianRangeType HessianRangeType
Definition p1bubble.hh:94
void jacobianEach(const Point &x, Functor functor) const
Definition p1bubble.hh:123
FunctionSpace::RangeType RangeType
Definition p1bubble.hh:91
void evaluateEach(const Point &x, Functor functor) const
Definition p1bubble.hh:106
SimplexBubbleElementShapeFunctionSet(const GeometryType >)
Definition p1bubble.hh:99
Definition p1bubble.hh:171
void evaluateEach(const Point &x, Functor functor) const
[Main methods for shape functions]
Definition p1bubble.hh:198
FunctionSpace::HessianRangeType HessianRangeType
Definition p1bubble.hh:183
Cube2DBubbleElementShapeFunctionSet()
[Main methods for shape functions]
Definition p1bubble.hh:186
FunctionSpace::RangeType RangeType
Definition p1bubble.hh:180
FunctionSpace::JacobianRangeType JacobianRangeType
Definition p1bubble.hh:182
void jacobianEach(const Point &x, Functor functor) const
Definition p1bubble.hh:222
std::size_t size() const
Definition p1bubble.hh:261
FunctionSpace FunctionSpaceType
Definition p1bubble.hh:178
FunctionSpace::DomainType DomainType
Definition p1bubble.hh:179
Cube2DBubbleElementShapeFunctionSet(const GeometryType >)
Definition p1bubble.hh:189
void hessianEach(const Point &x, Functor functor) const
Definition p1bubble.hh:248
BaseType::IntersectionType IntersectionType
Definition p1bubble.hh:408
InterpolationType interpolation() const
return local interpolation object for LocalInterpolation
Definition p1bubble.hh:476
BlockMapperType & blockMapper() const
obtain the DoF block mapper of this space
Definition p1bubble.hh:470
BubbleElementSpaceTraits< FunctionSpace, GridPart, Storage > Traits
Definition p1bubble.hh:401
bool continuous(const IntersectionType &intersection) const
returns true if the space contains only globally continuous functions
Definition p1bubble.hh:441
int order() const
get global order of space
Definition p1bubble.hh:448
BubbleElementSpace(GridPartType &gridPart, const InterfaceType commInterface=defaultInterface, const CommunicationDirection commDirection=defaultDirection)
Definition p1bubble.hh:420
BasisFunctionSetType basisFunctionSet(const EntityType &entity) const
Definition p1bubble.hh:462
BaseType::BasisFunctionSetType BasisFunctionSetType
Definition p1bubble.hh:407
static const int polynomialOrder
Definition p1bubble.hh:403
Traits::ShapeFunctionSetType ShapeFunctionSetType
Definition p1bubble.hh:402
static const CommunicationDirection defaultDirection
Definition p1bubble.hh:418
LocalBubbleElementInterpolation< FunctionSpace, GridPart, Storage > InterpolationType
Definition p1bubble.hh:414
int order(const Entity &entity) const
get global order of space
Definition p1bubble.hh:455
BaseType::GridPartType GridPartType
Definition p1bubble.hh:405
InterpolationType interpolation(const EntityType &entity) const
return local interpolation for given entity
Definition p1bubble.hh:487
BaseType::BlockMapperType BlockMapperType
Definition p1bubble.hh:411
bool contains(const int codim) const
Definition p1bubble.hh:432
static const InterfaceType defaultInterface
Definition p1bubble.hh:417
Definition p1bubble.hh:272
DefaultBasisFunctionSet< EntityType, ShapeFunctionSetType > BasisFunctionSetType
Definition p1bubble.hh:304
BubbleElementSpace< FunctionSpace, GridPart, Storage > DiscreteFunctionSpaceType
Definition p1bubble.hh:273
std::conditional< topologyId==0, ScalarSimplexShapeFunctionSetType, ScalarCubeShapeFunctionSetType >::type ScalarShapeFunctionSetType
Definition p1bubble.hh:300
FunctionSpace FunctionSpaceType
Definition p1bubble.hh:275
SimplexBubbleElementShapeFunctionSet< ScalarFunctionSpaceType > ScalarSimplexShapeFunctionSetType
Definition p1bubble.hh:296
static const int polynomialOrder
Definition p1bubble.hh:308
FunctionSpaceType::ScalarFunctionSpaceType ScalarFunctionSpaceType
Definition p1bubble.hh:283
VectorialShapeFunctionSet< ScalarShapeFunctionSetType, typename FunctionSpaceType::RangeType > ShapeFunctionSetType
Definition p1bubble.hh:302
IndexSetDofMapper< GridPartType > BlockMapperType
Definition p1bubble.hh:310
Hybrid::IndexRange< int, FunctionSpaceType::dimRange > LocalBlockIndices
Definition p1bubble.hh:311
static const unsigned int topologyId
Definition p1bubble.hh:292
Cube2DBubbleElementShapeFunctionSet< ScalarFunctionSpaceType > ScalarCubeShapeFunctionSetType
Definition p1bubble.hh:297
Definition p1bubble.hh:315
Operation OperationType
Definition p1bubble.hh:316
DefaultCommunicationHandler< DiscreteFunction, Operation > Type
Definition p1bubble.hh:317
Definition p1bubble.hh:323
LocalBubbleElementInterpolation(LocalBubbleElementInterpolation &&)=default
BubbleElementSpaceTraits< FunctionSpace, GridPart, Storage > TraitsType
Definition p1bubble.hh:324
static const int dimRange
Definition p1bubble.hh:330
static const int dimDomain
Definition p1bubble.hh:329
FunctionSpace::RangeType RangeType
Definition p1bubble.hh:328
void bind(const Entity &entity)
Definition p1bubble.hh:380
FunctionSpace::DomainFieldType DomainFieldType
Definition p1bubble.hh:327
LocalBubbleElementInterpolation()
Definition p1bubble.hh:332
LocalBubbleElementInterpolation(const LocalBubbleElementInterpolation &)=default
FunctionSpace::DomainType DomainType
Definition p1bubble.hh:326
BubbleElementSpace< NewFunctionSpace, GridPart, Storage > Type
Definition p1bubble.hh:502
bool needCommunication() const
Definition p1bubble.hh:598
void restrictFinalize(LFParent &lfParent) const
Definition p1bubble.hh:562
void restrictLocal(LFParent &lfParent, const LFChild &lfChild, const LocalGeometry &geometryInParent, const bool initialize) const
Definition p1bubble.hh:529
DefaultLocalRestrictProlong(const BubbleElementSpace< FunctionSpace, GridPart, Storage > &space)
Definition p1bubble.hh:519
void prolongLocal(const LFParent &lfParent, LFChild &lfChild, const LocalGeometry &geometryInParent, bool initialize) const
Definition p1bubble.hh:574
Definition shapefunctionset/vectorial.hh:447
T forward(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8