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

Public Member Functions

 __init__ (self, n, comm=None)
 gather (self, a)
 any (self, flag)

Public Attributes

 n
 comm = n, comm
 org
tuple siz = (0, 0, 0), (n, n, n)
 sl = tuple(slice(o, o + m) for o, m in zip(self.org, self.siz))

Detailed Description

The rank's block of the global n^3 box; single-rank when comm is None.

Definition at line 138 of file run_case_a.py.

Constructor & Destructor Documentation

◆ __init__()

run_case_a.Dist.__init__ ( self,
n,
comm = None )

Definition at line 141 of file run_case_a.py.

Member Function Documentation

◆ gather()

◆ any()

run_case_a.Dist.any ( self,
flag )

Definition at line 158 of file run_case_a.py.

References DistMG.comm, Reduce.comm, and comm.

Member Data Documentation

◆ n

◆ comm

run_case_a.Dist.comm = n, comm

Definition at line 142 of file run_case_a.py.

Referenced by any(), and gather().

◆ org

run_case_a.Dist.org

Definition at line 144 of file run_case_a.py.

◆ siz

tuple run_case_a.Dist.siz = (0, 0, 0), (n, n, n)

Definition at line 144 of file run_case_a.py.

◆ sl

run_case_a.Dist.sl = tuple(slice(o, o + m) for o, m in zip(self.org, self.siz))

Definition at line 147 of file run_case_a.py.

Referenced by gather().


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