|
dune-pdelab 2.8
|
Loading...
Searching...
No Matches
ordering/utility.hh
Go to the documentation of this file.
162 static void store(DOFIndex& dof_index, const GeometryType& gt, SizeType entity_index, SizeType tree_index)
251 virtual void map_index_dynamic(typename Traits::DOFIndexView di, typename Traits::ContainerIndex& ci) const = 0;
Define and register ordering related transformations. This header defines the two transformations gfs...
MultiIndexOrder
Information about order semantics on multi-indices.
Definition ordering/utility.hh:32
@ Inner2Outer
indices are ordered from inner to outer container: {inner,...,outer}
@ Outer2Inner
indices are ordered from outer to inner container: {outer,...,inner}
For backward compatibility – Do not use this!
static constexpr std::size_t index(const GeometryType >)
void push_back(const T &t)
A multi-index representing a degree of freedom in a GridFunctionSpace.
Definition dofindex.hh:148
EntityIndex & entityIndex()
Returns the index of the grid entity associated with the DOF.
Definition dofindex.hh:258
TreeIndex & treeIndex()
Returns the tuple of entity-local indices associated with the DOF.
Definition dofindex.hh:270
Definition simpledofindex.hh:16
Index merging algorithm for global orderings.
Definition ordering/utility.hh:22
@ interleaved
Indices are interleaved according to a user-supplied pattern ([i1,i2],[j1,j2] -> [i1,...
Definition ordering/utility.hh:26
@ lexicographic
Lexicographically ordered ([i1,i2],[j1,j2] -> [i1,i2,j1,j2]).
Definition ordering/utility.hh:25
Definition ordering/utility.hh:64
static std::enable_if< std::is_integral< IndexType >::value >::type store(DOFIndex &dof_index, SizeType gt_index, SizeType entity_index, IndexType tree_index)
Definition ordering/utility.hh:93
static std::size_t entityIndex(const DOFIndex &dof_index)
Definition ordering/utility.hh:151
static std::enable_if<!std::is_integral< IndexType >::value >::type store(DOFIndex &dof_index, const GeometryType >, SizeType entity_index, IndexType tree_index)
Definition ordering/utility.hh:82
static std::enable_if< std::is_integral< IndexType >::value >::type store(DOFIndex &dof_index, const GeometryType >, SizeType entity_index, IndexType tree_index)
Definition ordering/utility.hh:70
static std::enable_if<!std::is_integral< IndexType >::value >::type store(DOFIndex &dof_index, SizeType gt_index, SizeType entity_index, IndexType tree_index)
Definition ordering/utility.hh:105
static std::size_t geometryType(const DOFIndex &dof_index)
Definition ordering/utility.hh:145
Definition ordering/utility.hh:114
static std::size_t entityIndex(const Index &geometry_index)
Definition ordering/utility.hh:123
static void store(Index &index, const GeometryType >, SizeType entity_index)
Definition ordering/utility.hh:129
static std::size_t geometryType(const Index &geometry_index)
Definition ordering/utility.hh:117
static void store(Index &index, SizeType geometry_index, SizeType entity_index)
Definition ordering/utility.hh:136
Definition ordering/utility.hh:159
static void store(DOFIndex &dof_index, const GeometryType >, SizeType entity_index, SizeType tree_index)
Definition ordering/utility.hh:162
Definition ordering/utility.hh:172
CI ContainerIndex
Definition ordering/utility.hh:176
DefaultDOFIndexAccessor DOFIndexAccessor
Definition ordering/utility.hh:180
static constexpr MultiIndexOrder ContainerIndexOrder
Inform about ContainerIndex multi-index order semantics.
Definition ordering/utility.hh:183
SimpleDOFIndex< SizeType_ > DOFIndex
Definition ordering/utility.hh:191
SimpleDOFIndexAccessor DOFIndexAccessor
Definition ordering/utility.hh:197
SizeType_ SizeType
Definition ordering/utility.hh:195
CI ContainerIndex
Definition ordering/utility.hh:193
Definition ordering/utility.hh:205
std::bitset< max_dim > CodimFlag
Definition ordering/utility.hh:211
static const std::size_t max_dim
Definition ordering/utility.hh:209
DI::View::TreeIndex TreeIndexView
Definition ordering/utility.hh:216
Definition ordering/utility.hh:224
typename ES::GridView GridView
Definition ordering/utility.hh:227
Definition ordering/utility.hh:233
DI::EntityIndex EntityIndex
Definition ordering/utility.hh:235
DI::View::EntityIndex EntityIndexView
Definition ordering/utility.hh:236
Definition ordering/utility.hh:243
virtual void map_index_dynamic(typename Traits::DOFIndexView di, typename Traits::ContainerIndex &ci) const =0
virtual ~VirtualOrderingBase()=default
OrderingTraits< DI, CI > Traits
Definition ordering/utility.hh:246
VirtualOrderingBase()
Definition ordering/utility.hh:248
Definition ordering/utility.hh:259
extract_child_bases(std::vector< child_type * > &children)
Definition ordering/utility.hh:280
std::enable_if<!Node::has_dynamic_ordering_children >::type extract_child(const Node &node, Child &child, ChildIndex child_index)
Definition ordering/utility.hh:276
void afterChild(const Node &node, Child &child, TreePath tp, ChildIndex child_index)
Definition ordering/utility.hh:262
std::enable_if< Node::has_dynamic_ordering_children >::type extract_child(const Node &node, Child &child, ChildIndex child_index)
Definition ordering/utility.hh:269
Dummy iterator type over DOF indices.
Definition ordering/utility.hh:301
DummyDOFIndexIterator & operator++()
Definition ordering/utility.hh:305
void push_back(size_type i)
Definition ordering/utility.hh:340
DummyDOFIndexIterator & treeIndex()
Definition ordering/utility.hh:325
DummyDOFIndexIterator & operator*()
Definition ordering/utility.hh:315
bool operator==(const DummyDOFIndexIterator &r) const
Definition ordering/utility.hh:330
std::size_t size_type
Definition ordering/utility.hh:303
DummyDOFIndexIterator & operator+=(size_type i)
Definition ordering/utility.hh:310
bool operator!=(const DummyDOFIndexIterator &r) const
Definition ordering/utility.hh:335
DummyDOFIndexIterator * operator->()
Definition ordering/utility.hh:320
Adapter to create a size provider from an ordering.
Definition ordering/utility.hh:363
ContainerIndex SizePrefix
Partial MultiIndex of a ContainerIndex.
Definition ordering/utility.hh:383
SizeType size(const SizePrefix &prefix) const
Gives the size for a given prefix.
Definition ordering/utility.hh:396
SizeProviderAdapter(const std::shared_ptr< const Ordering > &ordering)
Construct a new Size Provider Adapter object.
Definition ordering/utility.hh:372
Size SizeType
Type that refers to the size of containers.
Definition ordering/utility.hh:386
ContainerIndex_ ContainerIndex
Partial MultiIndex of a ContainerIndex.
Definition ordering/utility.hh:380
static constexpr MultiIndexOrder ContainerIndexOrder
Inform about ContainerIndex multi-index order semantics.
Definition ordering/utility.hh:389
T reverse_copy(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8