warp.fem.FrontierSides#
- class warp.fem.FrontierSides(geometry)[source]#
A Domain containing frontier sides of the geometry partition (sides shared with at least another partition).
- Parameters:
geometry (Geometry)
- __init__(geometry)[source]#
- Parameters:
geometry (Geometry | GeometryPartition)
Methods
__init__(geometry)cell_domain()Return the corresponding cell domain.
element_arg_value(device)Value of the element arguments for device functions.
Number of elements in the domain.
element_index_arg_value(device)Value of the element index arguments for device functions.
fill_element_arg(arg, device)Fill the element arguments for device functions.
fill_element_index_arg(arg, device)Fill the element index arguments for device functions.
Number of elements in the underlying geometry.
notify_operator_usage(ops)Makes the Domain aware that the operators ops will be applied
reference_element()Reference element for the domain sides.
supports_lookup(device)Return whether element lookup is supported on the given device.
Attributes
DomainArgArgument structure combining element geometry and indices.
ElementArgStructure containing arguments for element geometry.
ElementIndexArgStructure containing arguments for element indexing.
cell_to_element_coordsDevice function converting cell coordinates to side coordinates.
dimensionDimension of elements in the domain.
domain_cell_argDevice function mapping domain arguments to cell-domain arguments.
element_closest_pointDevice function returning closest points on elements.
element_coordinatesDevice function returning element coordinates for a position.
element_deformation_gradientDevice function returning element deformation gradients.
Device function mapping partition indices to element indices.
element_inner_cell_coordsDevice function returning inner-cell coordinates of side points.
element_inner_cell_indexDevice function returning inner cell indices for sides.
element_kindKind of elements contained in the domain.
element_measureDevice function returning element measures.
element_measure_ratioDevice function returning element measure ratios.
element_normalDevice function returning element normals.
element_outer_cell_coordsDevice function returning outer-cell coordinates of side points.
element_outer_cell_indexDevice function returning outer cell indices for sides.
element_positionDevice function returning element positions.
nameUnique name of the domain.
geometry_partitionGeometry partition containing the elements of the domain.
geometryUnderlying geometry.
element_partition_indexDevice function for retrieving linearized index in the domain's partition from an
ElementIndex.element_lookupDevice function returning the sample point in the domain's geometry corresponding to a world position.
element_partition_lookupDevice function returning the sample point in the domain's geometry partition corresponding to a world position.