Skip to content

StructuredGridFactory: add overload to use custom grid factory object

The StructuredGridFactory currently always uses a default-constructed grid factory, however creating a parallel grid on a MPI communicator that is not MPI_COMM_WORLD requires to pass the communicator to the grid factory somehow. So a way to pass a custom grid factory object to the StructuredGridFactory is needed.

This merge request adds a new overload to the createCubeGrid and createSimplexGrid methods that allows to pass a custom grid factory as a parameter.

Merge request reports

Loading