Skip to content

Commit

Permalink
Modify mesh size to pass tests
Browse files Browse the repository at this point in the history
  • Loading branch information
connoramoreno committed Oct 11, 2024
1 parent 199b17f commit 0eb6edc
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tests/test_source_mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def source_mesh():

# Set mesh size to minimum that maintains element aspect ratios that do not
# result in negative volumes
mesh_size = (3, 31, 31)
mesh_size = (6, 41, 51)
toroidal_extent = 90.0

source_mesh_obj = sm.SourceMesh(vmec_obj, mesh_size, toroidal_extent)
Expand All @@ -34,9 +34,9 @@ def source_mesh():

def test_mesh_basics(source_mesh):

num_s_exp = 3
num_theta_exp = 31
num_phi_exp = 31
num_s_exp = 6
num_theta_exp = 41
num_phi_exp = 51
tor_ext_exp = 90.0
scale_exp = 100

Expand All @@ -53,9 +53,9 @@ def test_mesh_basics(source_mesh):

def test_vertices(source_mesh):

num_s = 3
num_theta = 31
num_phi = 31
num_s = 6
num_theta = 41
num_phi = 51

num_verts_exp = num_phi * ((num_s - 1) * (num_theta - 1) + 1)

Expand All @@ -72,9 +72,9 @@ def test_vertices(source_mesh):

def test_mesh_generation(source_mesh):

num_s = 3
num_theta = 31
num_phi = 31
num_s = 6
num_theta = 41
num_phi = 51

tets_per_wedge = 3
tets_per_hex = 5
Expand Down

0 comments on commit 0eb6edc

Please sign in to comment.