Commit graph

5128 commits

Author SHA1 Message Date
Ray Speth
1cd82d40af Remove 'SQUARE' and 'DSIGN' macros 2014-07-25 18:32:29 +00:00
Ray Speth
8aab7f527a Use std::max_element instead of reimplementing it 2014-07-25 18:32:26 +00:00
Ray Speth
41a6e78ff1 Remove incorrect comments from 'newTransportMgr' functions 2014-07-25 18:32:24 +00:00
Ray Speth
d5b873b697 [1D] Fix mass flux reported by Inlet1D for freely-propagating flames 2014-07-18 18:10:56 +00:00
Ray Speth
bc70da4252 [Matlab] Change log level for Transport construction 2014-07-18 18:10:54 +00:00
Ray Speth
884dd36b9c [Reactor] Remove unused reactor connectivity calculation 2014-07-18 15:14:12 +00:00
Ray Speth
1b1703cc56 [Reactor] Remove unused variable ReactorBase::m_init 2014-07-18 15:14:07 +00:00
Bryan W. Weber
ad3ac0a1ad [Matlab/Doc] Add automatically generated Contents.m to the toolbox. 2014-07-18 14:37:47 +00:00
Bryan W. Weber
cd8e9242a6 [Doc] Allow differentiation of classes from functions in the Matlab docs 2014-07-18 14:37:42 +00:00
Bryan W. Weber
c6ac27b07c [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
Bryan W. Weber
0a0d5f2947 [Matlab] Add option to specify transport modeling to @Solution constructor. Add options to specify information about @Wall on construction. Verify job number for @Domain1D 2014-07-18 14:35:28 +00:00
Bryan W. Weber
a067fcbc37 [Samples/Matlab] Fix bugs in conhp and conuv Matlab samples 2014-07-18 14:35:22 +00:00
Bryan W. Weber
6cd78c0233 [Matlab] Move @Solution/soundspeed.m and set.m to @ThermoPhase. Delete duplicated 1D/nComponents.m method 2014-07-18 14:35:15 +00:00
Bryan W. Weber
a8304e146e [Matlab] Fix small bugs. Add clear method to Transport, qdot and vdot to Wall. 2014-07-18 14:35:05 +00:00
Bryan W. Weber
0c1688a361 [Matlab] Switch to explicit class specific hndl functions. Deprecate generic hndl functions 2014-07-18 14:34:54 +00:00
Bryan W. Weber
519bf12faa [Matlab] Update built-in thermo imports to use Solution rather than importPhase 2014-07-18 14:34:47 +00:00
Bryan W. Weber
411f6d51a9 [Matlab] Deprecate molarMass methods in favor of molecularWeight methods to be consistent with the rest of Cantera 2014-07-18 14:34:41 +00:00
Bryan W. Weber
34274257b9 [Matlab] Remove unnecessary returns from set methods in 1D classes 2014-07-18 14:34:31 +00:00
Bryan W. Weber
b95614760a [Matlab] Remove unnecessary returns from set methods in @ThermoPhase class 2014-07-18 14:34:21 +00:00
Bryan W. Weber
ab251257e5 [Matlab] Trivial changes to variable names and whitespace for consistency 2014-07-18 14:33:09 +00:00
Bryan W. Weber
f4041d6fb2 [Doc] Add the ability to pseudo-autodocument MATLAB code to the SConscript file 2014-07-18 14:32:53 +00:00
Bryan W. Weber
a03b7d6123 [ck2cti/test] Add test for empty reaction section in CK input file 2014-07-17 15:36:53 +00:00
Bryan W. Weber
47b8c49aed [Doc] Fix names of the physical constants in the Cython documentation 2014-07-16 16:15:21 +00:00
Bryan W. Weber
61f10970d2 [ck2cti] Fix bug when validating converted mechanisms if the output file name is not specified to ck2cti 2014-07-16 16:15:14 +00:00
Bryan W. Weber
947a262d90 [ck2cti] Allow the case where a reaction section is specified but empty 2014-07-16 16:14:48 +00:00
Ray Speth
d46bc31d2c Simplify SolveSP printing functions
Remove unused arguments. Merge printIteration and PrintFinal.
2014-07-10 22:36:54 +00:00
Ray Speth
45f6e84ebf Improved error messages that just reported 'confused' 2014-07-10 22:36:43 +00:00
Ray Speth
5ebdb7e924 Use execeptions to simplify usage of ElemRearrange 2014-07-10 22:36:36 +00:00
Ray Speth
7af153c75f [Cython/Kinetics] stoich_coeff methods accept species by name
reactant_stoich_coeff and product_stoich_coeff now accept either the species
name or the "kinetics species index".
2014-07-10 22:36:28 +00:00
Ray Speth
bd14358a68 [1D] Remove empty overrides of Domain1D::_finalize 2014-07-10 22:36:06 +00:00
Ray Speth
c4beab316f Remove unnecessary class forward declarations 2014-07-10 22:34:44 +00:00
Ray Speth
040958a5f5 Add some deprecation warnings 2014-07-10 22:34:33 +00:00
Ray Speth
868573080d [Python/1D] Add premixed counterflow flame configuration 2014-07-10 22:34:24 +00:00
Ray Speth
829c9b38cf [Python] Move some classes from Cython to pure Python
The classes implementing specific flame geometries don't directly interact with
any of the underlying C++ implementation, so they can be moved out of the
compiled Cython extension. This reduces the size of the compiled extension, and
makes it easier to implement additional flame types in Python.
2014-07-10 22:34:12 +00:00
Ray Speth
a2e3e97a1f [1D] Check that specified grid is monotonically increasing 2014-07-10 22:34:05 +00:00
Ray Speth
27e2aa16b8 [Python/1D] Allow setting Inlet mole fractions using a dict 2014-07-10 22:33:30 +00:00
Ray Speth
c7e2f5fcbc [Doc] Add recommended citation for Cantera 2014-07-10 22:33:25 +00:00
Ray Speth
19e3a09980 Allow '~/' as alias for user's home directory when importing cti/xml 2014-07-10 22:33:20 +00:00
Ray Speth
d5870c4e4b [Python] Allow Func1 to accept nearly-scalar types
This includes lists, tuples, and numpy arrays with a single element
2014-06-20 18:45:22 +00:00
Ray Speth
8bee138553 [Kinetics] Add access to reactant and product strings
In C++, these are the reactantString() and productString() methods.  In Python,
these are the 'reactants' and 'products' properties.

Resolves Issue 110.
2014-06-20 18:45:17 +00:00
Ray Speth
a470502932 [Transport] Replace transport_log.xml with regular text logging
Write plain text to the common Cantera logger to be more consistent with the
verbose/debug logging from other parts of Cantera. This simplifies several of
the transport initialization functions, and eliminates the need for class
XML_Writer.
2014-06-20 18:44:59 +00:00
Ray Speth
284c0d0345 Remove unimplemented 'potentialEnergy' methods from IdealMolalSoln 2014-06-20 18:44:53 +00:00
Ray Speth
3349a28d38 Update some deprecation warnings. 2014-06-20 18:44:39 +00:00
Ray Speth
e778afad32 Remove deprecated functions 2014-06-20 18:44:33 +00:00
Ray Speth
63dd02073c [Doc] Fix a few Doxygen warnings 2014-06-20 18:44:23 +00:00
Ray Speth
147d630f48 [Doc] Remove references to nonexistent source file 'importCTML.cpp' 2014-06-20 18:43:51 +00:00
Ray Speth
7064fd1964 [Cython/Examples] Add reactor example with ODEs implemented in Python 2014-06-20 18:43:47 +00:00
Ray Speth
fc9ba22772 [Cython] Add methods for setting unnormalized mass/mole fractions 2014-06-20 18:43:42 +00:00
Ray Speth
a33eca6684 [Python/Samples] Add Peridic CSTR example to Python module
Translated from the Matlab sample
2014-06-16 22:01:54 +00:00
Ray Speth
dd297256ff [Matlab/Samples] Update to use IdealGasReactor 2014-06-16 22:01:31 +00:00