Ray Speth
bdda7b5eaf
[clib] Remove some redundant/unusable/unnecessary functions
2016-10-17 19:15:36 -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
7f21aa0f45
[Kinetics] Replace numerical constants for Kinetics types with strings
2016-07-07 21:36:11 -04:00
Ray Speth
e41a667dba
Remove unused scripts from build system
2016-06-23 17:18:49 -04:00
Ray Speth
f0e6d090dc
[Fortran] Fix for multiple definitions of '_xml' function
...
This was causing linker errors when trying to link with the Fortran library.
2016-02-24 18:59:23 -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
66a3b5b48a
Remove unnecessary and bogus 'inline' declarations
2015-11-12 12:22:09 -05:00
Ray Speth
c3a16ec1fb
Update AssertThrowMsg and AssertFinite to use cppformat
2015-10-14 18:45:23 -04:00
Ray Speth
acdf9cf0ed
Clean up interstitial whitespace
...
Remove extra space around operators, between words, etc.
2015-08-02 23:06:16 -04:00
Ray Speth
6a04193646
Fix un-bracketed if, for, and else statements
2015-08-02 23:06:15 -04:00
Ray Speth
e4c45b6429
General whitespace cleanup
...
Remove unnecessary blank lines and trailing whitespace. Replace tabs with
spaces.
2015-08-02 23:06:15 -04:00
Ray Speth
6cc5652de6
Remove commented-out code
2015-07-20 17:20:46 -04:00
Ray Speth
f1f10b6526
Remove unused, deprecated code marked for removal after Cantera 2.2
2015-07-15 12:08:50 -04:00
Ray Speth
5214672ab3
Merge namespace ctml with namespace Cantera
2015-05-27 18:09:07 -04:00
Ray Speth
0ad587f50b
Remove some unnecessary temporary references
2014-12-12 01:36:35 +00:00
Ray Speth
39b751d655
[Equil] Always use the member function versions of 'equilibrate'
...
The various free functions are deprecated, along with the now unnecessary
headers 'equil.h' and 'equilibrium.h'.
2014-11-08 00:53:45 +00:00
Ray Speth
044235c065
[SCons] Remove unnecessary uses of pjoin
2014-10-08 16:54:49 +00:00
Ray Speth
ca68fbc075
Rename Cabinet member variables to avoid using reserved identifiers
...
Names containing double underscores are reserved for the C++ implementation.
2014-09-24 23:17:50 +00:00
Ray Speth
002c158761
Cleanup include statements
...
Move includes from header to implementation files where possible, and remove
unnecessary includes.
2014-08-28 16:54:13 +00:00
Ray Speth
789574ac80
Remove commented-out code
2014-05-27 02:52:21 +00:00
Ray Speth
c887c1b6fb
Remove unnecessary calls to parseCompString
2014-04-08 19:39:06 +00:00
Ray Speth
a17085661f
[Fortran] Remove unhelpful error handling in _fkin()
2014-03-28 23:12:25 +00:00
Ray Speth
c7ba8bfb84
Remove abandoned autotools build system
2014-03-04 17:38:53 +00:00
Ray Speth
03c891ba18
[SCons] Fix a missing SCons dependency
2014-02-20 03:00:41 +00:00
Ray Speth
aae8982924
Clean up end-of-file whitespace
2014-01-30 00:47:24 +00:00
Ray Speth
717a2367b1
[Transport] Add electricalConductivity method to all language interfaces
...
Thanks to user 'hencken' for the patch.
Resolves Issue 171.
2013-08-23 17:43:55 +00:00
Ray Speth
934010136d
Removed unnecessary temporaries used for storing return values
2013-02-14 01:04:07 +00:00
Ray Speth
49dbb605ab
Changed parseCompString to simplify its typical usage pattern
2012-08-17 16:44:34 +00:00
Ray Speth
021f66c755
Merge bug fixes from the 2.0 maintenance branch
2012-08-15 15:36:34 +00:00
Ray Speth
c092bbaede
Fixed the order of include and library directories when compiling
...
Include directories in the Cantera source tree should be listed first so that
they take precedence over headers from other installed copies of Cantera that
might end up on the include search path. This was potentially a problem when
Cantera was installed in the same location (e.g. /usr/local) as one of its
dependencies (e.g. Sundials).
The same logic applies to directories on the library link path.
2012-08-10 21:03:06 +00:00
Ray Speth
858f355054
Removed some obsolete code for handling deprecated functions
2012-08-08 22:17:28 +00:00
Ray Speth
88bb6fe679
Removed obsolete C++ Chemkin mechanism converter
2012-07-26 20:49:50 +00:00
Ray Speth
3ce3da1fa2
Fixed code formatting
2012-07-18 18:32:29 +00:00
Nicholas Malaya
f353fcbc16
[cantera]: adding patch that adds support for two methods in C++ to fortran, both getMixDiffCoeffs{Mass,Mole}
2012-06-15 18:53:39 +00:00
Nicholas Malaya
79b29300a6
[cantera]: updating autotools build system. Library building, need to fix another test. Additionally, adding hypersonic flow transport model-- need to add hypersonic thermodynamics as well.
2012-04-25 13:18:25 +00:00
Harry Moffat
25ba149aab
Sorry for monolithic commit. Will break it up in the future.
...
Moved the external libraries to separate library files so that libcantera.a just contains its own namespace externals.
Fixed several errors in the equilibrium program that occurred during the port. (int to size_t issues).
Moved some equilibrium program headers to the include file system, so that it can link with equilibrium program.
Worked on Cantera.mak. Needs more work.
Fixed an issue with the Residual virtual base classes within numerics. They didn't inherit due to int to size_t migration. This caused numerous test problems to fail (issue with backwards compatibility - do we want it and how much do we want?).
Added csvdiff back so that it's available for shell environment runtests.
2012-04-05 00:24:31 +00:00
Ray Speth
8ea4ae728a
Moved a few standard library includes to more local scopes
2012-03-23 22:16:04 +00:00
Ray Speth
ca4212cc57
Removed a number of unused / redundant typedefs
2012-03-15 19:51:57 +00:00
Ray Speth
22bdb58f33
Added consistent, complete exception handling to C interface functions
2012-03-09 23:00:31 +00:00
Ray Speth
312b7ff2c4
Deprecated the global "report(ThermoPhase&)" function
2012-03-09 22:57:35 +00:00
Ray Speth
9cdf079d2d
Added templated generic exception handler for clib functions
2012-03-05 20:46:34 +00:00
Ray Speth
54efbaa320
Rewrote exception handling to be more general and more explicit
...
CanteraError inerits from std:exception, so now it has a what() method
that is used to print a message describing the exception. Adding an
exception to the Cantera error stack now requires explicitly calling
the .save() method.
2012-03-05 20:45:56 +00:00
Ray Speth
8150f49c2c
Simplified adding SCons build and install targets
2012-03-05 20:45:20 +00:00
Ray Speth
27314703a0
Fixed qualifiers for functions that are part of the Cantera DLL
2012-02-27 18:15:47 +00:00
Ray Speth
6cb4bd93ce
Cleaned up whitespace in all Python files using reindent.py
...
4 spaces per indentation level, no tabs, no trailing whitespace,
and a single newline at end of each file.
2012-02-27 18:13:05 +00:00
Ray Speth
3b1694fdfb
Class Storage has been eliminated in favor of class Cabinet
2012-02-27 18:12:00 +00:00
Ray Speth
2da9603a15
Streamlined interface to class Cabinet
2012-02-27 18:11:47 +00:00