6#ifndef REACTOR_FACTORY_H
7#define REACTOR_FACTORY_H
34 static std::mutex reactor_mutex;
52 const string& model, shared_ptr<Solution> contents,
const string& name=
"(none)");
60 const string& model, shared_ptr<Solution> contents,
const string& name=
"(none)");
65 const string& model, shared_ptr<Solution> contents,
const string& name=
"(none)");
70 shared_ptr<Solution> contents,
const string& name=
"(none)");
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 > newReactor(const string &model, shared_ptr< Solution > contents, const string &name)
Create a Reactor object of the specified type and contents.
shared_ptr< ReactorBase > newReactorBase(const string &model, shared_ptr< Solution > contents, const string &name)
Create a ReactorBase object of the specified type and contents.
shared_ptr< Reactor > newReactor4(const string &model, shared_ptr< Solution > contents, const string &name)
Create a Reactor object of the specified type and contents.
shared_ptr< Reservoir > newReservoir(shared_ptr< Solution > contents, const string &name)
Create a Reservoir object with the specified contents.
Namespace for the Cantera kernel.