Helper functions for writing DOLFINx custom kernels using Numba.
Functions
|
Apply dof transformations to some data. |
Apply dof transformations to some data on a hexahedron. |
|
Apply dof transformations to some data on an interval. |
|
Apply dof transformations to some data on an prism. |
|
Apply dof transformations to some data on an prism. |
|
Apply dof transformations to some data on an quadrilateral. |
|
Apply dof transformations to some data on a tetrahedron. |
|
|
Apply dof transformations to some transposed data. |
Apply dof transformations to some transposed data on a hexahedron. |
|
Apply dof transformations to some transposed data on an interval. |
|
Apply dof transformations to some transposed data on an prism. |
|
Apply dof transformations to some transposed data on an prism. |
|
Apply dof transformations to some transposed data on an quadrilateral. |
|
Apply dof transformations to some transposed data on a tetrahedron. |
|
Apply dof transformations to some transposed data on a triangle. |
|
Apply dof transformations to some data on a triangle. |
Bases: collections.abc.MutableSequence
, Generic
[numba.typed.typedlist.T
]
A typed-list usable in Numba compiled functions.
Implements the MutableSequence interface.
For users, the constructor does not take any parameters. The keyword arguments are for internal use only.
args (iterable) – The iterable to intialize the list from
lsttype (numba.core.types.ListType; keyword-only) – Used internally for the list type.
meminfo (MemInfo; keyword-only) – Used internally to pass the MemInfo object when boxing.
allocated (int; keyword-only) – Used internally to pre-allocate space for items
S.append(value) – append value to the end of the sequence
Create a new empty List.
item_type (Numba type) – type of the list item.
allocated (int) – number of items to pre-allocate
S.extend(iterable) – extend sequence by appending elements from the iterable
Raises ValueError if the value is not present.
Supporting start and stop arguments is optional, but recommended.
S.insert(index, value) – insert value before index
Raise IndexError if list is empty or index is out of range.
S.remove(value) – remove first occurrence of value. Raise ValueError if the value is not present.
S.reverse() – reverse IN PLACE
Sort the list inplace.
See also list.sort()
Apply dof transformations to some data.
tdim (int) – The topological dimension of the cell.
edge_cout (int) – The number of edges the cell has.
face_count (int) – The number of faces the cell has.
entity_transformations (list) – The DOF transformations for each entity.
entity_dofs (list) – The number of DOFs on each entity.
data (np.array) – The data. This will be changed by this function.
cell_info (int) – An integer representing the orientations of the subentities of the cell.
face_types (list) – A list of strings giving the shapes of the faces of the cell.
Apply dof transformations to some data on a hexahedron.
entity_transformations (Dict(ndarray(float64))) – The DOF transformations for each entity.
entity_dofs (Dict(ndarray(int32))) – The number of DOFs on each entity.
data (np.array) – The data. This will be changed by this function.
cell_info (int) – An integer representing the orientations of the subentities of the cell.
Apply dof transformations to some data on an interval.
entity_transformations (Dict(ndarray(float64))) – The DOF transformations for each entity.
entity_dofs (Dict(ndarray(int32))) – The number of DOFs on each entity.
data (np.array) – The data. This will be changed by this function.
cell_info (int) – An integer representing the orientations of the subentities of the cell.
Apply dof transformations to some data on an prism.
entity_transformations (Dict(ndarray(float64))) – The DOF transformations for each entity.
entity_dofs (Dict(ndarray(int32))) – The number of DOFs on each entity.
data (np.array) – The data. This will be changed by this function.
cell_info (int) – An integer representing the orientations of the subentities of the cell.
Apply dof transformations to some data on an prism.
entity_transformations (Dict(ndarray(float64))) – The DOF transformations for each entity.
entity_dofs (Dict(ndarray(int32))) – The number of DOFs on each entity.
data (np.array) – The data. This will be changed by this function.
cell_info (int) – An integer representing the orientations of the subentities of the cell.
Apply dof transformations to some data on an quadrilateral.
entity_transformations (Dict(ndarray(float64))) – The DOF transformations for each entity.
entity_dofs (Dict(ndarray(int32))) – The number of DOFs on each entity.
data (np.array) – The data. This will be changed by this function.
cell_info (int) – An integer representing the orientations of the subentities of the cell.
Apply dof transformations to some data on a tetrahedron.
entity_transformations (Dict(ndarray(float64))) – The DOF transformations for each entity.
entity_dofs (Dict(ndarray(int32))) – The number of DOFs on each entity.
data (np.array) – The data. This will be changed by this function.
cell_info (int) – An integer representing the orientations of the subentities of the cell.
Apply dof transformations to some transposed data.
tdim (int) – The topological dimension of the cell.
edge_cout (int) – The number of edges the cell has.
face_count (int) – The number of faces the cell has.
entity_transformations (list) – The DOF transformations for each entity.
entity_dofs (list) – The number of DOFs on each entity.
data (np.array) – The data. This will be changed by this function.
cell_info (int) – An integer representing the orientations of the subentities of the cell.
face_types (list) – A list of strings giving the shapes of the faces of the cell.
Apply dof transformations to some transposed data on a hexahedron.
entity_transformations (Dict(ndarray(float64))) – The DOF transformations for each entity.
entity_dofs (Dict(ndarray(int32))) – The number of DOFs on each entity.
data (np.array) – The data. This will be changed by this function.
cell_info (int) – An integer representing the orientations of the subentities of the cell.
Apply dof transformations to some transposed data on an interval.
entity_transformations (Dict(ndarray(float64))) – The DOF transformations for each entity.
entity_dofs (Dict(ndarray(int32))) – The number of DOFs on each entity.
data (np.array) – The data. This will be changed by this function.
cell_info (int) – An integer representing the orientations of the subentities of the cell.
Apply dof transformations to some transposed data on an prism.
entity_transformations (Dict(ndarray(float64))) – The DOF transformations for each entity.
entity_dofs (Dict(ndarray(int32))) – The number of DOFs on each entity.
data (np.array) – The data. This will be changed by this function.
cell_info (int) – An integer representing the orientations of the subentities of the cell.
Apply dof transformations to some transposed data on an prism.
entity_transformations (Dict(ndarray(float64))) – The DOF transformations for each entity.
entity_dofs (Dict(ndarray(int32))) – The number of DOFs on each entity.
data (np.array) – The data. This will be changed by this function.
cell_info (int) – An integer representing the orientations of the subentities of the cell.
Apply dof transformations to some transposed data on an quadrilateral.
entity_transformations (Dict(ndarray(float64))) – The DOF transformations for each entity.
entity_dofs (Dict(ndarray(int32))) – The number of DOFs on each entity.
data (np.array) – The data. This will be changed by this function.
cell_info (int) – An integer representing the orientations of the subentities of the cell.
Apply dof transformations to some transposed data on a tetrahedron.
entity_transformations (Dict(ndarray(float64))) – The DOF transformations for each entity.
entity_dofs (Dict(ndarray(int32))) – The number of DOFs on each entity.
data (np.array) – The data. This will be changed by this function.
cell_info (int) – An integer representing the orientations of the subentities of the cell.
Apply dof transformations to some transposed data on a triangle.
entity_transformations (Dict(ndarray(float64))) – The DOF transformations for each entity.
entity_dofs (Dict(ndarray(int32))) – The number of DOFs on each entity.
data (np.array) – The data. This will be changed by this function.
cell_info (int) – An integer representing the orientations of the subentities of the cell.
Apply dof transformations to some data on a triangle.
entity_transformations (Dict(ndarray(float64))) – The DOF transformations for each entity.
entity_dofs (Dict(ndarray(int32))) – The number of DOFs on each entity.
data (np.array) – The data. This will be changed by this function.
cell_info (int) – An integer representing the orientations of the subentities of the cell.