Go to the documentation of this file.
10 #ifndef CT_TRANSPORTFACTORY_H
11 #define CT_TRANSPORTFACTORY_H
101 thermo_t* thermo = 0,
int loglevel = 0,
int ndim=-99);
static TransportFactory * s_factory
Static instance of the factor -> This is the only instance of this object allowed.
Factory class for creating new instances of classes derived from Transport.
virtual void deleteFactory()
Deletes the statically allocated factory instance.
TransportFactory()
The constructor is private; use static method factory() to get a pointer to a factory instance.
Transport * newTransportMgr(const std::string &transportModel, thermo_t *thermo, int loglevel, int ndim)
Build a new transport manager using a transport manager that may not be the same as in the phase desc...
std::map< std::string, bool > m_CK_mode
Models included in this map are initialized in CK compatibility mode.
virtual Transport * newTransport(const std::string &model, thermo_t *thermo, int log_level=0, int ndim=-99)
Build a new transport manager using a transport manager that may not be the same as in the phase desc...
Base class for transport property managers.
Base class for a phase with thermodynamic properties.
Factory class that supports registering functions to create objects.
static TransportFactory * factory()
Return a pointer to a TransportFactory instance.
Transport * newDefaultTransportMgr(thermo_t *thermo, int loglevel)
Create a new transport manager instance.
Namespace for the Cantera kernel.
static std::mutex transport_mutex
Static instance of the mutex used to ensure the proper reading of the transport database.