← Back to team overview

dolfin team mailing list archive

Re: Vector type casting

 



Martin Sandve Alnæs wrote:
Circular dependencies... But we could put templated functions in Generic*.

F.ex.:
Foo & v = vector_cast<Foo>(genericvector);

Templates must be renamed in the python interface though.


I've added template functions to GenericTensor. Take a look.

Garth


Follow ups

References