@@ -1100,7 +1100,7 @@ convert_topology_to_rectilinear(const std::string &/*base_type*/,
11001100
11011101 dest.set (topo);
11021102 dest[" type" ].set (" rectilinear" );
1103- dest[" coordset" ].set (bputils::resolve_output_name (* coordset, cdest));
1103+ dest[" coordset" ].set (bputils::resolve_output_name (topo, " coordset" , cdest));
11041104}
11051105
11061106// -------------------------------------------------------------------------
@@ -1128,7 +1128,7 @@ convert_topology_to_structured(const std::string &base_type,
11281128 }
11291129
11301130 dest[" type" ].set (" structured" );
1131- dest[" coordset" ].set (bputils::resolve_output_name (* coordset, cdest));
1131+ dest[" coordset" ].set (bputils::resolve_output_name (topo, " coordset" , cdest));
11321132 if (topo.has_child (" origin" ))
11331133 {
11341134 dest[" origin" ].set (topo[" origin" ]);
@@ -1185,7 +1185,7 @@ convert_topology_to_unstructured(const std::string &base_type,
11851185 }
11861186
11871187 dest[" type" ].set (" unstructured" );
1188- dest[" coordset" ].set (bputils::resolve_output_name (* coordset, cdest));
1188+ dest[" coordset" ].set (bputils::resolve_output_name (topo, " coordset" , cdest));
11891189 if (topo.has_child (" origin" ))
11901190 {
11911191 dest[" origin" ].set (topo[" origin" ]);
@@ -5269,7 +5269,7 @@ mesh::topology::unstructured::generate_sides(const Node &topo,
52695269
52705270 topo_dest.reset ();
52715271 topo_dest[" type" ].set (" unstructured" );
5272- topo_dest[" coordset" ].set (bputils::resolve_output_name (* coordset, coords_dest));
5272+ topo_dest[" coordset" ].set (bputils::resolve_output_name (topo, " coordset" , coords_dest));
52735273 topo_dest[" elements/shape" ].set (side_shape.type ());
52745274 topo_dest[" elements/connectivity" ].set (DataType (int_dtype.id (),
52755275 side_shape.indices * sides_num_elems));
@@ -6118,7 +6118,7 @@ mesh::topology::unstructured::generate_corners(const Node &topo,
61186118
61196119 topo_dest.reset ();
61206120 topo_dest[" type" ].set (" unstructured" );
6121- topo_dest[" coordset" ].set (bputils::resolve_output_name (* coordset, coords_dest));
6121+ topo_dest[" coordset" ].set (bputils::resolve_output_name (topo, " coordset" , coords_dest));
61226122 topo_dest[" elements/shape" ].set (corner_shape.type ());
61236123 if (is_topo_3d)
61246124 {
0 commit comments