← Back to team overview

ffc team mailing list archive

[noreply@xxxxxxxxxxxxx: [Branch ~ffc-core/ffc/dev] Rev 1601: Comment on domain2dim and entities_per_dim in fiatinterface.py.]

 

It would be good to collect all these in one place, but UFL cannot
depend on UFC and UFC cannot depend on UFL.

Are they needed in UFC? If not, it would be natural to collect them in
UFL. Then they can be used by both FFC and UFL.

--
Anders
--- Begin Message ---
------------------------------------------------------------
revno: 1601
committer: Kristian B. Ølgaard <k.b.oelgaard@xxxxxxxxx>
branch nick: dev
timestamp: Sat 2010-01-30 18:59:11 +0100
message:
  Comment on domain2dim and entities_per_dim in fiatinterface.py.
modified:
  ffc/fiatinterface.py


--
lp:~ffc-core/ffc/dev
https://code.launchpad.net/~ffc-core/ffc/dev

You are subscribed to branch lp:~ffc-core/ffc/dev.
To unsubscribe from this branch go to https://code.launchpad.net/~ffc-core/ffc/dev/+edit-subscription.
=== modified file 'ffc/fiatinterface.py'
--- ffc/fiatinterface.py	2010-01-30 14:02:31 +0000
+++ ffc/fiatinterface.py	2010-01-30 17:59:11 +0000
@@ -24,6 +24,9 @@
 # Cache for computed elements
 _cache = {}
 
+# FIXME: KBO: Should stuff like, domain2dim and entities_per_dim be in UFC
+# instead? The same goes for similar dictionaries in UFL (geometry.py). After
+# all both FFC and UFL complies with UFC or not?
 # Mapping from domain to dimension
 domain2dim = {"vertex": 0,
               "interval": 1,


--- End Message ---

Attachment: signature.asc
Description: Digital signature


Follow ups