An open source method of characteristics neutron transport code.
ParallelHashMap.h File Reference

A thread-safe hash map supporting insertion and lookup operations. More...

#include <iostream>
#include <stdexcept>
#include <functional>
#include <omp.h>
#include "log.h"

Go to the source code of this file.

Classes

class  FixedHashMap< K, V >
 A fixed-size hash map supporting insertion and lookup operations. More...
 
class  ParallelHashMap< K, V >
 A thread-safe hash map supporting insertion and lookup operations. More...
 

Detailed Description

A thread-safe hash map supporting insertion and lookup operations.

The parallel hash map is built on top of a fixed-sized hash map object and features OpenMP concurrency structures. The underlying fixed-sized hash map handles collisions with chaining.

Date
June 6, 2015
Author
Geoffrey Gunow, MIT, Course 22 (geogu.nosp@m.now@.nosp@m.mit.e.nosp@m.du)