core
Shared MPI block decomposition + asynchronous ghost-layer exchange (header-only C++20)
Loading...
Searching...
No Matches
peclet::core::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< doubleinvVol
 1/V_i, size n
 
std::vector< Indexstart
 CSR row offsets, size n+1.
 
std::vector< Indexnbr
 neighbour leaf per face, size nFaces
 
std::vector< doublecoef
 w = A_f/d_f·openness per face, size nFaces
 
std::vector< doublebcDiag
 Dirichlet boundary diagonal per cell (0 if periodic)
 

Detailed Description

template<int Dim, unsigned Bits = (Dim == 2 ? 32u : (Dim == 3 ? 21u : 16u))>
struct peclet::core::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 355 of file poisson.hpp.

Member Data Documentation

◆ invVol

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

◆ start

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

◆ nbr

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

neighbour leaf per face, size nFaces

Definition at line 358 of file poisson.hpp.

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

◆ coef

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

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

Definition at line 359 of file poisson.hpp.

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

◆ bcDiag

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

Dirichlet boundary diagonal per cell (0 if periodic)

Definition at line 360 of file poisson.hpp.

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


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