Skip to content

Commit

Permalink
Adding None temporarily for sem
Browse files Browse the repository at this point in the history
  • Loading branch information
Olender committed Nov 27, 2024
1 parent 63b7c27 commit f013d58
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions spyro/meshing/meshing_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,18 @@ def cells_per_wavelength(method, degree, dimension):
'mlt5tri': 2.03,
'mlt2tet': 6.12,
'mlt3tet': 3.72,
'sem2quad': None,
'sem4quad': None,
'sem6quad': None,
'sem8quad': None,
}

if dimension == 2 and (method == 'mass_lumped_triangle'):
if dimension == 2 and method == 'mass_lumped_triangle':
cell_type = 'tri'
if dimension == 3 and (method == 'mass_lumped_triangle'):
if dimension == 3 and method == 'mass_lumped_triangle':
cell_type = 'tet'
if dimension == 2 and method == 'spectral_quadrilateral':
cell_type = 'quad'

key = method.lower()+str(degree)+cell_type

Expand Down

0 comments on commit f013d58

Please sign in to comment.