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

Level-0 mass m = kappa idt on unknowns, 0 elsewhere (read by restrictAvgCell). More...

#include <scalar_mg.hpp>

Public Member Functions

double operator() (long i) const
 

Public Attributes

CCConst kappa
 
CCConst unk
 
CCConst out
 
double idt = 0.0
 
bool hasOut = false
 

Detailed Description

Level-0 mass m = kappa idt on unknowns, 0 elsewhere (read by restrictAvgCell).

Under advection (WO-5) the lumped implicit outflow of §4.3 rides on it: m = kappa idt + omega, so its restrictAvg IS §5.2's "lumped outflow: restrictAvg of the level-0 per-cell field" (both are plain child averages). hasOut false is the WO-4 expression verbatim.

Definition at line 99 of file scalar_mg.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 103 of file scalar_mg.hpp.

References hasOut, idt, kappa, out, and unk.

Member Data Documentation

◆ kappa

CCConst peclet::flow::smg::MassField::kappa

Definition at line 100 of file scalar_mg.hpp.

Referenced by operator()().

◆ unk

CCConst peclet::flow::smg::MassField::unk

Definition at line 100 of file scalar_mg.hpp.

Referenced by operator()().

◆ out

CCConst peclet::flow::smg::MassField::out

Definition at line 100 of file scalar_mg.hpp.

Referenced by operator()().

◆ idt

double peclet::flow::smg::MassField::idt = 0.0

Definition at line 101 of file scalar_mg.hpp.

Referenced by operator()().

◆ hasOut

bool peclet::flow::smg::MassField::hasOut = false

Definition at line 102 of file scalar_mg.hpp.

Referenced by operator()().


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