polaris.ocean.model.OceanModelStep.constrain_resources

OceanModelStep.constrain_resources(available_cores)[source]

Update the number of MPI tasks to use based on the estimated mesh size