tests.paper.plot_plane_paper
\(\xi, v\) plane plotting
Functions
- tests.paper.plot_plane_paper.filter_not(arr, mask)
Replace the elements that are False in the mask with np.nan
- tests.paper.plot_plane_paper.get_differing_inds(data, data_ref, i, rtol, atol=0)
Get the indices where \(v\), \(w\) or \(\xi\) values do not meet the given tolerances
- tests.paper.plot_plane_paper.get_label(rtol, atol)
- Parameters:
rtol (float)
atol (float)
- Return type:
str
- tests.paper.plot_plane_paper.get_solver_name(method)
- tests.paper.plot_plane_paper.plot_conditions(ax, cs2_s, cs2_b)
- Parameters:
ax (Axes)
cs2_s (float)
cs2_b (float)
- tests.paper.plot_plane_paper.plot_differing(ax, data, ref, rtol_diffs, atol_diffs)
- tests.paper.plot_plane_paper.plot_plane(ax, data_s, data_b=None, method=None, deflag_ref=None, rtol_small_diff=1e-4, rtol_mid_diff=1e-3, rtol_high_diff=1e-2, atol_small_diff=0, atol_mid_diff=0, atol_high_diff=0, tau_backwards_end=-100.0, cs2_s=bubble.const.CS0_2, cs2_b=bubble.const.CS0_2, selected_solutions=True)
Modified from sound-shell-model/paper/python/fig_8r_xi-v_plane.py.
- tests.paper.plot_plane_paper.plot_v_excerpt(ax, v_wall, alpha_plus, n_xi=500)
Plots parts of solution obtained by integration of fluid equations. Supersonic deflagration solution comes in two parts, ahead and behind wall, each with about npts values.
- Parameters:
ax (Axes)
v_wall (float)
alpha_plus (float)
n_xi (int)
- tests.paper.plot_plane_paper.v_ahead_max(xi)
Maximum fluid velocity allowed