STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
test_compiled_hot_loops Namespace Reference

Functions

 test_area_mach_bisection_matches_numpy (monkeypatch)
 test_spray_march_matches_numpy_on_the_6500N (monkeypatch)
 test_spray_march_matches_numpy_across_sprays (monkeypatch)

Variables

float PSI = 6894.757

Detailed Description

The compiled spray march and area-Mach bisection are the NumPy ones, not approximations of them.

Both loops are compiled with numba purely for speed (together ~90 % of a Python chamber
evaluation). Each keeps its NumPy implementation as the reference, selectable by a module flag.

Function Documentation

◆ test_area_mach_bisection_matches_numpy()

test_compiled_hot_loops.test_area_mach_bisection_matches_numpy ( monkeypatch)

Definition at line 12 of file test_compiled_hot_loops.py.

◆ test_spray_march_matches_numpy_across_sprays()

test_compiled_hot_loops.test_spray_march_matches_numpy_across_sprays ( monkeypatch)
Coarse and fine sprays, one stream at the face, short and long chambers.

Definition at line 51 of file test_compiled_hot_loops.py.

◆ test_spray_march_matches_numpy_on_the_6500N()

test_compiled_hot_loops.test_spray_march_matches_numpy_on_the_6500N ( monkeypatch)

Definition at line 28 of file test_compiled_hot_loops.py.

Variable Documentation

◆ PSI

float test_compiled_hot_loops.PSI = 6894.757

Definition at line 9 of file test_compiled_hot_loops.py.