11 #ifndef CT_NEWFALLOFF_H 12 #define CT_NEWFALLOFF_H 15 #include "cantera/kinetics/Falloff.h" virtual Falloff * newFalloff(int type, const vector_fp &c)
Return a pointer to a new falloff function calculator.
shared_ptr< Falloff > newFalloff(int type, const vector_fp &c)
Return a pointer to a new falloff function calculator.
static std::mutex falloff_mutex
Mutex for use when calling the factory.
FalloffFactory()
default constructor, which is defined as private
static FalloffFactory * factory()
Return a pointer to the factory.
virtual void deleteFactory()
Virtual abstract function that deletes the factory.
static FalloffFactory * s_factory
Pointer to the single instance of the factory.
Base class for falloff function calculators.
Factory class that supports registering functions to create objects.
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
Factory class to construct falloff function calculators.
Namespace for the Cantera kernel.
File contains the FactoryBase class declarations.