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::FaceGeom Struct Reference

#include <face_geom.hpp>

Public Attributes

View< Index > start
 CSR row offsets, size n+1.
 
View< Index > nbr
 neighbour leaf per face, size nFaces
 
View< int > axis
 face axis 0/1/2, size nFaces
 
View< int > dir
 face direction +1/-1, size nFaces
 
View< double > alphaArea
 α·area (physical) per face, size nFaces
 
View< double > rawArea
 raw face area (physical, no openness) per face — advection flux
 
View< double > dist
 face-normal distance (physical) per face, size nFaces
 
View< double > alpha
 openness per face (gradient gate), size nFaces
 
View< Index > upupI
 upstream-of-i probe (periodicNeighbor(i,axis,−dir)) — SOU, size nFaces
 
View< Index > upupJ
 upstream-of-j probe (periodicNeighbor(j,axis,+dir)) — SOU, size nFaces
 
View< double > invVol
 1/V_i per cell, size n
 
View< char > fluid
 per-cell fluid flag, size n
 
Index n = 0
 
View< Index > seam
 descriptor id per face slot, −1 = plain slot; size nFaces
 
View< Index > sampI
 per descriptor: sample record when i is the COARSE cell, else −1
 
View< Index > sampJ
 per descriptor: sample record when j is the COARSE cell, else −1
 
View< Index > uuRecI
 per descriptor: upstream-probe record for up == i, else −1
 
View< Index > uuRecJ
 per descriptor: upstream-probe record for up == j, else −1
 
View< double > d1I
 per descriptor: half width of i along the face axis (physical)
 
View< double > d1J
 per descriptor: half width of j along the face axis (physical)
 
View< Index > recStart
 record CSR offsets, size nRec+1
 
View< double > recDist
 per record: dUU for UPSTREAM use (unused as a φ_U* sample)
 
View< Index > recCell
 record entries: cell slot
 
View< double > recW
 record entries: weight
 

Detailed Description

Definition at line 23 of file face_geom.hpp.

Member Data Documentation

◆ start

◆ nbr

◆ axis

◆ dir

◆ alphaArea

View<double> peclet::amr::FaceGeom::alphaArea

α·area (physical) per face, size nFaces

Definition at line 28 of file face_geom.hpp.

Referenced by peclet::amr::buildFaceGeom(), peclet::amr::divergence(), and peclet::amr::divFaceNorm().

◆ rawArea

View<double> peclet::amr::FaceGeom::rawArea

raw face area (physical, no openness) per face — advection flux

Definition at line 29 of file face_geom.hpp.

Referenced by peclet::amr::advectExplicit(), peclet::amr::buildFaceGeom(), peclet::amr::buildFou(), peclet::amr::deferredSou(), and peclet::amr::AmrFlow< Bits >::faceTopology().

◆ dist

View<double> peclet::amr::FaceGeom::dist

◆ alpha

View<double> peclet::amr::FaceGeom::alpha

openness per face (gradient gate), size nFaces

Definition at line 31 of file face_geom.hpp.

Referenced by peclet::amr::buildFaceGeom(), peclet::amr::AmrFlow< Bits >::faceTopology(), and peclet::amr::grad3().

◆ upupI

View<Index> peclet::amr::FaceGeom::upupI

upstream-of-i probe (periodicNeighbor(i,axis,−dir)) — SOU, size nFaces

Definition at line 32 of file face_geom.hpp.

Referenced by peclet::amr::advectExplicit(), peclet::amr::buildFaceGeom(), peclet::amr::deferredSou(), and peclet::amr::AmrFlow< Bits >::faceTopology().

◆ upupJ

View<Index> peclet::amr::FaceGeom::upupJ

upstream-of-j probe (periodicNeighbor(j,axis,+dir)) — SOU, size nFaces

Definition at line 33 of file face_geom.hpp.

Referenced by peclet::amr::advectExplicit(), peclet::amr::buildFaceGeom(), peclet::amr::deferredSou(), and peclet::amr::AmrFlow< Bits >::faceTopology().

◆ invVol

◆ fluid

◆ n

◆ seam

View<Index> peclet::amr::FaceGeom::seam

descriptor id per face slot, −1 = plain slot; size nFaces

Definition at line 41 of file face_geom.hpp.

Referenced by peclet::amr::AmrFlow< Bits >::faceTopology(), and peclet::amr::makeSeamView().

◆ sampI

View<Index> peclet::amr::FaceGeom::sampI

per descriptor: sample record when i is the COARSE cell, else −1

Definition at line 42 of file face_geom.hpp.

Referenced by peclet::amr::AmrFlow< Bits >::faceTopology(), and peclet::amr::makeSeamView().

◆ sampJ

View<Index> peclet::amr::FaceGeom::sampJ

per descriptor: sample record when j is the COARSE cell, else −1

Definition at line 43 of file face_geom.hpp.

Referenced by peclet::amr::AmrFlow< Bits >::faceTopology(), and peclet::amr::makeSeamView().

◆ uuRecI

View<Index> peclet::amr::FaceGeom::uuRecI

per descriptor: upstream-probe record for up == i, else −1

Definition at line 44 of file face_geom.hpp.

Referenced by peclet::amr::AmrFlow< Bits >::faceTopology(), and peclet::amr::makeSeamView().

◆ uuRecJ

View<Index> peclet::amr::FaceGeom::uuRecJ

per descriptor: upstream-probe record for up == j, else −1

Definition at line 45 of file face_geom.hpp.

Referenced by peclet::amr::AmrFlow< Bits >::faceTopology(), and peclet::amr::makeSeamView().

◆ d1I

View<double> peclet::amr::FaceGeom::d1I

per descriptor: half width of i along the face axis (physical)

Definition at line 46 of file face_geom.hpp.

Referenced by peclet::amr::AmrFlow< Bits >::faceTopology(), and peclet::amr::makeSeamView().

◆ d1J

View<double> peclet::amr::FaceGeom::d1J

per descriptor: half width of j along the face axis (physical)

Definition at line 47 of file face_geom.hpp.

Referenced by peclet::amr::AmrFlow< Bits >::faceTopology(), and peclet::amr::makeSeamView().

◆ recStart

View<Index> peclet::amr::FaceGeom::recStart

record CSR offsets, size nRec+1

Definition at line 48 of file face_geom.hpp.

Referenced by peclet::amr::AmrFlow< Bits >::faceTopology(), and peclet::amr::makeSeamView().

◆ recDist

View<double> peclet::amr::FaceGeom::recDist

per record: dUU for UPSTREAM use (unused as a φ_U* sample)

Definition at line 49 of file face_geom.hpp.

Referenced by peclet::amr::AmrFlow< Bits >::faceTopology(), and peclet::amr::makeSeamView().

◆ recCell

View<Index> peclet::amr::FaceGeom::recCell

record entries: cell slot

Definition at line 50 of file face_geom.hpp.

Referenced by peclet::amr::AmrFlow< Bits >::faceTopology(), and peclet::amr::makeSeamView().

◆ recW

View<double> peclet::amr::FaceGeom::recW

record entries: weight

Definition at line 51 of file face_geom.hpp.

Referenced by peclet::amr::AmrFlow< Bits >::faceTopology(), and peclet::amr::makeSeamView().


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