dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #20831
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