]> https://gitweb.dealii.org/ - dealii-svn.git/commit
Implement a scheme to free unused memory for dVector and dSMatrix. The memory is...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 3 Jun 1998 00:36:10 +0000 (00:36 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 3 Jun 1998 00:36:10 +0000 (00:36 +0000)
commitc39a1787ba977118f46d9f088bca611facfdba12
treedebc6d9dcdb663f77dc9eb3089430ee366b21aae
parente991c5e88c5478ac4b8eab9c01fe6562aedeeb02
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.