Revised GetDensity to retrieve from workers.

Also, density was not saved correctly with the solution (mainsubs.cpp updated).
InitialPhreeqc2Module had an id argument which was not needed.

Wrote a test case advection_example.cpp, which is roughed into the code for now. 
Needs to be a standalone program linked to the reaction_module library.

git-svn-id: svn://136.177.114.72/svn_GW/phreeqc3/trunk@8301 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
David L Parkhurst 2013-12-10 21:21:27 +00:00
parent a3110d47c3
commit 23deef1418

View File

@ -1450,7 +1450,8 @@ xsolution_save(int n_user)
temp_solution.Set_pe(solution_pe_x);
temp_solution.Set_mu(mu_x);
temp_solution.Set_ah2o(ah2o_x);
temp_solution.Set_density(density_x);
//temp_solution.Set_density(density_x);
temp_solution.Set_density(calc_dens());
temp_solution.Set_total_h(total_h_x);
temp_solution.Set_total_o(total_o_x);
temp_solution.Set_cb(cb_x); /* cb_x does not include surface charge sfter sum_species */