|
core
Shared MPI block decomposition + asynchronous ghost-layer exchange (header-only C++20)
|
The assembled linear operator A as a per-cell diagonal + face CSR: (A u)_i = diag[i]·u_i + Σ_{k∈[start[i],start[i+1])} coef[k]·u[nbr[k]]. More...
#include <cut_cell.hpp>
Public Attributes | |
| std::vector< double > | diag |
| size n | |
| std::vector< Index > | start |
| CSR row offsets, size n+1. | |
| std::vector< Index > | nbr |
| neighbour leaf per off-diagonal, size nnz | |
| std::vector< double > | coef |
| off-diagonal coefficient, size nnz | |
The assembled linear operator A as a per-cell diagonal + face CSR: (A u)_i = diag[i]·u_i + Σ_{k∈[start[i],start[i+1])} coef[k]·u[nbr[k]].
Reproduces applyOp exactly (same coefficients): identity on solid rows; the C/F-aware idiag·I − μ∇² on regular fluid cells; the ξ-overlay 6-stencil on cut cells; plus the implicit-FOU advection coupling when buildAdvectionFou has been called. This is the device-portable form of the host operator — upload it once and run a parallel smoother / Krylov over it (momentum.hpp), instead of the serial gaussSeidel.
Definition at line 203 of file cut_cell.hpp.
| std::vector<double> peclet::core::amr::AmrCutCell< Bits >::Assembled::diag |
size n
Definition at line 204 of file cut_cell.hpp.
Referenced by peclet::core::amr::AmrCutCell< Bits >::assembleOperator(), and peclet::core::amr::AmrCutCell< Bits >::hostOp().
| std::vector<Index> peclet::core::amr::AmrCutCell< Bits >::Assembled::start |
CSR row offsets, size n+1.
Definition at line 205 of file cut_cell.hpp.
Referenced by peclet::core::amr::AmrCutCell< Bits >::assembleOperator(), and peclet::core::amr::AmrCutCell< Bits >::hostOp().
| std::vector<Index> peclet::core::amr::AmrCutCell< Bits >::Assembled::nbr |
neighbour leaf per off-diagonal, size nnz
Definition at line 206 of file cut_cell.hpp.
Referenced by peclet::core::amr::AmrCutCell< Bits >::assembleOperator(), and peclet::core::amr::AmrCutCell< Bits >::hostOp().
| std::vector<double> peclet::core::amr::AmrCutCell< Bits >::Assembled::coef |
off-diagonal coefficient, size nnz
Definition at line 207 of file cut_cell.hpp.
Referenced by peclet::core::amr::AmrCutCell< Bits >::assembleOperator(), and peclet::core::amr::AmrCutCell< Bits >::hostOp().