flow 1.3.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
peclet::flow::smg::GuardedPart Struct Reference

Level-0 guarded positive part of the signed low-face flux: P(i) = max(sgn phi_a(i), 0) when cells i - st and i are both fluid unknowns (advectionBands' implicit-coupling predicate in steady mode), else 0. More...

#include <scalar_mg.hpp>

Public Member Functions

double operator() (long i) const
 

Public Attributes

CCConst phi
 
CCConst unk
 
long st = 1
 
double sgn = 1.0
 

Detailed Description

Level-0 guarded positive part of the signed low-face flux: P(i) = max(sgn phi_a(i), 0) when cells i - st and i are both fluid unknowns (advectionBands' implicit-coupling predicate in steady mode), else 0.

sgn = +1: the flow toward +a (Qp); -1: toward -a (Qm). Read by coarsenOpenAvgCell (the GuardedProduct pattern).

Definition at line 376 of file scalar_mg.hpp.

Member Function Documentation

◆ operator()()

double peclet::flow::smg::GuardedPart::operator() ( long  i) const
inline

Definition at line 380 of file scalar_mg.hpp.

References phi, sgn, st, and unk.

Member Data Documentation

◆ phi

CCConst peclet::flow::smg::GuardedPart::phi

Definition at line 377 of file scalar_mg.hpp.

Referenced by operator()().

◆ unk

CCConst peclet::flow::smg::GuardedPart::unk

Definition at line 377 of file scalar_mg.hpp.

Referenced by operator()().

◆ st

long peclet::flow::smg::GuardedPart::st = 1

Definition at line 378 of file scalar_mg.hpp.

Referenced by operator()().

◆ sgn

double peclet::flow::smg::GuardedPart::sgn = 1.0

Definition at line 379 of file scalar_mg.hpp.

Referenced by operator()().


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