warp.fem.LinearGeometryPartition#
- class warp.fem.LinearGeometryPartition(
- geometry,
- partition_rank,
- partition_count,
- device=None,
- temporary_store=None,
- Parameters:
geometry (Geometry)
partition_rank (int)
partition_count (int)
temporary_store (TemporaryStore)
- __init__(
- geometry,
- partition_rank,
- partition_count,
- device=None,
- temporary_store=None,
Creates a geometry partition by uniformly partionning cell indices
- Parameters:
geometry (Geometry) – the geometry to partition
partition_rank (int) – the index of the partition being created
partition_count (int) – the number of partitions that will be created over the geometry
device – Warp device on which to perform and store computations
temporary_store (TemporaryStore)
Methods
__init__(geometry, partition_rank, ...[, ...])Creates a geometry partition by uniformly partionning cell indices
boundary_side_count()cell_arg_value(device)compute_side_indices_from_cells(...[, ...])fill_cell_arg(args, device)fill_side_arg(args, device)frontier_side_count()side_arg_value(device)side_count()Attributes
SideArgboundary_side_indexfrontier_side_indexnameside_indexside_to_cell_arggeometryUnderlying geometry
- CellArg = <warp._src.codegen.Struct object>#