core 1.5.0
Shared MPI block decomposition, asynchronous ghost-layer exchange, SDF geometry, load balancing (header-only C++20)
Loading...
Searching...
No Matches
peclet::core::vof::PvTerm Struct Reference

One stencil cell's PLIC polygon in the PV fit: the parameters of pvFitTerm and pvFitAdd. More...

#include <curvature.hpp>

Public Attributes

double w
 
double B
 
double s [6]
 
bool ok
 

Detailed Description

One stencil cell's PLIC polygon in the PV fit: the parameters of pvFitTerm and pvFitAdd.

Parameters
mx,my,mz,alphathe cell's PLIC plane in ITS OWN unit-cell coordinates (plic.hpp).
offthe cell's integer index offset from the target cell.
orgthe fit's origin (the target cell's PLIC centroid) in target-centred cell units.
t1,t2,nnthe orthonormal frame; nn is the target's unit PLIC normal.
dWWendland support width in cell units.
cosMinreject a polygon whose own normal makes an angle with nn whose cosine is below this. The projection onto the (x',y') plane degenerates as that cosine goes to zero (the plane's ‘z’ = b0 + b1 x' + b2 y'form blows up while its projected area vanishes), and a back-facing polygon would be integrated with the wrong sign ofz'. Jibben's area projection A (n.n_p)` decays to zero over the same range; this is the explicit version of the same guard.

pvFitAdd is the composition of pvFitTerm (the per-polygon map) and pvFitAccum (the += into the normal equations), bitwise (tests/test_vof_pvfit.cpp). The split lets a device fallback evaluate the stencil's terms in parallel and still accumulate them in the canonical order (flow doc/vof_step_performance_design.md §4.7, §5.11).

Definition at line 752 of file curvature.hpp.

Member Data Documentation

◆ w

double peclet::core::vof::PvTerm::w

Definition at line 753 of file curvature.hpp.

◆ B

double peclet::core::vof::PvTerm::B

Definition at line 753 of file curvature.hpp.

◆ s

double peclet::core::vof::PvTerm::s[6]

Definition at line 753 of file curvature.hpp.

◆ ok

bool peclet::core::vof::PvTerm::ok

Definition at line 754 of file curvature.hpp.


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