End of line for now, have solution and exchange saving from

c storage after calculation.

However, phast uses slightly different storage for total
elements in buffer, not individual redox states.

Have not done surface, equilibrium_phases, gas, solid solutions,
kinetics equivalent of x_save.





git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/trunk@2063 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
David L Parkhurst 2007-05-31 22:48:39 +00:00
parent a7a19e57f4
commit 8a84d79562

View File

@ -116,7 +116,8 @@ cxxNumKeyword()
cxxSolution::cxxSolution(int n_user) cxxSolution::cxxSolution(int n_user)
// //
// constructor for cxxSolution from results of calculation // constructor for cxxSolution from results of calculation
// // does not work in phast because phast uses only the total molalities
// of elements in buffer, not individual redox states.
: :
cxxNumKeyword() cxxNumKeyword()
{ {
@ -133,7 +134,7 @@ cxxNumKeyword()
this->total_o = total_o_x; this->total_o = total_o_x;
this->cb = cb_x; this->cb = cb_x;
this->mass_water = mass_water_aq_x; this->mass_water = mass_water_aq_x;
this->total_alkalinity = total_alkalinity; this->total_alkalinity = ::total_alkalinity;
this->totals.type = cxxNameDouble::ND_ELT_MOLES; this->totals.type = cxxNameDouble::ND_ELT_MOLES;
this->master_activity.type = cxxNameDouble::ND_SPECIES_LA; this->master_activity.type = cxxNameDouble::ND_SPECIES_LA;
this->species_gamma.type = cxxNameDouble::ND_SPECIES_GAMMA; this->species_gamma.type = cxxNameDouble::ND_SPECIES_GAMMA;