Hello, I want to ask a question regarding the DofMap class
I used to work in the old version DOLFINx (v0.6.0), and now I just want to update my codes into v0.7.3,
my question is that, in the old version, the object “DofMap” has the function “list()” which returns to the dofmap data, as shown here
but the issue is that this function is replaced in the newest version, see
so now, I don’t know how could get the offset of the dofmap? For example, in the old version, if I want to create an AdjacenList base on a function space, I can easily do
The change from 0.6.x to 0.7.x is that each dofmap has a fixed width, i.e. for each cell in the dofmap, there is a constant number of degrees of freedom.
This was actually the case for all DOLFINx codes prior to 0.7.x as well, but the optimization of representing it as a fixed width, 2 dimensional array was not exploited.