criptic v1
Cosmic Ray Interstellar Propagation Tool using Itô Calculus
Loading...
Searching...
No Matches
Classes | Namespaces
ThreadVec.H File Reference

A class to hold objects where one copy is required per thread. More...

#include <vector>
#include <omp.h>
#include "Types.H"

Go to the source code of this file.

Classes

class  criptic::ThreadVec< T >
 A class to automate private thread copies of objects. More...
 

Namespaces

namespace  criptic
 The primary namespace for criptic objects.
 

Detailed Description

A class to hold objects where one copy is required per thread.

This file provides the ThreadVec class, a class to automate handling the situation where we have opaque objects where we need one copy of that object per thread, and each thread should only access its own copy of that object.