This change makes partition_map_back() attempt to reuse the original field memory that it's mapping values back into rather than resetting the node. If the field is not allocated or won't fit then allocation does take place. This change makes it work better with source meshes whose fields were provided using set_external(), as in host codes.
This change makes partition_map_back() attempt to reuse the original field memory that it's mapping values back into rather than resetting the node. If the field is not allocated or won't fit then allocation does take place. This change makes it work better with source meshes whose fields were provided using set_external(), as in host codes.