Ray Speth
40630a3ab4
Fix const-ness of some function arguments
2016-10-15 20:50:15 -04:00
g3bk47
e83b095c3a
[Kinetics] added const version of Kinetics::reaction
2016-10-15 18:24:35 -04:00
Ray Speth
6ca9dc2cc3
[Kinetics] Remove unused m_finalized member variable
2016-10-13 18:40:03 -04:00
Ray Speth
0b5e209b40
[Kinetics] Remove unused private members of class Kinetics
2016-10-13 18:40:03 -04:00
Ray Speth
f17750e483
Make species names case-preserving instead of case-sensitive
...
This improves interoperability when working with mechanisms which use differing
conventions for naming species using uppercase or lowercase.
2016-10-13 18:40:03 -04:00
Ray Speth
deee889baf
[clib] Make clib headers public
2016-10-13 18:40:03 -04:00
Ray Speth
ae6e7fdff7
Add license/copyright info to files that were missing it
2016-10-10 22:48:23 -04:00
Ray Speth
ecbfecd7fd
Replace existing copyright notices with uniform copyright/license info
2016-10-10 22:19:01 -04:00
Ray Speth
e332fcbba2
[clib] Make clib actually usable as a C (not C++) interface
...
- Cannot include any C++ headers or use C++ types (e.g. 'bool')
- Functions arguments cannot have default values
- "extern C" needs to be wrapped by "#ifdef __cplusplus"
2016-09-19 18:48:40 -04:00
Ray Speth
11f6c2f993
Consolidate duplicate species checks in Phase::addSpecies
2016-09-10 21:45:24 -04:00
Ray Speth
178b452a49
[Transport] Automatically reinitialize after change in number of species
...
This makes it possible for GasTransport objects to work reasonably well with
ThermoPhase objects that have had species added to them. The main changes
required are to make the initialization functions idempotent.
2016-09-09 22:50:17 -04:00
Ray Speth
46b97beee7
[Transport] Restore temperature after fitting properties
2016-09-09 22:50:17 -04:00
Ray Speth
85e2e9968b
[Thermo] Deprecate RedlichKisterVPSSTP::Vint
2016-09-08 17:21:20 -04:00
Ray Speth
340c1bf60a
Remove some unused variables
2016-09-08 17:21:20 -04:00
Ray Speth
abf71c4cb1
Allow non-positive atomic weights for custom elements
2016-08-30 20:28:35 -04:00
Ray Speth
0bd88927f5
[Equil] Fix ElemRearrange when unused elements are present
...
The solver could get stuck in an infinite loop when there were elements that
were not used in any species.
2016-08-17 21:15:34 -04:00
Bryan W. Weber
8ada40f0be
[Matlab] Add interface to setChemistry
2016-08-12 11:53:53 -04:00
Bryan W. Weber
c344b4c0f8
Add methods Reactor::setChemistry and chemistryEnabled
...
These functions mirror the setEnergy and energyEnabled methods.
The enableChemistry and disableChemistry methods are deprecated.
2016-08-12 10:54:58 -04:00
Ray Speth
ee7c4ed463
[Kinetics] Remove dead code from InterfaceKinetics
2016-07-30 23:49:38 -04:00
Ray Speth
4582e724ee
Eliminate compiler warnings issued by Visual Studio 2015
2016-07-30 23:09:17 -04:00
Ray Speth
ac7a9bd238
Deprecate copy constructors for eventually-noncopyable objects
...
The following classes (and their children) will be non-copyable and
non-assignable after Cantera 2.3:
- ThermoPhase
- Kinetics
- Transport
- Species
- SpeciesThermoInterpType
- MultiSpeciesThermo
- VPSSMgr
- PDSS
- ResidJacEval
- RootFind
2016-07-29 18:57:29 -04:00
Ray Speth
64983aaf16
Remove some unnecessary copy constructors and assignment operators
...
The implicitly-defined copy constructors and assignment operators work fine for
these classes.
2016-07-29 18:39:45 -04:00
Ray Speth
fe15a4fe9c
[Base] Make Application::Messages non-copyable
2016-07-29 15:05:52 -04:00
Ray Speth
e851e5e9d8
[Kinetics] Fix initialization of use_motz_wise_correction
2016-07-29 15:05:52 -04:00
Ray Speth
af3de9aa4d
[Numerics] Fix BandMatrix assignment operator
2016-07-29 15:05:52 -04:00
Ray Speth
dac5345b56
[Base] Move CANTERA_DATA environment variable up in search path
...
The paths added from the CANTERA_DATA environment variable should be searched
before hard-coded paths which are determined based on the installation location.
2016-07-29 11:30:56 -04:00
Ray Speth
f733fac104
[Kinetics] Deprecate InterfaceKinetics::checkPartialEquil
2016-07-28 22:38:05 -04:00
Ray Speth
a8bf1aa628
[Kinetics] Remove unused members of InterfaceKinetics
2016-07-28 22:38:05 -04:00
Ray Speth
7f121a9270
[Reactor] Use setCoveragesNoNorm when evaluating ReactorSurface
2016-07-28 22:38:05 -04:00
Ray Speth
1e5eb8c871
[Kinetics] Add option for Motz & Wise correction to sticking reactions
2016-07-28 18:38:40 -04:00
Ray Speth
593ab8a573
[Kinetics] Refactor handling of sticking reactions
2016-07-28 11:52:46 -04:00
Ray Speth
908e620325
[SCons] Generate versioned shared objects for cantera_shared.so
...
See #318 .
2016-07-25 14:42:45 -04:00
Ray Speth
9b318f3c90
[SCons] Always link cantera_shared to its dependencies
...
This is not strictly required on Linux, but it doesn't hurt.
See #318 .
2016-07-25 14:42:45 -04:00
Ray Speth
9a309ee410
[Equil] Deprecate some unused VCS-related functions
2016-07-22 13:51:29 -04:00
Ray Speth
ba3a0ee3e9
[Equil] Deprecate broken version of VCS phase stability check feature
...
Resolves #331 .
2016-07-22 13:51:16 -04:00
Ray Speth
e2d7e178b3
[SCons/Matlab] Link statically to libstdc++ on Linux
...
Matlab 2016a now uses some C++11 features, and symbols included in some of the
Matlab libraries conflict with the versions from system libraries that Cantera
is compiled with and expects to find, resulting in difficult-to-diagnose memory
errors.
2016-07-13 17:11:34 -04:00
Ray Speth
0d7cc10f99
[Doc] Fix some Doxygen warnings
2016-07-07 23:37:03 -04:00
Ray Speth
bd8a5d0bc9
[Transport] Replace numerical constants for Transport types with strings
2016-07-07 22:52:25 -04:00
Ray Speth
45099255de
Deprecate Factory pointer argument to "newFoo" convenience functions
2016-07-07 21:36:11 -04:00
Ray Speth
7f21aa0f45
[Kinetics] Replace numerical constants for Kinetics types with strings
2016-07-07 21:36:11 -04:00
Ray Speth
3b0cf9f832
[Thermo] Make SSVolume_Model_enumType local to class PDSS_SSVol
2016-07-07 21:36:11 -04:00
Ray Speth
0f71bbcec5
[Thermo] Replace numerical constants for ThermoPhase types with strings
...
Deprecate ThermoPhase::eosType and related methods
2016-07-07 21:36:11 -04:00
Ray Speth
0de6c01384
[Thermo] Deprecate numerical constants for PDSS types
2016-07-05 23:01:14 -04:00
Ray Speth
39c234ac4b
[Thermo] Deprecate numerical constants for VPSSMgr types
2016-07-05 22:49:56 -04:00
Ray Speth
62524e8820
[Equil/Test] Fix failures involving use of global variables
...
Direct use of "global" variables defined in the shared library results in
inconsistent behavior.
2016-07-05 17:12:13 -04:00
Ray Speth
d4ddabc76c
Use system-installed version of fmt library if available
...
Resolves #348 .
2016-07-05 14:17:01 -04:00
Ray Speth
f985169e93
Introduce basic registration capabilities for factories
2016-07-04 16:01:31 -04:00
Ray Speth
64bb049647
[Numerics] Handle zero-size timestep in CVodesIntegrator::advance
...
This permits simpler integration loops starting from t=0
2016-07-04 16:01:31 -04:00
Ray Speth
cd958a343b
[1D] Make better use of local variables
2016-06-28 17:35:40 -04:00
Ray Speth
ce9a17fb76
[Reactor] Make better use of local variables
2016-06-28 16:58:51 -04:00