mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 08:38:23 +01:00
Starting to work on next problems, arguments for RM_pass_data.
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@6804 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
abb8e82801
commit
3a34995c8a
@ -8,6 +8,7 @@
|
|||||||
class IPhreeqcLib
|
class IPhreeqcLib
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
//static void CleanupIPhreeqcInstances(void);
|
||||||
static int CreateIPhreeqc(void);
|
static int CreateIPhreeqc(void);
|
||||||
static IPQ_RESULT DestroyIPhreeqc(int n);
|
static IPQ_RESULT DestroyIPhreeqc(int n);
|
||||||
static IPhreeqc* GetInstance(int n);
|
static IPhreeqc* GetInstance(int n);
|
||||||
@ -949,3 +950,17 @@ IPhreeqcLib::GetInstance(int id)
|
|||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
//// static method
|
||||||
|
//void IPhreeqcLib::CleanupIPhreeqcInstances(void)
|
||||||
|
//{
|
||||||
|
// std::map<size_t, IPhreeqc*>::iterator it = IPhreeqc::Instances.begin();
|
||||||
|
// std::vector<IPhreeqc*> ip_list;
|
||||||
|
// for ( ; it != IPhreeqc::Instances.end(); it++)
|
||||||
|
// {
|
||||||
|
// ip_list.push_back(it->second);
|
||||||
|
// }
|
||||||
|
// for (size_t i = 0; i < ip_list.size(); i++)
|
||||||
|
// {
|
||||||
|
// delete ip_list[i];
|
||||||
|
// }
|
||||||
|
//}
|
||||||
Loading…
x
Reference in New Issue
Block a user