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::MomSeamRows< Bits, Mom > Struct Template Reference

One overlay row of buildMomSeamDelta: the seam test and the three row parts (raw row, virtual xi row, virtually-clean regular row), appended to the row's entries. More...

#include <ghost_projection_sampled.hpp>

Public Member Functions

bool isSeam (Index i) const
 A row with a different-level (or missing) +-1 neighbour.
void rawRow (Index i, std::vector< ScalarEnt > &ent) const
void virtualRow (Index i, Index r, double sdfC, double sdfNv[6], std::vector< ScalarEnt > &ent) const
void cleanRow (Index i, std::vector< ScalarEnt > &ent) const

Static Public Member Functions

static void push (std::vector< ScalarEnt > &e, Index cell, double w)

Public Attributes

const BlockOctree< 3, Bits > & t
const AmrPoisson< 3, Bits > & pres
const GhostOverlaySampled & ov
const Mom & mom
double idiag
double mu

Detailed Description

template<unsigned Bits, class Mom>
struct peclet::amr::detail::MomSeamRows< Bits, Mom >

One overlay row of buildMomSeamDelta: the seam test and the three row parts (raw row, virtual xi row, virtually-clean regular row), appended to the row's entries.

Definition at line 940 of file ghost_projection_sampled.hpp.

Member Function Documentation

◆ push()

template<unsigned Bits, class Mom>
void peclet::amr::detail::MomSeamRows< Bits, Mom >::push ( std::vector< ScalarEnt > & e,
Index cell,
double w )
inlinestatic

Definition at line 948 of file ghost_projection_sampled.hpp.

Referenced by cleanRow(), rawRow(), and virtualRow().

◆ isSeam()

template<unsigned Bits, class Mom>
bool peclet::amr::detail::MomSeamRows< Bits, Mom >::isSeam ( Index i) const
inline

A row with a different-level (or missing) +-1 neighbour.

Definition at line 954 of file ghost_projection_sampled.hpp.

References mom, pres, and t.

◆ rawRow()

template<unsigned Bits, class Mom>
void peclet::amr::detail::MomSeamRows< Bits, Mom >::rawRow ( Index i,
std::vector< ScalarEnt > & ent ) const
inline
  • raw row / rscale_r (the assembled xi row verbatim).

Definition at line 966 of file ghost_projection_sampled.hpp.

References mom, and push().

◆ virtualRow()

template<unsigned Bits, class Mom>
void peclet::amr::detail::MomSeamRows< Bits, Mom >::virtualRow ( Index i,
Index r,
double sdfC,
double sdfNv[6],
std::vector< ScalarEnt > & ent ) const
inline
  • virtual row / rscale_v: the row-local xi stencil on the overlay's virtual +-1 samples.

Definition at line 978 of file ghost_projection_sampled.hpp.

References idiag, mu, ov, pres, and push().

◆ cleanRow()

template<unsigned Bits, class Mom>
void peclet::amr::detail::MomSeamRows< Bits, Mom >::cleanRow ( Index i,
std::vector< ScalarEnt > & ent ) const
inline
  • the target row of a virtually clean row.

Definition at line 1003 of file ghost_projection_sampled.hpp.

References idiag, mom, mu, and push().

Member Data Documentation

◆ t

template<unsigned Bits, class Mom>
const BlockOctree<3, Bits>& peclet::amr::detail::MomSeamRows< Bits, Mom >::t

Definition at line 941 of file ghost_projection_sampled.hpp.

Referenced by isSeam().

◆ pres

template<unsigned Bits, class Mom>
const AmrPoisson<3, Bits>& peclet::amr::detail::MomSeamRows< Bits, Mom >::pres

Definition at line 942 of file ghost_projection_sampled.hpp.

Referenced by isSeam(), and virtualRow().

◆ ov

template<unsigned Bits, class Mom>
const GhostOverlaySampled& peclet::amr::detail::MomSeamRows< Bits, Mom >::ov

Definition at line 943 of file ghost_projection_sampled.hpp.

Referenced by virtualRow().

◆ mom

template<unsigned Bits, class Mom>
const Mom& peclet::amr::detail::MomSeamRows< Bits, Mom >::mom

Definition at line 944 of file ghost_projection_sampled.hpp.

Referenced by cleanRow(), isSeam(), and rawRow().

◆ idiag

template<unsigned Bits, class Mom>
double peclet::amr::detail::MomSeamRows< Bits, Mom >::idiag

Definition at line 945 of file ghost_projection_sampled.hpp.

Referenced by cleanRow(), and virtualRow().

◆ mu

template<unsigned Bits, class Mom>
double peclet::amr::detail::MomSeamRows< Bits, Mom >::mu

Definition at line 946 of file ghost_projection_sampled.hpp.

Referenced by cleanRow(), and virtualRow().


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