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