Align Functionspace.dofmap(s) interface#4231
Conversation
16b4726 to
a620cce
Compare
a620cce to
e4721b4
Compare
chrisrichardson
left a comment
There was a problem hiding this comment.
We should use .front and .at instead of []...
|
I understand the |
|
|
|
The question is whether we want to use |
|
We have used front elsewhere, so to be consistent I guess we should stick with that. It's not likely (or possible?) to have no dofmap. |
|
As an aside, it's better/idiomatic to guard |
Aligns
Functionspace.dofmapsinterface to geometry access patter, ref #4227. Otherwise current access patterns ofmesh.geometry.dofmapsandfunctionspace.dofmapsdo confusingly not align anymore.FunctionSpace.dofmap, since also c++ layer still relies on it.