iphreeqc/phreeqcpp/System.h
Scott Charlton 1d5c59a175 Add 'phreeqcpp/' from commit 'da9d06b423a87ed5eae503c0faf779ac11c96027'
git-subtree-dir: phreeqcpp
git-subtree-mainline: ba5f2ba885b4cc757201e28f9b4dce158f7cc66b
git-subtree-split: da9d06b423a87ed5eae503c0faf779ac11c96027
2018-07-31 16:56:09 -06:00

90 lines
1.7 KiB
C++

#if !defined(SYSTEM_H_INCLUDED)
#define SYSTEM_H_INCLUDED
#include "NameDouble.h"
#include "PHRQ_base.h"
class cxxSolution;
class cxxExchange;
class cxxGasPhase;
class cxxKinetics;
class cxxPPassemblage;
class cxxSSassemblage;
class cxxSurface;
class cxxReaction;
class cxxTemperature;
class cxxPressure;
class cxxMix;
class cxxSystem: public PHRQ_base
{
public:
cxxSystem(PHRQ_io *io=NULL);
virtual ~cxxSystem(void);
void Initialize(void);
void Set_Solution(cxxSolution * entity)
{
this->solution = entity;
}
void Set_Exchange(cxxExchange * entity)
{
this->exchange = entity;
}
void Set_PPassemblage(cxxPPassemblage * entity)
{
this->ppassemblage = entity;
}
void Set_GasPhase(cxxGasPhase * entity)
{
this->gasphase = entity;
}
void Set_SSassemblage(cxxSSassemblage * entity)
{
this->ssassemblage = entity;
}
void Set_Kinetics(cxxKinetics * entity)
{
this->kinetics = entity;
}
void Set_Surface(cxxSurface * entity)
{
this->surface = entity;
}
void Set_Mix(cxxMix * entity)
{
this->mix = entity;
}
void Set_Reaction(cxxReaction * entity)
{
this->reaction = entity;
}
void Set_Temperature(cxxTemperature * entity)
{
this->temperature = entity;
}
void Set_Pressure(cxxPressure * entity)
{
this->pressure = entity;
}
void totalize(Phreeqc * phreeqc_ptr);
cxxNameDouble &Get_Totals(void)
{
return this->totals;
}
protected:
cxxSolution * solution;
cxxExchange * exchange;
cxxPPassemblage * ppassemblage;
cxxGasPhase * gasphase;
cxxSSassemblage * ssassemblage;
cxxKinetics * kinetics;
cxxSurface * surface;
cxxMix * mix;
cxxReaction * reaction;
cxxTemperature * temperature;
cxxPressure * pressure;
cxxNameDouble totals;
};
#endif // !defined(SYSTEM_H_INCLUDED)