flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
mac2dc.CircleGeo Class Reference

Public Member Functions

 __init__ (self, case, fitrule="nearest")
 C (self, i, j)
 node_frac (self, i, j, e, kern)
 mid_frac (self, i, j, e)
 node_nt (self, i, j)
 cell_nt (self, i, j)
 fit_nt (self, i, j)
 owner (self, node, cells, mixed)

Public Attributes

 case
str fitrule = case, fitrule
 N
 h = N, h
 Ca = C
dict pl = {}
dict own = {}
dict fn = {}

Static Protected Attributes

tuple _dummy = (np.array([1.0, 0.0]), np.array([0.0, 1.0]))

Detailed Description

PLIC plane per mixed cell: exact normal at the cell centre's closest point, offset matching C exactly.
Node (edge) owner: mixed cell among the 4 with the smallest |phi_J(node)|, ties in fixed offset order.
fitrule for non-interfacial band cells: 'nearest' | 'mean' | 'oracle'.

Definition at line 174 of file mac2dc.py.

Constructor & Destructor Documentation

◆ __init__()

mac2dc.CircleGeo.__init__ ( self,
case,
fitrule = "nearest" )

Definition at line 179 of file mac2dc.py.

Member Function Documentation

◆ C()

mac2dc.CircleGeo.C ( self,
i,
j )

Definition at line 224 of file mac2dc.py.

References Ca, and mac2dc.PlanarGeo.Ca.

◆ node_frac()

◆ mid_frac()

◆ node_nt()

mac2dc.CircleGeo.node_nt ( self,
i,
j )

Definition at line 242 of file mac2dc.py.

References _dummy, own, pl, and peclet::flow::BottomDirect< FacReal >.pl.

◆ cell_nt()

mac2dc.CircleGeo.cell_nt ( self,
i,
j )

Definition at line 246 of file mac2dc.py.

References _dummy, pl, and peclet::flow::BottomDirect< FacReal >.pl.

◆ fit_nt()

◆ owner()

mac2dc.CircleGeo.owner ( self,
node,
cells,
mixed )

Definition at line 280 of file mac2dc.py.

References own.

Member Data Documentation

◆ _dummy

tuple mac2dc.CircleGeo._dummy = (np.array([1.0, 0.0]), np.array([0.0, 1.0]))
staticprotected

Definition at line 240 of file mac2dc.py.

Referenced by cell_nt(), and node_nt().

◆ case

mac2dc.CircleGeo.case

Definition at line 180 of file mac2dc.py.

Referenced by fit_nt().

◆ fitrule

str mac2dc.CircleGeo.fitrule = case, fitrule

Definition at line 180 of file mac2dc.py.

Referenced by fit_nt().

◆ N

◆ h

◆ Ca

mac2dc.CircleGeo.Ca = C

Definition at line 188 of file mac2dc.py.

Referenced by C(), mid_frac(), and node_frac().

◆ pl

dict mac2dc.CircleGeo.pl = {}

Definition at line 189 of file mac2dc.py.

Referenced by cell_nt(), fit_nt(), mid_frac(), node_frac(), and node_nt().

◆ own

dict mac2dc.CircleGeo.own = {}

Definition at line 208 of file mac2dc.py.

Referenced by node_frac(), node_nt(), and owner().

◆ fn

dict mac2dc.CircleGeo.fn = {}

Definition at line 222 of file mac2dc.py.

Referenced by fit_nt().


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