warp.fem.SpacePartition#

class warp.fem.SpacePartition(space_topology, geo_partition)[source]#
Parameters:
__init__(space_topology, geo_partition)[source]#
Parameters:

Methods

__init__(space_topology, geo_partition)

fill_partition_arg(arg, device)

interior_node_count()

Returns number of interior nodes in this partition

node_count()

Returns number of nodes in this partition

owned_node_count()

Returns number of nodes in this partition, excluding exterior halo

partition_arg_value(device)

partition_node_index(args, space_node_index)

Returns the index in the partition of a function space node, or NULL_NODE_INDEX if it does not exist

rebuild([device, temporary_store])

Rebuild the space partition indices

space_node_indices()

Return the global function space indices for nodes in this partition

Attributes

name

space_topology

Topology of the function space being partitioned

geo_partition

Partition of the geometry controlling how to partition the space

class PartitionArg[source]#
space_topology: SpaceTopology#

Topology of the function space being partitioned

geo_partition: GeometryPartition#

Partition of the geometry controlling how to partition the space

node_count()[source]#

Returns number of nodes in this partition

owned_node_count()[source]#

Returns number of nodes in this partition, excluding exterior halo

Return type:

int

interior_node_count()[source]#

Returns number of interior nodes in this partition

Return type:

int

space_node_indices()[source]#

Return the global function space indices for nodes in this partition

Return type:

array

rebuild(device=None, temporary_store=None)[source]#

Rebuild the space partition indices

Parameters:
partition_arg_value(device)[source]#
fill_partition_arg(arg, device)[source]#
static partition_node_index(args, space_node_index)[source]#

Returns the index in the partition of a function space node, or NULL_NODE_INDEX if it does not exist

Parameters:
property name: str[source]#