Commit graph

2127 commits

Author SHA1 Message Date
Harry Moffat
6ba38684de Added pH scaling to HMWSoln, and checked it against EQ3 result. This
is preliminary.
2008-12-18 15:46:27 +00:00
Harry Moffat
0687ef6eda Fixed errors in findCLM() 2008-12-17 18:06:19 +00:00
Harry Moffat
afccaea449 Reblessed 2 tests 2008-12-17 17:37:40 +00:00
Harry Moffat
43ec65c716 Changes from old to new style C headers. 2008-12-17 17:31:12 +00:00
Harry Moffat
15194b2721 Changed old to new style headers 2008-12-17 17:13:03 +00:00
Harry Moffat
de704473eb Changed old to new style C headers 2008-12-17 17:09:37 +00:00
Harry Moffat
0e21a0f3c5 Changed old to new style headers 2008-12-17 17:04:46 +00:00
Harry Moffat
e7e02ffc5e Changes to exit() and additions of cstdlib 2008-12-17 17:01:29 +00:00
Harry Moffat
44598112f8 More changes to exit() and added std:: to string in *.h 2008-12-17 16:56:43 +00:00
Harry Moffat
ff6aff01aa Changed old to new style headers. 2008-12-17 16:34:17 +00:00
Harry Moffat
72b38cd0e6 Added a missing include file. 2008-12-16 20:45:04 +00:00
Harry Moffat
70fb26459e Fleshed out the type() and ID() member functions.
started adding a duplMyselfAsKinetics() capability. This is unfinished.
Doxygen updates
2008-12-16 20:32:18 +00:00
Harry Moffat
8f92e6da10 Added missing include statements. 2008-12-16 18:11:07 +00:00
Harry Moffat
2ed6501053 Added a missing include file. 2008-12-16 18:07:55 +00:00
Harry Moffat
4eebd8012c Added a missing include file that may have caused a compilation error
on ubuntu.
2008-12-16 18:04:36 +00:00
Harry Moffat
f1ab514ee5 Deleted a warning message on solaris 2008-12-16 17:51:42 +00:00
Harry Moffat
f56bce1757 Added more output from activity coefficient calculation in HMWSoln.
Added a capability to readh in and change the H298f value in each
species. Needed this for analysis.
2008-12-13 01:59:49 +00:00
Harry Moffat
a838d6dce2 Changed the parameter list to a const on setParameters().
Moved remaining definitions from StoichSubstance.h to StoichSubstance.cpp
2008-12-10 16:42:48 +00:00
Harry Moffat
7524d2fdc0 Added getPureGibbs function. It was missing.
Transfered most of the definitions to the .cpp file.
In initThermo(), I did a setState_TP() in order to get the
object onto a valid temperature point. -> eliminates some occurances
of nan's.
2008-12-10 01:51:06 +00:00
Harry Moffat
325ee0765e Fixed the HKFT standard state for neutral aqueous species.
Fixed a dimensioning error in HMWSoln
2008-12-10 00:29:55 +00:00
Harry Moffat
a8d7e74936 Added m_Mu_nnn to the formulation.
Fixed an error in the update of the pitzer coefficients.
2008-12-07 18:18:49 +00:00
Harry Moffat
39a626b6ce Added complex temperature dependence to Lambda term. 2008-12-06 21:41:03 +00:00
Harry Moffat
cd462115c0 Updated the Psi polynomial to take the normal temperature dependence. 2008-12-06 20:25:01 +00:00
Harry Moffat
db33fb8145 Bug fixes for assignment operators. 2008-12-05 02:30:23 +00:00
Harry Moffat
f5f1e17d2d Fixed an uninitialized variable. 2008-12-04 17:58:43 +00:00
Harry Moffat
59d975920b added a setState_TPMoles() function that updates everything at once. 2008-12-04 02:13:12 +00:00
Harry Moffat
dad3088736 Changed findByAttr to be a const function. 2008-12-04 02:11:51 +00:00
Harry Moffat
464fc1409d Bug fix / clarification to importPhase()
Created a list of species early on in the new routine,
 formSpeciesXMLNodeList(). This list is the actual list of
species that will make up the phase. This is done before the
id of the SPeciesThermo or VPSSMgr is chosen, so that this id
is chosen based on just the species to be included in the
phase and not on all of the species that are in the database.

The overall amount of code is reduced, and the code is clarified.

Fixed an error in 	VPSSMgr_Water_HKFT.
2008-12-04 02:09:28 +00:00
Harry Moffat
7799f24724 Doxygen update - no changes. 2008-12-04 02:04:25 +00:00
Harry Moffat
60d5e939db Fixed the assignment operator. 2008-12-04 02:02:45 +00:00
Harry Moffat
6216127e05 Fixed an error in the assignment operator. 2008-12-01 05:05:12 +00:00
Harry Moffat
220fc87edb Fixed an error in the assignment function. 2008-12-01 04:12:02 +00:00
Harry Moffat
cca47296cf Added comments about ThermoPhase ownership 2008-11-21 20:05:58 +00:00
Harry Moffat
3a5d195062 Fixed an uninitialized variable in the constructor. 2008-11-20 22:05:30 +00:00
Harry Moffat
3ae04059f3 Fixed the LJ diameter read statement to be arbitrary precision instead
of just precision 2.
Note, this change does cause the GRI30 mechanism to produce different
results.
2008-11-13 23:23:40 +00:00
Harry Moffat
66a9b679e1 Doxygen update 2008-11-13 23:21:41 +00:00
Harry Moffat
2e1f53fa07 doxygen update 2008-11-13 23:19:53 +00:00
Harry Moffat
fe9d55fba3 Added a couple of files. 2008-11-13 21:37:13 +00:00
Harry Moffat
dda3f02e71 Started transfering over some of the cropping capabilities from
IdealMolalSoln to HNWSoln.
2008-11-07 01:52:46 +00:00
Harry Moffat
022f3da1da More doxygen updates.
Started changing 'const std::string ggg' arguments into
                 'const std::string & ggg arguments.
Supposedly, the latter is faster, as it only passes a pointer instead
of going through an implicit copy constructor operation.
2008-11-03 16:10:25 +00:00
Harry Moffat
e48f46cd1a Doxygen update.
moved attribs() to be a private function.
2008-11-01 00:55:22 +00:00
Harry Moffat
97b755be93 This version has a significantly better treatment of the activity
coefficients as the solvent disappears. There are options to get
rid of the singularity.
2008-10-31 21:40:05 +00:00
Harry Moffat
0cebba592f Doxygen update 2008-10-31 20:57:48 +00:00
Harry Moffat
8a740e53d8 Doxygen updates 2008-10-31 19:14:57 +00:00
Harry Moffat
3bd378733a Doxygen updates on these files 2008-10-31 17:51:09 +00:00
Harry Moffat
33f5767833 More documentation of XML_Node 2008-10-31 16:46:49 +00:00
Harry Moffat
a862e1b54a getFloat() interface changes 2008-10-31 15:46:10 +00:00
Harry Moffat
ff61654c6c getFloat() interface changes. 2008-10-31 15:45:34 +00:00
Harry Moffat
75e56cf8d3 Added documentation.
Made getFloat() more explicit. Took out the use of "-" for type. Now,
have to specify the type of units conversion.
2008-10-31 15:45:00 +00:00
Harry Moffat
22ba9fd676 Rebaselined a few problem.s 2008-10-31 15:43:57 +00:00