polaris.e3sm.init.graph_partition.GraphPartitionStep.get_core_counts
- GraphPartitionStep.get_core_counts(ncells)[source]
The core counts to partition a mesh into, from the config’s bounds.
- Parameters:
ncells (int) – The number of cells in the mesh.
- Returns:
list of int – The core counts, in increasing order.
- Raises:
ValueError – If the bounds ask for more pieces than there are cells.