Functions to manipulate variant types.
Functions
|
Convert a Basix DPCVariant enum to a string. |
|
Convert a Basix LagrangeVariant enum to a string. |
|
Convert a string to a Basix DPCVariant enum. |
|
Convert a string to a Basix LagrangeVariant enum. |
Convert a Basix DPCVariant enum to a string.
variant (basix.DPCVariant) – The DPC variant
The DPC variant as a string.
str
Convert a Basix LagrangeVariant enum to a string.
variant (basix.LagrangeVariant) – The Lagrange variant
The Lagrange variant as a string.
str
Convert a string to a Basix DPCVariant enum.
variant (str) – The DPC variant as a string.
The DPC variant
Convert a string to a Basix LagrangeVariant enum.
variant (str) – The Lagrange variant as a string.
The Lagrange variant