[Trilinos-Users] teuchos rcp delete

Veltz Romain romain.veltz at inria.fr
Tue Jan 15 13:05:17 MST 2013


Hello,

I have a big matrix Epetra_CrsMatrix I would like to get rid of.

Teuchos::RCP<Epetra_CrsMatrix> A = Teuchos::rcp(new Epetra_CrsMatrix(Copy,*Map,maxNbLR));

However I do not understand how to force Teuchos::rcp to do delete [] A.

Can anybody help me please?

Thank you,

Bests,

Romain 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20130115/682fb047/attachment.html 


More information about the Trilinos-Users mailing list