← Back to team overview

dolfin team mailing list archive

GenericTensor and shared_ptr

 

Hello!

GenericTensors and its derived classes are now stored using shared_ptr. SWIG 
provides dereference typemaps to all reference and value calls. 

It should now be straight forward to add shared_ptr functions in the C++ 
interface, like the one Garth implemented for BlockFoo. 

If the interface is extended with shared_ptr version of a method, remember to 
%ignore the reference version (if excisting).

Johan



Follow ups