core 1.5.0
Shared MPI block decomposition, asynchronous ghost-layer exchange, SDF geometry, load balancing (header-only C++20)
Loading...
Searching...
No Matches
coloring.hpp File Reference
#include <cstddef>
#include <vector>
#include "peclet/core/common/types.hpp"
#include "peclet/core/common/view.hpp"

Go to the source code of this file.

Classes

struct  peclet::core::solver::Coloring
 A graph colouring of a face CSR: cells grouped by colour. More...
 

Namespaces

namespace  peclet
 
namespace  peclet::core
 
namespace  peclet::core::solver
 

Functions

Coloring peclet::core::solver::greedyColoring (const std::vector< Index > &start, const std::vector< Index > &nbr, Index n)
 Greedy colouring of the face CSR (start/nbr, host): each cell gets the smallest colour not used by any face neighbour, so cells of one colour share no edge (race-free parallel GS sweep).