Skip to content

Commit 6f14564

Browse files
committed
cherry-picked changes
1 parent 8dc49ea commit 6f14564

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/05-file-IO/02-hdf5_serialize_and_read.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
h5_stream_prov_op = dpf.operators.metadata.streams_provider()
116116
h5_stream_prov_op.inputs.data_sources.connect(h5_all_times_ds)
117117
res_deser_all_times_list = []
118-
h5_read_op = dpf.operators.result.custom()
118+
h5_read_op = dpf.operators.result.result_provider()
119119
h5_read_op.inputs.streams_container.connect(h5_stream_prov_op.outputs)
120120
h5_read_op.inputs.time_scoping.connect(dpf.Scoping(ids=list(range(1, 54)), location="time"))
121121
for i, res_name in enumerate(result_names_on_all_time_steps):
@@ -134,7 +134,7 @@
134134
h5_stream_prov_op_2 = dpf.operators.metadata.streams_provider()
135135
h5_stream_prov_op_2.inputs.data_sources.connect(h5_set_per_set_ds)
136136
res_deser_set_per_set_list = []
137-
h5_read_op_2 = dpf.operators.result.custom()
137+
h5_read_op_2 = dpf.operators.result.result_provider()
138138
h5_read_op_2.inputs.streams_container.connect(h5_stream_prov_op_2.outputs)
139139
for i, res_name in enumerate(result_names_time_per_time):
140140
h5_read_op_2.inputs.result_name.connect(res_name)

src/ansys/dpf/core/operators/build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"support_provider_cyclic": "mapdl::rst::support_provider_cyclic",
2323
"NMISC": "mapdl::nmisc",
2424
"SMISC": "mapdl::smisc",
25+
"result_provider": "custom",
2526
}
2627

2728
def build_docstring(specification_description):

0 commit comments

Comments
 (0)