10 #ifndef CT_TRANSPORTFACTORY_H
11 #define CT_TRANSPORTFACTORY_H
101 thermo_t* thermo = 0,
int loglevel = 0,
int ndim=-99);
File contains the FactoryBase class declarations.
Headers for the Transport object, which is the virtual base class for all transport property evaluato...
Factory class that supports registering functions to create objects.
Base class for a phase with thermodynamic properties.
Factory class for creating new instances of classes derived from Transport.
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...
static TransportFactory * s_factory
Static instance of the factor -> This is the only instance of this object allowed.
virtual void deleteFactory()
Deletes the statically allocated factory instance.
std::map< std::string, bool > m_CK_mode
Models included in this map are initialized in CK compatibility mode.
static std::mutex transport_mutex
Static instance of the mutex used to ensure the proper reading of the transport database.
TransportFactory()
The constructor is private; use static method factory() to get a pointer to a factory instance.
static TransportFactory * factory()
Return a pointer to a TransportFactory instance.
Base class for transport property managers.
Transport * newDefaultTransportMgr(thermo_t *thermo, int loglevel)
Create a new transport manager instance.
Namespace for the Cantera kernel.
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...