MPQC
3.0.0-alpha
|
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... | |
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.