← Back to team overview

dolfin team mailing list archive

Re: finalization?

 



Anders Logg wrote:
On Sat, Mar 15, 2008 at 12:42:53PM -0400, Gideon Simpson wrote:
If i manually call dolfin_init in order to use petsc command line options, do I need to manually call PetscFinalize(), or some other routine?

-gideon

No, I don't think you should. This should be taken care of by the
destructor of SubSystemManager when it goes out of scope (when the
program exits). Is that true Garth?


Yes. SubSystemManager takes care of finalisation.

Garth


References