![]() |
Dune-Fufem 2.11-git
|
Loading...
Searching...
No Matches
elementcoloring.hh
Go to the documentation of this file.
513auto vertexBasedElementAdjacency(const GridView& gridView, const ElementMapper& elementMapper, bool verbose=false)
535 return cliqueListToAdjacency(std::move(vertexCliques).toRange(), elementMapper.size(), verbose);
569 auto elementMapper = Dune::MultipleCodimMultipleGeomTypeMapper<GridView>(gridView, mcmgElementLayout());
599auto subEntityBasedElementAdjacency(const GridView& gridView, const SubEntityLayout& subEntityLayout, const ElementMapper& elementMapper)
603 auto subEntityMapper = Dune::MultipleCodimMultipleGeomTypeMapper<GridView>(gridView, subEntityLayout);
640auto subEntityBasedElementAdjacency(const GridView& gridView, const SubEntityLayout& subEntityLayout)
642 auto elementMapper = Dune::MultipleCodimMultipleGeomTypeMapper<GridView>(gridView, mcmgElementLayout());
672 auto elementMapper = Dune::MultipleCodimMultipleGeomTypeMapper<GridView>(gridView, mcmgElementLayout());
684 return Dune::transformedRangeView(std::move(elementSeedPartition), [seedToElement](const auto& seedRange) {
775 auto elementMapper = Dune::MultipleCodimMultipleGeomTypeMapper<typename Basis::GridView>(basis.gridView(), mcmgElementLayout());
BCRSMatrix< FieldMatrix< T, n, m >, A >::size_type size_type
void seed(const Vertex &vertex)
reference operator[](size_type i)
int size() const
auto transformedRangeView(R &&range, F &&f)
static constexpr IntegralRange< std::decay_t< T > > range(T &&from, U &&to) noexcept
size_type dim() const
size_t() const
constexpr std::integer_sequence< T, II..., T(IN)> push_back(std::integer_sequence< T, II... >, std::integral_constant< T, IN >={})
STL namespace.
auto coloredGridViewPartition(const GridView &gridView, const std::vector< size_type > &coloring)
Compute a colored partition of the elements in the gridView from coloring.
Definition elementcoloring.hh:664
auto subEntityBasedElementAdjacency(const GridView &gridView, const SubEntityLayout &subEntityLayout, const ElementMapper &elementMapper)
Compute a layout based adjacency list.
Definition elementcoloring.hh:599
auto cliqueListToAdjacency(const CliqueList &cliqueList, std::size_t size, bool verbose=false)
Compute an adjacency list from a clique list.
Definition elementcoloring.hh:425
auto vertexBasedElementAdjacency(const GridView &gridView, const ElementMapper &elementMapper, bool verbose=false)
Compute a vertex based adjacency list.
Definition elementcoloring.hh:513
auto computeColoring(const Adjacency &adjacency, SeedNodesContainer &&seedNodes)
Compute a graph coloring from neighboring information.
Definition elementcoloring.hh:222
bool checkOverlapFree(const ElementRange &elementRange, const Basis &basis)
Check if given element range is overlap free.
Definition elementcoloring.hh:771
const Grid & grid() const
MCMGLayout mcmgElementLayout()
void reset() noexcept
double elapsed() const noexcept
T assign(T... args)
T begin(T... args)
T end(T... args)
T endl(T... args)
T find(T... args)
T for_each(T... args)
T forward(T... args)
T max_element(T... args)
T max(T... args)
T push_back(T... args)
T resize(T... args)
T size(T... args)
T sort(T... args)
T unique(T... args)
