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::detail::SeamReconBuilder< Bits, RegularFn, FluidFn > Struct Template Reference

The record tables of buildSeamRecon under construction: the descriptors (out), the record entries and distances, and the two key caches. More...

#include <seam_recon.hpp>

Public Member Functions

Index sample (Index C, Index F, int axis)
 The tangential-sample record of coarse C at fine F's column (cached, -1 when withheld).
Index layer (Index C, int axis, int dir)
 The fine-layer record of C's (axis, dir) face (cached, -1 when withheld).
void faceSlot (Index i, Index j, int a, int d)
 The descriptor of face slot (i, j, a, d) in forEachFaceFull order.
SeamReconHost pack ()
 Pack the records into the CSR of the result.

Public Attributes

const AmrPoisson< 3, Bits > & ap
RegularFn & regularOk
FluidFn & fluidOk
CfScheme scheme
SeamReconHost out
std::vector< std::vector< detail::ScalarEnt > > rec
std::vector< double > dist
std::map< std::array< Index, 3 >, Index > sampleOf
std::map< std::array< Index, 3 >, Index > layerOf

Detailed Description

template<unsigned Bits, class RegularFn, class FluidFn>
struct peclet::amr::detail::SeamReconBuilder< Bits, RegularFn, FluidFn >

The record tables of buildSeamRecon under construction: the descriptors (out), the record entries and distances, and the two key caches.

Definition at line 116 of file seam_recon.hpp.

Member Function Documentation

◆ sample()

template<unsigned Bits, class RegularFn, class FluidFn>
Index peclet::amr::detail::SeamReconBuilder< Bits, RegularFn, FluidFn >::sample ( Index C,
Index F,
int axis )
inline

The tangential-sample record of coarse C at fine F's column (cached, -1 when withheld).

Definition at line 129 of file seam_recon.hpp.

References ap, peclet::amr::detail::cfAppendStencil(), dist, fluidOk, out, rec, regularOk, sampleOf, and scheme.

Referenced by faceSlot().

◆ layer()

template<unsigned Bits, class RegularFn, class FluidFn>
Index peclet::amr::detail::SeamReconBuilder< Bits, RegularFn, FluidFn >::layer ( Index C,
int axis,
int dir )
inline

The fine-layer record of C's (axis, dir) face (cached, -1 when withheld).

Definition at line 151 of file seam_recon.hpp.

References ap, dist, fluidOk, layerOf, out, rec, regularOk, and peclet::amr::detail::seamFaceLayer().

Referenced by faceSlot().

◆ faceSlot()

template<unsigned Bits, class RegularFn, class FluidFn>
void peclet::amr::detail::SeamReconBuilder< Bits, RegularFn, FluidFn >::faceSlot ( Index i,
Index j,
int a,
int d )
inline

The descriptor of face slot (i, j, a, d) in forEachFaceFull order.

Definition at line 179 of file seam_recon.hpp.

References ap, layer(), out, and sample().

◆ pack()

template<unsigned Bits, class RegularFn, class FluidFn>
SeamReconHost peclet::amr::detail::SeamReconBuilder< Bits, RegularFn, FluidFn >::pack ( )
inline

Pack the records into the CSR of the result.

Definition at line 222 of file seam_recon.hpp.

References dist, out, and rec.

Referenced by peclet::amr::buildSeamRecon().

Member Data Documentation

◆ ap

template<unsigned Bits, class RegularFn, class FluidFn>
const AmrPoisson<3, Bits>& peclet::amr::detail::SeamReconBuilder< Bits, RegularFn, FluidFn >::ap

Definition at line 117 of file seam_recon.hpp.

Referenced by faceSlot(), layer(), and sample().

◆ regularOk

template<unsigned Bits, class RegularFn, class FluidFn>
RegularFn& peclet::amr::detail::SeamReconBuilder< Bits, RegularFn, FluidFn >::regularOk

Definition at line 118 of file seam_recon.hpp.

Referenced by layer(), and sample().

◆ fluidOk

template<unsigned Bits, class RegularFn, class FluidFn>
FluidFn& peclet::amr::detail::SeamReconBuilder< Bits, RegularFn, FluidFn >::fluidOk

Definition at line 119 of file seam_recon.hpp.

Referenced by layer(), and sample().

◆ scheme

template<unsigned Bits, class RegularFn, class FluidFn>
CfScheme peclet::amr::detail::SeamReconBuilder< Bits, RegularFn, FluidFn >::scheme

Definition at line 120 of file seam_recon.hpp.

Referenced by sample().

◆ out

template<unsigned Bits, class RegularFn, class FluidFn>
SeamReconHost peclet::amr::detail::SeamReconBuilder< Bits, RegularFn, FluidFn >::out

Definition at line 121 of file seam_recon.hpp.

Referenced by faceSlot(), layer(), pack(), and sample().

◆ rec

template<unsigned Bits, class RegularFn, class FluidFn>
std::vector<std::vector<detail::ScalarEnt> > peclet::amr::detail::SeamReconBuilder< Bits, RegularFn, FluidFn >::rec

Definition at line 122 of file seam_recon.hpp.

Referenced by layer(), pack(), and sample().

◆ dist

template<unsigned Bits, class RegularFn, class FluidFn>
std::vector<double> peclet::amr::detail::SeamReconBuilder< Bits, RegularFn, FluidFn >::dist

Definition at line 123 of file seam_recon.hpp.

Referenced by layer(), pack(), and sample().

◆ sampleOf

template<unsigned Bits, class RegularFn, class FluidFn>
std::map<std::array<Index, 3>, Index> peclet::amr::detail::SeamReconBuilder< Bits, RegularFn, FluidFn >::sampleOf

Definition at line 126 of file seam_recon.hpp.

Referenced by sample().

◆ layerOf

template<unsigned Bits, class RegularFn, class FluidFn>
std::map<std::array<Index, 3>, Index> peclet::amr::detail::SeamReconBuilder< Bits, RegularFn, FluidFn >::layerOf

Definition at line 126 of file seam_recon.hpp.

Referenced by layer().


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