pyEQL 1.4.0rc9__cp312-cp312-macosx_10_13_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pyEQL/__init__.py +50 -0
- pyEQL/_phreeqc.cpython-312-darwin.so +0 -0
- pyEQL/activity_correction.py +879 -0
- pyEQL/database/geothermal.dat +5693 -0
- pyEQL/database/llnl.dat +19305 -0
- pyEQL/database/phreeqc_license.txt +54 -0
- pyEQL/database/pyeql_db.json +35607 -0
- pyEQL/engines.py +1153 -0
- pyEQL/equilibrium.py +227 -0
- pyEQL/functions.py +281 -0
- pyEQL/phreeqc/__init__.py +5 -0
- pyEQL/phreeqc/bindings.cpp +84 -0
- pyEQL/phreeqc/core.py +239 -0
- pyEQL/phreeqc/database/Amm.dat +1968 -0
- pyEQL/phreeqc/database/CMakeLists.txt +32 -0
- pyEQL/phreeqc/database/ColdChem.dat +267 -0
- pyEQL/phreeqc/database/Concrete_PHR.dat +158 -0
- pyEQL/phreeqc/database/Concrete_PZ.dat +195 -0
- pyEQL/phreeqc/database/Kinec.v2.dat +12039 -0
- pyEQL/phreeqc/database/Kinec_v3.dat +12159 -0
- pyEQL/phreeqc/database/Makefile.am +28 -0
- pyEQL/phreeqc/database/Makefile.in +530 -0
- pyEQL/phreeqc/database/PHREEQC_ThermoddemV1.10_15Dec2020.dat +12965 -0
- pyEQL/phreeqc/database/Tipping_Hurley.dat +4137 -0
- pyEQL/phreeqc/database/__init__.py +0 -0
- pyEQL/phreeqc/database/core10.dat +6824 -0
- pyEQL/phreeqc/database/frezchem.dat +634 -0
- pyEQL/phreeqc/database/iso.dat +7235 -0
- pyEQL/phreeqc/database/llnl.dat +19310 -0
- pyEQL/phreeqc/database/minteq.dat +5654 -0
- pyEQL/phreeqc/database/minteq.v4.dat +13212 -0
- pyEQL/phreeqc/database/phreeqc.dat +1972 -0
- pyEQL/phreeqc/database/phreeqc_rates.dat +3158 -0
- pyEQL/phreeqc/database/pitzer.dat +1044 -0
- pyEQL/phreeqc/database/sit.dat +14348 -0
- pyEQL/phreeqc/database/wateq4f.dat +4036 -0
- pyEQL/phreeqc/ext/README.md +10 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/CMakeLists.txt +476 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/INSTALL +302 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/IPhreeqc.rc +61 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/IPhreeqcConfig.cmake.in +4 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/Makefile.am +8 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/Makefile.in +816 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/aclocal.m4 +1217 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/CTestScript.cmake +167 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/CSelectedOutput.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/IPhreeqc.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/IPhreeqcLib.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/IPhreeqc_interface_F.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/Var.c.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/Dictionary.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/ExchComp.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/Exchange.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/GasComp.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/GasPhase.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/ISolution.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/ISolutionComp.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/KineticsComp.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/NameDouble.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/NumKeyword.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/PBasic.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/PHRQ_io_output.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/PPassemblage.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/PPassemblageComp.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/Phreeqc.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/PhreeqcKeywords/Keywords.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/Pressure.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/Reaction.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/ReadClass.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/SS.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/SSassemblage.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/SScomp.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/SelectedOutput.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/Serializer.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/Solution.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/SolutionIsotope.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/StorageBin.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/StorageBinList.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/Surface.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/SurfaceCharge.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/SurfaceComp.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/System.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/Temperature.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/Use.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/UserPunch.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/advection.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/basicsubs.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/cl1.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/common/PHRQ_base.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/common/PHRQ_io.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/common/Parser.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/common/Utils.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/cvdense.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/cvode.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/cxxKinetics.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/cxxMix.cxx.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/dense.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/dumper.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/gases.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/input.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/integrate.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/inverse.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/isotopes.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/kinetics.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/mainsubs.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/model.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/nvector.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/nvector_serial.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/parse.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/phqalloc.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/pitzer.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/pitzer_structures.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/prep.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/print.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/read.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/readtr.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/runner.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/sit.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/smalldense.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/spread.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/step.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/structures.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/sundialsmath.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/tally.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/tidy.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/transport.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CMakeFiles/IPhreeqc.dir/src/phreeqcpp/utilities.cpp.o +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/CTestTestfile.cmake +6 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/DartConfiguration.tcl +109 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/cmake_install.cmake +45 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/build/libIPhreeqc.a +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/config/ar-lib +270 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/config/compile +347 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/config/config.guess +1441 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/config/config.sub +1813 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/config/depcomp +791 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/config/install-sh +508 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/config/ltmain.sh +11156 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/config/missing +215 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/config/test-driver +148 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/configure +23867 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/configure.ac +136 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/database/Amm.dat +1968 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/database/CMakeLists.txt +32 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/database/ColdChem.dat +267 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/database/Concrete_PHR.dat +158 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/database/Concrete_PZ.dat +195 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/database/Kinec.v2.dat +12039 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/database/Kinec_v3.dat +12159 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/database/Makefile.am +28 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/database/Makefile.in +530 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/database/PHREEQC_ThermoddemV1.10_15Dec2020.dat +12965 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/database/Tipping_Hurley.dat +4137 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/database/core10.dat +6824 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/database/frezchem.dat +634 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/database/iso.dat +7235 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/database/llnl.dat +19310 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/database/minteq.dat +5654 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/database/minteq.v4.dat +13212 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/database/phreeqc.dat +1972 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/database/phreeqc_rates.dat +3158 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/database/pitzer.dat +1044 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/database/sit.dat +14348 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/database/wateq4f.dat +4036 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/CMakeLists.txt +35 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/IPhreeqc.pdf +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/Makefile.am +24 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/Makefile.in +545 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/NOTICE +51 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/Phreeqc_2_1999_manual.pdf +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/Phreeqc_3_2013_manual.pdf +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/README +428 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/RELEASE +7294 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/IPhreeqc_8h.html +5096 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/IPhreeqc_8h_source.html +389 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/IPhreeqc_8hpp.html +83 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/IPhreeqc_8hpp_source.html +478 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/Var_8h.html +318 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/Var_8h_source.html +200 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/bc_s.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/bdwn.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/classIPhreeqc.html +2274 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/classIPhreeqc.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/classIPhreeqcStop.html +69 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/classIPhreeqcStop.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/closed.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html +68 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/doxygen.css +1440 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/doxygen.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/dynsections.js +97 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/ftv2blank.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/ftv2doc.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/ftv2folderclosed.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/ftv2folderopen.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/ftv2lastnode.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/ftv2link.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/ftv2mlastnode.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/ftv2mnode.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/ftv2node.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/ftv2plastnode.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/ftv2pnode.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/ftv2splitbar.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/ftv2vertline.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/index.html +58 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/jquery.js +31 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/nav_f.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/nav_g.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/nav_h.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/open.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/structVAR.html +143 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/sync_off.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/sync_on.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/tab_a.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/tab_b.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/tab_h.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/tab_s.png +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/html/tabs.css +60 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/doc/phreeqc3.chm +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/CMakeLists.txt +11 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/Makefile.am +88 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/Makefile.in +696 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/c/CMakeLists.txt +1 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/c/advect/CMakeLists.txt +35 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/c/advect/CMakeLists.txt.in +21 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/c/advect/README.txt +44 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/c/advect/advect.c +101 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/c/advect/ic +17 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/c/advect/phreeqc.dat +1579 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/com/CMakeLists.txt +10 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/com/README.txt +3 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/com/excel/CMakeLists.txt +9 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/com/excel/phreeqc.dat +1582 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/com/excel/runphreeqc.xls +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/com/excel/withcallback.xls +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/com/python/CMakeLists.txt +11 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/com/python/Gypsum.py +52 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/com/python/parallel_advect.py +465 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/com/python/phreeqc.dat +1582 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/com/python/pitzer.dat +790 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/com/python/wateq4f.dat +3846 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/cpp/CMakeLists.txt +1 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/cpp/advect/CMakeLists.txt +35 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/cpp/advect/CMakeLists.txt.in +20 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/cpp/advect/README.txt +45 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/cpp/advect/advect.cpp +110 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/cpp/advect/ic +17 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/cpp/advect/phreeqc.dat +1579 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/fortran/CMakeLists.txt +1 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/fortran/advect/CMakeLists.txt +44 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/fortran/advect/CMakeLists.txt.in +24 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/fortran/advect/README.txt +45 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/fortran/advect/advect.F90 +102 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/fortran/advect/ic +17 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/fortran/advect/phreeqc.dat +1579 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/using-cmake/CMakeLists.txt +26 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/using-cmake/CMakeLists.txt.in +20 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/using-cmake/README.txt +37 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/using-cmake/ex2 +26 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/using-cmake/main.cpp +20 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/using-cmake/phreeqc.dat +1837 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/examples/using-cmake/post-install.cmake.in +7 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/gtest/CMakeLists.txt +185 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/gtest/FileTest.cpp +171 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/gtest/FileTest.h +34 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/gtest/Makefile.am +18 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/gtest/Makefile.in +466 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/gtest/TestCVar.cpp +9 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/gtest/TestIPhreeqc.cpp +4901 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/gtest/TestIPhreeqcLib.cpp +4644 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/gtest/TestSelectedOutput.cpp +669 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/gtest/TestVar.cpp +10 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/gtest/conv_fail.in +11 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/gtest/dump +42 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/gtest/iso.dat +7231 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/gtest/kinn20140218 +349 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/gtest/missing_e.dat +1556 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/gtest/multi_punch +105 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/gtest/multi_punch_no_set +102 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/gtest/phreeqc.dat.90a6449 +1935 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/gtest/phreeqc.dat.old +1556 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/m4/libtool.m4 +8388 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/m4/ltoptions.m4 +437 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/m4/ltsugar.m4 +124 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/m4/ltversion.m4 +23 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/m4/lt~obsolete.m4 +99 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/resource.h +14 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/CSelectedOutput.cpp +401 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/CSelectedOutput.hxx +77 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/CVar.hxx +162 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/Debug.h +12 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/ErrorReporter.hxx +70 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/IPhreeqc.cpp +1889 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/IPhreeqc.f.inc +91 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/IPhreeqc.f90.inc +603 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/IPhreeqc.h +2182 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/IPhreeqc.hpp +1027 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/IPhreeqcCallbacks.h +19 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/IPhreeqcF.f +653 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/IPhreeqcLib.cpp +1098 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/IPhreeqc_interface.F90 +1283 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/IPhreeqc_interface_F.cpp +535 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/IPhreeqc_interface_F.h +162 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/Makefile.am +210 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/Makefile.in +1294 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/README.Fortran +17 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/Var.c +84 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/Var.h +152 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/Version.h +36 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/fimpl.h +282 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/fwrap.cpp +646 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/fwrap.h +163 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/fwrap1.cpp +24 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/fwrap2.cpp +24 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/fwrap3.cpp +24 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/fwrap4.cpp +24 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/fwrap5.cpp +24 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/fwrap6.cpp +25 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/fwrap7.cpp +25 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/fwrap8.cpp +24 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/ChartHandler.cpp +225 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/ChartHandler.h +59 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/ChartObject.cpp +1382 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/ChartObject.h +444 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/CurveObject.cpp +42 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/CurveObject.h +79 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/Dictionary.cpp +41 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/Dictionary.h +28 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/ExchComp.cxx +398 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/ExchComp.h +117 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/Exchange.cxx +466 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/Exchange.h +74 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/Form1.h +1184 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/Form1.resX +36 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/GasComp.cxx +265 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/GasComp.h +59 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/GasPhase.cxx +659 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/GasPhase.h +103 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/ISolution.cxx +40 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/ISolution.h +53 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/ISolutionComp.cxx +202 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/ISolutionComp.h +138 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/KineticsComp.cxx +318 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/KineticsComp.h +81 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/NA.h +1 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/NameDouble.cxx +537 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/NameDouble.h +66 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/NumKeyword.cxx +190 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/NumKeyword.h +67 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/PBasic.cpp +8350 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/PBasic.h +572 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/PHRQ_io_output.cpp +411 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/PPassemblage.cxx +375 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/PPassemblage.h +70 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/PPassemblageComp.cxx +441 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/PPassemblageComp.h +83 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/Phreeqc.cpp +2087 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/Phreeqc.h +2164 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/PhreeqcKeywords/Keywords.cpp +242 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/PhreeqcKeywords/Keywords.h +104 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/Pressure.cxx +417 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/Pressure.h +43 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/Reaction.cxx +284 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/Reaction.h +57 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/ReadClass.cxx +1150 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/SS.cxx +609 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/SS.h +128 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/SSassemblage.cxx +317 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/SSassemblage.h +59 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/SScomp.cxx +297 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/SScomp.h +66 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/SelectedOutput.cpp +115 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/SelectedOutput.h +209 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/Serializer.cxx +213 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/Serializer.h +42 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/Solution.cxx +1795 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/Solution.h +154 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/SolutionIsotope.cxx +333 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/SolutionIsotope.h +85 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/StorageBin.cxx +1507 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/StorageBin.h +141 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/StorageBinList.cpp +358 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/StorageBinList.h +81 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/Surface.cxx +837 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/Surface.h +108 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/SurfaceCharge.cxx +617 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/SurfaceCharge.h +137 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/SurfaceComp.cxx +509 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/SurfaceComp.h +70 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/System.cxx +103 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/System.h +89 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/Temperature.cxx +423 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/Temperature.h +42 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/Use.cpp +78 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/Use.h +159 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/UserPunch.cpp +32 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/UserPunch.h +39 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/ZedGraph.dll +0 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/advection.cpp +140 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/basicsubs.cpp +4333 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/cl1.cpp +881 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/common/PHRQ_base.cxx +117 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/common/PHRQ_base.h +48 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/common/PHRQ_exports.h +20 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/common/PHRQ_io.cpp +914 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/common/PHRQ_io.h +207 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/common/Parser.cxx +1331 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/common/Parser.h +310 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/common/Utils.cxx +263 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/common/Utils.h +29 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/common/phrqtype.h +18 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/cvdense.cpp +566 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/cvdense.h +267 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/cvode.cpp +3939 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/cvode.h +940 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/cxxKinetics.cxx +617 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/cxxKinetics.h +78 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/cxxMix.cxx +154 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/cxxMix.h +58 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/dense.cpp +175 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/dense.h +341 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/dumper.cpp +277 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/dumper.h +60 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/gases.cpp +748 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/global_structures.h +1672 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/input.cpp +133 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/integrate.cpp +1219 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/inverse.cpp +5135 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/isotopes.cpp +1813 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/kinetics.cpp +3180 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/mainsubs.cpp +2320 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/model.cpp +5843 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/nvector.cpp +272 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/nvector.h +485 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/nvector_serial.cpp +1032 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/nvector_serial.h +369 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/parse.cpp +1044 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/phqalloc.cpp +316 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/phqalloc.h +47 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/pitzer.cpp +2709 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/pitzer_structures.cpp +225 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/prep.cpp +6267 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/print.cpp +3673 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/read.cpp +10245 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/readtr.cpp +1495 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/runner.cpp +158 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/runner.h +33 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/sit.cpp +1684 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/smalldense.cpp +324 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/smalldense.h +261 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/spread.cpp +1309 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/step.cpp +1566 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/structures.cpp +3381 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/sundialsmath.cpp +133 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/sundialsmath.h +162 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/sundialstypes.h +183 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/tally.cpp +1288 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/tidy.cpp +5600 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/transport.cpp +6403 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/phreeqcpp/utilities.cpp +1339 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/src/thread.h +64 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/tests/CMakeLists.txt +133 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/tests/Makefile.am +45 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/tests/Makefile.in +1128 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/tests/ex2.in +26 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/tests/main.f90 +31 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/tests/main77.f +6 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/tests/main_fortran.cxx +8 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/tests/phreeqc.dat.in +1556 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/tests/test_c.c +148 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/tests/test_cxx.cxx +152 -0
- pyEQL/phreeqc/ext/iphreeqc-3.8.6-17100/tests/test_f90.F90 +328 -0
- pyEQL/phreeqc/iphreeqc_wrapper.cpp +75 -0
- pyEQL/phreeqc/solution.py +74 -0
- pyEQL/phreeqc/var.py +50 -0
- pyEQL/presets/Ringers lactate.yaml +20 -0
- pyEQL/presets/__init__.py +17 -0
- pyEQL/presets/normal saline.yaml +17 -0
- pyEQL/presets/rainwater.yaml +17 -0
- pyEQL/presets/seawater.yaml +29 -0
- pyEQL/presets/urine.yaml +26 -0
- pyEQL/presets/wastewater.yaml +21 -0
- pyEQL/py.typed +0 -0
- pyEQL/salt_ion_match.py +112 -0
- pyEQL/solute.py +163 -0
- pyEQL/solution.py +2714 -0
- pyEQL/utils.py +237 -0
- pyeql-1.4.0rc9.dist-info/METADATA +130 -0
- pyeql-1.4.0rc9.dist-info/RECORD +491 -0
- pyeql-1.4.0rc9.dist-info/WHEEL +6 -0
- pyeql-1.4.0rc9.dist-info/licenses/AUTHORS.md +21 -0
- pyeql-1.4.0rc9.dist-info/licenses/LICENSE.txt +20 -0
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
#if !defined(SOLUTION_H_INCLUDED)
|
|
2
|
+
#define SOLUTION_H_INCLUDED
|
|
3
|
+
|
|
4
|
+
#include <cassert> // assert
|
|
5
|
+
#include <map> // std::map
|
|
6
|
+
#include <string> // std::string
|
|
7
|
+
#include <vector> // std::vector
|
|
8
|
+
#include <iostream>
|
|
9
|
+
#include "NumKeyword.h"
|
|
10
|
+
#include "SolutionIsotope.h"
|
|
11
|
+
#include "NameDouble.h"
|
|
12
|
+
#include "PHRQ_base.h"
|
|
13
|
+
#include "PHRQ_io.h"
|
|
14
|
+
#include "ISolution.h"
|
|
15
|
+
class cxxMix;
|
|
16
|
+
|
|
17
|
+
class cxxSolution:public cxxNumKeyword
|
|
18
|
+
{
|
|
19
|
+
|
|
20
|
+
public:
|
|
21
|
+
cxxSolution(PHRQ_io *io=NULL);
|
|
22
|
+
cxxSolution(const cxxSolution &old_sol);
|
|
23
|
+
const cxxSolution & operator = (const cxxSolution &rhs);
|
|
24
|
+
cxxSolution(std::map < int, cxxSolution > &solution_map,
|
|
25
|
+
cxxMix & mx, int n_user, PHRQ_io *io=NULL);
|
|
26
|
+
virtual ~cxxSolution();
|
|
27
|
+
|
|
28
|
+
bool Get_new_def() const {return this->new_def;}
|
|
29
|
+
void Set_new_def(bool p) {this->new_def = p;}
|
|
30
|
+
LDBLE Get_patm() const {return this->patm;}
|
|
31
|
+
void Set_patm(LDBLE p) {this->patm = p;}
|
|
32
|
+
LDBLE Get_potV() const {return this->potV;}
|
|
33
|
+
void Set_potV(LDBLE p) {this->potV = p;}
|
|
34
|
+
LDBLE Get_tc() const {return this->tc;}
|
|
35
|
+
void Set_tc(LDBLE l_tc) {this->tc = l_tc;}
|
|
36
|
+
LDBLE Get_ph() const {return this->ph;}
|
|
37
|
+
void Set_ph(LDBLE pH) {this->ph = pH;}
|
|
38
|
+
LDBLE Get_pe() const {return this->pe;}
|
|
39
|
+
void Set_pe(LDBLE l_pe) {this->pe = l_pe;}
|
|
40
|
+
LDBLE Get_mu() const {return this->mu;}
|
|
41
|
+
void Set_mu(LDBLE l_mu) {this->mu = l_mu;}
|
|
42
|
+
LDBLE Get_ah2o() const {return this->ah2o;}
|
|
43
|
+
void Set_ah2o(LDBLE l_ah2o) {this->ah2o = l_ah2o;}
|
|
44
|
+
LDBLE Get_total_h() const {return this->total_h;}
|
|
45
|
+
void Set_total_h(LDBLE l_total_h) {this->total_h = l_total_h;}
|
|
46
|
+
LDBLE Get_total_o() const {return this->total_o;}
|
|
47
|
+
void Set_total_o(LDBLE l_total_o) {this->total_o = l_total_o;}
|
|
48
|
+
LDBLE Get_cb() const {return this->cb;}
|
|
49
|
+
void Set_cb(LDBLE l_cb) {this->cb = l_cb;}
|
|
50
|
+
LDBLE Get_density() const {return this->density;}
|
|
51
|
+
void Set_density(LDBLE l_density) {this->density = l_density;}
|
|
52
|
+
LDBLE Get_viscosity() const { return this->viscosity; }
|
|
53
|
+
void Set_viscosity(LDBLE l_viscos) { this->viscosity = l_viscos; }
|
|
54
|
+
LDBLE Get_viscos_0() const { return this->viscos_0; }
|
|
55
|
+
void Set_viscos_0(LDBLE l_viscos_0) { this->viscos_0 = l_viscos_0; }
|
|
56
|
+
LDBLE Get_mass_water() const {return this->mass_water;}
|
|
57
|
+
void Set_mass_water(LDBLE l_mass_water) {this->mass_water = l_mass_water;}
|
|
58
|
+
LDBLE Get_total_alkalinity() const {return this->total_alkalinity;}
|
|
59
|
+
void Set_total_alkalinity(LDBLE l_total_alkalinity) {this->total_alkalinity = l_total_alkalinity;}
|
|
60
|
+
LDBLE Get_soln_vol() const {return this->soln_vol;}
|
|
61
|
+
void Set_soln_vol(LDBLE t) {this->soln_vol = t;}
|
|
62
|
+
cxxNameDouble & Get_totals(void) {return this->totals;}
|
|
63
|
+
const cxxNameDouble & Get_totals(void)const {return this->totals;}
|
|
64
|
+
void Set_totals(cxxNameDouble & nd)
|
|
65
|
+
{
|
|
66
|
+
this->totals = nd;
|
|
67
|
+
this->totals.type = cxxNameDouble::ND_ELT_MOLES;
|
|
68
|
+
}
|
|
69
|
+
cxxNameDouble & Get_master_activity(void) {return this->master_activity;}
|
|
70
|
+
cxxNameDouble & Get_species_gamma(void) {return this->species_gamma;}
|
|
71
|
+
std::map<int, double> & Get_species_map(void) {return this->species_map;}
|
|
72
|
+
std::map<int, double> & Get_log_gamma_map(void) {return this->log_gamma_map;}
|
|
73
|
+
std::map<int, double>& Get_log_molalities_map(void) { return this->log_molalities_map; }
|
|
74
|
+
std::map < std::string, cxxSolutionIsotope > & Get_isotopes(void) {return this->isotopes;}
|
|
75
|
+
const std::map < std::string, cxxSolutionIsotope > & Get_isotopes(void)const {return this->isotopes;}
|
|
76
|
+
void Set_isotopes(const std::map < std::string, cxxSolutionIsotope > &iso ) {this->isotopes = iso;}
|
|
77
|
+
cxxISolution *Get_initial_data() {return this->initial_data;}
|
|
78
|
+
const cxxISolution *Get_initial_data()const {return this->initial_data;}
|
|
79
|
+
void Set_initial_data(const cxxISolution * id)
|
|
80
|
+
{
|
|
81
|
+
if (this->initial_data != NULL)
|
|
82
|
+
delete this->initial_data;
|
|
83
|
+
this->initial_data = new cxxISolution(*id);
|
|
84
|
+
}
|
|
85
|
+
void Create_initial_data()
|
|
86
|
+
{
|
|
87
|
+
if (this->initial_data != NULL)
|
|
88
|
+
delete initial_data;
|
|
89
|
+
initial_data = new cxxISolution;
|
|
90
|
+
}
|
|
91
|
+
void Destroy_initial_data()
|
|
92
|
+
{
|
|
93
|
+
if (this->initial_data != NULL)
|
|
94
|
+
delete initial_data;
|
|
95
|
+
initial_data = NULL;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
void clear_totals() {this->totals.clear();}
|
|
99
|
+
void clear_master_activity() {this->master_activity.clear();}
|
|
100
|
+
|
|
101
|
+
void zero();
|
|
102
|
+
void add(const cxxSolution & addee, LDBLE extensive);
|
|
103
|
+
void Add_isotopes(const std::map < std::string, cxxSolutionIsotope > &old, LDBLE intensive, LDBLE extensive);
|
|
104
|
+
void multiply(LDBLE extensive);
|
|
105
|
+
void Multiply_isotopes(LDBLE extensive);
|
|
106
|
+
// not checked
|
|
107
|
+
void dump_xml(std::ostream & os, unsigned int indent = 0) const;
|
|
108
|
+
void dump_raw(std::ostream & s_oss, unsigned int indent, int *n_out=NULL) const;
|
|
109
|
+
|
|
110
|
+
LDBLE Get_master_activity(char *string) const;
|
|
111
|
+
void Set_master_activity(char *string, LDBLE value);
|
|
112
|
+
LDBLE Get_total(const char *string) const;
|
|
113
|
+
LDBLE Get_total_element(const char *string) const;
|
|
114
|
+
void Set_total(char *string, LDBLE value);
|
|
115
|
+
void read_raw(CParser & parser, bool check = true);
|
|
116
|
+
//void modify_activities(const cxxSolution & original);
|
|
117
|
+
//void Simplify_totals();
|
|
118
|
+
void Update(const cxxNameDouble &nd);
|
|
119
|
+
void Update(LDBLE h_tot, LDBLE o_tot, LDBLE charge, const cxxNameDouble &nd);
|
|
120
|
+
void Update_activities(const cxxNameDouble &original_tot);
|
|
121
|
+
void Serialize(Dictionary & dictionary, std::vector < int >&ints, std::vector < double >&doubles);
|
|
122
|
+
void Deserialize(Dictionary & dictionary, std::vector < int >&ints, std::vector < double >&doubles, int &ii, int &dd);
|
|
123
|
+
|
|
124
|
+
protected:
|
|
125
|
+
bool new_def;
|
|
126
|
+
LDBLE patm;
|
|
127
|
+
LDBLE potV;
|
|
128
|
+
LDBLE tc;
|
|
129
|
+
LDBLE ph;
|
|
130
|
+
LDBLE pe;
|
|
131
|
+
LDBLE mu;
|
|
132
|
+
LDBLE ah2o;
|
|
133
|
+
LDBLE total_h;
|
|
134
|
+
LDBLE total_o;
|
|
135
|
+
LDBLE cb;
|
|
136
|
+
LDBLE mass_water;
|
|
137
|
+
LDBLE density;
|
|
138
|
+
LDBLE viscosity;
|
|
139
|
+
LDBLE viscos_0;
|
|
140
|
+
LDBLE soln_vol;
|
|
141
|
+
LDBLE total_alkalinity;
|
|
142
|
+
cxxNameDouble totals;
|
|
143
|
+
cxxNameDouble master_activity;
|
|
144
|
+
cxxNameDouble species_gamma;
|
|
145
|
+
//cxxSolutionIsotopeList isotopes;
|
|
146
|
+
std::map < std::string, cxxSolutionIsotope > isotopes;
|
|
147
|
+
cxxISolution *initial_data;
|
|
148
|
+
const static std::vector < std::string > vopts;
|
|
149
|
+
std::map<int, double> species_map;
|
|
150
|
+
std::map<int, double> log_gamma_map;
|
|
151
|
+
std::map<int, double> log_molalities_map;
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
#endif // !defined(SOLUTION_H_INCLUDED)
|
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
#ifdef _DEBUG
|
|
2
|
+
#pragma warning(disable : 4786) // disable truncation warning (Only used by debugger)
|
|
3
|
+
#endif
|
|
4
|
+
#include <cassert>
|
|
5
|
+
#include <sstream> // std::ostrstream
|
|
6
|
+
|
|
7
|
+
#include "Utils.h"
|
|
8
|
+
#include "Phreeqc.h"
|
|
9
|
+
#include "SolutionIsotope.h"
|
|
10
|
+
#include "phqalloc.h"
|
|
11
|
+
#include "Dictionary.h"
|
|
12
|
+
|
|
13
|
+
#if defined(PHREEQCI_GUI)
|
|
14
|
+
#ifdef _DEBUG
|
|
15
|
+
#define new DEBUG_NEW
|
|
16
|
+
#undef THIS_FILE
|
|
17
|
+
static char THIS_FILE[] = __FILE__;
|
|
18
|
+
#endif
|
|
19
|
+
#endif
|
|
20
|
+
|
|
21
|
+
cxxSolutionIsotope::cxxSolutionIsotope(PHRQ_io *io)
|
|
22
|
+
:
|
|
23
|
+
PHRQ_base(io),
|
|
24
|
+
isotope_number(0.0)
|
|
25
|
+
{
|
|
26
|
+
isotope_number = 0;
|
|
27
|
+
elt_name.clear();
|
|
28
|
+
isotope_name.clear();
|
|
29
|
+
total = 0;
|
|
30
|
+
ratio = -9999.9;
|
|
31
|
+
ratio_uncertainty = 1;
|
|
32
|
+
ratio_uncertainty_defined = false;
|
|
33
|
+
x_ratio_uncertainty = 0;
|
|
34
|
+
coef = 0;
|
|
35
|
+
}
|
|
36
|
+
cxxSolutionIsotope::~cxxSolutionIsotope(void)
|
|
37
|
+
{
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
void
|
|
41
|
+
cxxSolutionIsotope::dump_xml(std::ostream & s_oss, unsigned int indent) const
|
|
42
|
+
{
|
|
43
|
+
unsigned int i;
|
|
44
|
+
|
|
45
|
+
std::string indent0(""), indent1("");
|
|
46
|
+
for (i = 0; i < indent; ++i)
|
|
47
|
+
indent0.append(Utilities::INDENT);
|
|
48
|
+
for (i = 0; i < indent + 1; ++i)
|
|
49
|
+
indent1.append(Utilities::INDENT);
|
|
50
|
+
|
|
51
|
+
s_oss << indent0;
|
|
52
|
+
s_oss << "<soln_isotope=\"" << "\n";
|
|
53
|
+
|
|
54
|
+
s_oss << indent1;
|
|
55
|
+
s_oss << "iso_isotope_number=\"" << this->
|
|
56
|
+
isotope_number << "\"" << "\n";
|
|
57
|
+
|
|
58
|
+
s_oss << indent1;
|
|
59
|
+
s_oss << "iso_elt_name=\"" << this->elt_name << "\"" << "\n";
|
|
60
|
+
|
|
61
|
+
s_oss << indent1;
|
|
62
|
+
s_oss << "iso_isotope_name=\"" << this->isotope_name << "\"" << "\n";
|
|
63
|
+
|
|
64
|
+
s_oss << indent1;
|
|
65
|
+
s_oss << "iso_total=\"" << this->total << "\"" << "\n";
|
|
66
|
+
|
|
67
|
+
s_oss << indent1;
|
|
68
|
+
s_oss << "iso_ratio=\"" << this->ratio << "\"" << "\n";
|
|
69
|
+
|
|
70
|
+
if (!std::isnan(this->ratio_uncertainty))
|
|
71
|
+
{
|
|
72
|
+
s_oss << indent1;
|
|
73
|
+
s_oss << "iso_ratio_uncertainty=\"" << this->
|
|
74
|
+
ratio_uncertainty << "\"" << "\n";
|
|
75
|
+
}
|
|
76
|
+
s_oss << indent0;
|
|
77
|
+
s_oss << "\">" << "\n";
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
void
|
|
81
|
+
cxxSolutionIsotope::dump_raw(std::ostream & s_oss, unsigned int indent) const
|
|
82
|
+
{
|
|
83
|
+
unsigned int i;
|
|
84
|
+
|
|
85
|
+
std::string indent0("");
|
|
86
|
+
for (i = 0; i < indent; ++i)
|
|
87
|
+
indent0.append(Utilities::INDENT);
|
|
88
|
+
std::string indent1 = indent0;
|
|
89
|
+
indent1.append(Utilities::INDENT);
|
|
90
|
+
|
|
91
|
+
s_oss << indent0;
|
|
92
|
+
s_oss << indent0 << "-isotope_number " << this->isotope_number << "\n";
|
|
93
|
+
s_oss << indent0 << "-elt_name " << this->elt_name << "\n";
|
|
94
|
+
s_oss << indent0 << "-total " << this->total << "\n";
|
|
95
|
+
s_oss << indent0 << "-ratio " << this->ratio << "\n";
|
|
96
|
+
s_oss << indent0 << "-ratio_uncertainty_defined " << this->ratio_uncertainty_defined << "\n";
|
|
97
|
+
if (this->ratio_uncertainty_defined)
|
|
98
|
+
{
|
|
99
|
+
s_oss << indent0 << "-ratio_uncertainty " << this->ratio_uncertainty << "\n";
|
|
100
|
+
}
|
|
101
|
+
s_oss << indent0 << "-x_ratio_uncertainty " << this->x_ratio_uncertainty << "\n";
|
|
102
|
+
s_oss << indent0 << "-coef " << this->coef << "\n";
|
|
103
|
+
}
|
|
104
|
+
void cxxSolutionIsotope::read_raw(CParser & parser, bool check )
|
|
105
|
+
{
|
|
106
|
+
|
|
107
|
+
std::istream::pos_type ptr;
|
|
108
|
+
std::istream::pos_type next_char;
|
|
109
|
+
std::string token;
|
|
110
|
+
int opt_save;
|
|
111
|
+
|
|
112
|
+
opt_save = CParser::OPT_ERROR;
|
|
113
|
+
bool isotope_number_defined(false);
|
|
114
|
+
bool elt_name_defined(false);
|
|
115
|
+
bool total_defined(false);
|
|
116
|
+
bool ratio_defined(false);
|
|
117
|
+
|
|
118
|
+
for (;;)
|
|
119
|
+
{
|
|
120
|
+
int opt = parser.get_option(vopts, next_char);
|
|
121
|
+
if (opt == CParser::OPT_DEFAULT)
|
|
122
|
+
{
|
|
123
|
+
opt = opt_save;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
opt_save = CParser::OPT_DEFAULT;
|
|
127
|
+
switch (opt)
|
|
128
|
+
{
|
|
129
|
+
case CParser::OPT_EOF:
|
|
130
|
+
break;
|
|
131
|
+
case CParser::OPT_KEYWORD:
|
|
132
|
+
break;
|
|
133
|
+
case CParser::OPT_DEFAULT:
|
|
134
|
+
case CParser::OPT_ERROR:
|
|
135
|
+
opt = CParser::OPT_EOF;
|
|
136
|
+
parser.error_msg("Unknown input in isotopes of SOLUTION_RAW keyword.",
|
|
137
|
+
PHRQ_io::OT_CONTINUE);
|
|
138
|
+
parser.error_msg(parser.line().c_str(), PHRQ_io::OT_CONTINUE);
|
|
139
|
+
continue;
|
|
140
|
+
|
|
141
|
+
case 0: // isotope_number
|
|
142
|
+
if (!(parser.get_iss() >> this->isotope_number))
|
|
143
|
+
{
|
|
144
|
+
this->isotope_number = 0;
|
|
145
|
+
parser.incr_input_error();
|
|
146
|
+
parser.error_msg("Expected numeric value for isotope_number.",
|
|
147
|
+
PHRQ_io::OT_CONTINUE);
|
|
148
|
+
}
|
|
149
|
+
isotope_number_defined = true;
|
|
150
|
+
break;
|
|
151
|
+
|
|
152
|
+
case 1: // elt_name
|
|
153
|
+
if (!(parser.get_iss() >> this->elt_name))
|
|
154
|
+
{
|
|
155
|
+
this->elt_name.clear();
|
|
156
|
+
parser.incr_input_error();
|
|
157
|
+
parser.error_msg("Expected character value for elt_name.",
|
|
158
|
+
PHRQ_io::OT_CONTINUE);
|
|
159
|
+
}
|
|
160
|
+
elt_name_defined = true;
|
|
161
|
+
break;
|
|
162
|
+
|
|
163
|
+
case 2: // total
|
|
164
|
+
if (!(parser.get_iss() >> this->total))
|
|
165
|
+
{
|
|
166
|
+
this->total = 0;
|
|
167
|
+
parser.incr_input_error();
|
|
168
|
+
parser.error_msg("Expected numeric value for total.",
|
|
169
|
+
PHRQ_io::OT_CONTINUE);
|
|
170
|
+
}
|
|
171
|
+
total_defined = true;
|
|
172
|
+
break;
|
|
173
|
+
|
|
174
|
+
case 3: // ratio
|
|
175
|
+
if (!(parser.get_iss() >> this->ratio))
|
|
176
|
+
{
|
|
177
|
+
this->ratio = 0;
|
|
178
|
+
parser.incr_input_error();
|
|
179
|
+
parser.error_msg("Expected numeric value for ratio.",
|
|
180
|
+
PHRQ_io::OT_CONTINUE);
|
|
181
|
+
}
|
|
182
|
+
total_defined = true;
|
|
183
|
+
break;
|
|
184
|
+
|
|
185
|
+
case 4: // ratio_uncertainty_defined
|
|
186
|
+
if (!(parser.get_iss() >> this->ratio_uncertainty_defined))
|
|
187
|
+
{
|
|
188
|
+
this->ratio_uncertainty_defined = 0;
|
|
189
|
+
parser.incr_input_error();
|
|
190
|
+
parser.error_msg("Expected boolean value for ratio_uncertainty_defined.",
|
|
191
|
+
PHRQ_io::OT_CONTINUE);
|
|
192
|
+
}
|
|
193
|
+
break;
|
|
194
|
+
|
|
195
|
+
case 5: // ratio_uncertainty
|
|
196
|
+
if (!(parser.get_iss() >> this->ratio_uncertainty))
|
|
197
|
+
{
|
|
198
|
+
this->ratio_uncertainty = 0;
|
|
199
|
+
parser.incr_input_error();
|
|
200
|
+
parser.error_msg("Expected numeric value for ratio_uncertainty.",
|
|
201
|
+
PHRQ_io::OT_CONTINUE);
|
|
202
|
+
}
|
|
203
|
+
ratio_uncertainty_defined = true;
|
|
204
|
+
break;
|
|
205
|
+
|
|
206
|
+
case 6: // x_ratio_uncertainty
|
|
207
|
+
if (!(parser.get_iss() >> this->x_ratio_uncertainty))
|
|
208
|
+
{
|
|
209
|
+
this->x_ratio_uncertainty = 0;
|
|
210
|
+
parser.incr_input_error();
|
|
211
|
+
parser.error_msg("Expected numeric value for x_ratio_uncertainty.",
|
|
212
|
+
PHRQ_io::OT_CONTINUE);
|
|
213
|
+
}
|
|
214
|
+
break;
|
|
215
|
+
case 7: // coef
|
|
216
|
+
if (!(parser.get_iss() >> this->coef))
|
|
217
|
+
{
|
|
218
|
+
this->coef = 0;
|
|
219
|
+
parser.incr_input_error();
|
|
220
|
+
parser.error_msg("Expected numeric value for coef.",
|
|
221
|
+
PHRQ_io::OT_CONTINUE);
|
|
222
|
+
}
|
|
223
|
+
break;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
if (opt == CParser::OPT_EOF || opt == CParser::OPT_KEYWORD)
|
|
227
|
+
break;
|
|
228
|
+
}
|
|
229
|
+
if (check)
|
|
230
|
+
{
|
|
231
|
+
// all members must be defined
|
|
232
|
+
if (isotope_number_defined == false)
|
|
233
|
+
{
|
|
234
|
+
parser.incr_input_error();
|
|
235
|
+
parser.error_msg("isotope_number not defined for isotopes SOLUTION_RAW input.",
|
|
236
|
+
PHRQ_io::OT_CONTINUE);
|
|
237
|
+
}
|
|
238
|
+
if (elt_name_defined == false)
|
|
239
|
+
{
|
|
240
|
+
parser.incr_input_error();
|
|
241
|
+
parser.error_msg("elt_name not defined for isotopes SOLUTION_RAW input.",
|
|
242
|
+
PHRQ_io::OT_CONTINUE);
|
|
243
|
+
}
|
|
244
|
+
if (total_defined == false)
|
|
245
|
+
{
|
|
246
|
+
parser.incr_input_error();
|
|
247
|
+
parser.error_msg("total not defined for isotopes SOLUTION_RAW input.",
|
|
248
|
+
PHRQ_io::OT_CONTINUE);
|
|
249
|
+
}
|
|
250
|
+
if (ratio_defined == false)
|
|
251
|
+
{
|
|
252
|
+
parser.incr_input_error();
|
|
253
|
+
parser.error_msg("ratio not defined for isotopes SOLUTION_RAW input.",
|
|
254
|
+
PHRQ_io::OT_CONTINUE);
|
|
255
|
+
}
|
|
256
|
+
if (ratio_uncertainty_defined == false)
|
|
257
|
+
{
|
|
258
|
+
parser.incr_input_error();
|
|
259
|
+
parser.
|
|
260
|
+
error_msg("ratio_uncertainty not defined for isotopes SOLUTION_RAW input.",
|
|
261
|
+
PHRQ_io::OT_CONTINUE);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
return;
|
|
265
|
+
}
|
|
266
|
+
bool
|
|
267
|
+
cxxSolutionIsotope::operator<(const cxxSolutionIsotope & isotope) const
|
|
268
|
+
{
|
|
269
|
+
int i = Utilities::strcmp_nocase(this->elt_name.c_str(), isotope.elt_name.c_str());
|
|
270
|
+
if (i != 0)
|
|
271
|
+
return (i < 0);
|
|
272
|
+
return (this->isotope_number < isotope.isotope_number);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
void
|
|
276
|
+
cxxSolutionIsotope::add(const cxxSolutionIsotope & isotope_ptr,
|
|
277
|
+
LDBLE intensive, LDBLE extensive)
|
|
278
|
+
{
|
|
279
|
+
if ((this->isotope_number == isotope_ptr.isotope_number) &&
|
|
280
|
+
(this->elt_name == isotope_ptr.elt_name) &&
|
|
281
|
+
(this->isotope_name == isotope_ptr.isotope_name))
|
|
282
|
+
{
|
|
283
|
+
this->total += isotope_ptr.total * extensive;
|
|
284
|
+
this->ratio += isotope_ptr.ratio * intensive;
|
|
285
|
+
this->ratio_uncertainty += isotope_ptr.ratio_uncertainty * intensive;
|
|
286
|
+
this->ratio_uncertainty_defined = (this->ratio_uncertainty_defined
|
|
287
|
+
|| isotope_ptr.
|
|
288
|
+
ratio_uncertainty_defined);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
void
|
|
292
|
+
cxxSolutionIsotope::multiply(LDBLE extensive)
|
|
293
|
+
{
|
|
294
|
+
this->total *= extensive;
|
|
295
|
+
}
|
|
296
|
+
void
|
|
297
|
+
cxxSolutionIsotope::Serialize(Dictionary & dictionary, std::vector < int >&ints, std::vector < double >&doubles)
|
|
298
|
+
{
|
|
299
|
+
doubles.push_back(this->isotope_number);
|
|
300
|
+
ints.push_back(dictionary.Find(this->elt_name));
|
|
301
|
+
ints.push_back(dictionary.Find(this->isotope_name));
|
|
302
|
+
doubles.push_back(this->total);
|
|
303
|
+
doubles.push_back(this->ratio);
|
|
304
|
+
doubles.push_back(this->ratio_uncertainty);
|
|
305
|
+
ints.push_back(this->ratio_uncertainty_defined ? 1 : 0);
|
|
306
|
+
doubles.push_back(this->x_ratio_uncertainty);
|
|
307
|
+
doubles.push_back(this->coef);
|
|
308
|
+
}
|
|
309
|
+
void
|
|
310
|
+
cxxSolutionIsotope::Deserialize(Dictionary & dictionary, std::vector < int >&ints, std::vector < double >&doubles, int &ii, int &dd)
|
|
311
|
+
{
|
|
312
|
+
this->isotope_number = doubles[dd++];
|
|
313
|
+
this->elt_name = dictionary.GetWords()[ints[ii++]];
|
|
314
|
+
this->isotope_name = dictionary.GetWords()[ints[ii++]];
|
|
315
|
+
this->total = doubles[dd++];
|
|
316
|
+
this->ratio = doubles[dd++];
|
|
317
|
+
this->ratio_uncertainty = doubles[dd++];
|
|
318
|
+
this->ratio_uncertainty_defined = (ints[ii++] != 0);
|
|
319
|
+
this->x_ratio_uncertainty = doubles[dd++];
|
|
320
|
+
this->coef = doubles[dd++];
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
const std::vector< std::string >::value_type temp_vopts[] = {
|
|
324
|
+
std::vector< std::string >::value_type("isotope_number"), // 0
|
|
325
|
+
std::vector< std::string >::value_type("elt_name"), // 1
|
|
326
|
+
std::vector< std::string >::value_type("total"), // 2
|
|
327
|
+
std::vector< std::string >::value_type("ratio"), // 3
|
|
328
|
+
std::vector< std::string >::value_type("ratio_uncertainty_defined"), // 4
|
|
329
|
+
std::vector< std::string >::value_type("ratio_uncertainty"), // 5
|
|
330
|
+
std::vector< std::string >::value_type("x_ratio_uncertainty"), // 6
|
|
331
|
+
std::vector< std::string >::value_type("coef") // 7
|
|
332
|
+
};
|
|
333
|
+
const std::vector< std::string > cxxSolutionIsotope::vopts(temp_vopts, temp_vopts + sizeof temp_vopts / sizeof temp_vopts[0]);
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
#if !defined(SOLUTIONISOTOPE_H_INCLUDED)
|
|
2
|
+
#define SOLUTIONISOTOPE_H_INCLUDED
|
|
3
|
+
|
|
4
|
+
#include <ostream> // std::ostream
|
|
5
|
+
#include <string> // std::string
|
|
6
|
+
#include <list> // std::list
|
|
7
|
+
#include "Parser.h"
|
|
8
|
+
class Dictionary;
|
|
9
|
+
|
|
10
|
+
class cxxSolutionIsotope: public PHRQ_base
|
|
11
|
+
{
|
|
12
|
+
public:
|
|
13
|
+
cxxSolutionIsotope(PHRQ_io *io=NULL);
|
|
14
|
+
cxxSolutionIsotope(class isotope *isotope_ptr, PHRQ_io *io=NULL);
|
|
15
|
+
virtual ~cxxSolutionIsotope(void);
|
|
16
|
+
|
|
17
|
+
void dump_xml(std::ostream & os, unsigned int indent) const;
|
|
18
|
+
void dump_raw(std::ostream & os, unsigned int indent) const;
|
|
19
|
+
|
|
20
|
+
//CParser::STATUS_TYPE read_raw(CParser & parser, std::istream::pos_type next_char);
|
|
21
|
+
void read_raw(CParser & parser, bool check);
|
|
22
|
+
|
|
23
|
+
LDBLE Get_isotope_number() const
|
|
24
|
+
{
|
|
25
|
+
return this->isotope_number;
|
|
26
|
+
}
|
|
27
|
+
void Set_isotope_number(LDBLE d)
|
|
28
|
+
{
|
|
29
|
+
this->isotope_number = d;
|
|
30
|
+
}
|
|
31
|
+
const std::string &Get_elt_name() const {return this->elt_name;}
|
|
32
|
+
void Set_elt_name(const char *cstring)
|
|
33
|
+
{
|
|
34
|
+
if (cstring != NULL)
|
|
35
|
+
this->elt_name = std::string(cstring);
|
|
36
|
+
else
|
|
37
|
+
this->elt_name.clear();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
const std::string &Get_isotope_name() const {return this->isotope_name;}
|
|
41
|
+
void Set_isotope_name(const char *cstring)
|
|
42
|
+
{
|
|
43
|
+
if (cstring != NULL)
|
|
44
|
+
this->isotope_name = std::string(cstring);
|
|
45
|
+
else
|
|
46
|
+
this->isotope_name.clear();
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
LDBLE Get_total() const {return this->total;}
|
|
50
|
+
void Set_total(LDBLE d) {this->total = d;}
|
|
51
|
+
|
|
52
|
+
LDBLE Get_ratio() const {return this->ratio;}
|
|
53
|
+
void Set_ratio(LDBLE t) {this->ratio = t;}
|
|
54
|
+
|
|
55
|
+
LDBLE Get_ratio_uncertainty() const {return this->ratio_uncertainty;}
|
|
56
|
+
void Set_ratio_uncertainty(LDBLE t) {this->ratio_uncertainty = t;}
|
|
57
|
+
|
|
58
|
+
LDBLE Get_x_ratio_uncertainty() const {return this->x_ratio_uncertainty;}
|
|
59
|
+
void Set_x_ratio_uncertainty(LDBLE t) {this->x_ratio_uncertainty = t;}
|
|
60
|
+
|
|
61
|
+
bool Get_ratio_uncertainty_defined() const {return this->ratio_uncertainty_defined;}
|
|
62
|
+
void Set_ratio_uncertainty_defined(bool tf) {this->ratio_uncertainty_defined = tf;}
|
|
63
|
+
LDBLE Get_coef() const {return this->coef;}
|
|
64
|
+
void Set_coef(LDBLE t) {this->coef = t;}
|
|
65
|
+
|
|
66
|
+
bool operator<(const cxxSolutionIsotope & conc) const;
|
|
67
|
+
void add(const cxxSolutionIsotope & isotope_ptr, LDBLE intensive,
|
|
68
|
+
LDBLE extensive);
|
|
69
|
+
void multiply(LDBLE extensive);
|
|
70
|
+
void Serialize(Dictionary & dictionary, std::vector < int >&ints, std::vector < double >&doubles);
|
|
71
|
+
void Deserialize(Dictionary & dictionary, std::vector < int >&ints, std::vector < double >&doubles, int &ii, int &dd);
|
|
72
|
+
|
|
73
|
+
protected:
|
|
74
|
+
LDBLE isotope_number;
|
|
75
|
+
std::string elt_name;
|
|
76
|
+
std::string isotope_name;
|
|
77
|
+
LDBLE total;
|
|
78
|
+
LDBLE ratio;
|
|
79
|
+
LDBLE ratio_uncertainty;
|
|
80
|
+
bool ratio_uncertainty_defined;
|
|
81
|
+
LDBLE x_ratio_uncertainty;
|
|
82
|
+
LDBLE coef; /* coefficient of element in phase */
|
|
83
|
+
const static std::vector < std::string > vopts;
|
|
84
|
+
};
|
|
85
|
+
#endif // SOLUTIONISOTOPE_H_INCLUDED
|