Commit graph

5875 commits

Author SHA1 Message Date
Ray Speth
b4a1fb2db1 [SCons/Numerics] Use ext/sundials if system Sundials not installed 2015-11-23 16:53:20 -05:00
Ray Speth
34e38ab007 Add submodule for Sundials 2015-11-23 16:28:15 -05:00
Ray Speth
bab07860e3 [Transport] Fix segfault when species transport data is missing
Resolves #312.
2015-11-23 10:56:02 -05:00
Ray Speth
a7db9a7411 Fix LD_LIBRARY_PATH order when running tests
build/lib needs to be first in case LD_LIBRARY_PATH contains another Cantera
installation.

Resolves #310.
2015-11-22 17:04:05 -05:00
Bryan W. Weber
10981277ae [Doc] Add link to Working with Input Files section 2015-11-19 08:02:07 -05:00
Bryan W. Weber
61736bd2ef [Doc] Update docs for ck2cti
Update documentation to give short tutorial and reflect most recent
version. Add notes for common errors encountered. Remove old ck2cti
docs from Matlab and Cython interface documentation, prefering
cti/input-files.rst. Resolves #295.
2015-11-18 18:09:12 -05:00
Bryan W. Weber
ee14246b12 [Doc] Put physical constant units into consistent form 2015-11-18 18:09:12 -05:00
Ray Speth
4977b2773f [SCons] Fix documentation of 'optimize' option 2015-11-18 12:59:16 -05:00
Ray Speth
6885edb8f8 Remove checks for NO_FTN_STRING_LEN_AT_END
This variable is never defined (and would not work correctly even if it were).
2015-11-18 11:56:40 -05:00
Ray Speth
e58bd09859 Eliminate debug_verbose option and DEBUG_MODE macro
Vebose printing can always be enabled at runtime by setting flags on various
classes.
2015-11-18 11:02:30 -05:00
Ray Speth
ee95c60813 Simplify error handling to eliminate need for global error stack
All of the functions for manipulating the global error stack
(CanteraError::save, setError, showErrors, etc.) are deprecated. The ability to
store an error is retained only for use in the C and Fortran interfaces so that
the last error message can be retrieved after a function returns an error code.
2015-11-16 19:50:55 -05:00
Ray Speth
eb8695dffa Remove unnecessary overrides of cv_mole 2015-11-15 17:00:46 -05:00
Ray Speth
8a5bad1e70 Eliminate lowercase 'l' as a variable name 2015-11-13 21:38:43 -05:00
Ray Speth
03db1d3942 [SCons] Fix installation location for Python module location on OS X
Fixes #296
2015-11-13 20:51:16 -05:00
Ray Speth
48c6c6b8ad [Python] Fix full-state (e.g. TPX) properties of PureFluid
The implementations which come from ThermoPhase expect "X" to mean mole
fractions, but for PureFluid "X" means vapor fraction. No setter is provided
since all three properties cannot be specified simultaneously.

Resolves #307
2015-11-12 18:20:31 -05:00
Ray Speth
f5ff849b47 Replace std::copy with simpler direct assignment where possible 2015-11-12 17:35:30 -05:00
Ray Speth
69eeb20283 Remove duplicate check for thermo node 2015-11-12 15:50:31 -05:00
Ray Speth
f79419cc49 Remove abandoned header file 'solvers.h' 2015-11-12 15:40:50 -05:00
Ray Speth
f6e2f0db73 Remove accidentally-added header file 2015-11-12 15:39:46 -05:00
Ray Speth
5e69a9949a Use ThermoPhase::RT() where convenient 2015-11-12 15:36:17 -05:00
Ray Speth
0d0c96257b [Thermo] Remove unnecessary override of getChemPotentials_RT 2015-11-12 15:15:48 -05:00
Ray Speth
f6d19ccd59 [Thermo] Remove unnecessary overrides of VPStandardStateTP methods
setPressure, setTemperature, and setState_TP are all implemented generally in
VPStandardStateTP. The specialization in child classes is always handled in
calcDensity().
2015-11-12 15:04:45 -05:00
Ray Speth
a9379e6f71 [Thermo] Remove unimplemented versions of setToEquilState 2015-11-12 12:42:46 -05:00
Ray Speth
ac9dfa055c [Thermo] Synchronize Mixture/Multiphase state before printing report
Do not assume that the states of the individual ThermoPhase objects still
correspond to the state of the mixture object. See #306.
2015-11-12 12:42:35 -05:00
Ray Speth
66a3b5b48a Remove unnecessary and bogus 'inline' declarations 2015-11-12 12:22:09 -05:00
Ray Speth
94185c7fbd Miscellaneous Doxygen doc and comment cleanup 2015-11-12 12:22:09 -05:00
Ray Speth
0540cf26d0 Clean up Doxygen docs and comments in Reactor classes 2015-11-12 11:41:34 -05:00
Ray Speth
34ff39e3df Clean up Doxygen docs and comments in OneD classes 2015-11-12 11:41:34 -05:00
Ray Speth
75d9ef93c5 Clean up Doxygen docs and comments for numerics classes 2015-11-12 11:41:34 -05:00
Ray Speth
0c8bf1fd08 Clean up Doxygen docs and comments for Transport classes 2015-11-12 11:41:34 -05:00
Ray Speth
fe4035647f Clean up remaining Thermo comments 2015-11-12 11:41:34 -05:00
Ray Speth
f8b12adef4 Clean up comments in 'base' source and header files 2015-11-09 19:35:52 -05:00
Ray Speth
5a0a6b855c Clean up Doxygen comments in VPSSMgr and descendants 2015-11-09 17:59:22 -05:00
Ray Speth
cd1f1fd5ac [Doc] Clean up Doxygen documentation for ThermoPhase classes
Remove redundant documentation from overloaded methods which does not add any
additional information.

