← Back to team overview

fiat team mailing list archive

Bug in BDM entity_ids?

 

When running the following code:

    from FIAT.BDM import *
    from FIAT.shapes import *

    BDM1 = BDM(TRIANGLE, 1)

    print BDM1.dual_basis().entity_ids

I get

    {0: {0: [], 1: [], 2: []},
     1: {0: [0, 1], 1: [2, 3], 2: [4, 5]},
     2: []}

I'm expecting something like

    {0: {0: [], 1: [], 2: []},
     1: {0: [0, 1], 1: [2, 3], 2: [4, 5]},
     2: {0: []}}

So instead of an empty list for dimension 2, there should be a
dictionary containing one entity (the triangle) which has an empty
list of dofs.

?

/Anders