Skip to content

Commit

Permalink
fix: Fix nightly tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hpohekar committed Apr 1, 2024
1 parent b71ef78 commit 7855bfa
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions tests/test_meshing_queries_fdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1090,40 +1090,40 @@ def test_meshing_utilities(new_mesh_session):
# range=[0.9, 1],
# ) == [322, [225, 97], [0, 40]]

assert meshing_session.meshing_utilities.get_face_mesh_distribution(
face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"],
measure="Orthogonal Quality",
partitions=2,
range=[0.9, 1],
) == [322, [225, 97], [0, 40]]

assert meshing_session.meshing_utilities.get_face_mesh_distribution(
face_zone_name_pattern="*",
measure="Orthogonal Quality",
partitions=2,
range=[0.9, 1],
) == [69656, [53976, 15680], [0, 22455]]

assert meshing_session.meshing_utilities.get_cell_mesh_distribution(
cell_zone_id_list=[87],
measure="Orthogonal Quality",
partitions=2,
range=[0.9, 1],
) == [16029, [11794, 4235], [0, 1872]]

assert meshing_session.meshing_utilities.get_cell_mesh_distribution(
cell_zone_name_list=["elbow-fluid"],
measure="Orthogonal Quality",
partitions=2,
range=[0.9, 1],
) == [16029, [11794, 4235], [0, 1872]]
# assert meshing_session.meshing_utilities.get_face_mesh_distribution(
# face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"],
# measure="Orthogonal Quality",
# partitions=2,
# range=[0.9, 1],
# ) == [322, [225, 97], [0, 40]]

assert meshing_session.meshing_utilities.get_cell_mesh_distribution(
cell_zone_name_pattern="*",
measure="Orthogonal Quality",
partitions=2,
range=[0.9, 1],
) == [16029, [11794, 4235], [0, 1872]]
# assert meshing_session.meshing_utilities.get_face_mesh_distribution(
# face_zone_name_pattern="*",
# measure="Orthogonal Quality",
# partitions=2,
# range=[0.9, 1],
# ) == [69656, [53976, 15680], [0, 22455]]
#
# assert meshing_session.meshing_utilities.get_cell_mesh_distribution(
# cell_zone_id_list=[87],
# measure="Orthogonal Quality",
# partitions=2,
# range=[0.9, 1],
# ) == [16029, [11794, 4235], [0, 1872]]
#
# assert meshing_session.meshing_utilities.get_cell_mesh_distribution(
# cell_zone_name_list=["elbow-fluid"],
# measure="Orthogonal Quality",
# partitions=2,
# range=[0.9, 1],
# ) == [16029, [11794, 4235], [0, 1872]]
#
# assert meshing_session.meshing_utilities.get_cell_mesh_distribution(
# cell_zone_name_pattern="*",
# measure="Orthogonal Quality",
# partitions=2,
# range=[0.9, 1],
# ) == [16029, [11794, 4235], [0, 1872]]

# Commented due to variation in 10^-13 th place

Expand Down

0 comments on commit 7855bfa

Please sign in to comment.