|
dune-pdelab 2.10-git
|
Loading...
Searching...
No Matches
directleaflocalordering.hh
Go to the documentation of this file.
109 typename Traits::SizeType size(const typename Traits::SizeType geometry_type_index, const typename Traits::SizeType entity_index) const
123 typename Traits::SizeType size(const typename Traits::SizeType geometry_type_index, const typename Traits::SizeType entity_index, const typename Traits::SizeType child_index) const
128 typename Traits::SizeType offset(const typename Traits::SizeType geometry_type_index, const typename Traits::SizeType entity_index, const typename Traits::SizeType child_index) const
212 void collect_used_geometry_types_from_cell(const typename Traits::GridView::template Codim<0>::Entity& cell)
218 using CommonSizeType = std::common_type_t<typename Traits::SizeType, std::decay_t<decltype(coeffs.size())>>;
221 auto ref_el = ReferenceElements<typename Traits::GridView::ctype,Traits::GridView::dimension>::general(cell.type());
242 std::partial_sum(_gt_entity_offsets.begin(),_gt_entity_offsets.end(),_gt_entity_offsets.begin());
250 void extract_per_entity_sizes_from_cell(const typename Traits::GridView::template Codim<0>::Entity& cell)
261 auto ref_el = ReferenceElements<typename Traits::GridView::ctype,Traits::GridView::dimension>::general(cell.type());
271 _local_gt_dof_sizes[geometry_type_index] = _entity_dof_offsets[index+1] = std::max(_entity_dof_offsets[index+1],static_cast<size_type>(key.index() + 1));
306 std::partial_sum(_entity_dof_offsets.begin(),_entity_dof_offsets.end(),_entity_dof_offsets.begin());
320 bool update_gfs_data_size(typename Traits::SizeType& size, typename Traits::SizeType& block_count) const
BCRSMatrix< FieldMatrix< T, n, m >, A >::size_type size_type
int size() const
iterator end()
iterator begin()
bool gt(const T &first, const T &second, typename EpsilonType< T >::Type epsilon=DefaultEpsilon< T, style >::value())
#define DUNE_THROW(E,...)
size_t() const
STL namespace.
For backward compatibility – Do not use this!
GeometryType
static constexpr std::size_t index(const GeometryType >)
static constexpr std::size_t size(std::size_t maxdim)
static const Coefficients & coefficients(const FiniteElement &fe)
FiniteElement::Traits::Coefficients Coefficients
Definition directleaflocalordering.hh:29
Traits::SizeType offset(const typename Traits::SizeType geometry_type_index, const typename Traits::SizeType entity_index, const typename Traits::SizeType child_index) const
Definition directleaflocalordering.hh:128
DirectLeafLocalOrdering(const std::shared_ptr< const FEM > &fem, const ES &es)
Definition directleaflocalordering.hh:134
Traits::CodimFlag _codim_used
Definition directleaflocalordering.hh:335
void map_local_index(const typename Traits::SizeType geometry_type_index, const typename Traits::SizeType entity_index, typename Traits::TreeIndexView mi, typename Traits::ContainerIndex &ci) const
Definition directleaflocalordering.hh:50
std::vector< bool > _gt_used
Definition directleaflocalordering.hh:337
bool _fixed_size
Definition directleaflocalordering.hh:330
std::vector< typename Traits::SizeType > _gt_dof_sizes
Definition directleaflocalordering.hh:340
std::vector< typename Traits::SizeType > _entity_dof_offsets
Definition directleaflocalordering.hh:341
void map_lfs_indices(const ItIn begin, const ItIn end, ItOut out) const
Definition directleaflocalordering.hh:59
Traits::CodimFlag _codim_fixed_size
Definition directleaflocalordering.hh:336
std::vector< typename Traits::SizeType > _gt_entity_offsets
Definition directleaflocalordering.hh:339
Traits::SizeType size(const typename Traits::SizeType geometry_type_index, const typename Traits::SizeType entity_index, const typename Traits::SizeType child_index) const
Definition directleaflocalordering.hh:123
std::shared_ptr< const FEM > _fem
Definition directleaflocalordering.hh:327
bool _fixed_size_possible
Definition directleaflocalordering.hh:331
const FEM & finiteElementMap() const
Definition directleaflocalordering.hh:147
GFSData * _gfs_data
Definition directleaflocalordering.hh:346
const bool _container_blocked
Definition directleaflocalordering.hh:333
Traits::SizeType size(const typename Traits::DOFIndex::EntityIndex &index) const
Definition directleaflocalordering.hh:101
Traits::SizeType _max_local_size
Definition directleaflocalordering.hh:332
LocalOrderingTraits< ES, DI, CI > Traits
Definition directleaflocalordering.hh:42
Traits::SizeType extract_entity_indices(const typename Traits::DOFIndex::EntityIndex &ei, typename Traits::SizeType child_index, CIOutIterator ci_out, const CIOutIterator ci_end, DIOutIterator di_out=DIOutIterator()) const
Definition directleaflocalordering.hh:66
const Traits::EntitySet & entitySet() const
Definition directleaflocalordering.hh:142
Traits::SizeType size(const typename Traits::SizeType geometry_type_index, const typename Traits::SizeType entity_index) const
Definition directleaflocalordering.hh:109
Traits::SizeType size(const typename Traits::ContainerIndex &suffix, const typename Traits::DOFIndex::EntityIndex &index) const
Returns the size for a given suffix.
Definition directleaflocalordering.hh:92
std::vector< typename Traits::SizeType > _local_gt_dof_sizes
Definition directleaflocalordering.hh:342
Gridview ordering for leaf spaces.
Definition leafgridviewordering.hh:20
Generic infrastructure for orderings for leaf spaces.
Definition leaforderingbase.hh:27
CI ContainerIndex
Definition ordering/utility.hh:176
DI::View::TreeIndex TreeIndexView
Definition ordering/utility.hh:216
Definition ordering/utility.hh:224
T assign(T... args)
T back(T... args)
T begin(T... args)
T end(T... args)
T fill(T... args)
T max(T... args)
T partial_sum(T... args)
T reset(T... args)
T resize(T... args)
T set(T... args)
T size(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8