Reformat to to make indentation and line lengths more consistent.
2015-11-09 17:59:22 -05:00
Ray Speth
78b471fbf9 Clean up doxygen comments for SpeciesThermoInterpType classes 2015-11-09 17:59:22 -05:00
Ray Speth
75b0c71044 Clean up comments in Kinetics 2015-11-09 17:59:22 -05:00
Ray Speth
5bf3b0fc67 Clean up comments in other equilibrium-related classes 2015-11-09 17:59:22 -05:00
Ray Speth
618c485c55 Clean up comments in VCS equilibrium solver 2015-11-09 17:34:46 -05:00
Ray Speth
4382ae6c85 Clean up comments in Thermo class source files 2015-11-09 17:34:46 -05:00
Steven DeCaluwe
14864e840b Extend NoNorm option for setCoverages to the Matlab toolbox
Because normalizing the species coverages leads to incorrect Jacobian
calculations, it is sometimes necessary to not normalize the coverages.
As for bulk species mass/mole fractions, this option is currently only
available when passing the coverages as a vector (i.e., not available
for string identifiers).
2015-11-07 21:14:03 -05:00
Ray Speth
70fe821c19 Deprecate FuncEval::getInitialConditions and related functions 2015-11-06 14:40:48 -05:00
Thomas Fiala
de133f1a3d [Reactor] Divide residuals by sqrt(n_vars) in advance_to_steady_state 2015-11-03 15:46:07 -05:00
Thomas Fiala
304364c203 [Reactor] Add documentation for advance_to_steady_state
Also, update tutorials to use this feature.
2015-11-03 15:46:07 -05:00
Thomas Fiala
57e3ee8c1a [Reactor] Implement the Cython function advance_to_steady_state
Resolves #95
Resolves #303
2015-11-03 15:41:58 -05:00
Thomas Fiala
16ab7dff51 [Reactor] Implement functions getState for reactors and reactor networks
These are simpler forms of getInitialConditions.
2015-11-03 14:34:28 -05:00
Ray Speth
592a40a1de [SCons] Remove unused configuration options 2015-10-29 22:26:52 -04:00
Ray Speth
c983d730a6 [SCons] Remove 'include/cantera/ext' when running 'scons clean' 2015-10-29 12:27:47 -04:00
Ray Speth
84566a3a7d [SCons] Fix incorrect directory created in build tree
The 'Mkdir' command was creating a (literal) '#include' directory, rather than
taking the '#' to mean the top of the source tree. The 'Mkdir' command is
unnecessary anyway, since the 'Copy' command will create the necessary
subdirectory.

Fixes #304.
2015-10-29 12:27:47 -04:00
Bryan W. Weber
afde0a7b52 [Doc] Remove old F77 and F90 SCons options from Intel instructions 2015-10-28 15:33:13 -04:00
Bryan W. Weber
d4fb85d4c3 [Doc] Clarify cloning instructions
Clarify the instructions on how to clone the repository and which tags or branches should be checked out to get certain releases of the software.
2015-10-28 15:31:33 -04:00