pyopensn.mesh.KBAGraphPartitioner

class pyopensn.mesh.KBAGraphPartitioner

Koch, Baker and Alcouffe based partitioning.

This is an overlayed ortho-grid based partitioner.

Wrapper of opensn::KBAGraphPartitioner.

__init__(self: pyopensn.mesh.KBAGraphPartitioner, **kwargs) None

Construct a KBA graph partitioner.

Parameters:
  • nx (int, default=1) – Number of partitions in x.

  • ny (int, default=1) – Number of partitions in y.

  • nz (int, default=1) – Number of partitions in z.

  • xcuts (List[float], default=[]) – Location of the internal x-cuts. Requires nx - 1 entries.

  • ycuts (List[float], default=[]) – Location of the internal y-cuts. Requires ny - 1 entries.

  • zcuts (List[float], default=[]) – Location of the internal z-cuts. Requires nz - 1 entries.