vector<LTPspecies*> m_viscTempDep_Ns;
Previously they were held in two objects, the first identifying the
model type
vector<LiquidTR_Model> m_viscTempDepType_Ns;
and the second holding the model coefficients
std::vector<Coeff_T_> m_coeffVisc_Ns;
This greatly simplifies the assignment of coefficients from
LiquidTransportParams in initLiquid()
This also greatly simplifies the methods
void LiquidTransport::updateCond_T()
void LiquidTransport::updateViscosity_T()
void LiquidTransport::updateHydrodynamicRadius_T()
Since the pointed-to-LTPspecies classes (subclasses actually) are
created with new in TransportFactory::newLTP, these are deleted in
~LiquidTransport()
Similar changes made to SimpleTransport.h SimpleTransport.cpp
|
||
|---|---|---|
| .. | ||
| clib | ||
| cxx | ||
| fortran | ||
| lib | ||
| matlab | ||
| python | ||
| src | ||
| user | ||
| cmake_install.cmake | ||
| CMakeLists.txt | ||
| Makefile.in | ||
| README.txt | ||
This directory contains the source for Cantera and its various
language interfaces.
clib - the library of C-callable functions used by the Python and
Matlab interfaces.
cxx - files that are only required for C++ application programs.
matlab - the Cantera Matlab toolbox
python - the Cantera Python package
src - the Cantera kernel, used by Cantera in all its forms