dune-pdelab
2.4.1
|
Indicate interleaved ordering of the unknowns of non-leaf grid function spaces according to a given blocking pattern. More...
#include <dune/pdelab/gridfunctionspace/tags.hh>
Public Member Functions | |
InterleavedOrderingTag (std::initializer_list< std::size_t > sizes) | |
Constructs an InterleavedOrderingTag with a block structure given by the initializer list sizes. More... | |
InterleavedOrderingTag (std::vector< std::size_t > sizes) | |
Constructs an InterleavedOrderingTag with a block structure given by the std::vector sizes. More... | |
const std::vector< std::size_t > & | offsets () const |
Returns a list of offsets for the child blocks. More... | |
Indicate interleaved ordering of the unknowns of non-leaf grid function spaces according to a given blocking pattern.
This class instructs the non-leaf GridFunctionSpaces to order the dofs of the child-GridFunctionSpaces in an interleaved manner in the combined dof-vector. The sizes of the individual blocks have to be passed to the constructor of the tag.
|
inline |
Constructs an InterleavedOrderingTag with a block structure given by the initializer list sizes.
If you have a sufficiently recent compiler, this constructor enables a much more readable syntax when creating a GridFunctionSpace. Assuming that GFS is a PowerGridFunctionSpace and VBE its associated vector backend, you can shorten the verbose
to the much shorter and more readable
|
inline |
Constructs an InterleavedOrderingTag with a block structure given by the std::vector sizes.
|
inline |
Returns a list of offsets for the child blocks.
Referenced by Dune::PDELab::interleaved_ordering::Base< DI, CI, CompositeInterleavedOrdering< DI, CI, Children... > >::Base().