]> https://gitweb.dealii.org/ - dealii.git/commit
Implement a scheme to free unused memory for dVector and dSMatrix. The memory is...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 3 Jun 1998 00:36:10 +0000 (00:36 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 3 Jun 1998 00:36:10 +0000 (00:36 +0000)
commit39c2152718ad2d3b9fb06a00c0c89b01357bffe7
treedebc6d9dcdb663f77dc9eb3089430ee366b21aae
parent31687129f20f79c535e1fa0541041211fc4a1543
Implement a scheme to free unused memory for dVector and dSMatrix. The memory is not freed (as before) if the object is made smaller, but is now freed altogether if the object is assigned the size zero. This functionality is needed if you really want to free all memory, e.g. to let an object sleep for a while but don't want to use those unhandy pointers for half a dozen vectors and matrices. -- Hopefully the new scheme doesn't break too many other things; the previous state of the library is a bit hacked together (my fault also, I admit...).

git-svn-id: https://svn.dealii.org/trunk@373 0785d39b-7218-0410-832d-ea1e28bc413d
deal.II/lac/include/lac/dsmatrix.h
deal.II/lac/include/lac/dvector.h
deal.II/lac/source/dsmatrix.cc
deal.II/lac/source/dvector.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.