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

Public Member Functions

 __init__ (self, N)
 iu (self, i, j)
 iv (self, i, j)
 unknown_u (self, i, j)
 unknown_v (self, i, j)

Public Attributes

 N = N
tuple nu = (N + 1) * (N + 2)
tuple nv = (N + 2) * (N + 1)

Detailed Description

index maps; u[i,j]: x=i h, y=(j+1/2)h, i=0..N, j=-1..N;  v[i,j]: x=(i+1/2)h, y=j h, i=-1..N, j=0..N.

Definition at line 123 of file mac2d.py.

Constructor & Destructor Documentation

◆ __init__()

mac2d.Mac.__init__ ( self,
N )

Definition at line 126 of file mac2d.py.

Member Function Documentation

◆ iu()

mac2d.Mac.iu ( self,
i,
j )

◆ iv()

mac2d.Mac.iv ( self,
i,
j )

◆ unknown_u()

mac2d.Mac.unknown_u ( self,
i,
j )

◆ unknown_v()

mac2d.Mac.unknown_v ( self,
i,
j )

Member Data Documentation

◆ N

◆ nu

tuple mac2d.Mac.nu = (N + 1) * (N + 2)

Definition at line 128 of file mac2d.py.

Referenced by iv().

◆ nv

tuple mac2d.Mac.nv = (N + 2) * (N + 1)

Definition at line 129 of file mac2d.py.


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