CutFraction Struct ReferenceΒΆ
|
adc_cpp 0.3.0
Model-free C++23 core for coupled hyperbolic-elliptic systems on adaptive (AMR) meshes, with MPI and GPU (Kokkos) backends
|
Geometric result of crossing a cut cell: 4 cut distances per face, the 4 apertures alpha_f normalized in [0, 1] (alpha_f = face_distance / h), and the volume fraction kappa of the cell (share of the cell in the active domain). More...
#include <cut_fraction.hpp>
Collaboration diagram for pops::detail::CutFraction:Public Attributes | |
| Real | axm |
| cut distance of face x- (toward i-1), in [1e-3*dx, dx] | |
| Real | axp |
| cut distance of face x+ (toward i+1) | |
| Real | aym |
| cut distance of face y- (toward j-1) | |
| Real | ayp |
| cut distance of face y+ (toward j+1) | |
| Real | alpha_xm |
| aperture of face x- = axm / dx, in [1e-3, 1] | |
| Real | alpha_xp |
| aperture of face x+ = axp / dx | |
| Real | alpha_ym |
| aperture of face y- = aym / dy | |
| Real | alpha_yp |
| aperture of face y+ = ayp / dy | |
| Real | kappa |
| volume fraction of the cell (share in the active domain), in (0, 1] | |
Detailed Description
Geometric result of crossing a cut cell: 4 cut distances per face, the 4 apertures alpha_f normalized in [0, 1] (alpha_f = face_distance / h), and the volume fraction kappa of the cell (share of the cell in the active domain).
axm/axp carry the x direction (neighbors i-1 / i+1), aym/ayp the y direction (neighbors j-1 / j+1).
alpha_f and kappa are the quantities that the EB TRANSPORT will consume (face flux attenuated by alpha_f, cell volume kappa); axm/axp/aym/ayp are what the ELLIPTIC already consumes for the Shortley-Weller weights. Everything is derived from the SAME cut_distance -> bit-for-bit consistency.
Member Data Documentation
◆ alpha_xm
| Real pops::detail::CutFraction::alpha_xm |
aperture of face x- = axm / dx, in [1e-3, 1]
◆ alpha_xp
| Real pops::detail::CutFraction::alpha_xp |
aperture of face x+ = axp / dx
◆ alpha_ym
| Real pops::detail::CutFraction::alpha_ym |
aperture of face y- = aym / dy
◆ alpha_yp
| Real pops::detail::CutFraction::alpha_yp |
aperture of face y+ = ayp / dy
◆ axm
| Real pops::detail::CutFraction::axm |
cut distance of face x- (toward i-1), in [1e-3*dx, dx]
◆ axp
| Real pops::detail::CutFraction::axp |
cut distance of face x+ (toward i+1)
◆ aym
| Real pops::detail::CutFraction::aym |
cut distance of face y- (toward j-1)
◆ ayp
| Real pops::detail::CutFraction::ayp |
cut distance of face y+ (toward j+1)
◆ kappa
| Real pops::detail::CutFraction::kappa |
volume fraction of the cell (share in the active domain), in (0, 1]
The documentation for this struct was generated from the following file:
- include/pops/numerics/elliptic/eb/cut_fraction.hpp
Generated by