From 965dee639ff6b7f4d90e83a88ed9ba4f9931127a Mon Sep 17 00:00:00 2001 From: David Ketcheson Date: Mon, 2 Dec 2024 09:14:37 +0300 Subject: [PATCH] Add dictionary of fwave values to static.py. This will allow us to automatically set solver.fwave for most solvers. --- riemann/static.py | 55 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/riemann/static.py b/riemann/static.py index 991be64..08468b8 100644 --- a/riemann/static.py +++ b/riemann/static.py @@ -107,3 +107,58 @@ 'vc_acoustics_3D' : 2, 'euler_3D' : 3 } + +fwave = { + 'acoustics_1D' : False, + 'acoustics_variable_1D' : False, + 'advection_1D' : False, + 'advection_color_1D' : False, + 'advection_1D_py' : False, + 'burgers_1D' : False, + 'burgers_1D_py' : False, + 'cubic_1D' : False, + 'traffic_1D' : False, + 'traffic_vc_1D' : False, + 'traffic_vc_fwave_1D' : True, + 'traffic_vc_tracer_1D' : False, + 'euler_with_efix_1D' : False, + 'euler_roe_1D' : False, + 'euler_hll_1D' : False, + 'euler_hllc_1D' : False, + 'euler_hlle_1D' : False, + 'mhd_roe_1D' : False, + 'nonlinear_elasticity_fwave_1D' : True, + 'nonlinear_elasticity_1D' : True, + 'psystem_fwave_1D' : True, + 'reactive_euler_with_efix_1D' : False, + 'shallow_roe_with_efix_1D' : False, + 'shallow_roe_tracer_1D' : False, + 'shallow_roe_1D' : False, + 'shallow_hll_1D' : False, + 'shallow_hlle_1D' : False, + 'shallow_bathymetry_fwave_1D' : True, + 'shallow_1D_py' : None, # Includes both f-wave and non-f-wave solvers + 'vc_advection_1D' : False, + 'layered_shallow_water_1D' : True, + 'acoustics_2D' : False, + 'acoustics_mapped_2D' : False, + 'advection_2D' : False, + 'burgers_2D' : False, + 'euler_mapgrid_2D' : False, + 'euler_5wave_2D' : False, + 'euler_4wave_2D' : False, + 'euler_hlle_2D' : False, + 'euler_hlle_with_walls_2D' : False, + 'kpp_2D' : False, + 'psystem_2D' : True, + 'shallow_hlle_2D' : False, + 'shallow_roe_with_efix_2D' : False, + 'shallow_bathymetry_fwave_2D' : True, + 'sw_aug_2D' : 3, + 'shallow_sphere_2D' : False, + 'vc_advection_2D' : False, + 'vc_acoustics_2D' : False, + 'vc_elasticity_2D' : False, + 'vc_acoustics_3D' : False, + 'euler_3D' : False + }