added changes for use

git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/branches/ErrorHandling@6045 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
Scott R Charlton 2012-01-12 00:01:23 +00:00
parent 7b0104b62b
commit f1fcacd889

View File

@ -968,7 +968,7 @@ void IPhreeqc::do_run(const char* sz_routine, std::istream* pis, PFN_PRERUN_CALL
/* /*
* Calculate advection * Calculate advection
*/ */
if (this->PhreeqcPtr->use.advect_in == TRUE) if (this->PhreeqcPtr->use.Get_advect_in())
{ {
this->PhreeqcPtr->dup_print("Beginning of advection calculations.", TRUE); this->PhreeqcPtr->dup_print("Beginning of advection calculations.", TRUE);
this->PhreeqcPtr->advection(); this->PhreeqcPtr->advection();
@ -976,7 +976,7 @@ void IPhreeqc::do_run(const char* sz_routine, std::istream* pis, PFN_PRERUN_CALL
/* /*
* Calculate transport * Calculate transport
*/ */
if (this->PhreeqcPtr->use.trans_in == TRUE) if (this->PhreeqcPtr->use.Get_trans_in())
{ {
this->PhreeqcPtr->dup_print("Beginning of transport calculations.", TRUE); this->PhreeqcPtr->dup_print("Beginning of transport calculations.", TRUE);
this->PhreeqcPtr->transport(); this->PhreeqcPtr->transport();