basix.sobolev_spaces

Functions for handling Sobolev spaces.

Functions

intersection(spaces)

Compute the intersection of a list of Sobolev spaces.

string_to_sobolev_space(space)

Convert a string to a Basix SobolevSpace.

Classes

SobolevSpace(value)

Sobolev space.

basix.sobolev_spaces.intersection(spaces: list[basix.sobolev_spaces.SobolevSpace]) SobolevSpace

Compute the intersection of a list of Sobolev spaces.

Parameters:

spaces – List of Sobolev spaces.

Returns:

Intersection of the Sobolev spaces.

basix.sobolev_spaces.string_to_sobolev_space(space: str) SobolevSpace

Convert a string to a Basix SobolevSpace.

Parameters:

space – Name of the space.

Returns:

Cell type.