mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 08:38:23 +01:00
Added INVERSE_CL1MP guard to cl1mp.cpp; Added test for ex10 git-svn-id: svn://136.177.114.72/svn_GW/phreeqc3/trunk@9084 1feff8c3-07ed-0310-ac33-dd36852eb9cd
24 lines
412 B
C++
24 lines
412 B
C++
#include "UserPunch.h"
|
|
#include "Phreeqc.h"
|
|
UserPunch::UserPunch(int n, PHRQ_io *io)
|
|
: cxxNumKeyword(io)
|
|
{
|
|
this->PhreeqcPtr = NULL;
|
|
this->rate = NULL;
|
|
}
|
|
|
|
|
|
UserPunch::~UserPunch(void)
|
|
{
|
|
if (this->rate != NULL)
|
|
{
|
|
if (this->PhreeqcPtr != NULL)
|
|
{
|
|
this->PhreeqcPtr->rate_free(this->rate);
|
|
this->PhreeqcPtr->free_check_null(this->rate);
|
|
}
|
|
}
|
|
this->PhreeqcPtr = NULL;
|
|
this->rate = NULL;
|
|
}
|