46 const int nthreads = omp_get_num_threads();
68 const int ithread = omp_get_thread_num();
70 const int ithread = 0;
82 const int ithread = omp_get_thread_num();
84 const int ithread = 0;
Basic integer and real types.
A class to automate private thread copies of objects.
Definition ThreadVec.H:35
T & operator()()
Return the element private to this thread.
Definition ThreadVec.H:66
T & operator[](const int i)
Return the object belonging to the specified thread.
Definition ThreadVec.H:95
ThreadVec()
Construct an empty threadvec.
Definition ThreadVec.H:42
std::vector< T > obj
Definition ThreadVec.H:111
const T & operator()() const
Return the element private to this thread.
Definition ThreadVec.H:80
IdxType size() const
Return the number of distinct objects stored.
Definition ThreadVec.H:59
The primary namespace for criptic objects.
Definition AdvancePacket.H:25
std::vector< Real >::size_type IdxType
Definition Types.H:45