|
core 1.5.0
Shared MPI block decomposition, asynchronous ghost-layer exchange, SDF geometry, load balancing (header-only C++20)
|
Assembled momentum operator on the device: (A u)_i = diag_i u_i + Σ coef·u[nbr], with an optional implicit-FOU advection part (rebuilt each step from the lagged velocity): a per-cell outflow diagonal advDiag + per-face inflow coefficients over a second (face-geometry) CSR.
More...
#include <csr_operator.hpp>
Public Attributes | |
| View< double > | diag |
| size n | |
| View< Index > | faceStart |
| CSR row offsets, size n+1. | |
| View< Index > | faceNbr |
| neighbour leaf per off-diagonal, size nnz | |
| View< double > | faceCoef |
| off-diagonal coefficient, size nnz | |
| Index | n = 0 |
| bool | hasAdv = false |
| View< double > | advDiag |
| per-cell outflow (diagonal) advection weight, size n | |
| View< Index > | advStart |
| face-geom CSR row offsets, size n+1 | |
| View< Index > | advNbr |
| face-geom neighbour per face, size nFaces | |
| View< double > | advCoef |
| per-face inflow advection coefficient (0 on outflow/solid faces) | |
Assembled momentum operator on the device: (A u)_i = diag_i u_i + Σ coef·u[nbr], with an optional implicit-FOU advection part (rebuilt each step from the lagged velocity): a per-cell outflow diagonal advDiag + per-face inflow coefficients over a second (face-geometry) CSR.
hasAdv=false ⇒ the pure cut-cell operator, bit-exact unchanged.
Definition at line 32 of file csr_operator.hpp.
size n
Definition at line 33 of file csr_operator.hpp.
| View<Index> peclet::core::solver::MomentumOp::faceStart |
CSR row offsets, size n+1.
Definition at line 34 of file csr_operator.hpp.
| View<Index> peclet::core::solver::MomentumOp::faceNbr |
neighbour leaf per off-diagonal, size nnz
Definition at line 35 of file csr_operator.hpp.
off-diagonal coefficient, size nnz
Definition at line 36 of file csr_operator.hpp.
| Index peclet::core::solver::MomentumOp::n = 0 |
Definition at line 37 of file csr_operator.hpp.
Definition at line 39 of file csr_operator.hpp.
per-cell outflow (diagonal) advection weight, size n
Definition at line 40 of file csr_operator.hpp.
| View<Index> peclet::core::solver::MomentumOp::advStart |
face-geom CSR row offsets, size n+1
Definition at line 41 of file csr_operator.hpp.
| View<Index> peclet::core::solver::MomentumOp::advNbr |
face-geom neighbour per face, size nFaces
Definition at line 42 of file csr_operator.hpp.
per-face inflow advection coefficient (0 on outflow/solid faces)
Definition at line 43 of file csr_operator.hpp.