pyEQL 1.4.0rc9__cp312-cp312-macosx_11_0_arm64.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,401 @@
|
|
|
1
|
+
// SelectedOutput.cpp: implementation of the CSelectedOutput class.
|
|
2
|
+
//
|
|
3
|
+
//////////////////////////////////////////////////////////////////////
|
|
4
|
+
#if defined(WIN32)
|
|
5
|
+
#include <windows.h> // OutputDebugString
|
|
6
|
+
#endif
|
|
7
|
+
|
|
8
|
+
#if defined(_DEBUG)
|
|
9
|
+
#include <sstream> // std::ostringstream
|
|
10
|
+
#endif
|
|
11
|
+
|
|
12
|
+
#include <stdarg.h>
|
|
13
|
+
#include <stdio.h>
|
|
14
|
+
#include <string.h> // strlen
|
|
15
|
+
|
|
16
|
+
#include "Debug.h" // ASSERT
|
|
17
|
+
|
|
18
|
+
#if defined(R_SO)
|
|
19
|
+
#include "CSelectedOutputhxx.h" // CSelectedOutput
|
|
20
|
+
#else
|
|
21
|
+
#include "CSelectedOutput.hxx" // CSelectedOutput
|
|
22
|
+
#endif
|
|
23
|
+
|
|
24
|
+
const float INACTIVE_CELL_VALUE = 1.0e30f;
|
|
25
|
+
const size_t RESERVE_ROWS = 80;
|
|
26
|
+
const size_t RESERVE_COLS = 80;
|
|
27
|
+
|
|
28
|
+
CSelectedOutput::CSelectedOutput()
|
|
29
|
+
: m_nRowCount(0)
|
|
30
|
+
{
|
|
31
|
+
this->m_arrayVar.reserve(RESERVE_COLS);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
CSelectedOutput::~CSelectedOutput()
|
|
35
|
+
{
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
void CSelectedOutput::Clear(void)
|
|
39
|
+
{
|
|
40
|
+
this->m_nRowCount = 0;
|
|
41
|
+
this->m_vecVarHeadings.clear();
|
|
42
|
+
this->m_arrayVar.clear();
|
|
43
|
+
this->m_mapHeadingToCol.clear();
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
size_t CSelectedOutput::GetRowCount(void)const
|
|
47
|
+
{
|
|
48
|
+
if (this->GetColCount())
|
|
49
|
+
{
|
|
50
|
+
return this->m_nRowCount + 1; // rows + heading
|
|
51
|
+
}
|
|
52
|
+
else
|
|
53
|
+
{
|
|
54
|
+
return 0;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
size_t CSelectedOutput::GetColCount(void)const
|
|
59
|
+
{
|
|
60
|
+
return this->m_vecVarHeadings.size();
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
CVar CSelectedOutput::Get(int nRow, int nCol)const
|
|
64
|
+
{
|
|
65
|
+
CVar v;
|
|
66
|
+
this->Get(nRow, nCol, &v);
|
|
67
|
+
return v;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
VRESULT CSelectedOutput::Get(int nRow, int nCol, VAR* pVAR)const
|
|
71
|
+
{
|
|
72
|
+
if (::VarClear(pVAR) == VR_BADVARTYPE)
|
|
73
|
+
{
|
|
74
|
+
return VR_BADVARTYPE;
|
|
75
|
+
}
|
|
76
|
+
if ((size_t)nRow >= this->GetRowCount() || nRow < 0)
|
|
77
|
+
{
|
|
78
|
+
pVAR->type = TT_ERROR;
|
|
79
|
+
pVAR->vresult = VR_INVALIDROW;
|
|
80
|
+
return pVAR->vresult;
|
|
81
|
+
}
|
|
82
|
+
if ((size_t)nCol >= this->GetColCount() || nCol < 0)
|
|
83
|
+
{
|
|
84
|
+
pVAR->type = TT_ERROR;
|
|
85
|
+
pVAR->vresult = VR_INVALIDCOL;
|
|
86
|
+
return pVAR->vresult;
|
|
87
|
+
}
|
|
88
|
+
if (nRow)
|
|
89
|
+
{
|
|
90
|
+
ASSERT((size_t)nRow <= this->m_arrayVar[nCol].size());
|
|
91
|
+
return ::VarCopy(pVAR, &(this->m_arrayVar[nCol])[nRow - 1]);
|
|
92
|
+
}
|
|
93
|
+
else
|
|
94
|
+
{
|
|
95
|
+
return ::VarCopy(pVAR, &(this->m_vecVarHeadings[nCol]));
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
int CSelectedOutput::EndRow(void)
|
|
101
|
+
{
|
|
102
|
+
if (size_t ncols = this->GetColCount())
|
|
103
|
+
{
|
|
104
|
+
++this->m_nRowCount;
|
|
105
|
+
|
|
106
|
+
// make sure array is full
|
|
107
|
+
for (size_t col = 0; col < ncols; ++col)
|
|
108
|
+
{
|
|
109
|
+
size_t nrows = this->m_arrayVar[col].size();
|
|
110
|
+
if (nrows < this->m_nRowCount)
|
|
111
|
+
{
|
|
112
|
+
// fill w/ empty
|
|
113
|
+
this->m_arrayVar[col].resize(this->m_nRowCount);
|
|
114
|
+
}
|
|
115
|
+
#if defined(_DEBUG)
|
|
116
|
+
else if (nrows > this->m_nRowCount)
|
|
117
|
+
{
|
|
118
|
+
ASSERT(false);
|
|
119
|
+
}
|
|
120
|
+
#endif
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
return 0;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
int CSelectedOutput::PushBack(const char* key, const CVar& var)
|
|
127
|
+
{
|
|
128
|
+
try
|
|
129
|
+
{
|
|
130
|
+
// check if key is new
|
|
131
|
+
std::map< std::string, size_t >::iterator find;
|
|
132
|
+
find = this->m_mapHeadingToCol.find(std::string(key));
|
|
133
|
+
if (find == this->m_mapHeadingToCol.end())
|
|
134
|
+
{
|
|
135
|
+
// new key(column)
|
|
136
|
+
//
|
|
137
|
+
this->m_mapHeadingToCol.insert(std::map< std::string, size_t >::value_type(std::string(key),
|
|
138
|
+
this->m_mapHeadingToCol.size()) );
|
|
139
|
+
|
|
140
|
+
// add heading
|
|
141
|
+
//
|
|
142
|
+
this->m_vecVarHeadings.push_back(CVar(key));
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
// add new vector(col)
|
|
146
|
+
//
|
|
147
|
+
this->m_arrayVar.resize(this->m_arrayVar.size() + 1);
|
|
148
|
+
this->m_arrayVar.back().reserve(RESERVE_ROWS);
|
|
149
|
+
|
|
150
|
+
// add empty rows if nec
|
|
151
|
+
if (this->m_nRowCount)
|
|
152
|
+
this->m_arrayVar.back().resize(this->m_nRowCount);
|
|
153
|
+
|
|
154
|
+
this->m_arrayVar.back().push_back(var);
|
|
155
|
+
}
|
|
156
|
+
else
|
|
157
|
+
{
|
|
158
|
+
if (this->m_arrayVar[find->second].size() == this->m_nRowCount) {
|
|
159
|
+
this->m_arrayVar[find->second].push_back(var);
|
|
160
|
+
}
|
|
161
|
+
else {
|
|
162
|
+
ASSERT(this->m_arrayVar[find->second].size() == this->m_nRowCount + 1);
|
|
163
|
+
this->m_arrayVar[find->second].at(this->m_nRowCount) = var;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
return 0;
|
|
167
|
+
}
|
|
168
|
+
catch(...)
|
|
169
|
+
{
|
|
170
|
+
ASSERT(false);
|
|
171
|
+
throw;
|
|
172
|
+
}
|
|
173
|
+
return 1; // error
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
int CSelectedOutput::PushBackDouble(const char* key, double value)
|
|
178
|
+
{
|
|
179
|
+
CVar v(value);
|
|
180
|
+
return this->PushBack(key, v);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
int CSelectedOutput::PushBackLong(const char* key, long value)
|
|
184
|
+
{
|
|
185
|
+
CVar v(value);
|
|
186
|
+
return this->PushBack(key, v);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
int CSelectedOutput::PushBackString(const char* key, const char* value)
|
|
190
|
+
{
|
|
191
|
+
CVar v(value);
|
|
192
|
+
return this->PushBack(key, v);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
int CSelectedOutput::PushBackEmpty(const char* key)
|
|
196
|
+
{
|
|
197
|
+
CVar v;
|
|
198
|
+
return this->PushBack(key, v);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
#if defined(_DEBUG)
|
|
202
|
+
void CSelectedOutput::Dump(const char* heading)
|
|
203
|
+
{
|
|
204
|
+
::OutputDebugStringA(heading);
|
|
205
|
+
std::ostringstream oss;
|
|
206
|
+
oss << *this;
|
|
207
|
+
std::istringstream iss(oss.str());
|
|
208
|
+
std::string line;
|
|
209
|
+
while (std::getline(iss, line))
|
|
210
|
+
{
|
|
211
|
+
::OutputDebugStringA(line.c_str());
|
|
212
|
+
::OutputDebugStringA("\n");
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
void CSelectedOutput::AssertValid(void)const
|
|
217
|
+
{
|
|
218
|
+
if (size_t cols = this->GetColCount())
|
|
219
|
+
{
|
|
220
|
+
size_t rows = this->m_arrayVar[0].size();
|
|
221
|
+
for (size_t col = 0; col < cols; ++col)
|
|
222
|
+
{
|
|
223
|
+
ASSERT(rows == this->m_arrayVar[col].size());
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
#endif
|
|
228
|
+
|
|
229
|
+
std::ostream& operator<< (std::ostream &os, const CSelectedOutput &a)
|
|
230
|
+
{
|
|
231
|
+
os << "CSelectedOutput(rows=" << a.GetRowCount() << ", cols=" << a.GetColCount() << ")\n";
|
|
232
|
+
|
|
233
|
+
CVar v;
|
|
234
|
+
for (size_t r = 0; r < a.GetRowCount(); ++r)
|
|
235
|
+
{
|
|
236
|
+
for (size_t c = 0; c < a.GetColCount(); ++c)
|
|
237
|
+
{
|
|
238
|
+
a.Get((int)r, (int)c, &v);
|
|
239
|
+
os << v << ", ";
|
|
240
|
+
::VarClear(&v);
|
|
241
|
+
}
|
|
242
|
+
os << "\n";
|
|
243
|
+
}
|
|
244
|
+
os << "\n";
|
|
245
|
+
return os;
|
|
246
|
+
}
|
|
247
|
+
void CSelectedOutput::Serialize(
|
|
248
|
+
int row_number,
|
|
249
|
+
std::vector<int> &types, // each column for each row types, including headings
|
|
250
|
+
std::vector<long> &longs, // in order by occurrence
|
|
251
|
+
std::vector<double> &doubles, // in order by occurrence
|
|
252
|
+
std::string &strings)
|
|
253
|
+
{
|
|
254
|
+
types.clear();
|
|
255
|
+
longs.clear();
|
|
256
|
+
doubles.clear();
|
|
257
|
+
strings.clear();
|
|
258
|
+
|
|
259
|
+
// size_t nrows = this->m_nRowCount;
|
|
260
|
+
size_t ncols = this->m_vecVarHeadings.size();
|
|
261
|
+
|
|
262
|
+
longs.push_back((long) 1);
|
|
263
|
+
longs.push_back((long) ncols);
|
|
264
|
+
|
|
265
|
+
// put headings
|
|
266
|
+
for (size_t i = 0; i < ncols; i++)
|
|
267
|
+
{
|
|
268
|
+
ASSERT(this->m_vecVarHeadings[i].type == TT_STRING);
|
|
269
|
+
longs.push_back((long) strlen(this->m_vecVarHeadings[i].sVal));
|
|
270
|
+
strings.append(this->m_vecVarHeadings[i].sVal);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
// go through rows by column
|
|
274
|
+
for (size_t j = 0; j < ncols; j++)
|
|
275
|
+
{
|
|
276
|
+
for (size_t i = row_number; i < (size_t)(row_number + 1); i++)
|
|
277
|
+
{
|
|
278
|
+
types.push_back(m_arrayVar[j][i].type);
|
|
279
|
+
switch(m_arrayVar[j][i].type)
|
|
280
|
+
{
|
|
281
|
+
case TT_EMPTY:
|
|
282
|
+
break;
|
|
283
|
+
case TT_ERROR:
|
|
284
|
+
longs.push_back(m_arrayVar[j][i].vresult);
|
|
285
|
+
break;
|
|
286
|
+
case TT_LONG:
|
|
287
|
+
longs.push_back(m_arrayVar[j][i].lVal);
|
|
288
|
+
break;
|
|
289
|
+
case TT_DOUBLE:
|
|
290
|
+
doubles.push_back(m_arrayVar[j][i].dVal);
|
|
291
|
+
break;
|
|
292
|
+
case TT_STRING:
|
|
293
|
+
longs.push_back((long) strlen(m_arrayVar[j][i].sVal));
|
|
294
|
+
strings.append(m_arrayVar[j][i].sVal);
|
|
295
|
+
break;
|
|
296
|
+
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
void CSelectedOutput::DeSerialize(
|
|
302
|
+
std::vector<int> &types, // each column for each row types, including headings
|
|
303
|
+
std::vector<long> &longs, // in order by occurrence
|
|
304
|
+
std::vector<double> &doubles, // in order by occurrence
|
|
305
|
+
std::string &strings)
|
|
306
|
+
{
|
|
307
|
+
size_t i_types = 0, i_longs = 0, i_doubles = 0;
|
|
308
|
+
size_t strings_start = 0;
|
|
309
|
+
|
|
310
|
+
size_t nrows = longs[i_longs++];
|
|
311
|
+
size_t ncols = longs[i_longs++];
|
|
312
|
+
|
|
313
|
+
// put headings
|
|
314
|
+
std::vector<std::string> headings;
|
|
315
|
+
for (size_t i = 0; i < ncols; i++)
|
|
316
|
+
{
|
|
317
|
+
size_t l = (size_t) longs[i_longs++];
|
|
318
|
+
headings.push_back(strings.substr(strings_start, l));
|
|
319
|
+
strings_start += l;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
// go through rows by column
|
|
323
|
+
for (size_t j = 0; j < ncols; j++)
|
|
324
|
+
{
|
|
325
|
+
for (size_t i = 0; i < nrows; i++)
|
|
326
|
+
{
|
|
327
|
+
switch((VAR_TYPE) types[i_types++])
|
|
328
|
+
{
|
|
329
|
+
case TT_EMPTY:
|
|
330
|
+
{
|
|
331
|
+
CVar v;
|
|
332
|
+
v.Clear();
|
|
333
|
+
this->PushBack(headings[j].c_str(), v);
|
|
334
|
+
}
|
|
335
|
+
break;
|
|
336
|
+
case TT_ERROR:
|
|
337
|
+
{
|
|
338
|
+
CVar v;
|
|
339
|
+
v.Clear();
|
|
340
|
+
v.type = TT_ERROR;
|
|
341
|
+
v.vresult = (VRESULT) longs[i_longs++];
|
|
342
|
+
this->PushBack(headings[j].c_str(), v);
|
|
343
|
+
}
|
|
344
|
+
break;
|
|
345
|
+
case TT_LONG:
|
|
346
|
+
PushBackLong(headings[j].c_str(), longs[i_longs++]);
|
|
347
|
+
break;
|
|
348
|
+
case TT_DOUBLE:
|
|
349
|
+
PushBackDouble(headings[j].c_str(), doubles[i_doubles++]);
|
|
350
|
+
break;
|
|
351
|
+
case TT_STRING:
|
|
352
|
+
{
|
|
353
|
+
size_t l = (size_t) longs[i_longs++];
|
|
354
|
+
PushBackString(headings[j].c_str(), strings.substr(strings_start, l).c_str());
|
|
355
|
+
strings_start += l;
|
|
356
|
+
}
|
|
357
|
+
break;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
this->EndRow();
|
|
362
|
+
}
|
|
363
|
+
void CSelectedOutput::Doublize(
|
|
364
|
+
int &nrow,
|
|
365
|
+
int &ncol,
|
|
366
|
+
std::vector < double > &doubles)
|
|
367
|
+
{
|
|
368
|
+
nrow = (int) this->m_nRowCount;
|
|
369
|
+
ncol = (int) this->m_vecVarHeadings.size();
|
|
370
|
+
|
|
371
|
+
doubles.clear();
|
|
372
|
+
// go through column dominant order (Fortran)
|
|
373
|
+
for (size_t j = 0; j < (size_t)ncol; j++)
|
|
374
|
+
{
|
|
375
|
+
for (size_t i = 0; i < (size_t)nrow; i++)
|
|
376
|
+
{
|
|
377
|
+
switch(m_arrayVar[j][i].type)
|
|
378
|
+
{
|
|
379
|
+
case TT_EMPTY:
|
|
380
|
+
doubles.push_back((double) INACTIVE_CELL_VALUE);
|
|
381
|
+
break;
|
|
382
|
+
case TT_ERROR:
|
|
383
|
+
doubles.push_back((double) INACTIVE_CELL_VALUE);
|
|
384
|
+
break;
|
|
385
|
+
case TT_LONG:
|
|
386
|
+
doubles.push_back((double) m_arrayVar[j][i].lVal);
|
|
387
|
+
break;
|
|
388
|
+
case TT_DOUBLE:
|
|
389
|
+
doubles.push_back(m_arrayVar[j][i].dVal);
|
|
390
|
+
break;
|
|
391
|
+
case TT_STRING:
|
|
392
|
+
doubles.push_back((double) INACTIVE_CELL_VALUE);
|
|
393
|
+
break;
|
|
394
|
+
default:
|
|
395
|
+
doubles.push_back((double) INACTIVE_CELL_VALUE);
|
|
396
|
+
break;
|
|
397
|
+
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// SelectedOutput.h: interface for the CSelectedOutput class.
|
|
2
|
+
//
|
|
3
|
+
//////////////////////////////////////////////////////////////////////
|
|
4
|
+
|
|
5
|
+
#if !defined _INC_SELECTEDOUTPUT_H
|
|
6
|
+
#define _INC_SELECTEDOUTPUT_H
|
|
7
|
+
|
|
8
|
+
#if _MSC_VER > 1000
|
|
9
|
+
#pragma once
|
|
10
|
+
#endif // _MSC_VER > 1000
|
|
11
|
+
|
|
12
|
+
#include <string>
|
|
13
|
+
#include <map>
|
|
14
|
+
#include <list>
|
|
15
|
+
#include <vector>
|
|
16
|
+
#include "CVar.hxx"
|
|
17
|
+
|
|
18
|
+
#include "PHRQ_exports.h"
|
|
19
|
+
|
|
20
|
+
class IPQ_DLL_EXPORT CSelectedOutput
|
|
21
|
+
{
|
|
22
|
+
public:
|
|
23
|
+
CSelectedOutput(void);
|
|
24
|
+
virtual ~CSelectedOutput(void);
|
|
25
|
+
|
|
26
|
+
int EndRow(void);
|
|
27
|
+
void Clear(void);
|
|
28
|
+
|
|
29
|
+
size_t GetRowCount(void)const;
|
|
30
|
+
size_t GetColCount(void)const;
|
|
31
|
+
|
|
32
|
+
CVar Get(int nRow, int nCol)const;
|
|
33
|
+
VRESULT Get(int nRow, int nCol, VAR* pVAR)const;
|
|
34
|
+
|
|
35
|
+
int PushBack(const char* key, const CVar& var);
|
|
36
|
+
|
|
37
|
+
int PushBackDouble(const char* key, double dVal);
|
|
38
|
+
int PushBackLong(const char* key, long lVal);
|
|
39
|
+
int PushBackString(const char* key, const char* sVal);
|
|
40
|
+
int PushBackEmpty(const char* key);
|
|
41
|
+
|
|
42
|
+
// Serialize
|
|
43
|
+
void Serialize(
|
|
44
|
+
int row,
|
|
45
|
+
std::vector<int> &types,
|
|
46
|
+
std::vector<long> &longs,
|
|
47
|
+
std::vector<double> &doubles,
|
|
48
|
+
std::string &strings);
|
|
49
|
+
void DeSerialize(
|
|
50
|
+
std::vector<int> &types,
|
|
51
|
+
std::vector<long> &longs,
|
|
52
|
+
std::vector<double> &doubles,
|
|
53
|
+
std::string &strings);
|
|
54
|
+
void Doublize(
|
|
55
|
+
int &nrow,
|
|
56
|
+
int &ncol,
|
|
57
|
+
std::vector < double > &doubles);
|
|
58
|
+
|
|
59
|
+
#if defined(_DEBUG)
|
|
60
|
+
void Dump(const char* heading);
|
|
61
|
+
void AssertValid(void)const;
|
|
62
|
+
#endif
|
|
63
|
+
|
|
64
|
+
protected:
|
|
65
|
+
friend std::ostream& operator<< (std::ostream &os, const CSelectedOutput &a);
|
|
66
|
+
|
|
67
|
+
size_t m_nRowCount;
|
|
68
|
+
|
|
69
|
+
std::vector< std::vector<CVar> > m_arrayVar;
|
|
70
|
+
std::vector<CVar> m_vecVarHeadings;
|
|
71
|
+
std::map< std::string, size_t > m_mapHeadingToCol;
|
|
72
|
+
|
|
73
|
+
private:
|
|
74
|
+
static CSelectedOutput* s_instance;
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
#endif // !defined(_INC_SELECTEDOUTPUT_H)
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
#ifndef INC_CVAR_HXX
|
|
2
|
+
#define INC_CVAR_HXX
|
|
3
|
+
|
|
4
|
+
#include "Var.h"
|
|
5
|
+
#include <ostream> // std::ostream
|
|
6
|
+
|
|
7
|
+
class CVar : public VAR
|
|
8
|
+
{
|
|
9
|
+
// Constructors
|
|
10
|
+
public:
|
|
11
|
+
CVar(void) throw()
|
|
12
|
+
{
|
|
13
|
+
::VarInit(this);
|
|
14
|
+
}
|
|
15
|
+
~CVar(void) //throw()
|
|
16
|
+
{
|
|
17
|
+
Clear();
|
|
18
|
+
}
|
|
19
|
+
CVar(const VAR& varSrc)
|
|
20
|
+
{
|
|
21
|
+
this->type = TT_EMPTY;
|
|
22
|
+
InternalCopy(&varSrc);
|
|
23
|
+
}
|
|
24
|
+
CVar(const CVar& varSrc)
|
|
25
|
+
{
|
|
26
|
+
this->type = TT_EMPTY;
|
|
27
|
+
InternalCopy(&varSrc);
|
|
28
|
+
}
|
|
29
|
+
CVar(double dblSrc) throw()
|
|
30
|
+
{
|
|
31
|
+
this->type = TT_DOUBLE;
|
|
32
|
+
this->dVal = dblSrc;
|
|
33
|
+
}
|
|
34
|
+
CVar(const char* pszSrc)
|
|
35
|
+
{
|
|
36
|
+
this->type = TT_EMPTY;
|
|
37
|
+
*this = pszSrc;
|
|
38
|
+
}
|
|
39
|
+
CVar(long nSrc) throw()
|
|
40
|
+
{
|
|
41
|
+
this->type = TT_LONG;
|
|
42
|
+
this->lVal = nSrc;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// Assignment Operators
|
|
46
|
+
public:
|
|
47
|
+
CVar& operator=(const CVar& varSrc)
|
|
48
|
+
{
|
|
49
|
+
InternalCopy(&varSrc);
|
|
50
|
+
return *this;
|
|
51
|
+
}
|
|
52
|
+
CVar& operator=(const VAR& varSrc)
|
|
53
|
+
{
|
|
54
|
+
InternalCopy(&varSrc);
|
|
55
|
+
return *this;
|
|
56
|
+
}
|
|
57
|
+
CVar& operator=(double dblSrc) throw()
|
|
58
|
+
{
|
|
59
|
+
if (type != TT_DOUBLE)
|
|
60
|
+
{
|
|
61
|
+
Clear();
|
|
62
|
+
type = TT_DOUBLE;
|
|
63
|
+
}
|
|
64
|
+
this->dVal = dblSrc;
|
|
65
|
+
return *this;
|
|
66
|
+
}
|
|
67
|
+
CVar& operator=(const char* pszSrc)
|
|
68
|
+
{
|
|
69
|
+
Clear();
|
|
70
|
+
this->type = TT_STRING;
|
|
71
|
+
this->sVal = ::VarAllocString(pszSrc);
|
|
72
|
+
|
|
73
|
+
if (this->sVal == NULL && pszSrc != NULL)
|
|
74
|
+
{
|
|
75
|
+
this->type = TT_ERROR;
|
|
76
|
+
this->vresult = VR_OUTOFMEMORY;
|
|
77
|
+
}
|
|
78
|
+
return *this;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
friend std::ostream& operator<< (std::ostream &os, const CVar &a);
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
// Operations
|
|
85
|
+
public:
|
|
86
|
+
VRESULT Clear(void) { return ::VarClear(this); }
|
|
87
|
+
VRESULT Copy(const VAR* pSrc) { return ::VarCopy(this, const_cast<VAR*>(pSrc)); }
|
|
88
|
+
|
|
89
|
+
// Implementation
|
|
90
|
+
public:
|
|
91
|
+
VRESULT InternalClear()
|
|
92
|
+
{
|
|
93
|
+
VRESULT vr = Clear();
|
|
94
|
+
if (vr != VR_OK)
|
|
95
|
+
{
|
|
96
|
+
this->type = TT_ERROR;
|
|
97
|
+
this->vresult = vr;
|
|
98
|
+
}
|
|
99
|
+
return vr;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
void InternalCopy(const VAR* pSrc)
|
|
103
|
+
{
|
|
104
|
+
VRESULT vr = Copy(pSrc);
|
|
105
|
+
if (vr != VR_OK)
|
|
106
|
+
{
|
|
107
|
+
this->type = TT_ERROR;
|
|
108
|
+
this->vresult = vr;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
inline std::ostream& operator<< (std::ostream &os, const CVar &a)
|
|
115
|
+
{
|
|
116
|
+
switch (a.type) {
|
|
117
|
+
case TT_EMPTY:
|
|
118
|
+
os << "(TT_EMPTY)";
|
|
119
|
+
break;
|
|
120
|
+
case TT_ERROR:
|
|
121
|
+
switch (a.vresult) {
|
|
122
|
+
case VR_OK:
|
|
123
|
+
os << "VR_OK";
|
|
124
|
+
break;
|
|
125
|
+
case VR_OUTOFMEMORY:
|
|
126
|
+
os << "VR_OUTOFMEMORY";
|
|
127
|
+
break;
|
|
128
|
+
case VR_BADVARTYPE:
|
|
129
|
+
os << "VR_BADVARTYPE";
|
|
130
|
+
break;
|
|
131
|
+
case VR_INVALIDARG:
|
|
132
|
+
os << "VR_INVALIDARG";
|
|
133
|
+
break;
|
|
134
|
+
case VR_INVALIDROW:
|
|
135
|
+
os << "VR_INVALIDROW";
|
|
136
|
+
break;
|
|
137
|
+
case VR_INVALIDCOL:
|
|
138
|
+
os << "VR_INVALIDCOL";
|
|
139
|
+
break;
|
|
140
|
+
}
|
|
141
|
+
os << "(TT_ERROR)";
|
|
142
|
+
break;
|
|
143
|
+
case TT_LONG:
|
|
144
|
+
os << a.lVal;
|
|
145
|
+
os << "(TT_LONG)";
|
|
146
|
+
break;
|
|
147
|
+
case TT_DOUBLE:
|
|
148
|
+
os << a.dVal;
|
|
149
|
+
os << "(TT_DOUBLE)";
|
|
150
|
+
break;
|
|
151
|
+
case TT_STRING:
|
|
152
|
+
os << "\"" << a.sVal << "\"";
|
|
153
|
+
os << "(TT_STRING)";
|
|
154
|
+
break;
|
|
155
|
+
default:
|
|
156
|
+
os << "(BAD)";
|
|
157
|
+
break;
|
|
158
|
+
}
|
|
159
|
+
return os;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
#endif // INC_CVAR_HXX
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
#if !defined(__ERROR_REPORTER_HXX_INC)
|
|
2
|
+
#define __ERROR_REPORTER_HXX_INC
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
#include <iosfwd> // std::ostream
|
|
6
|
+
#include <cstdio> // std::fprintf
|
|
7
|
+
|
|
8
|
+
class IErrorReporter
|
|
9
|
+
{
|
|
10
|
+
public:
|
|
11
|
+
virtual size_t AddError(const char* error_msg) = 0;
|
|
12
|
+
virtual void Clear(void) = 0;
|
|
13
|
+
virtual ~IErrorReporter(void) = 0;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
// Note: this is req'd in order for subclass dtors to be called
|
|
17
|
+
//
|
|
18
|
+
IErrorReporter::~IErrorReporter(void)
|
|
19
|
+
{
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
template <typename OS>
|
|
23
|
+
class CErrorReporter : public IErrorReporter
|
|
24
|
+
{
|
|
25
|
+
public:
|
|
26
|
+
CErrorReporter(void);
|
|
27
|
+
virtual ~CErrorReporter(void);
|
|
28
|
+
|
|
29
|
+
virtual size_t AddError(const char *error_msg);
|
|
30
|
+
virtual void Clear(void);
|
|
31
|
+
OS* GetOS(void) { return m_pOS; }
|
|
32
|
+
protected:
|
|
33
|
+
OS* m_pOS;
|
|
34
|
+
size_t m_error_count;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
template<typename OS>
|
|
38
|
+
CErrorReporter<OS>::CErrorReporter(void)
|
|
39
|
+
: m_pOS(0)
|
|
40
|
+
, m_error_count(0)
|
|
41
|
+
{
|
|
42
|
+
this->m_pOS = new OS;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
template<typename OS>
|
|
46
|
+
CErrorReporter<OS>::~CErrorReporter(void)
|
|
47
|
+
{
|
|
48
|
+
delete this->m_pOS;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
template<typename OS>
|
|
52
|
+
size_t CErrorReporter<OS>::AddError(const char* error_msg)
|
|
53
|
+
{
|
|
54
|
+
++this->m_error_count;
|
|
55
|
+
(*this->m_pOS) << error_msg;
|
|
56
|
+
return this->m_error_count;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
template<typename OS>
|
|
60
|
+
void CErrorReporter<OS>::Clear(void)
|
|
61
|
+
{
|
|
62
|
+
this->m_error_count = 0;
|
|
63
|
+
if (this->m_pOS->tellp() != std::ios::pos_type(-1))
|
|
64
|
+
{
|
|
65
|
+
delete this->m_pOS;
|
|
66
|
+
this->m_pOS = new OS;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
#endif // __ERROR_REPORTER_HXX_INC
|