6#ifndef REACTOR_FACTORY_H
7#define REACTOR_FACTORY_H
31 static std::mutex reactor_mutex;
49shared_ptr<ReactorBase>
newReactor(
const string& model);
54 const string& model, shared_ptr<Solution> contents,
const string& name=
"(none)");
59shared_ptr<ReactorBase>
newReactor3(
const string& model);
File contains the FactoryBase class declarations.
Factory class that supports registering functions to create objects.
Factory class to create reactor objects.
void deleteFactory() override
Virtual abstract function that deletes the factory.
shared_ptr< ReactorBase > newReactor3(const string &model)
Create a Reactor object of the specified type.
shared_ptr< ReactorBase > newReactor(const string &model)
Create a Reactor object of the specified type.
Namespace for the Cantera kernel.