core 1.5.0
Shared MPI block decomposition, asynchronous ghost-layer exchange, SDF geometry, load balancing (header-only C++20)
Loading...
Searching...
No Matches
peclet::core::solver::MomentumOp Struct Reference

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)
 

Detailed Description

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.

Member Data Documentation

◆ diag

View<double> peclet::core::solver::MomentumOp::diag

size n

Definition at line 33 of file csr_operator.hpp.

◆ faceStart

View<Index> peclet::core::solver::MomentumOp::faceStart

CSR row offsets, size n+1.

Definition at line 34 of file csr_operator.hpp.

◆ faceNbr

View<Index> peclet::core::solver::MomentumOp::faceNbr

neighbour leaf per off-diagonal, size nnz

Definition at line 35 of file csr_operator.hpp.

◆ faceCoef

View<double> peclet::core::solver::MomentumOp::faceCoef

off-diagonal coefficient, size nnz

Definition at line 36 of file csr_operator.hpp.

◆ n

Index peclet::core::solver::MomentumOp::n = 0

Definition at line 37 of file csr_operator.hpp.

◆ hasAdv

bool peclet::core::solver::MomentumOp::hasAdv = false

Definition at line 39 of file csr_operator.hpp.

◆ advDiag

View<double> peclet::core::solver::MomentumOp::advDiag

per-cell outflow (diagonal) advection weight, size n

Definition at line 40 of file csr_operator.hpp.

◆ advStart

View<Index> peclet::core::solver::MomentumOp::advStart

face-geom CSR row offsets, size n+1

Definition at line 41 of file csr_operator.hpp.

◆ advNbr

View<Index> peclet::core::solver::MomentumOp::advNbr

face-geom neighbour per face, size nFaces

Definition at line 42 of file csr_operator.hpp.

◆ advCoef

View<double> peclet::core::solver::MomentumOp::advCoef

per-face inflow advection coefficient (0 on outflow/solid faces)

Definition at line 43 of file csr_operator.hpp.


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