Reaktoro  v2.11.0
A unified framework for modeling chemically reactive systems
PhreeqcLegacy.hpp
1 // Reaktoro is a unified framework for modeling chemically reactive systems.
2 //
3 // Copyright © 2014-2024 Allan Leal
4 //
5 // This library is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU Lesser General Public
7 // License as published by the Free Software Foundation; either
8 // version 2.1 of the License, or (at your option) any later version.
9 //
10 // This library is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 // Lesser General Public License for more details.
14 //
15 // You should have received a copy of the GNU Lesser General Public License
16 // along with this library. If not, see <http://www.gnu.org/licenses/>.
17 
18 #pragma once
19 
20 // Phreeqc includes
21 #define Phreeqc PHREEQC
22 #define protected public
23 
24 #include <phreeqc4rkt/Phreeqc.h>
25 #include <phreeqc4rkt/GasPhase.h>
26 
27 using PhreeqcElement = element;
28 using PhreeqcSpecies = species;
29 using PhreeqcPhase = phase;
30 
31 #undef Phreeqc
32 #undef protected
33 #undef pi
34 
35 //==================================================
36 // WARNING WARNING WARNING WARNING WARNING WARNING
37 //==================================================
38 // This header file must not be included by another
39 // header file that will be exposed to users.
40 // If so, this propagates the need for phreeqc
41 // header files to be available in the user system.
42 //==================================================