peclet-amr 0.2.0
Block-local-Morton AMR octree + collocated cut-cell Navier–Stokes solver (header-only C++20, Kokkos + MPI)
Loading...
Searching...
No Matches
peclet::amr::AmrPoisson< Dim, Bits >::FvAssembled Struct Reference

The assembled FV (weight-CSR) operator: per-face conductance w = A_f/d_f·openness, per-cell invVol and Dirichlet boundary diagonal, in the exact face order forEachFaceNeighbor emits. More...

#include <poisson.hpp>

Public Attributes

std::vector< double > invVol
 1/V_i, size n
 
std::vector< Index > start
 CSR row offsets, size n+1.
 
std::vector< Index > nbr
 neighbour leaf per face, size nFaces
 
std::vector< double > coef
 w = A_f/d_f·openness per face, size nFaces
 
std::vector< double > bcDiag
 Dirichlet boundary diagonal per cell (0 if periodic)
 

Detailed Description

template<int Dim, unsigned Bits = (Dim == 2 ? 32u : (Dim == 3 ? 21u : 16u))>
struct peclet::amr::AmrPoisson< Dim, Bits >::FvAssembled

The assembled FV (weight-CSR) operator: per-face conductance w = A_f/d_f·openness, per-cell invVol and Dirichlet boundary diagonal, in the exact face order forEachFaceNeighbor emits.

This is the single host assembler the device MG build (multigrid.hpp) and the host shared-FV apply both consume — and the form the shared face_csr.hpp kernels run.

Definition at line 467 of file poisson.hpp.

Member Data Documentation

◆ invVol

template<int Dim, unsigned Bits = (Dim == 2 ? 32u : (Dim == 3 ? 21u : 16u))>
std::vector<double> peclet::amr::AmrPoisson< Dim, Bits >::FvAssembled::invVol

1/V_i, size n

Definition at line 468 of file poisson.hpp.

◆ start

template<int Dim, unsigned Bits = (Dim == 2 ? 32u : (Dim == 3 ? 21u : 16u))>
std::vector<Index> peclet::amr::AmrPoisson< Dim, Bits >::FvAssembled::start

CSR row offsets, size n+1.

Definition at line 469 of file poisson.hpp.

Referenced by peclet::amr::AmrPoisson< Dim, Bits >::assembleFv().

◆ nbr

template<int Dim, unsigned Bits = (Dim == 2 ? 32u : (Dim == 3 ? 21u : 16u))>
std::vector<Index> peclet::amr::AmrPoisson< Dim, Bits >::FvAssembled::nbr

neighbour leaf per face, size nFaces

Definition at line 470 of file poisson.hpp.

◆ coef

template<int Dim, unsigned Bits = (Dim == 2 ? 32u : (Dim == 3 ? 21u : 16u))>
std::vector<double> peclet::amr::AmrPoisson< Dim, Bits >::FvAssembled::coef

w = A_f/d_f·openness per face, size nFaces

Definition at line 471 of file poisson.hpp.

◆ bcDiag

template<int Dim, unsigned Bits = (Dim == 2 ? 32u : (Dim == 3 ? 21u : 16u))>
std::vector<double> peclet::amr::AmrPoisson< Dim, Bits >::FvAssembled::bcDiag

Dirichlet boundary diagonal per cell (0 if periodic)

Definition at line 472 of file poisson.hpp.


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