TensorProductTriple¶
- class fuse.tensor_products.TensorProductTriple(A, B, flat=False)¶
Bases:
ElementTriple- __init__(A, B, flat=False)¶
Methods
__init__(A, B[, flat])compute_dense_matrix(ref_el, entity_ids, ...)dict_id()flatten()generate()get_dof_info(dof[, tikz])get_value_shape()mapping(g)A matrix describing how the symmetry
gof the cell transforms the DOFs.num_dofs()plot([filename])Generates Matplotlib code for the element diagrams.
pullback()The name of the map taking the element from the reference cell to a physical cell.
reverse_dof_perms(matrices)setup_ids_and_nodes()setup_matrices()Builds the orientation matrices, the transformations of the DOFs under a reorientation of the entity.
The name of the Sobolev space the element lies in.
sub_elements()to_fiat()to_tikz([show, scale])Generates tikz code for the element diagram
to_ufl()unflatten()Attributes
degreeform_degreeThe degree of differential form this element represents.
- pullback()¶
The name of the map taking the element from the reference cell to a physical cell. For the currently supported elements, this is induced by the kernel action. FUSE is currently restricted to standard pullbacks, where all DOFs are transformed in the same way.
- sobolev_space()¶
The name of the Sobolev space the element lies in.
An element whose kernels are k-forms is in H(d^k) only if it has DOFs on the k-dimensional entities (vertices for H1, edges for HCurl, facets for HDiv); otherwise it is only in L2. This is necessary, not sufficient, for conformity.