Commit graph

70 commits

Author SHA1 Message Date
Harry Moffat
d2f885acd5 added the ida solver 2011-07-30 03:17:00 +00:00
Harry Moffat
2abd551d71 Took out all using namespace calls from headers. 2011-03-28 21:12:25 +00:00
Harry Moffat
d5f44a5e6b ResidJacEval:
Added in support for returning a failure condition from calcDeltaSolnVariables()


NonLinearSolver:
   Added in support for returning a failure condition from bueler_jac().

   Added in a call to return an editable bounds constraint vector.

DenseMatrix:
   Added in comments about error handling from LAPACK routines.


mdp_allo:
   Added in a new routine, mdp_zero_int_1

thermo.h
electrolyteThermo.h
   Started to add in ifdef blocks.  These are not handled correctly currently.
2010-12-07 18:05:25 +00:00
Harry Moffat
3e0d9cef21 Fixed an error that crept in from the recent merge 2010-11-12 22:06:23 +00:00
Harry Moffat
ff3ebb25c2 Merge of the main branch into the LiquidTransportDevelop branch. 2010-11-12 21:37:41 +00:00
Harry Moffat
e759ea1a4b Added copy constructor and assignment operator 2010-07-16 16:25:32 +00:00
Harry Moffat
4856da5083 Added a solvers.h file 2010-05-23 02:46:46 +00:00
Harry Moffat
1611b87155 Added version control information to winconfig.h 2010-05-08 18:06:27 +00:00
Harry Moffat
701952e509 Added CANTERA_VERSION information to preconfig
and to the Cantera.mak files which are used in the 
application environment.
2010-05-08 03:33:37 +00:00
Harry Moffat
565e57d814 Added in routines that modify/fix the kinetics operator for heterogeneous
reactions. Now the kinetics operator carries around information
that indicates whether a phase exists or not. If the phase exists
then the species in it can be consumed by the kinetics heterogeneous
operator. If it doesn't exist then species within the phase can
only be created by the kinetics operator.

Worked on Cantera's version control. 

In the config.h file, we now write several forms of version
control information as preprocessor defines

CANTERA_VERSION  = double quoted string id'ing the branch number
CANTERA_VERSION_MAJORNUMBER  major number of Cantera as an int

Defines that are specific to the branch and that are assigned a 1. e.g.:
#define CANTERA_VERSION_18       1
#define CANTERA_VERSION_18_XXX   1
#define CANTERA_VERSION_18_LTD   1

In the Cantera.mak file, we write


CANTERA_VERSION =  double quoted string id'ing the branch number
CANTERA_DEFINES = -DCANTERA_VERSION=@ctversion@
2010-05-06 20:25:50 +00:00
Harry Moffat
9c6080e3c9 Turned on keyword substitution in the cpp files. 2009-12-09 17:50:27 +00:00
John Hewson
9a142cfd87 Added "LiquidTransport.h" to the files included under transport.h 2009-12-02 23:07:43 +00:00
Harry Moffat
35e4c9ea45 Turned on Keyword substition in all files. 2009-11-09 23:36:49 +00:00
Harry Moffat
b93bd3bb2f Fixed an error in Cantera.mak that appears just for macs.
added a couple more files to the install procedure that were missing.
2009-08-22 22:47:38 +00:00
Harry Moffat
70647c85ed Initial Import 2009-07-27 23:17:19 +00:00
Harry Moffat
e7078147b3 Changed xml constructors to make them simpler with less implicit
conversion routines. Trying to figure out what the issue is with
the pc interface's /MD vs /MDd problems.
2009-07-22 01:21:35 +00:00
Harry Moffat
653109129f Fixed equilibrium.h. vcs_MultiPhaseEquil.h needed to be conditionally
included.

Added more clean rules.
2009-04-04 03:27:43 +00:00
Harry Moffat
ceedaac03f Added SquareMatrix. 2009-01-27 16:14:58 +00:00
Harry Moffat
88a1a743d2 Firmed up support for linking against sundials. 2009-01-09 23:26:41 +00:00
Harry Moffat
e6e1618ce1 Added the stringUtils.h file to this file, since it's no longer in
xml.h.
Added headers.
2009-01-05 23:34:40 +00:00
Harry Moffat
b2cf384cea Added PURIFY option to makefiles 2008-12-30 21:49:41 +00:00
Harry Moffat
8860687cd0 Added another C++ interface file for electrolyte thermo 2008-10-13 21:09:14 +00:00
Harry Moffat
a2f48d98fe Added vcs_MultiPhaseEquil.h back. Test problems within vcs were failing. 2008-08-22 03:13:59 +00:00
Dave Goodwin
737c4aa49b *** empty log message *** 2008-08-20 12:49:57 +00:00
Harry Moffat
df8e9e0db5 Added a vcs_MultiPhaseEquil.h include file. 2008-04-16 21:01:43 +00:00
Dave Goodwin
7b179cb44f *** empty log message *** 2008-02-18 04:04:06 +00:00
Harry Moffat
f4512d69f8 Added more Cantera:: qualifications 2008-02-16 21:35:30 +00:00
Dave Goodwin
cde8aa8c61 minor bugs fixed that were introduced in commit a few hrs ago 2008-02-14 04:53:00 +00:00
Dave Goodwin
4a1d303fe4 put all C++ interface code in the Cantera_CXX namespace 2008-02-14 04:37:43 +00:00
Dave Goodwin
a2bb5e8135 removed old files 2008-02-09 02:55:08 +00:00
Harry Moffat
7f88caa782 Cantera.mak is starting to be operational with this checkin.
This is a really good, simple way of creating executables that
depend on Cantera.
2008-01-21 21:17:52 +00:00
Harry Moffat
d5a1d542fe Added to this include makefile. 2008-01-21 19:19:16 +00:00
Harry Moffat
f2659fd5db added an ignore 2008-01-15 17:00:09 +00:00
Harry Moffat
40e727f92f Added a Cantera makefile that can be included into other makefiles.
This is a good way to handle Cantera as a library in another
C++ application.
2008-01-15 16:59:16 +00:00
Dave Goodwin
a22145b832 *** empty log message *** 2008-01-09 13:43:26 +00:00
Harry Moffat
46e80acd92 Guarded against CANTERA_APP being defined previously 2008-01-04 00:21:56 +00:00
Harry Moffat
5885aeaecd Fixed some compilation errors that arose from Interface.h, due to
namespace changes.

Added xml.h to Cantera.h
2008-01-01 19:04:17 +00:00
Dave Goodwin
5b7b233630 *** empty log message *** 2007-12-30 04:19:37 +00:00
Harry Moffat
c5f28afd19 Made the report function a virtual function within the ThermoPhase
class. This means that the function can be modified depending on the
inheritance. This allows for the printout of molalities and
pH's for liquid phases where appropriate.

Took out a duplicate function, report(), in the Cantera namespace.
There was one in cxxutils.cpp and one in phasereport.cpp.
2007-12-21 02:58:41 +00:00
Dave Goodwin
81637032f6 *** empty log message *** 2007-12-18 02:54:14 +00:00
Harry Moffat
85d0d72fc9 Fixed compilation errors on solaris.
Solaris picks up const and non-const differences between parent and
child member functions.
2007-07-13 17:15:19 +00:00
Harry Moffat
3543dd577a Added the clockWC.h include to the c++ interface. 2007-06-11 15:20:58 +00:00
Harry Moffat
910a2abf86 Fixed an error that occurred during linking of applications.
There were multiple definitions of importPhase(string, string),
one per application file.
I moved the definition of importPhase to libctxx.a as it had
to be in an object file, and I retained the declaration within
importPhase.h. I also added declarations for the other
functions in libctxx.a into importPhase.h, as they weren't
declared anywhere in the interface.
2007-05-05 00:29:49 +00:00
Dave Goodwin
e8f49c5d9a minor cleanup 2007-05-04 15:48:43 +00:00
Dave Goodwin
5d8430431f minor cleanup 2007-05-04 15:48:43 +00:00
Dave Goodwin
fea8c985f5 reorganized source tree, changed include files, etc. 2007-05-04 15:18:40 +00:00
Harry Moffat
7bdea0ffd8 Doxygen update
Finished a draft of the File Tab within Doxygen. Each file now
has a link to the relevant modules and classes.
2007-03-23 15:09:17 +00:00
Dave Goodwin
ce73f8bacd removed using namespace statements from Cantera header files, and fully qualified most members of std (string, vector< >, etc.) in header files. User programs may need to have "using namespace" statements added. 2006-11-27 21:43:30 +00:00
Dave Goodwin
eee9f3023d *** empty log message *** 2006-11-07 23:35:59 +00:00
Dave Goodwin
0db629dcd9 *** empty log message *** 2006-05-20 21:12:37 +00:00