MPQC  3.0.0-alpha
mpqc::TA::IntegralEnginePool< RefEngType > Class Template Reference

IntegralEnginePool is a class that will take a Ref<Engine> as a prototype and then clone it multiple times such that each thread has its own integral engine. More...

#include <chemistry/qc/basis/integralenginepool.hpp>

Public Types

typedef RefEngType engine_type
 

Public Member Functions

 IntegralEnginePool (const RefEngType engine)
 IntegralEnginePool constructor it takes a sc::Ref<sc::IntegralEngine> and sets that as the prototype for all the thread local engines.
 
 ~IntegralEnginePool ()
 Delete the Engines that we allocated for TLS.
 
RefEngType instance ()
 Function that returns a clone of the prototype engine. More...
 

Detailed Description

template<typename RefEngType>
class mpqc::TA::IntegralEnginePool< RefEngType >

IntegralEnginePool is a class that will take a Ref<Engine> as a prototype and then clone it multiple times such that each thread has its own integral engine.

This is necessary because the buffers in the integral engines don't have thread-safe access.


The documentation for this class was generated from the following file:

Generated at Sun Jan 26 2020 23:24:02 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.8.16.