14#ifndef CT_NEWFALLOFF_H
15#define CT_NEWFALLOFF_H
18#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.
virtual Falloff * newFalloff(const std::string &type, const vector_fp &c)
Return a pointer to a new falloff function calculator.
static FalloffFactory * s_factory
Pointer to the single instance of the factory.
static std::mutex falloff_mutex
Mutex for use when calling the factory.
FalloffFactory()
default constructor, which is defined as private
virtual void deleteFactory()
Virtual abstract function that deletes the factory.
static FalloffFactory * factory()
Return a pointer to the factory.
Base class for falloff rate calculators.
Namespace for the Cantera kernel.
shared_ptr< Falloff > newFalloff(const std::string &type, const vector_fp &c)
Return a pointer to a new falloff function calculator.
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.