3#ifndef DUNE_PDELAB_BACKEND_ISTL_DESCRIPTORS_HH
4#define DUNE_PDELAB_BACKEND_ISTL_DESCRIPTORS_HH
6#include <dune/pdelab/backend/interface.hh>
7#include <dune/pdelab/backend/istl/forwarddeclarations.hh>
8#include <dune/pdelab/backend/istl/matrixhelpers.hh>
9#include <dune/pdelab/backend/istl/utility.hh>
17 constexpr bool deactivate_standard_blocking_for_ordering(
const T&)
46 template<Blocking blocking = Blocking::none, std::
size_t block_size_ = 0>
52 using size_type = std::size_t;
54 static const size_type blockSize = block_size_;
58 static const Blocking block_type = blocking;
59 static const size_type block_size = block_size_;
61 static const bool blocked = blocking != Blocking::none;
63 static const size_type max_blocking_depth = blocked ? 1 : 0;
66 template<
typename GFS>
67 bool blocked(
const GFS& gfs)
const
69 if (deactivate_standard_blocking_for_ordering(gfs.orderingTag()))
79 return Traits::blocked && (blocking != Blocking::fixed || !GFS::isLeaf || block_size_ > 1 || block_size_ == 0);
constexpr GeometryType none(unsigned int dim)
Returns a GeometryType representing a singular of dimension dim.
Definition: type.hh:471
Dune namespace.
Definition: alignedallocator.hh:13
Tag describing an ISTL BlockVector backend.
Definition: descriptors.hh:44