Added setCapacity function to pre-size the storage
commitccbbafb099cb2b10450f3fb0e03589d36a1bcdf0
authormattijs <mattijs>
Wed, 9 Dec 2009 15:55:30 +0000 (9 15:55 +0000)
committermattijs <mattijs>
Wed, 9 Dec 2009 15:55:30 +0000 (9 15:55 +0000)
treed1809d1239714386825d429987ea96d921fa2172
parent50ef9fa47fb8aa00f8ee085c1cd5064c5438c018
Added setCapacity function to pre-size the storage

When constructing without a mesh you can now 'hint' the amount
of cells, faces and points you expect. This should limit the
amount of DynamicList resizing.
src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C
src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.H