27
29
from ffc.log import debug, error, ffc_assert
28
30
from ffc.cpp import format
31
33
"Create names and maps for tables and non-zero entries if appropriate."
33
35
debug("\nQG-utils, psi_tables:\n" + str(tables))
34
36
# Create element map {points:{element:number,},}
35
37
# and a plain dictionary {name:values,}.
37
39
debug("\nQG-utils, psi_tables, flat_tables:\n" + str(flat_tables))
39
41
# Reduce tables such that we only have those tables left with unique values