*** empty log message ***
This commit is contained in:
parent
560cf632bf
commit
b3df568a46
5 changed files with 1599 additions and 3865 deletions
|
|
@ -175,13 +175,14 @@ namespace Cantera {
|
|||
integer m2 = 0;
|
||||
integer m3 = m_nel;
|
||||
integer icase=0;
|
||||
|
||||
integer nel = m_nel;
|
||||
integer nsp = m_nsp;
|
||||
vector_int iposv(m_nel);
|
||||
vector_int izrov(m_nsp);
|
||||
|
||||
// solve the linear programming problem
|
||||
|
||||
simplx_(&aa(0,0), &m_nel, &m_nsp, &mp, &np, &m1, &m2, &m3,
|
||||
simplx_(&aa(0,0), &nel, &nsp, &mp, &np, &m1, &m2, &m3,
|
||||
&icase, izrov.begin(), iposv.begin());
|
||||
|
||||
fill(m_moles.begin(), m_moles.end(), 0.0);
|
||||
|
|
@ -398,7 +399,7 @@ namespace Cantera {
|
|||
m_moles[k] += omega * deltaN[k];
|
||||
}
|
||||
else {
|
||||
m_moles[k] = fabs(m_moles[k])*fmin(10.0, exp(-m_deltaG_RT[ik - m_nel]));
|
||||
m_moles[k] = fabs(m_moles[k])*fminn(10.0, exp(-m_deltaG_RT[ik - m_nel]));
|
||||
}
|
||||
}
|
||||
setMoles();
|
||||
|
|
|
|||
|
|
@ -153,7 +153,6 @@ namespace ct {
|
|||
private:
|
||||
};
|
||||
|
||||
|
||||
std::ostream& operator<<(std::ostream& s, const ct::ctvector_fp& v);
|
||||
//std::ostream& operator<<(std::ostream& s, ct::ctvector_fp& v);
|
||||
//std::ostream& operator<<(std::ostream& s, const ct::ctvector_float& v);
|
||||
|
|
|
|||
|
|
@ -137,7 +137,6 @@ hdr-collect:
|
|||
@INSTALL@ Cantera/src/converters/*.h build/include/cantera/kernel/converters
|
||||
@INSTALL@ Cantera/src/transport/*.h build/include/cantera/kernel/transport
|
||||
|
||||
|
||||
particles:
|
||||
ifeq ($(build_particles),1)
|
||||
cd Cantera/cads; @MAKE@
|
||||
|
|
|
|||
5453
config/configure
vendored
5453
config/configure
vendored
File diff suppressed because it is too large
Load diff
2
configure
vendored
2
configure
vendored
|
|
@ -149,7 +149,7 @@ BUILD_MATLAB_TOOLBOX=${BUILD_MATLAB_TOOLBOX:="default"}
|
|||
# "n" Do not build the Fortran 90/95 interface, even if a
|
||||
# Fortran 90/95 compiler is installed.
|
||||
|
||||
BUILD_F90_INTERFACE=${BUILD_F90_INTERFACE:="y"}
|
||||
BUILD_F90_INTERFACE=${BUILD_F90_INTERFACE:="n"}
|
||||
|
||||
|
||||
# The Fortran 90/95 compiler.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue