Skip to content

Commit

Permalink
surfaces_list -> surfaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
prmukherj committed Nov 18, 2024
1 parent b1b607c commit b37ea0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ansys/fluent/visualization/post_data_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def fetch_data(self, *args, **kwargs):
return self._fetch_pathlines_data(self._post_object, *args, **kwargs)

def _fetch_mesh_data(self, obj, *args, **kwargs):
if not obj.surfaces_list():
if not obj.surfaces():
raise RuntimeError("Mesh definition is incomplete.")
obj._pre_display()
field_info = obj._api_helper.field_info()
Expand All @@ -65,7 +65,7 @@ def _fetch_mesh_data(self, obj, *args, **kwargs):
surfaces_info = field_info.get_surfaces_info()
surface_ids = [
id
for surf in map(obj._api_helper.remote_surface_name, obj.surfaces_list())
for surf in map(obj._api_helper.remote_surface_name, obj.surfaces())
for id in surfaces_info[surf]["surface_id"]
]

Expand Down

0 comments on commit b37ea0d

Please sign in to comment.