Home Installation Demos C++ docs Python docs
basix.lattice¶
Functions to manipulate lattice types.
Functions
|
Create a lattice of points on a reference cell. |
|
Convert a string to a Basix LatticeSimplexMethod enum. |
|
Convert a string to a Basix LatticeType enum. |
Classes
|
Lattice simplex method. |
|
Lattice type. |
- basix.lattice.string_to_simplex_method(method: str) LatticeSimplexMethod ¶
Convert a string to a Basix LatticeSimplexMethod enum.
- Parameters:
method – Simplex method as a string.
- Returns:
Simplex method.
- basix.lattice.string_to_type(lattice: str) LatticeType ¶
Convert a string to a Basix LatticeType enum.
- Parameters:
lattice – Lattice type as a string.
- Returns:
Lattice type.