mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 16:44:49 +01:00
git-svn-id: svn://136.177.114.72/svn_GW/phreeqc3/trunk@8391 1feff8c3-07ed-0310-ac33-dd36852eb9cd
20 lines
343 B
C++
20 lines
343 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)
|
|
{
|
|
this->PhreeqcPtr->rate_free(this->rate);
|
|
}
|
|
this->PhreeqcPtr->free_check_null(this->rate);
|
|
this->rate = NULL;
|
|
}
|