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