[Transport] Fix to enable 'CK_Mix' and 'CK_Multi' model specifications
These model strings were being treated in TransportFactory in a way that effectively resulted in creation of regular 'Mix' and 'Multi' transport objects.
This commit is contained in:
parent
333d388f90
commit
35aa8be61e
1 changed files with 2 additions and 1 deletions
|
|
@ -204,7 +204,8 @@ Transport* TransportFactory::newTransport(const std::string& transportModel,
|
|||
tr->setThermo(*phase);
|
||||
} else {
|
||||
tr = create(transportModel);
|
||||
tr->init(phase, m_CK_mode[transportModel], log_level);
|
||||
int mode = m_CK_mode[transportModel] ? CK_Mode : 0;
|
||||
tr->init(phase, mode, log_level);
|
||||
}
|
||||
phase->restoreState(state);
|
||||
return tr;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue