pyEQL 1.4.0rc9__cp311-cp311-macosx_10_9_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-311-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,617 @@
|
|
|
1
|
+
// cxxKinetics.cxx: implementation of the cxxKinetics class.
|
|
2
|
+
//
|
|
3
|
+
//////////////////////////////////////////////////////////////////////
|
|
4
|
+
#ifdef _DEBUG
|
|
5
|
+
#pragma warning(disable : 4786) // disable truncation warning (Only used by debugger)
|
|
6
|
+
#endif
|
|
7
|
+
#include <cassert> // assert
|
|
8
|
+
#include <algorithm> // std::sort
|
|
9
|
+
|
|
10
|
+
#include "Utils.h"
|
|
11
|
+
#include "Phreeqc.h"
|
|
12
|
+
#include "cxxKinetics.h"
|
|
13
|
+
#include "cxxMix.h"
|
|
14
|
+
#include "phqalloc.h"
|
|
15
|
+
#include "PHRQ_io.h"
|
|
16
|
+
#include "Dictionary.h"
|
|
17
|
+
|
|
18
|
+
#if defined(PHREEQCI_GUI)
|
|
19
|
+
#ifdef _DEBUG
|
|
20
|
+
#define new DEBUG_NEW
|
|
21
|
+
#undef THIS_FILE
|
|
22
|
+
static char THIS_FILE[] = __FILE__;
|
|
23
|
+
#endif
|
|
24
|
+
#endif
|
|
25
|
+
|
|
26
|
+
//////////////////////////////////////////////////////////////////////
|
|
27
|
+
// Construction/Destruction
|
|
28
|
+
//////////////////////////////////////////////////////////////////////
|
|
29
|
+
|
|
30
|
+
cxxKinetics::cxxKinetics(PHRQ_io *io)
|
|
31
|
+
//
|
|
32
|
+
// default constructor for cxxKinetics
|
|
33
|
+
//
|
|
34
|
+
: cxxNumKeyword(io)
|
|
35
|
+
{
|
|
36
|
+
step_divide = 1.0;
|
|
37
|
+
rk = 3;
|
|
38
|
+
bad_step_max = 500;
|
|
39
|
+
use_cvode = false;
|
|
40
|
+
cvode_steps = 100;
|
|
41
|
+
cvode_order = 5;
|
|
42
|
+
totals.type = cxxNameDouble::ND_ELT_MOLES;
|
|
43
|
+
equalIncrements = false;
|
|
44
|
+
count = 0;
|
|
45
|
+
}
|
|
46
|
+
cxxKinetics::cxxKinetics(const std::map < int, cxxKinetics > &entities,
|
|
47
|
+
cxxMix & mix, int l_n_user, PHRQ_io *io):
|
|
48
|
+
cxxNumKeyword(io)
|
|
49
|
+
{
|
|
50
|
+
this->n_user = this->n_user_end = l_n_user;
|
|
51
|
+
step_divide = 1.0;
|
|
52
|
+
rk = 3;
|
|
53
|
+
bad_step_max = 500;
|
|
54
|
+
use_cvode = false;
|
|
55
|
+
cvode_steps = 100;
|
|
56
|
+
cvode_order = 5;
|
|
57
|
+
totals.type = cxxNameDouble::ND_ELT_MOLES;
|
|
58
|
+
equalIncrements = false;
|
|
59
|
+
count = 0;
|
|
60
|
+
//
|
|
61
|
+
// Mix
|
|
62
|
+
//
|
|
63
|
+
const std::map < int, LDBLE >&mixcomps = mix.Get_mixComps();
|
|
64
|
+
std::map < int, LDBLE >::const_iterator it;
|
|
65
|
+
for (it = mixcomps.begin(); it != mixcomps.end(); it++)
|
|
66
|
+
{
|
|
67
|
+
if (entities.find(it->first) != entities.end())
|
|
68
|
+
{
|
|
69
|
+
const cxxKinetics *entity_ptr =
|
|
70
|
+
&(entities.find(it->first)->second);
|
|
71
|
+
this->add(*entity_ptr, it->second);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
cxxKinetics::~cxxKinetics()
|
|
77
|
+
{
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
void
|
|
81
|
+
cxxKinetics::dump_raw(std::ostream & s_oss, unsigned int indent, int * n_out) const
|
|
82
|
+
{
|
|
83
|
+
unsigned int i;
|
|
84
|
+
s_oss.precision(DBL_DIG - 1);
|
|
85
|
+
std::string indent0(""), indent1(""), indent2("");
|
|
86
|
+
for (i = 0; i < indent; ++i)
|
|
87
|
+
indent0.append(Utilities::INDENT);
|
|
88
|
+
for (i = 0; i < indent + 1; ++i)
|
|
89
|
+
indent1.append(Utilities::INDENT);
|
|
90
|
+
for (i = 0; i < indent + 2; ++i)
|
|
91
|
+
indent2.append(Utilities::INDENT);
|
|
92
|
+
|
|
93
|
+
// Kinetics element and attributes
|
|
94
|
+
s_oss << indent0;
|
|
95
|
+
int n_user_local = (n_out != NULL) ? *n_out : this->n_user;
|
|
96
|
+
s_oss << "KINETICS_RAW " << n_user_local << " " << this->description << "\n";
|
|
97
|
+
|
|
98
|
+
s_oss << indent1 << "# KINETICS_MODIFY candidate identifiers #\n";
|
|
99
|
+
|
|
100
|
+
s_oss << indent1;
|
|
101
|
+
s_oss << "-step_divide " << this->step_divide << "\n";
|
|
102
|
+
|
|
103
|
+
s_oss << indent1;
|
|
104
|
+
s_oss << "-rk " << this->rk << "\n";
|
|
105
|
+
|
|
106
|
+
s_oss << indent1;
|
|
107
|
+
s_oss << "-bad_step_max " << this->bad_step_max << "\n";
|
|
108
|
+
|
|
109
|
+
s_oss << indent1;
|
|
110
|
+
s_oss << "-use_cvode " << this->use_cvode << "\n";
|
|
111
|
+
|
|
112
|
+
s_oss << indent1;
|
|
113
|
+
s_oss << "-cvode_steps " << this->cvode_steps << "\n";
|
|
114
|
+
|
|
115
|
+
s_oss << indent1;
|
|
116
|
+
s_oss << "-cvode_order " << this->cvode_order << "\n";
|
|
117
|
+
|
|
118
|
+
// kineticsComps structures
|
|
119
|
+
for (size_t k = 0; k < this->kinetics_comps.size(); k++)
|
|
120
|
+
{
|
|
121
|
+
s_oss << indent1;
|
|
122
|
+
s_oss << "-component " << this->kinetics_comps[k].Get_rate_name() << "\n";
|
|
123
|
+
this->kinetics_comps[k].dump_raw(s_oss, indent + 2);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// equal_steps
|
|
127
|
+
s_oss << indent1;
|
|
128
|
+
s_oss << "-equal_increments " << this->equalIncrements << "\n";
|
|
129
|
+
|
|
130
|
+
// equal_steps
|
|
131
|
+
s_oss << indent1;
|
|
132
|
+
s_oss << "-count " << this->count << "\n";
|
|
133
|
+
|
|
134
|
+
// steps
|
|
135
|
+
s_oss << indent1;
|
|
136
|
+
s_oss << "-steps " << "\n";
|
|
137
|
+
{
|
|
138
|
+
int i = 0;
|
|
139
|
+
s_oss << indent2;
|
|
140
|
+
for (std::vector < LDBLE >::const_iterator it = this->steps.begin();
|
|
141
|
+
it != this->steps.end(); it++)
|
|
142
|
+
{
|
|
143
|
+
if (i++ == 5)
|
|
144
|
+
{
|
|
145
|
+
s_oss << "\n";
|
|
146
|
+
s_oss << indent2;
|
|
147
|
+
i = 0;
|
|
148
|
+
}
|
|
149
|
+
s_oss << *it << " ";
|
|
150
|
+
}
|
|
151
|
+
s_oss << "\n";
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
s_oss << indent1 << "# KINETICS workspace variables #\n";
|
|
155
|
+
// totals
|
|
156
|
+
s_oss << indent1;
|
|
157
|
+
s_oss << "-totals " << "\n";
|
|
158
|
+
this->totals.dump_raw(s_oss, indent + 2);
|
|
159
|
+
return;
|
|
160
|
+
}
|
|
161
|
+
void
|
|
162
|
+
cxxKinetics::read_raw(CParser & parser, bool check)
|
|
163
|
+
{
|
|
164
|
+
|
|
165
|
+
LDBLE d;
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
std::istream::pos_type ptr;
|
|
169
|
+
std::istream::pos_type next_char;
|
|
170
|
+
std::string token;
|
|
171
|
+
int opt_save;
|
|
172
|
+
bool useLastLine(false);
|
|
173
|
+
std::vector < LDBLE > temp_steps;
|
|
174
|
+
|
|
175
|
+
// Read kinetics number and description
|
|
176
|
+
this->read_number_description(parser);
|
|
177
|
+
|
|
178
|
+
opt_save = CParser::OPT_ERROR;
|
|
179
|
+
bool step_divide_defined(false);
|
|
180
|
+
bool rk_defined(false);
|
|
181
|
+
bool bad_step_max_defined(false);
|
|
182
|
+
bool use_cvode_defined(false);
|
|
183
|
+
bool cvode_steps_defined(false);
|
|
184
|
+
bool cvode_order_defined(false);
|
|
185
|
+
bool steps_defined(false);
|
|
186
|
+
|
|
187
|
+
for (;;)
|
|
188
|
+
{
|
|
189
|
+
int opt;
|
|
190
|
+
if (useLastLine == false)
|
|
191
|
+
{
|
|
192
|
+
opt = parser.get_option(vopts, next_char);
|
|
193
|
+
}
|
|
194
|
+
else
|
|
195
|
+
{
|
|
196
|
+
opt = parser.getOptionFromLastLine(vopts, next_char, true);
|
|
197
|
+
}
|
|
198
|
+
if (opt == CParser::OPT_DEFAULT)
|
|
199
|
+
{
|
|
200
|
+
opt = opt_save;
|
|
201
|
+
}
|
|
202
|
+
useLastLine = false;
|
|
203
|
+
switch (opt)
|
|
204
|
+
{
|
|
205
|
+
case CParser::OPT_EOF:
|
|
206
|
+
break;
|
|
207
|
+
case CParser::OPT_KEYWORD:
|
|
208
|
+
break;
|
|
209
|
+
case CParser::OPT_DEFAULT:
|
|
210
|
+
case CParser::OPT_ERROR:
|
|
211
|
+
opt = CParser::OPT_EOF;
|
|
212
|
+
parser.error_msg("Unknown input in KINETICS_COMP_RAW keyword.",
|
|
213
|
+
PHRQ_io::OT_CONTINUE);
|
|
214
|
+
parser.error_msg(parser.line().c_str(), PHRQ_io::OT_CONTINUE);
|
|
215
|
+
break;
|
|
216
|
+
|
|
217
|
+
case 0: // step_divide
|
|
218
|
+
if (!(parser.get_iss() >> this->step_divide))
|
|
219
|
+
{
|
|
220
|
+
this->step_divide = 1.0;
|
|
221
|
+
parser.incr_input_error();
|
|
222
|
+
parser.error_msg("Expected numeric value for step_divide.",
|
|
223
|
+
PHRQ_io::OT_CONTINUE);
|
|
224
|
+
}
|
|
225
|
+
step_divide_defined = true;
|
|
226
|
+
break;
|
|
227
|
+
|
|
228
|
+
case 1: // rk
|
|
229
|
+
if (!(parser.get_iss() >> this->rk))
|
|
230
|
+
{
|
|
231
|
+
this->rk = 3;
|
|
232
|
+
parser.incr_input_error();
|
|
233
|
+
parser.error_msg("Expected integer value for rk.",
|
|
234
|
+
PHRQ_io::OT_CONTINUE);
|
|
235
|
+
}
|
|
236
|
+
rk_defined = true;
|
|
237
|
+
break;
|
|
238
|
+
|
|
239
|
+
case 2: // bad_step_max
|
|
240
|
+
if (!(parser.get_iss() >> this->bad_step_max))
|
|
241
|
+
{
|
|
242
|
+
this->bad_step_max = 500;
|
|
243
|
+
parser.incr_input_error();
|
|
244
|
+
parser.error_msg("Expected integer value for bad_step_max.",
|
|
245
|
+
PHRQ_io::OT_CONTINUE);
|
|
246
|
+
}
|
|
247
|
+
bad_step_max_defined = true;
|
|
248
|
+
break;
|
|
249
|
+
|
|
250
|
+
case 3: // use_cvode
|
|
251
|
+
if (!(parser.get_iss() >> this->use_cvode))
|
|
252
|
+
{
|
|
253
|
+
this->use_cvode = false;
|
|
254
|
+
parser.incr_input_error();
|
|
255
|
+
parser.error_msg("Expected boolean value for use_cvode.",
|
|
256
|
+
PHRQ_io::OT_CONTINUE);
|
|
257
|
+
}
|
|
258
|
+
use_cvode_defined = true;
|
|
259
|
+
break;
|
|
260
|
+
|
|
261
|
+
case 4: // component
|
|
262
|
+
{
|
|
263
|
+
std::string str;
|
|
264
|
+
if (!(parser.get_iss() >> str))
|
|
265
|
+
{
|
|
266
|
+
parser.incr_input_error();
|
|
267
|
+
parser.error_msg("Expected string value for component name.",
|
|
268
|
+
PHRQ_io::OT_CONTINUE);
|
|
269
|
+
}
|
|
270
|
+
else
|
|
271
|
+
{
|
|
272
|
+
cxxKineticsComp temp_comp(this->io);
|
|
273
|
+
temp_comp.Set_rate_name(str.c_str());
|
|
274
|
+
cxxKineticsComp *comp_ptr = this->Find(str);
|
|
275
|
+
if (comp_ptr)
|
|
276
|
+
{
|
|
277
|
+
temp_comp = *comp_ptr;
|
|
278
|
+
}
|
|
279
|
+
temp_comp.read_raw(parser, false);
|
|
280
|
+
if (comp_ptr)
|
|
281
|
+
{
|
|
282
|
+
for (size_t j = 0; j < this->kinetics_comps.size(); j++)
|
|
283
|
+
{
|
|
284
|
+
if (Utilities::strcmp_nocase(this->kinetics_comps[j].Get_rate_name().c_str(), str.c_str()) == 0)
|
|
285
|
+
{
|
|
286
|
+
this->kinetics_comps[j] = temp_comp;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
else
|
|
291
|
+
{
|
|
292
|
+
this->kinetics_comps.push_back(temp_comp);
|
|
293
|
+
}
|
|
294
|
+
useLastLine = true;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
break;
|
|
298
|
+
|
|
299
|
+
case 5: // totals
|
|
300
|
+
if (this->totals.read_raw(parser, next_char) !=
|
|
301
|
+
CParser::PARSER_OK)
|
|
302
|
+
{
|
|
303
|
+
parser.incr_input_error();
|
|
304
|
+
parser.
|
|
305
|
+
error_msg
|
|
306
|
+
("Expected element name and molality for KineticsComp totals.",
|
|
307
|
+
PHRQ_io::OT_CONTINUE);
|
|
308
|
+
}
|
|
309
|
+
opt_save = 5;
|
|
310
|
+
break;
|
|
311
|
+
|
|
312
|
+
case 6: // steps
|
|
313
|
+
while (parser.copy_token(token, next_char) == CParser::TT_DIGIT)
|
|
314
|
+
{
|
|
315
|
+
std::istringstream iss(token);
|
|
316
|
+
if (!(iss >> d))
|
|
317
|
+
{
|
|
318
|
+
parser.incr_input_error();
|
|
319
|
+
parser.error_msg("Expected numeric value for steps.",
|
|
320
|
+
PHRQ_io::OT_CONTINUE);
|
|
321
|
+
}
|
|
322
|
+
else
|
|
323
|
+
{
|
|
324
|
+
temp_steps.push_back(d);
|
|
325
|
+
steps_defined = true;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
opt_save = 6;
|
|
329
|
+
break;
|
|
330
|
+
|
|
331
|
+
case 7: // cvode_steps
|
|
332
|
+
if (!(parser.get_iss() >> this->cvode_steps))
|
|
333
|
+
{
|
|
334
|
+
this->cvode_steps = 100;
|
|
335
|
+
parser.incr_input_error();
|
|
336
|
+
parser.error_msg("Expected integer value for cvode_steps.",
|
|
337
|
+
PHRQ_io::OT_CONTINUE);
|
|
338
|
+
}
|
|
339
|
+
cvode_steps_defined = true;
|
|
340
|
+
break;
|
|
341
|
+
|
|
342
|
+
case 8: // cvode_order
|
|
343
|
+
if (!(parser.get_iss() >> this->cvode_order))
|
|
344
|
+
{
|
|
345
|
+
this->cvode_order = 5;
|
|
346
|
+
parser.incr_input_error();
|
|
347
|
+
parser.error_msg("Expected integer value for cvode_order.",
|
|
348
|
+
PHRQ_io::OT_CONTINUE);
|
|
349
|
+
}
|
|
350
|
+
cvode_order_defined = true;
|
|
351
|
+
|
|
352
|
+
break;
|
|
353
|
+
case 9: // equalIncrements
|
|
354
|
+
case 11: // equal_increments
|
|
355
|
+
if (!(parser.get_iss() >> this->equalIncrements))
|
|
356
|
+
{
|
|
357
|
+
this->use_cvode = false;
|
|
358
|
+
parser.incr_input_error();
|
|
359
|
+
parser.error_msg("Expected boolean value for equalIncrements.",
|
|
360
|
+
PHRQ_io::OT_CONTINUE);
|
|
361
|
+
}
|
|
362
|
+
break;
|
|
363
|
+
case 10: // count
|
|
364
|
+
if (!(parser.get_iss() >> this->count))
|
|
365
|
+
{
|
|
366
|
+
this->count = 0;
|
|
367
|
+
parser.incr_input_error();
|
|
368
|
+
parser.error_msg("Expected integer value for count.",
|
|
369
|
+
PHRQ_io::OT_CONTINUE);
|
|
370
|
+
}
|
|
371
|
+
break;
|
|
372
|
+
|
|
373
|
+
}
|
|
374
|
+
if (opt == CParser::OPT_EOF || opt == CParser::OPT_KEYWORD)
|
|
375
|
+
break;
|
|
376
|
+
}
|
|
377
|
+
if (steps_defined)
|
|
378
|
+
{
|
|
379
|
+
this->steps = temp_steps;
|
|
380
|
+
}
|
|
381
|
+
if (check)
|
|
382
|
+
{
|
|
383
|
+
// members that must be defined
|
|
384
|
+
if (step_divide_defined == false)
|
|
385
|
+
{
|
|
386
|
+
parser.incr_input_error();
|
|
387
|
+
parser.error_msg("Step_divide not defined for KINETICS_RAW input.",
|
|
388
|
+
PHRQ_io::OT_CONTINUE);
|
|
389
|
+
}
|
|
390
|
+
if (rk_defined == false)
|
|
391
|
+
{
|
|
392
|
+
parser.incr_input_error();
|
|
393
|
+
parser.error_msg("Rk not defined for KINETICS_RAW input.",
|
|
394
|
+
PHRQ_io::OT_CONTINUE);
|
|
395
|
+
}
|
|
396
|
+
if (bad_step_max_defined == false)
|
|
397
|
+
{
|
|
398
|
+
parser.incr_input_error();
|
|
399
|
+
parser.error_msg("Bad_step_max not defined for KINETICS_RAW input.",
|
|
400
|
+
PHRQ_io::OT_CONTINUE);
|
|
401
|
+
}
|
|
402
|
+
if (use_cvode_defined == false)
|
|
403
|
+
{
|
|
404
|
+
parser.incr_input_error();
|
|
405
|
+
parser.error_msg("Use_cvode not defined for KINETICS_RAW input.",
|
|
406
|
+
PHRQ_io::OT_CONTINUE);
|
|
407
|
+
}
|
|
408
|
+
if (cvode_steps_defined == false)
|
|
409
|
+
{
|
|
410
|
+
parser.incr_input_error();
|
|
411
|
+
parser.error_msg("Cvode_steps not defined for KINETICS_RAW input.",
|
|
412
|
+
PHRQ_io::OT_CONTINUE);
|
|
413
|
+
}
|
|
414
|
+
if (cvode_order_defined == false)
|
|
415
|
+
{
|
|
416
|
+
parser.incr_input_error();
|
|
417
|
+
parser.error_msg("Cvode_order not defined for KINETICS_RAW input.",
|
|
418
|
+
PHRQ_io::OT_CONTINUE);
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
void
|
|
423
|
+
cxxKinetics::add(const cxxKinetics & addee, LDBLE extensive)
|
|
424
|
+
//
|
|
425
|
+
// Add to existing ppassemblage to "this" ppassemblage
|
|
426
|
+
//
|
|
427
|
+
{
|
|
428
|
+
if (extensive == 0.0)
|
|
429
|
+
return;
|
|
430
|
+
for (size_t i_add = 0; i_add < addee.kinetics_comps.size(); i_add++)
|
|
431
|
+
{
|
|
432
|
+
bool found(false);
|
|
433
|
+
size_t i;
|
|
434
|
+
for (i = 0; i < this->kinetics_comps.size(); i++)
|
|
435
|
+
{
|
|
436
|
+
if (this->kinetics_comps[i].Get_rate_name() == addee.kinetics_comps[i_add].Get_rate_name())
|
|
437
|
+
{
|
|
438
|
+
found = true;
|
|
439
|
+
break;
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
if (found)
|
|
443
|
+
{
|
|
444
|
+
this->kinetics_comps[i].add(addee.kinetics_comps[i_add], extensive);
|
|
445
|
+
}
|
|
446
|
+
else
|
|
447
|
+
{
|
|
448
|
+
cxxKineticsComp entity = addee.kinetics_comps[i_add];
|
|
449
|
+
entity.multiply(extensive);
|
|
450
|
+
this->kinetics_comps.push_back(entity);
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
this->steps = addee.steps;
|
|
454
|
+
this->step_divide = addee.step_divide;
|
|
455
|
+
this->rk = addee.rk;
|
|
456
|
+
this->bad_step_max = addee.bad_step_max;
|
|
457
|
+
this->use_cvode = addee.use_cvode;
|
|
458
|
+
this->cvode_steps = addee.cvode_steps;
|
|
459
|
+
this->cvode_order = addee.cvode_order;
|
|
460
|
+
this->equalIncrements = addee.equalIncrements;
|
|
461
|
+
this->count = addee.count;
|
|
462
|
+
}
|
|
463
|
+
cxxKineticsComp * cxxKinetics::
|
|
464
|
+
Find(const std::string &s)
|
|
465
|
+
{
|
|
466
|
+
for (size_t i = 0; i < this->kinetics_comps.size(); i++)
|
|
467
|
+
{
|
|
468
|
+
if (Utilities::strcmp_nocase(this->kinetics_comps[i].Get_rate_name().c_str(), s.c_str()) == 0)
|
|
469
|
+
{
|
|
470
|
+
return & (this->kinetics_comps[i]);
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
return NULL;
|
|
474
|
+
}
|
|
475
|
+
int cxxKinetics::
|
|
476
|
+
Get_reaction_steps(void) const
|
|
477
|
+
{
|
|
478
|
+
if(equalIncrements)
|
|
479
|
+
{
|
|
480
|
+
return count;
|
|
481
|
+
}
|
|
482
|
+
return ((int) steps.size());
|
|
483
|
+
}
|
|
484
|
+
LDBLE cxxKinetics::
|
|
485
|
+
Current_step(bool incremental_reactions, int reaction_step) const
|
|
486
|
+
{
|
|
487
|
+
if (this->steps.size() == 0)
|
|
488
|
+
return 1;
|
|
489
|
+
LDBLE kin_time = 1;
|
|
490
|
+
if (!incremental_reactions)
|
|
491
|
+
{
|
|
492
|
+
if (!this->equalIncrements)
|
|
493
|
+
{
|
|
494
|
+
if (reaction_step > (int) this->steps.size())
|
|
495
|
+
{
|
|
496
|
+
kin_time = this->steps[this->steps.size() - 1];
|
|
497
|
+
}
|
|
498
|
+
else
|
|
499
|
+
{
|
|
500
|
+
kin_time = this->steps[(size_t)reaction_step - 1];
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
else
|
|
504
|
+
{
|
|
505
|
+
if (reaction_step > this->count)
|
|
506
|
+
{
|
|
507
|
+
kin_time = this->steps[0];
|
|
508
|
+
}
|
|
509
|
+
else
|
|
510
|
+
{
|
|
511
|
+
kin_time = (LDBLE) reaction_step * this->steps[0] / ((LDBLE) (this->count));
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
else
|
|
516
|
+
{
|
|
517
|
+
/* incremental reactions */
|
|
518
|
+
if (!this->equalIncrements)
|
|
519
|
+
{
|
|
520
|
+
if (reaction_step > (int) this->steps.size())
|
|
521
|
+
{
|
|
522
|
+
kin_time = this->steps[this->steps.size() - 1];
|
|
523
|
+
}
|
|
524
|
+
else
|
|
525
|
+
{
|
|
526
|
+
kin_time = this->steps[(size_t)reaction_step - 1];
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
else
|
|
530
|
+
{
|
|
531
|
+
if (reaction_step > this->count)
|
|
532
|
+
{
|
|
533
|
+
kin_time = 0;
|
|
534
|
+
}
|
|
535
|
+
else
|
|
536
|
+
{
|
|
537
|
+
kin_time = this->steps[0] / ((LDBLE) (this->count));
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
return kin_time;
|
|
542
|
+
}
|
|
543
|
+
void
|
|
544
|
+
cxxKinetics::Serialize(Dictionary & dictionary, std::vector < int >&ints,
|
|
545
|
+
std::vector < double >&doubles)
|
|
546
|
+
{
|
|
547
|
+
ints.push_back(this->n_user);
|
|
548
|
+
ints.push_back((int) this->kinetics_comps.size());
|
|
549
|
+
for (size_t i = 0; i < this->kinetics_comps.size(); i++)
|
|
550
|
+
{
|
|
551
|
+
this->kinetics_comps[i].Serialize(dictionary, ints, doubles);
|
|
552
|
+
}
|
|
553
|
+
ints.push_back((int) this->steps.size());
|
|
554
|
+
for (size_t i = 0; i < this->steps.size(); i++)
|
|
555
|
+
{
|
|
556
|
+
doubles.push_back(this->steps[i]);
|
|
557
|
+
}
|
|
558
|
+
ints.push_back(this->count);
|
|
559
|
+
ints.push_back(this->equalIncrements ? 1 : 0);
|
|
560
|
+
doubles.push_back(this->step_divide);
|
|
561
|
+
ints.push_back(this->rk);
|
|
562
|
+
ints.push_back(this->bad_step_max);
|
|
563
|
+
ints.push_back(this->use_cvode ? 1 : 0);
|
|
564
|
+
ints.push_back(this->cvode_steps);
|
|
565
|
+
ints.push_back(this->cvode_order);
|
|
566
|
+
this->totals.Serialize(dictionary, ints, doubles);
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
void
|
|
570
|
+
cxxKinetics::Deserialize(Dictionary & dictionary, std::vector < int >&ints,
|
|
571
|
+
std::vector < double >&doubles, int &ii, int &dd)
|
|
572
|
+
{
|
|
573
|
+
this->n_user = ints[ii++];
|
|
574
|
+
this->n_user_end = this->n_user;
|
|
575
|
+
this->description = " ";
|
|
576
|
+
|
|
577
|
+
int n = ints[ii++];
|
|
578
|
+
this->kinetics_comps.clear();
|
|
579
|
+
for (int i = 0; i < n; i++)
|
|
580
|
+
{
|
|
581
|
+
cxxKineticsComp kc(this->io);
|
|
582
|
+
kc.Deserialize(dictionary, ints, doubles, ii, dd);
|
|
583
|
+
this->kinetics_comps.push_back(kc);
|
|
584
|
+
}
|
|
585
|
+
n = ints[ii++];
|
|
586
|
+
this->steps.clear();
|
|
587
|
+
for (int i = 0; i < n; i++)
|
|
588
|
+
{
|
|
589
|
+
this->steps.push_back(doubles[dd++]);
|
|
590
|
+
}
|
|
591
|
+
this->count = ints[ii++];
|
|
592
|
+
this->equalIncrements = (ints[ii++] != 0);
|
|
593
|
+
this->step_divide = doubles[dd++];
|
|
594
|
+
this->rk = ints[ii++];
|
|
595
|
+
this->bad_step_max = ints[ii++];
|
|
596
|
+
this->use_cvode = (ints[ii++] != 0);
|
|
597
|
+
this->cvode_steps = ints[ii++];
|
|
598
|
+
this->cvode_order = ints[ii++];
|
|
599
|
+
this->totals.Deserialize(dictionary, ints, doubles, ii, dd);
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
const std::vector< std::string >::value_type temp_vopts[] = {
|
|
604
|
+
std::vector< std::string >::value_type("step_divide"), // 0
|
|
605
|
+
std::vector< std::string >::value_type("rk"), // 1
|
|
606
|
+
std::vector< std::string >::value_type("bad_step_max"), // 2
|
|
607
|
+
std::vector< std::string >::value_type("use_cvode"), // 3
|
|
608
|
+
std::vector< std::string >::value_type("component"), // 4
|
|
609
|
+
std::vector< std::string >::value_type("totals"), // 5
|
|
610
|
+
std::vector< std::string >::value_type("steps"), // 6
|
|
611
|
+
std::vector< std::string >::value_type("cvode_steps"), // 7
|
|
612
|
+
std::vector< std::string >::value_type("cvode_order"), // 8
|
|
613
|
+
std::vector< std::string >::value_type("equalincrements"), // 9
|
|
614
|
+
std::vector< std::string >::value_type("count"), // 10
|
|
615
|
+
std::vector< std::string >::value_type("equal_increments") // 11
|
|
616
|
+
};
|
|
617
|
+
const std::vector< std::string > cxxKinetics::vopts(temp_vopts, temp_vopts + sizeof temp_vopts / sizeof temp_vopts[0]);
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
#if !defined(CXXKINETICS_H_INCLUDED)
|
|
2
|
+
#define CXXKINETICS_H_INCLUDED
|
|
3
|
+
|
|
4
|
+
#include <cassert> // assert
|
|
5
|
+
#include <map> // std::map
|
|
6
|
+
#include <string> // std::string
|
|
7
|
+
#include <list> // std::list
|
|
8
|
+
#include <vector> // std::vector
|
|
9
|
+
#include "phrqtype.h"
|
|
10
|
+
#include "NumKeyword.h"
|
|
11
|
+
#include "KineticsComp.h"
|
|
12
|
+
#include "PHRQ_base.h"
|
|
13
|
+
class cxxMix;
|
|
14
|
+
|
|
15
|
+
class cxxKinetics:public cxxNumKeyword
|
|
16
|
+
{
|
|
17
|
+
|
|
18
|
+
public:
|
|
19
|
+
cxxKinetics(PHRQ_io *io=NULL);
|
|
20
|
+
cxxKinetics(const std::map < int, cxxKinetics > &entity_map, cxxMix & mx,
|
|
21
|
+
int n_user, PHRQ_io *io=NULL);
|
|
22
|
+
~cxxKinetics();
|
|
23
|
+
|
|
24
|
+
//void dump_xml(std::ostream& os, unsigned int indent = 0)const;
|
|
25
|
+
|
|
26
|
+
void dump_raw(std::ostream & s_oss, unsigned int indent, int * n_out=NULL) const;
|
|
27
|
+
|
|
28
|
+
void read_raw(CParser & parser, bool check = true);
|
|
29
|
+
|
|
30
|
+
std::vector < LDBLE > &Get_steps(void) {return steps;}
|
|
31
|
+
const std::vector < LDBLE > &Get_steps(void)const {return steps;}
|
|
32
|
+
LDBLE Get_step_divide(void) const {return step_divide;}
|
|
33
|
+
void Set_step_divide(LDBLE t) {step_divide = t;}
|
|
34
|
+
int Get_rk(void) const {return rk;};
|
|
35
|
+
void Set_rk(int t) {rk = t;}
|
|
36
|
+
int Get_bad_step_max(void) const {return bad_step_max;}
|
|
37
|
+
void Set_bad_step_max(int t) {bad_step_max = t;}
|
|
38
|
+
bool Get_use_cvode(void) const {return use_cvode;}
|
|
39
|
+
void Set_use_cvode(bool tf) {use_cvode = tf;}
|
|
40
|
+
int Get_cvode_steps(void) const {return cvode_steps;}
|
|
41
|
+
void Set_cvode_steps(int t) {cvode_steps = t;}
|
|
42
|
+
int Get_cvode_order(void) const {return cvode_order;}
|
|
43
|
+
void Set_cvode_order(int t) {cvode_order = t;}
|
|
44
|
+
std::vector < cxxKineticsComp > &Get_kinetics_comps(void) {return kinetics_comps;}
|
|
45
|
+
const std::vector < cxxKineticsComp > &Get_kinetics_comps(void)const {return kinetics_comps;}
|
|
46
|
+
cxxNameDouble & Get_totals(void) {return this->totals;}
|
|
47
|
+
void Set_totals(const cxxNameDouble &nd) {totals = nd;}
|
|
48
|
+
bool Get_equalIncrements(void) const {return equalIncrements;}
|
|
49
|
+
void Set_equalIncrements(bool tf) {equalIncrements = tf;}
|
|
50
|
+
int Get_count(void) const {return count;}
|
|
51
|
+
void Set_count(int i) {count = i;}
|
|
52
|
+
int Get_reaction_steps(void) const;
|
|
53
|
+
cxxKineticsComp * Find(const std::string &str);
|
|
54
|
+
LDBLE Current_step(const bool incremental_reactions, const int reaction_step) const;
|
|
55
|
+
void Serialize(Dictionary & dictionary, std::vector < int >&ints, std::vector < double >&doubles);
|
|
56
|
+
void Deserialize(Dictionary & dictionary, std::vector < int >&ints, std::vector < double >&doubles, int &ii, int &dd);
|
|
57
|
+
|
|
58
|
+
protected:
|
|
59
|
+
void add(const cxxKinetics & addee, LDBLE extensive);
|
|
60
|
+
|
|
61
|
+
protected:
|
|
62
|
+
// KINETICS_MODIFY candidates
|
|
63
|
+
std::vector < cxxKineticsComp > kinetics_comps;
|
|
64
|
+
std::vector < LDBLE >steps;
|
|
65
|
+
int count;
|
|
66
|
+
bool equalIncrements;
|
|
67
|
+
LDBLE step_divide;
|
|
68
|
+
int rk;
|
|
69
|
+
int bad_step_max;
|
|
70
|
+
bool use_cvode;
|
|
71
|
+
int cvode_steps;
|
|
72
|
+
int cvode_order;
|
|
73
|
+
// internal variables
|
|
74
|
+
cxxNameDouble totals;
|
|
75
|
+
const static std::vector < std::string > vopts;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
#endif // !defined(CXXKINETICS_H_INCLUDED)
|