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

Level-0 guarded face product Lam a (no metric weight): the face between cell i - st and cell i carries Lam a only when both are unknowns (sco::buildBands' guard). More...

#include <scalar_mg.hpp>

Public Member Functions

double operator() (long i) const
 

Public Attributes

CCConst ap
 
CCConst unk
 
double lam = 0.0
 
long st = 1
 

Detailed Description

Level-0 guarded face product Lam a (no metric weight): the face between cell i - st and cell i carries Lam a only when both are unknowns (sco::buildBands' guard).

A read-only view-like functor, so coarsenOpenAvgCell coarsens it without a materialized level-0 field.

Definition at line 86 of file scalar_mg.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 90 of file scalar_mg.hpp.

References ap, lam, st, and unk.

Member Data Documentation

◆ ap

CCConst peclet::flow::smg::GuardedProduct::ap

Definition at line 87 of file scalar_mg.hpp.

Referenced by operator()().

◆ unk

CCConst peclet::flow::smg::GuardedProduct::unk

Definition at line 87 of file scalar_mg.hpp.

Referenced by operator()().

◆ lam

double peclet::flow::smg::GuardedProduct::lam = 0.0

Definition at line 88 of file scalar_mg.hpp.

Referenced by operator()(), and anderson_synthetic_maps.LinearMapSolver::step().

◆ st

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

Definition at line 89 of file scalar_mg.hpp.

Referenced by operator()().


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