flow 1.3.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
test_scalar_cutcell_gates.py File Reference

Go to the source code of this file.

Namespaces

namespace  test_scalar_cutcell_gates
 

Functions

 test_scalar_cutcell_gates.check (cond, msg)
 
 test_scalar_cutcell_gates.rms (v)
 
 test_scalar_cutcell_gates.order (ec, ef)
 
 test_scalar_cutcell_gates.grid (s)
 
 test_scalar_cutcell_gates.face_points (s, face)
 
 test_scalar_cutcell_gates.walled (cells, extent, origin=(0.0, 0.0, 0.0), periodic_z=False)
 
 test_scalar_cutcell_gates.add_cc (s, D, box="neumann", periodic_z=False)
 
 test_scalar_cutcell_gates.giter_check (tag, its)
 
 test_scalar_cutcell_gates.field_errors (s, exact)
 
 test_scalar_cutcell_gates.solve_info (s)
 
 test_scalar_cutcell_gates.g1_case (Rh, off, aniso=False)
 
 test_scalar_cutcell_gates.gate_g1 ()
 
 test_scalar_cutcell_gates.two_body_scene (c0, Ri, Ro)
 
 test_scalar_cutcell_gates.mg_box (n, rungs=3)
 
 test_scalar_cutcell_gates.g2_case (Rih, off, mgbox=False)
 
 test_scalar_cutcell_gates.gate_g2 ()
 
 test_scalar_cutcell_gates.g3a_case (Rh, off, Da)
 
 test_scalar_cutcell_gates.gate_g3a ()
 
 test_scalar_cutcell_gates.robin_root (Bi)
 
 test_scalar_cutcell_gates.g3b_case (Rh, off, Bi, nsteps=30)
 
 test_scalar_cutcell_gates.gate_g3b ()
 
 test_scalar_cutcell_gates.pipe (Rh, off, D)
 
 test_scalar_cutcell_gates.j0 (x)
 
 test_scalar_cutcell_gates.j1 (x)
 
 test_scalar_cutcell_gates.g7a_case (Rh, off, neumann, nsteps=30)
 
 test_scalar_cutcell_gates.g7b_case (Rh, off, iters=25)
 
 test_scalar_cutcell_gates.gate_g7 ()
 
 test_scalar_cutcell_gates.giter_transient_case (Rh, off, nsteps=6)
 
 test_scalar_cutcell_gates.g5b_geometry_case (n, off)
 
 test_scalar_cutcell_gates.gate_giter ()
 
 test_scalar_cutcell_gates.psi_node (X, Y)
 
 test_scalar_cutcell_gates.annulus_case (Rh, off, scheme="koren")
 
 test_scalar_cutcell_gates.annulus_fluxes (s, h)
 
 test_scalar_cutcell_gates.set_annulus_velocity (s, fx, fy)
 
 test_scalar_cutcell_gates.g9_case (Rh, off, scheme, cr, rtol=None, nsteps=None)
 
 test_scalar_cutcell_gates.g9_offsets (Rh, want=3)
 
 test_scalar_cutcell_gates.koren_bulk_control (cr, n=32)
 
 test_scalar_cutcell_gates.gate_g9 ()
 
 test_scalar_cutcell_gates.g9b_case (kind, scheme, n=32, nsteps=50)
 
 test_scalar_cutcell_gates.gate_g9b ()
 
 test_scalar_cutcell_gates.channel_case (kind="staggered", n=24, dt=0.008, D=0.01, scheme="koren", out_bc="neumann", c0=0.2, cin=1.0, cap=True)
 
 test_scalar_cutcell_gates.g9c_run (nsteps, **kw)
 
 test_scalar_cutcell_gates.gate_g9c ()
 
 test_scalar_cutcell_gates.capture_stderr (fn)
 
 test_scalar_cutcell_gates.backflow_steady_row (n=12, nsteps=10)
 
 test_scalar_cutcell_gates.low_face_flux (s, name, a)
 
 test_scalar_cutcell_gates.cell_velocity (s, name, periodic=(True, True, True))
 
 test_scalar_cutcell_gates.mean_flux_fields (s, name, D, G, periodic)
 
 test_scalar_cutcell_gates.poiseuille_face_average (s, c0, R, U, oz, m=24)
 
 test_scalar_cutcell_gates.g8_case (Rh, off, U=1.0, Pe=10.0, nbox=None, nz=4, exact_flux=True)
 
 test_scalar_cutcell_gates.gate_g8 ()
 
 test_scalar_cutcell_gates.g5b_case (n, off, D=0.6)
 
 test_scalar_cutcell_gates.no_solid_case (G, vel=None, D=0.6, n=16)
 
 test_scalar_cutcell_gates.gate_g5b ()
 
 test_scalar_cutcell_gates.rescale_peclet (s, name, target)
 
 test_scalar_cutcell_gates.gadv_budget (s, name)
 
 test_scalar_cutcell_gates.gadv_a_case (Rh, pe)
 
 test_scalar_cutcell_gates.sc_array (n)
 
 test_scalar_cutcell_gates.closure_source (s, name)
 
 test_scalar_cutcell_gates.closure_rhs_density (s, name, D, G)
 
 test_scalar_cutcell_gates.gadv_b_case (n, pe, wall)
 
 test_scalar_cutcell_gates.gadv_c_case (pe)
 
 test_scalar_cutcell_gates.gadv_row (tag, s, name, pe, bound, rate=None)
 
 test_scalar_cutcell_gates.gadv_growth (tag, lo, hi)
 
 test_scalar_cutcell_gates.gate_gadv ()
 
 test_scalar_cutcell_gates.fmt (v, spec)
 
 test_scalar_cutcell_gates.conj_box (n, L)
 
 test_scalar_cutcell_gates.sealed_check (tag, cen)
 
 test_scalar_cutcell_gates.solid_isolated (s, name="c")
 
 test_scalar_cutcell_gates.maxwell_fields (X, Y, Z, c0, R, G, ratio)
 
 test_scalar_cutcell_gates.g4_case (Rh, off, ratio, K=1.0, rtol=None, G=(0.3, -0.5, 0.8))
 
 test_scalar_cutcell_gates.interior_gradient (X, Y, Z, psi, mask)
 
 test_scalar_cutcell_gates.gate_conj_unit ()
 
 test_scalar_cutcell_gates.gate_g4 ()
 
 test_scalar_cutcell_gates.a_t_keff_sc (c)
 
 test_scalar_cutcell_gates.g5a_case (n, off, D=0.6, ratio=1e4)
 
 test_scalar_cutcell_gates.gate_g5a ()
 
 test_scalar_cutcell_gates.g6_exact (Ls, CK, Rc, R=1.0, Ro=2.0)
 
 test_scalar_cutcell_gates.g6_case (Rh, off, case, nsteps=30)
 
 test_scalar_cutcell_gates.gate_g6 (cases=None)
 
 test_scalar_cutcell_gates.gate_gadv_conj ()
 
 test_scalar_cutcell_gates.raises (exc, fn, msg)
 
 test_scalar_cutcell_gates.raises_naming (exc, fn, needles, msg)
 
 test_scalar_cutcell_gates.gate_api ()
 
 test_scalar_cutcell_gates.sphere_pair_scene (c1, c2, R)
 
 test_scalar_cutcell_gates.g13_case (Rh, off, case)
 
 test_scalar_cutcell_gates.g13_rungs (cen)
 
 test_scalar_cutcell_gates.g13_thin_plate ()
 
 test_scalar_cutcell_gates.gate_g13 (cases=G13_CASES, rungs=(8, 16, 32))
 

