warp.fem.GeometryPartition#
- class warp.fem.GeometryPartition(geometry)[source]#
Base class for geometry partitions, i.e. subset of cells and sides
- Parameters:
geometry (Geometry)
Methods
__init__(geometry)Number of geo-boundary sides that are 'owned' by this partition
boundary_side_index(args, boundary_side_index)Boundary side to side index
cell_arg_value(device)Number of cells that are 'owned' by this partition
cell_index(args, partition_cell_index)Index in the geometry of a partition cell
fill_cell_arg(args, device)fill_side_arg(args, device)Number of sides with neighbors owned by this and another partition
frontier_side_index(args, frontier_side_index)Frontier side to side index
partition_cell_index(args, cell_index)Index of a geometry cell in the partition (or
NULL_ELEMENT_INDEX)side_arg_value(device)Number of sides that are 'owned' by this partition
side_index(args, partition_side_index)Partition side to side index
Attributes
- boundary_side_count()[source]#
Number of geo-boundary sides that are ‘owned’ by this partition
- Return type:
- frontier_side_count()[source]#
Number of sides with neighbors owned by this and another partition
- Return type:
- static partition_cell_index(args, cell_index)[source]#
Index of a geometry cell in the partition (or
NULL_ELEMENT_INDEX)