Skip to content

Expose num_threads when reading in meshes from XDMFFile and VTKHDF #4521

Description

@jorgensd

Both are hard-coded to use 1 thread. As these are the main entry points for large meshes this option should be exposed, ref:

dolfinx::graph::Partitioner{}, mode, max_facet_to_cell_links, 1);

return mesh::create_mesh(comm, comm, cells_span, coordinate_elements, comm,
points_pruned, {(std::size_t)x_shape[0], gdim},
graph::Partitioner{}, mesh::GhostMode::none,
max_facet_to_cell_links, 1);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions