7 #ifndef KINETICS_FACTORY_H
8 #define KINETICS_FACTORY_H
19 class UnknownKineticsModel :
public CanteraError
22 UnknownKineticsModel(std::string proc, std::string kineticsModel) :
25 " does not match any known type.") {}
26 virtual ~UnknownKineticsModel() throw() {}
39 ScopedLock lock(kinetics_mutex);
52 ScopedLock lock(kinetics_mutex);
63 std::vector<ThermoPhase*> th);
71 static mutex_t kinetics_mutex;
82 f = KineticsFactory::factory();
84 Kinetics* kin = f->newKinetics(phase, th);
94 f = KineticsFactory::factory();
96 Kinetics* kin = f->newKinetics(model);