|
dune-fem 2.12-git
|
Loading...
Searching...
No Matches
nonblockmapper.hh
Go to the documentation of this file.
111 void onSubEntity ( const ElementType &element, int i, int c, std::vector< bool > &indices ) const
127 void onSubEntity ( const ElementType &element, int i, int c, std::vector< char > &indices ) const
146 blockMapper_.mapEachEntityDof( entity, BlockFunctor< Functor >( std::forward< Functor >( f ) ) );
153 mapEachEntityDof( entity, [ &indices ] ( int local, GlobalKeyType global ) { indices[ local ] = global; } );
158 SizeType numDofs ( const ElementType &element ) const { return blockSize * blockMapper_.numDofs( element ); }
161 SizeType numEntityDofs ( const Entity &entity ) const { return blockSize * blockMapper_.numEntityDofs( entity ); }
237 SizeType numberOfHoles ( const int block ) const { return blockSize * blockMapper().numberOfHoles( block ); }
253 SizeType oldOffSet ( const int block ) const { return blockMapper().oldOffSet( block ) * blockSize; }
263 template< class BlockMapper, int blockSize, bool adaptive = Capabilities::isAdaptiveDofMapper< BlockMapper >::v >
302 typedef NonBlockMapper< NonBlockMapper< BlockMapper, innerBlockSize >, outerBlockSize > ThisType;
324 struct isConsecutiveIndexSet< __NonBlockMapper::AdaptiveDofMapper< __NonBlockMapper::Traits< BlockMapper, blockSize > > >
virtual void operator()()=0
#define DUNE_THROW(E,...)
const GlobalIndex & global() const
LocalIndex & local()
specialize with true if index set implements the interface for consecutive index sets
Definition common/indexset.hh:61
static const bool v
Definition common/indexset.hh:68
Definition space/mapper/capabilities.hh:22
static const bool v
Definition space/mapper/capabilities.hh:23
Interface for calculating the size of a function space for a grid on a specified level....
Definition mapper/dofmapper.hh:43
Extended interface for adaptive DoF mappers.
Definition mapper/dofmapper.hh:219
Definition nonblockmapper.hh:284
NonBlockMapper(BlockMapper &blockMapper)
Definition nonblockmapper.hh:289
Definition nonblockmapper.hh:31
BlockMapper::ElementType ElementType
Definition nonblockmapper.hh:35
static const int blockSize
Definition nonblockmapper.hh:39
NonBlockMapper< BlockMapper, bS > DofMapperType
Definition nonblockmapper.hh:32
BlockMapper::GlobalKeyType GlobalKeyType
Definition nonblockmapper.hh:37
BlockMapper BlockMapperType
Definition nonblockmapper.hh:34
BlockMapper::SizeType SizeType
Definition nonblockmapper.hh:36
Definition nonblockmapper.hh:49
DofMapper(BlockMapperType &blockMapper)
Definition nonblockmapper.hh:88
void onSubEntity(const ElementType &element, int i, int c, std::vector< bool > &indices) const
Definition nonblockmapper.hh:111
Traits::GlobalKeyType GlobalKeyType
Definition nonblockmapper.hh:63
void mapEachEntityDof(const Entity &entity, Functor f) const
Definition nonblockmapper.hh:144
SizeType oldOffSet(int) const
Definition nonblockmapper.hh:185
void mapEach(const ElementType &element, Functor f) const
Definition nonblockmapper.hh:99
GlobalKeyType oldIndex(int hole, int) const
Definition nonblockmapper.hh:175
Traits::BlockMapperType BlockMapperType
Definition nonblockmapper.hh:58
SizeType offSet(int) const
Definition nonblockmapper.hh:190
BaseType::Traits Traits
Definition nonblockmapper.hh:56
static constexpr bool consecutive() noexcept
Definition nonblockmapper.hh:163
Traits::ElementType ElementType
Definition nonblockmapper.hh:61
SizeType numDofs(const ElementType &element) const
Definition nonblockmapper.hh:158
int maxNumDofs() const
Definition nonblockmapper.hh:156
SizeType numberOfHoles(int) const
Definition nonblockmapper.hh:170
bool contains(const int codim) const
Definition nonblockmapper.hh:94
void onSubEntity(const ElementType &element, int i, int c, std::vector< char > &indices) const
Definition nonblockmapper.hh:127
SizeType numBlocks() const
Definition nonblockmapper.hh:165
void map(const ElementType &element, std::vector< GlobalKeyType > &indices) const
Definition nonblockmapper.hh:104
bool fixedDataSize(int codim) const
Definition nonblockmapper.hh:96
static const int blockSize
Definition nonblockmapper.hh:59
const BlockMapperType & blockMapper() const
Definition nonblockmapper.hh:195
GlobalKeyType newIndex(int hole, int) const
Definition nonblockmapper.hh:180
void mapEntityDofs(const Entity &entity, std::vector< GlobalKeyType > &indices) const
Definition nonblockmapper.hh:150
Traits::SizeType SizeType
Definition nonblockmapper.hh:62
SizeType numEntityDofs(const Entity &entity) const
Definition nonblockmapper.hh:161
Definition nonblockmapper.hh:210
BaseType::Traits Traits
Definition nonblockmapper.hh:217
SizeType numberOfHoles(const int block) const
Definition nonblockmapper.hh:237
Traits::SizeType SizeType
Definition nonblockmapper.hh:226
SizeType numBlocks() const
Definition nonblockmapper.hh:235
SizeType offSet(const int block) const
Definition nonblockmapper.hh:255
SizeType oldOffSet(const int block) const
Definition nonblockmapper.hh:253
static const int blockSize
Definition nonblockmapper.hh:221
GlobalKeyType oldIndex(const int hole, const int block) const
Definition nonblockmapper.hh:239
Traits::BlockMapperType BlockMapperType
Definition nonblockmapper.hh:219
AdaptiveDofMapper(BlockMapperType &blockMapper)
Definition nonblockmapper.hh:229
Traits::GlobalKeyType GlobalKeyType
Definition nonblockmapper.hh:227
GlobalKeyType newIndex(const int hole, const int block) const
Definition nonblockmapper.hh:246
Traits::ElementType ElementType
Definition nonblockmapper.hh:225
bool consecutive() const
Definition nonblockmapper.hh:233
Definition nonblockmapper.hh:265
std::conditional< adaptive, AdaptiveDofMapper< Traits >, DofMapper< Traits > >::type Type
Definition nonblockmapper.hh:271
Definition nonblockmapper.hh:301
NonBlockMapper(const NonBlockMapper< BlockMapper, innerBlockSize > &blockMapper)
Definition nonblockmapper.hh:306
T forward(T... args)
T resize(T... args)
T size(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8