flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
peclet::flow::scd::KrylovContext Struct Reference

What the Krylov closures of one solve read beyond cx: the state, and the singular projection's solid unknown mask (two-field only) and unknown count. More...

#include <flow_ibm_scalars_cutcell.hpp>

Public Attributes

ScalarCutState & st
const CutContext & cx
CCConst sunk
 two-field: the solid phase's unknown mask
double nUnk = 0.0
 the unknowns the mean is removed over (two-field: both phases)

Detailed Description

What the Krylov closures of one solve read beyond cx: the state, and the singular projection's solid unknown mask (two-field only) and unknown count.

It lives in solveSingle / solveTwo, which outlive the closures; capturing it by reference keeps every closure within std::function's in-place storage (two references), as the [&] closures it replaces were.

Definition at line 762 of file flow_ibm_scalars_cutcell.hpp.

Member Data Documentation

◆ st

ScalarCutState& peclet::flow::scd::KrylovContext::st

Definition at line 763 of file flow_ibm_scalars_cutcell.hpp.

◆ cx

const CutContext& peclet::flow::scd::KrylovContext::cx

Definition at line 764 of file flow_ibm_scalars_cutcell.hpp.

◆ sunk

CCConst peclet::flow::scd::KrylovContext::sunk

two-field: the solid phase's unknown mask

Definition at line 765 of file flow_ibm_scalars_cutcell.hpp.

◆ nUnk

double peclet::flow::scd::KrylovContext::nUnk = 0.0

the unknowns the mean is removed over (two-field: both phases)

Definition at line 766 of file flow_ibm_scalars_cutcell.hpp.


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