Remove incorrect comments from 'newTransportMgr' functions
This commit is contained in:
parent
d5b873b697
commit
41a6e78ff1
1 changed files with 2 additions and 16 deletions
|
|
@ -1350,14 +1350,7 @@ Transport* newTransportMgr(const std::string& transportModel, thermo_t* thermo,
|
|||
if (f == 0) {
|
||||
f = TransportFactory::factory();
|
||||
}
|
||||
Transport* ptr = f->newTransport(transportModel, thermo, loglevel, ndim);
|
||||
/*
|
||||
* Note: We delete the static s_factory instance here, instead of in
|
||||
* appdelete() in misc.cpp, to avoid linking problems involving
|
||||
* the need for multiple cantera and transport library statements
|
||||
* for applications that don't have transport in them.
|
||||
*/
|
||||
return ptr;
|
||||
return f->newTransport(transportModel, thermo, loglevel, ndim);
|
||||
}
|
||||
|
||||
Transport* newDefaultTransportMgr(thermo_t* thermo, int loglevel, TransportFactory* f)
|
||||
|
|
@ -1365,13 +1358,6 @@ Transport* newDefaultTransportMgr(thermo_t* thermo, int loglevel, TransportFacto
|
|||
if (f == 0) {
|
||||
f = TransportFactory::factory();
|
||||
}
|
||||
Transport* ptr = f->newTransport(thermo, loglevel);
|
||||
/*
|
||||
* Note: We delete the static s_factory instance here, instead of in
|
||||
* appdelete() in misc.cpp, to avoid linking problems involving
|
||||
* the need for multiple cantera and transport library statements
|
||||
* for applications that don't have transport in them.
|
||||
*/
|
||||
return ptr;
|
||||
return f->newTransport(thermo, loglevel);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue