Commit graph

646 commits

Author SHA1 Message Date
Ray Speth
ea040e1a5e [SCons] Always link to static standard libraries with MinGW 2014-02-24 03:25:34 +00:00
Ray Speth
a02d3193de [SCons] Remove unused 'rpfont' configuration variable 2014-02-24 03:25:25 +00:00
Ray Speth
dba9ddd858 Fix miscellaneous integer sign/size warnings 2014-02-21 19:08:47 +00:00
Ray Speth
0392147540 Fix integer sign/size warnings in XML-related functions 2014-02-21 19:08:40 +00:00
Ray Speth
6f8da1a27e Fix 'unused variable' warnings 2014-02-21 19:08:33 +00:00
Ray Speth
2ead29097c [Thermo] Make signatures of overridden Hf298 functions consistent 2014-02-21 19:08:19 +00:00
Ray Speth
4a83d6450b Remove unnecessary include of windows.h 2014-02-21 19:08:07 +00:00
Ray Speth
aad284cce7 [SCons] Fix library linking issues under Cygwin 2014-02-20 03:01:01 +00:00
Ray Speth
44847515ca Fix compilation errors with isnan/isinf using Cygwin's GCC 2014-02-20 03:00:56 +00:00
Ray Speth
03c891ba18 [SCons] Fix a missing SCons dependency 2014-02-20 03:00:41 +00:00
Ray Speth
4ca1d9dd1d [Matlab] Fix detection of errors when importing Kinetics
Cast the unsigned return type of newKineticsFromXML to a signed type so that the
check on the Matlab side (which looks at the sign of the return value) can
detect and report errors.
2014-02-13 22:26:45 +00:00
Victor Brunini
92a3d13752 Prevent hidden overloaded virtual function compiler warning. 2014-02-12 21:30:09 +00:00
Ray Speth
fb2f52b2ec General cleanup of class ThermoPhase 2014-02-06 22:59:07 +00:00
Ray Speth
14b1bf093b Remove option to disable 'h298modify_capability' at compile-time 2014-02-06 22:58:56 +00:00
Ray Speth
3015e90088 General cleanup of ctml functions 2014-02-06 22:58:49 +00:00
Victor Brunini
171681bf13 Cache result of expensive function call in HMWSoln for reuse.
Went from 440s runtime down to 65s for test case of interest.
2014-02-03 19:48:02 +00:00
Ray Speth
d516d46f33 Remove unnecessary use of static_cast<int> 2014-01-31 23:15:09 +00:00
Ray Speth
3dc335565c Fix missing include in application.cpp
Causes compilation errors on OS X 10.8.
2014-01-31 03:44:27 +00:00
Ray Speth
e59a7a7eeb [1D] Eliminate deprecated methods of Domain1D 2014-01-30 00:47:52 +00:00
Ray Speth
ff9584105b Do implicit CTI to XML conversions without generating .xml files
When instantiating a phase from a .cti file, do the conversion in memory,
without writing the XML representation to disk. This eliminates the unrequrested
XML files that Cantera normally generates, and also avoids errors when running
Cantera from a directory where the user does not have write permissons.
2014-01-30 00:47:37 +00:00
Ray Speth
aae8982924 Clean up end-of-file whitespace 2014-01-30 00:47:24 +00:00
Ray Speth
a33c57d1f1 [1D] Remove unused method 'setAdiabaticFlame' 2014-01-23 04:20:42 +00:00
Ray Speth
904459c6b8 [1D] Remove unused 'importSolution' function 2014-01-23 04:20:35 +00:00
Ray Speth
cf0ff0c6fd [1D] Move m_zfixed and m_tfixed variables from Domain1D to FreeFlame
FreeFlame is the only subclass of Domain1D where these variables are used.
2014-01-21 17:21:43 +00:00
Ray Speth
f45e627745 Fix compiler warnings about implicit double -> int conversions 2014-01-21 17:21:37 +00:00
Bryan W. Weber
4badbd1fb3 [SCons/0D] Update to enable Sundials linked with external BLAS/LAPACK.
With help from Nick Curtis and Ray Speth.
2014-01-20 15:19:53 +00:00
Victor Brunini
8c4312f31e Fix potential segmentation fault and invalid read. 2014-01-14 16:51:20 +00:00
Ray Speth
2a37111d33 [SCons] Add Boost libraries when building the shared library 2014-01-09 23:12:18 +00:00
Ray Speth
dfc542be76 Fix some issues identified by compiler warnings 2014-01-09 23:12:11 +00:00
Ray Speth
f3e0280716 Improve error handling when calling ck2cti and ctml_writer
Only look for modules in the new location (inside the cantera package), and
print the path if they aren't found, to aid in debugging.
2014-01-08 17:10:53 +00:00
Ray Speth
562eed68d9 Fix missing include in csvdiff
"std::exit" is declared in <cstdlib>. Fixes compilation errors on OS X 10.9.
2014-01-08 17:10:48 +00:00
Bryan W. Weber
a689717a7a [Matlab] Add isothermalCompressibility and thermalExpansionCoeff functions
Resolves Issue 157.
2014-01-08 17:10:41 +00:00
Bryan W. Weber
120c6e742c [Matlab] Add fwdRateConstants and revRateConstants functions
Resolves Issue 125.
2014-01-06 18:46:36 +00:00
Ray Speth
1b20128ad5 [1D] Miscellanous cleanup of class OneDim 2014-01-06 18:46:14 +00:00
Ray Speth
dede8dcd42 [1D] Remove redundant Domain1D::setGrid function
This is a duplicate of Domain1D::setupGrid.
2014-01-06 18:46:09 +00:00
Ray Speth
2653c0a16b [1D] Move OneDim::needJacUpdate to the correct source file 2014-01-06 18:46:03 +00:00
Ray Speth
fc008d067d [Transport] Move implementation of MultiTransport into a single file 2014-01-06 18:45:57 +00:00
Ray Speth
907bfa0a10 Eliminated possibility of throwing from XML_Node destructor 2014-01-06 18:45:52 +00:00
Ray Speth
07cf85b851 [Thermo] Made constants used in WaterProps 'static const' 2014-01-06 18:45:47 +00:00
Ray Speth
ff75f77add Remove unnecessary m_nchildren variable from XML_Node 2014-01-06 18:45:41 +00:00
Ray Speth
b7885ea84a Simplify XML_Node::addChild implementations 2014-01-06 18:45:36 +00:00
Ray Speth
76a9c5e79c Remove unnecessary overload of XML_Node::addChild 2014-01-06 18:45:31 +00:00
Ray Speth
607955b9f2 Remove unnecessary conditional surrounding 'delete' statements 2014-01-06 18:45:19 +00:00
Harry Moffat
7e88d49734 Took out change of user NASA polynomials.
This violates basic paradigm of what the user inputs the user gets.
If this is necessary, this needs to be a cpp utility program that is run before the main simulation.
2014-01-03 20:57:40 +00:00
Ray Speth
201043e98c [Kinetics] Fix reaction path output when arrow_width > 0
Fixes Issue 197.
2013-12-20 19:21:45 +00:00
Ray Speth
38532f800f Fix linker error in IDA_Solver 2013-12-20 19:21:36 +00:00
Ray Speth
28dbcf072e [Kinetics] Remove the deprecated 'WF93' Falloff function 2013-12-16 23:22:09 +00:00
Bryan W. Weber
fc2d7e4ce0 [Reactor] Change 'species' to 'component' in context of sensitivities
Change the variable named *species* to be named *component*. This
better matches the utility of this variable, since it can be used to
retrieve any of the state variables. Also, update the corresponding
documentation.
2013-12-16 23:22:04 +00:00
Bryan W. Weber
1a2404aea5 [Reactor] Make default wall area 1.0 m^2
This makes the default consistent with the documentation in the Python
module.

Fixes Issue 194.
2013-12-16 23:21:58 +00:00
Ray Speth
e1a49487b7 [Kinetics] Remove deprecated getActivationEnergies function
Resolves Issue 147.
2013-12-16 23:21:52 +00:00