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

Public Member Functions

 __init__ (self, s, C0, N, rho=None)
 gauge (self, x)
 __call__ (self, x, track=False)

Public Attributes

 s
 C0
 shp
int n = s, np.asfortranarray(C0), (N, N, N), N**3
 steps
 max_pit
 max_msw
 mom
int max_mres = 0, 0, 0, 0.0, -1.0
 max_gain
 rescaled
float refused_cfl = 0.0, 0, float("nan")
 rf = rho_face(rho) if rho is not None else None
 tie = tie_init()
list rfs = [float(np.sum(f)) for f in self.rf] if self.rf is not None else None

Detailed Description

S: x = (u, v, w, p) -> one production step, colour frozen (set_vof(C0) after the step); p
through get_field/set_field("p") in internal units, its mean removed on input and output.

Definition at line 634 of file gsv1.py.

Constructor & Destructor Documentation

◆ __init__()

gsv1.StepMap.__init__ ( self,
s,
C0,
N,
rho = None )

Definition at line 638 of file gsv1.py.

Member Function Documentation

◆ gauge()

◆ __call__()

gsv1.StepMap.__call__ ( self,
x,
track = False )

Member Data Documentation

◆ s

◆ C0

gsv1.StepMap.C0

Definition at line 639 of file gsv1.py.

Referenced by __call__().

◆ shp

gsv1.StepMap.shp

Definition at line 639 of file gsv1.py.

Referenced by __call__(), and gauge().

◆ n

int gsv1.StepMap.n = s, np.asfortranarray(C0), (N, N, N), N**3

◆ steps

gsv1.StepMap.steps

Definition at line 640 of file gsv1.py.

Referenced by __call__().

◆ max_pit

gsv1.StepMap.max_pit

Definition at line 640 of file gsv1.py.

Referenced by __call__().

◆ max_msw

gsv1.StepMap.max_msw

Definition at line 640 of file gsv1.py.

Referenced by __call__().

◆ mom

gsv1.StepMap.mom

Definition at line 640 of file gsv1.py.

Referenced by __call__().

◆ max_mres

int gsv1.StepMap.max_mres = 0, 0, 0, 0.0, -1.0

Definition at line 640 of file gsv1.py.

Referenced by __call__().

◆ max_gain

gsv1.StepMap.max_gain

Definition at line 643 of file gsv1.py.

Referenced by __call__().

◆ rescaled

gsv1.StepMap.rescaled

Definition at line 643 of file gsv1.py.

◆ refused_cfl

float gsv1.StepMap.refused_cfl = 0.0, 0, float("nan")

Definition at line 643 of file gsv1.py.

Referenced by __call__().

◆ rf

gsv1.StepMap.rf = rho_face(rho) if rho is not None else None

Definition at line 644 of file gsv1.py.

Referenced by __call__(), and gauge().

◆ tie

gsv1.StepMap.tie = tie_init()

Definition at line 645 of file gsv1.py.

Referenced by __call__().

◆ rfs

list gsv1.StepMap.rfs = [float(np.sum(f)) for f in self.rf] if self.rf is not None else None

Definition at line 646 of file gsv1.py.

Referenced by gauge().


The documentation for this class was generated from the following file:
  • tests/study/sharp_viscous/gsv1.py