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

One dual-cube corner = one cell centre. More...

#include <marching_cubes.hpp>

Public Attributes

double psi = 0.0
 
double d = 0.0
 
double n [3] = {0.0, 0.0, 0.0}
 
bool has = false
 

Detailed Description

One dual-cube corner = one cell centre.

psi is the GAS-POSITIVE level value used for the sign test and for the colour interpolation (psi = 1/2 - C). d is the gas-positive signed distance of the cell centre from that cell's own PLIC plane (vof::pcCentreDistance) and n the unit gas-ward normal; has is false for a cell that carries no plane (pure phase), whose d/n are then never read.

The sign conventions agree exactly: a plane through the cell centre gives C = 1/2 by the PLIC identity V(alpha) + V(1 - alpha) = 1, so sign(d) == sign(1/2 - C) for every interfacial cell and the two sources classify the cube identically.

Definition at line 117 of file marching_cubes.hpp.

Member Data Documentation

◆ psi

double peclet::flow::vof::McVertex::psi = 0.0

Definition at line 118 of file marching_cubes.hpp.

◆ d

double peclet::flow::vof::McVertex::d = 0.0

Definition at line 119 of file marching_cubes.hpp.

◆ n

double peclet::flow::vof::McVertex::n[3] = {0.0, 0.0, 0.0}

◆ has

bool peclet::flow::vof::McVertex::has = false

Definition at line 121 of file marching_cubes.hpp.


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