iphreeqc/phreeqcpp/ISolution.cxx

34 lines
830 B
C++

// ISolution.cxx: implementation of the cxxSolutionxx class.
//
//////////////////////////////////////////////////////////////////////
#ifdef _DEBUG
#pragma warning(disable : 4786) // disable truncation warning (Only used by debugger)
#endif
#include <cassert> // assert
#include <algorithm> // std::sort
#include <sstream>
#include "Utils.h" // define first
#include "Phreeqc.h"
#include "ISolution.h"
#include "phqalloc.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
cxxISolution::cxxISolution(PHRQ_io *io)
:
units("mMol/kgw")
{
default_pe = "pe";
cxxChemRxn temp_pe_reactions;
pe_reactions[default_pe] = temp_pe_reactions;
this->calc_density = false;
}
cxxISolution::~cxxISolution()
{
}