ffcx.naming

Naming.

Functions

compute_signature(ufl_objects, tag)

Compute the signature hash.

dofmap_name(ufl_element, prefix)

Get DOF map name.

expression_name(expression, prefix)

Get expression name.

finite_element_name(ufl_element, prefix)

Get finite element name.

form_name(original_form, form_id, prefix)

Get form name.

integral_name(original_form, integral_type, ...)

Get integral name.

ffcx.naming.compute_signature(ufl_objects: list[Form | _ElementBase | tuple[Expr, ndarray[Any, dtype[float64]]]], tag: str) str[source]

Compute the signature hash.

Based on the UFL type of the objects and an additional optional ‘tag’.

ffcx.naming.dofmap_name(ufl_element, prefix)[source]

Get DOF map name.

ffcx.naming.expression_name(expression, prefix)[source]

Get expression name.

ffcx.naming.finite_element_name(ufl_element, prefix)[source]

Get finite element name.

ffcx.naming.form_name(original_form, form_id, prefix)[source]

Get form name.

ffcx.naming.integral_name(original_form, integral_type, form_id, subdomain_id, prefix)[source]

Get integral name.