From 8a84d79562ead5313fdb96ef394072a13df91139 Mon Sep 17 00:00:00 2001 From: David L Parkhurst Date: Thu, 31 May 2007 22:48:39 +0000 Subject: [PATCH] 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 --- Solution.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Solution.cxx b/Solution.cxx index 9ec66220..6e3e834e 100644 --- a/Solution.cxx +++ b/Solution.cxx @@ -116,7 +116,8 @@ cxxNumKeyword() cxxSolution::cxxSolution(int n_user) // // 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() { @@ -133,7 +134,7 @@ cxxNumKeyword() this->total_o = total_o_x; this->cb = cb_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->master_activity.type = cxxNameDouble::ND_SPECIES_LA; this->species_gamma.type = cxxNameDouble::ND_SPECIES_GAMMA;