We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 013cbca commit fecac5bCopy full SHA for fecac5b
finat/quadrature_element.py
@@ -30,10 +30,8 @@ def degree(self):
30
@cached_property
31
def _entity_dofs(self):
32
# Inspired by ffc/quadratureelement.py
33
- entity_dofs = {
34
- {entity: [] for entity in entities}
35
- for dim, entities in iteritems(self.cell.get_topology())
36
- }
+ entity_dofs = {dim: {entity: [] for entity in entities}
+ for dim, entities in iteritems(self.cell.get_topology())}
37
entity_dofs[self.cell.get_dimension()] = {0: list(range(self.space_dimension()))}
38
return entity_dofs
39
0 commit comments