- provides an optional memory management using a memory pool.
Currently can support Umpire (https://github.com/LLNL/Umpire)
When available, its use can be controlled by the FOAM_MEMORY_POOL
environment variable, or the memory_pool Optimisation switch
(etc/controlDict).
Notes:
Use of the memory-pool is controlled by the 'is_aligned_type()' test
and the minimum field size, controlled by the 'use_memory_pool()' test.
If the memory-pool is not enabled or not required according to the two
above tests, the allocation falls back to either an aligned or unaligned
allocation (depending on the field size).
The thresholds for aligned, unaligned, memory-pool allocation
are still a compile-time option. Made by direct edit of the
corrsponding functions.