Thread Previous • Date Previous • Date Next • Thread Next |
Anders Logg wrote:
Would it be possible to make the DofMap class not matrix/vector specific?
We could do something. If a Form knows whether it's bilinear, linear or a functional, DofMapping could return suitable maps.
We have a lot of code duplication right now in the assembly because we need to think of tensors with different ranks. Maybe it's possible to treat all cases uniformly?
Some of the functions in FEM can be removed once DofMapping is actually used. I would have been disappointed if you didn't have any comments, that's why I haven't incorporated DofMapping yet in FEM :).
Garth
/Anders _______________________________________________ DOLFIN-dev mailing list DOLFIN-dev@xxxxxxxxxx http://www.fenics.org/mailman/listinfo/dolfin-dev
Thread Previous • Date Previous • Date Next • Thread Next |