core
Shared MPI block decomposition + asynchronous ghost-layer exchange (header-only C++20)
Loading...
Searching...
No Matches
peclet::core::amr::CsrFillSink Struct Reference

Sink passed to the emit functor during the FILL pass: writes each face into the cell's own slice [start_i, start_{i+1}) at the running cursor k (no atomics — deterministic). More...

#include <csr.hpp>

Public Member Functions

void operator() (Index j, double c)
 

Public Attributes

View< Indexnbr
 
View< doublecoef
 
Index k = 0
 

Detailed Description

Sink passed to the emit functor during the FILL pass: writes each face into the cell's own slice [start_i, start_{i+1}) at the running cursor k (no atomics — deterministic).

Definition at line 38 of file csr.hpp.

Member Function Documentation

◆ operator()()

void peclet::core::amr::CsrFillSink::operator() ( Index  j,
double  c 
)
inline

Definition at line 42 of file csr.hpp.

References coef, k, and nbr.

Member Data Documentation

◆ nbr

View<Index> peclet::core::amr::CsrFillSink::nbr

Definition at line 39 of file csr.hpp.

Referenced by operator()().

◆ coef

View<double> peclet::core::amr::CsrFillSink::coef

Definition at line 40 of file csr.hpp.

Referenced by operator()().

◆ k

Index peclet::core::amr::CsrFillSink::k = 0

Definition at line 41 of file csr.hpp.

Referenced by operator()().


The documentation for this struct was generated from the following file: