Commit graph

1869 commits

Author SHA1 Message Date
Harry Moffat
56ad9ca9e8 Fixed a compile error in the THREAD_SAFE capability 2010-11-12 18:02:21 +00:00
Harry Moffat
58baed0f2e Fixed issue 17
There was an obvious error in the THREAD_SAFE_CANTERA compile.
2010-11-11 00:19:59 +00:00
Harry Moffat
ef7728b1d3 Merged thermo directory with the LiquidTransportDevelop
thermo directory. 
  The biggest change is the addition of the derivative routines
of the activity wrt mole fraction and mole number.
Also There is an addition of reportCSV() routine, which is 
a method to create a comma separated file from ThermoPhase routines.
The rest are small issues.
2010-05-09 03:18:33 +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
eaa2875d10 Two major capabilities have been merged into the main branch
from liquidTransportDevelop branch

The Exchange_current_reaction_ratecoeff_type method for
formulating reaction rate constants for exchange current
reactions has been ported into the main branch.

Fixed the InterfaceKinetics object so that we can
specify that a phase doesn't exist. If a phase doesn't exist,
species in that phase can't be reactants in the phase. Before,
this fix, they could be !?!!
This was because InterfaceKinetics objects use ThermoPhase
objects, which are intrinsic only. We need an extrinsic notion 
that is in addition to ThermoPhase info in order to get this right.
2010-05-08 03:15:22 +00:00
Harry Moffat
94d0d85925 Added more units strings.
Took out frequency conversion, until we reevalulate it
2010-05-07 14:48:15 +00:00
Harry Moffat
7b046ad00f Added comments. 2010-05-07 14:47:03 +00:00
Harry Moffat
3d64fae63c Added a deepStdVectorPointerCopy templated routine.
Allows for deep copies of
2010-05-07 14:45:32 +00:00
Harry Moffat
33a21f76ac Added more constructor inits. 2010-05-07 14:44:46 +00:00
Harry Moffat
74b1c3c0a1 Added more constructor inits 2010-05-07 14:44:05 +00:00
Harry Moffat
db3de591af Added comments.
Added deprecated symbol for array_fp
2010-05-07 14:41:34 +00:00
Harry Moffat
350988be37 Changed the format of the xml file so that you only need
2 of the 3 fields:
 DG0, DH0, and S0.

The third field is calculated consistently wrt the first two fields.
2010-04-21 18:05:44 +00:00
Christopher Lueth
08615de293 test commit 2010-02-12 22:28:49 +00:00
Christopher Lueth
08dca36204 hi 2010-02-12 22:23:44 +00:00
Harry Moffat
039696dcc6 More changes for solaris compile 2010-02-09 20:39:03 +00:00
Harry Moffat
a5ea91b56a Changes due to compilation problems on solaris 2010-02-09 20:24:11 +00:00
Harry Moffat
e2fb5d3483 Fixed compilation errors on solaris. 2010-02-09 19:57:02 +00:00
Harry Moffat
66ea343cea Doxygen update
- no code changed
  - All the easy warning messages are eliminated now from the trunk.
2010-01-17 18:17:55 +00:00
Harry Moffat
36e4040750 Doxygen update
- beat down the warning messages from this directory.
   - no code changed other than reformatting.
2010-01-17 17:55:28 +00:00
Harry Moffat
180fbef55d Doxygen update
- no code has been changed other than a change of symbols.
2010-01-17 17:05:46 +00:00
Harry Moffat
8af585eeab Doxygen update - no code changed.
Working on beating down the warnings
2010-01-16 18:57:05 +00:00
Harry Moffat
3587de40b7 Doxygen update on SingleSpeciesTP
double to doublereal conversions

made sure const parameters match on setTemperature()
2010-01-15 20:22:09 +00:00
Harry Moffat
8ea0c8197e Made sure all double values were doublereal 2010-01-13 22:12:27 +00:00
Harry Moffat
bedb314545 Eliminated a doxygen error. 2010-01-12 21:34:40 +00:00
Harry Moffat
ab38d29228 Fixed a doxygen compatibility problem. 2010-01-12 21:27:32 +00:00
Harry Moffat
3d392242d9 Added documentation for an external int 2010-01-12 21:23:08 +00:00
Harry Moffat
41e207d762 Added comments. 2010-01-12 17:16:57 +00:00
Harry Moffat
e381001c95 Merged changes from the 1.8.0 branch ontl the main trunk. 2010-01-04 00:46:26 +00:00
Harry Moffat
a0cdf79771 Reduced the accuracy on the comparisons 2010-01-03 23:56:43 +00:00
Harry Moffat
fd287e1d89 reduced the precision on the comparisons 2010-01-03 23:54:24 +00:00
Harry Moffat
23c50efe35 rebaselined the solution 2010-01-03 23:44:55 +00:00
Harry Moffat
2cb7eb7580 Added two new files that will be used in the windows debug compile. 2009-12-30 23:08:17 +00:00
Harry Moffat
c03e7c2ab5 Merged the changes made in the 1.8.0 branch into the main trunk. 2009-12-29 02:47:28 +00:00
Harry Moffat
0ddc9d4186 Finished adding to the ignore lists... 2009-12-29 02:34:56 +00:00
Harry Moffat
01852ed442 Worked on the ignore file list 2009-12-29 02:09:01 +00:00
Harry Moffat
9cf35bff4f Removed errors in the makefiles. 2009-12-29 01:41:41 +00:00
Harry Moffat
7113dd53da Reblessed this solution -> may be changing arbitrarily and problematically 2009-12-29 01:41:01 +00:00
Harry Moffat
3a7cca584c Rebaselined a few tests.
Worked on changing the solution for 2 problematic tests: 
            catcomb_stagflow
            surf_rxn

  The catcomb problem actually needed the surface mechanism to be 
changed for it to become a reliable solve.
2009-12-29 01:28:09 +00:00
Harry Moffat
5b725eec64 Fixed the problem so that convergence would occur.
The time step in the inner loop was decreased by a factor of 100.
   Previously, there were convergence problems with this example problem.
2009-12-28 23:04:55 +00:00
Harry Moffat
2ee8ae220d Fixed an error with the assignment and copy constructor.
The VPSSMgr object needed to be resynched with the VPStandardStateTP
object after it was set up. This was not done.
2009-12-22 22:35:30 +00:00
Harry Moffat
d96464f0c2 Fixed an error in the assignment and copy constructor.
The VPSSMgr object needed to be resynced at the end of the
assignment. This wasn't being done.
2009-12-22 22:27:01 +00:00
Harry Moffat
acf0c3f7c3 Fixed a typo that was causing sundials version 2.3 builds to fail.
The define variable was spelled incorrectly.
2009-12-21 21:02:28 +00:00
Harry Moffat
4420038d29 Fixed an error that caused sundials version 2.3 not to work as intended.
There was an error in the ifdef variable's spelling.
2009-12-21 20:27:18 +00:00
Harry Moffat
321d387930 MetalSHEelectrons
Added a built-in type to handle electrons in metals that
    follow the SHE convention.

    Took out electrodeElectron, since it was hidden and not used.

    MetalSHEelectrons have a standard concentration of 1, instead
    of the previous treatment where SHE electrons had a standard
    concentration equal to the concentration of an ideal gas.
2009-12-11 01:32:26 +00:00
Harry Moffat
204f6bff33 Made the destructor virtual 2009-12-11 01:19:09 +00:00
Harry Moffat
9b90beb0e0 Merged changes from LiquidTransportDevelopment
There were two changes:

Additions to support some reversible reactions which have fractional
stoichiometries. These were not allowed previously. However, if
the species with fractional stoichiometries are in single-species
phases, this is ok, and actually necessary for some solid-phase
reactions.

Removed comments from DEBUG_MODE about about too high or low an activation
for electrode reactions.
2009-12-10 23:20:44 +00:00
Harry Moffat
9c6080e3c9 Turned on keyword substitution in the cpp files. 2009-12-09 17:50:27 +00:00
Harry Moffat
6d02467b7e Added the change for the bugfix to HMWSoln to the static branch
The function getActivityConcentration in the HMWSoln object had
a bug in it that caused it to be incompatible with standardConcentration()
and getActivities(). This meant that the ROP in kinetics managers
for this object was being calculated incorrectly.

This is now fixed.
2009-12-09 17:34:13 +00:00
Harry Moffat
20c74f21af Added the change for the bugfix to HMWSoln to the main branch.
The function getActivityConcentration in the HMWSoln object had
a bug in it that caused it to be incompatible with standardConcentration
and getActivities(). This meant that the ROP in kinetics managers
for this object was being calculated incorrectly.
2009-12-09 17:29:23 +00:00
Harry Moffat
392683283a An initial implemention of a string representation of the
phase eos type.  We've not had this until now. 

The idea here is to have a 1 to 1 mapping between an
eosType int and a string, which can be used for writing output.
2009-12-08 17:36:40 +00:00