|
MADNESS 0.10.1
|
#include <mTxmq.h>
Public Attributes | |
| std::vector< T > | buf |
Per-thread grow-on-demand scratch for the complex*real decomposition.
Backed by a reclaimable thread_specific pool rather than a large stack array. The four real buffers scale as dimi*(dimj+dimk), which for 3-D nonstandard-form blocks (dimi = (2k)^2) already exceeds any sane stack budget, and an unconditional array sized for the good case enlarges every frame – including the calls that end up on the heap path. Buffers grow monotonically to the largest need seen on that thread and are never shared across threads; mTxmq_scratch_clear<T>() reclaims them.
| std::vector<T> madness::mTxmq_detail::Scratch< T >::buf |