cells

Functions

compare_topologies(base, new)

Compute orientations of sub entities against a base topology

compute_scaled_verts(d, n)

Construct default cell vertices

constructCellComplex(name)

construct_attach_2d(a, b, c, d)

Compute polynomial attachment in x based on two points (a,b) and (c,d)

construct_attach_3d(res)

Convert matrix of coefficients into a vector of polynomials in x and y

make_tetrahedron()

normalise(v)

polygon(n)

Constructs the 2D default cell with n sides/vertices

topo_pos(G)

Helper function for hasse diagram visualisation Offsets the nodes and displays in topological order

ufc_quad()

Constructs the a quad cell that matches the firedrake default.

ufc_tetrahedron()

ufc_triangle()

Classes

CellComplexToFiatHypercube(cell, product)

Convert cell complex to fiat

CellComplexToFiatSimplex(cell[, name, renumber])

Convert cell complex to fiat

CellComplexToFiatTensorProduct(cell[, name])

Convert cell complex to fiat

CellComplexToUFL(cell[, name])

Convert cell complex to UFL

Edge(point[, attachment, o])

Representation of the connections in a cell complex.

Point(d[, edges, vertex_num, oriented, ...])

Cell complex representation of a finite element cell

TensorProductPoint(A, B[, flat])