warp.fem.ShapeBasisSpace#

class warp.fem.ShapeBasisSpace(topology, shape)[source]#

Base class for defining shape-function-based basis spaces.

Parameters:
__init__(topology, shape)[source]#
Parameters:

Methods

__init__(topology, shape)

basis_arg_value(device)

fill_basis_arg(arg, device)

Fill the arguments to be passed to basis-related device functions

make_element_inner_weight()

make_element_inner_weight_gradient()

make_element_outer_weight()

make_element_outer_weight_gradient()

make_node_coords_in_element()

make_node_quadrature_weight()

make_trace_node_quadrature_weight(trace_basis)

node_positions([out])

Returns a temporary array containing the world position for each node

trace()

Attributes

BasisArg

geometry

Underlying geometry of the basis space

name

node_grid

node_hexes

node_tets

node_triangulation

shape

Shape functions used for defining individual element basis

topology

Underlying topology of the basis space

value

vtk_cells

weight_gradient_type

weight_type

property shape: ShapeFunction[source]#

Shape functions used for defining individual element basis

property value: Value[source]#
property name#
make_node_coords_in_element()[source]#
make_node_quadrature_weight()[source]#
make_element_inner_weight()[source]#
make_element_inner_weight_gradient()[source]#
make_trace_node_quadrature_weight(trace_basis)[source]#
trace()[source]#
Return type:

TraceBasisSpace

property node_grid[source]#
property node_triangulation[source]#
property node_tets[source]#
property node_hexes[source]#
property vtk_cells[source]#