Variables

tuple test_scalar_cutcell_gates.FACES = ("-x", "+x", "-y", "+y", "-z", "+z")
 
 test_scalar_cutcell_gates.OFFSETS = np.random.default_rng(20261003).uniform(-0.5, 0.5, size=(3, 3))
 
list test_scalar_cutcell_gates.failures = []
 
float test_scalar_cutcell_gates.J01_SQ = 5.783185962946784
 
float test_scalar_cutcell_gates.J11P_SQ = 3.389957
 
float test_scalar_cutcell_gates.GRAETZ = 3.656793
 
 test_scalar_cutcell_gates.R_I
 
 test_scalar_cutcell_gates.R_O
 
tuple test_scalar_cutcell_gates.GADV_PE = (0.1, 1.0, 10.0)
 
dict test_scalar_cutcell_gates.GADV_SRC = {}
 
tuple test_scalar_cutcell_gates.G6_CASES
 
tuple test_scalar_cutcell_gates.G6_BOUND
 
tuple test_scalar_cutcell_gates.G13_CASES = ("gap", "contact", "conj")
 
dict test_scalar_cutcell_gates.GATES
 
 test_scalar_cutcell_gates.c
 
 test_scalar_cutcell_gates.names = sys.argv[1:] or list(GATES)
 
 test_scalar_cutcell_gates.t0 = time.time()