graphlow.TensorMesh.gather_parent_point_data#

TensorMesh.gather_parent_point_data(src_point_data: T) T#

Gather parent point data onto this derived mesh. This method works only for extracted surface meshes.

Parameters:
src_point_dataT

Backend tensor of shape (n_points_of_parent, ...).

Returns:
T

Backend tensor of shape (n_points, ...) on this derived mesh.

Raises:
ValueError

If src_point_data.shape[0] does not match the parent mesh’s n_points.