bitpit icon indicating copy to clipboard operation
bitpit copied to clipboard

discretization: allow to define a pool for the weights

Open andrea-iob opened this issue 2 years ago • 1 comments

This will allow to re-use the weights and thus will reduce re-allocations.

andrea-iob avatar Aug 09 '22 14:08 andrea-iob

There is now a separate class for discrete stencils that want to use a memory pool. In this way, if memory pool is not needed, we don't need to store an extra pointer.

andrea-iob avatar Sep 09 '22 07:09 andrea-iob