phreeqcrm 0.0.5__tar.gz
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.
- phreeqcrm-0.0.5/.github/workflows/distro.yml +345 -0
- phreeqcrm-0.0.5/.github/workflows/wheels.yml +114 -0
- phreeqcrm-0.0.5/.gitignore +70 -0
- phreeqcrm-0.0.5/.gitlab-ci.yml +119 -0
- phreeqcrm-0.0.5/.gitmodules +4 -0
- phreeqcrm-0.0.5/.pre-commit-config.yaml +12 -0
- phreeqcrm-0.0.5/.vscode/c_cpp_properties.json +10 -0
- phreeqcrm-0.0.5/CMakeLists.txt +571 -0
- phreeqcrm-0.0.5/CMakePresets.json +949 -0
- phreeqcrm-0.0.5/CTestConfig.cmake +15 -0
- phreeqcrm-0.0.5/Doxygen/CMakeLists.txt +1 -0
- phreeqcrm-0.0.5/Doxygen/Doxyfile +2672 -0
- phreeqcrm-0.0.5/Doxygen/DoxygenLayout.xml +235 -0
- phreeqcrm-0.0.5/Doxygen/Makefile +18 -0
- phreeqcrm-0.0.5/Doxygen/Makefile.am +9 -0
- phreeqcrm-0.0.5/Doxygen/Notes.txt +14 -0
- phreeqcrm-0.0.5/Doxygen/lower_case.bat +242 -0
- phreeqcrm-0.0.5/Doxygen/lower_case.sh +237 -0
- phreeqcrm-0.0.5/Doxygen/upper_case.bat +954 -0
- phreeqcrm-0.0.5/Doxygen/upper_case.sh +728 -0
- phreeqcrm-0.0.5/Doxygen/upper_case2.sh +229 -0
- phreeqcrm-0.0.5/LICENSE +121 -0
- phreeqcrm-0.0.5/Makefile.am +272 -0
- phreeqcrm-0.0.5/PKG-INFO +34 -0
- phreeqcrm-0.0.5/PhreeqcRMConfig.cmake.in +6 -0
- phreeqcrm-0.0.5/README.md +18 -0
- phreeqcrm-0.0.5/Tests/AdvectBMI_cpp.cpp +395 -0
- phreeqcrm-0.0.5/Tests/AdvectBMI_cpp_test.cpp +1039 -0
- phreeqcrm-0.0.5/Tests/AdvectBMI_f90.F90 +326 -0
- phreeqcrm-0.0.5/Tests/AdvectBMI_f90_test.F90 +871 -0
- phreeqcrm-0.0.5/Tests/Advect_c.c +710 -0
- phreeqcrm-0.0.5/Tests/Advect_cpp.cpp +818 -0
- phreeqcrm-0.0.5/Tests/Advect_f90.F90 +687 -0
- phreeqcrm-0.0.5/Tests/CMakeLists.txt +288 -0
- phreeqcrm-0.0.5/Tests/Gas_c.c +229 -0
- phreeqcrm-0.0.5/Tests/Gas_cpp.cpp +196 -0
- phreeqcrm-0.0.5/Tests/Gas_f90.F90 +220 -0
- phreeqcrm-0.0.5/Tests/Makefile.am +199 -0
- phreeqcrm-0.0.5/Tests/Output/AdvectBMI_cpp.chem.txt +3003 -0
- phreeqcrm-0.0.5/Tests/Output/AdvectBMI_cpp.dmp +997 -0
- phreeqcrm-0.0.5/Tests/Output/AdvectBMI_cpp.yaml +1163 -0
- phreeqcrm-0.0.5/Tests/Output/AdvectBMI_cpp_test.chem.txt +10596 -0
- phreeqcrm-0.0.5/Tests/Output/AdvectBMI_cpp_test.yaml +323 -0
- phreeqcrm-0.0.5/Tests/Output/AdvectBMI_cpp_utility.txt +96 -0
- phreeqcrm-0.0.5/Tests/Output/AdvectBMI_f90.chem.txt +2513 -0
- phreeqcrm-0.0.5/Tests/Output/AdvectBMI_f90.dmp +997 -0
- phreeqcrm-0.0.5/Tests/Output/AdvectBMI_f90.yaml +1160 -0
- phreeqcrm-0.0.5/Tests/Output/AdvectBMI_f90_test.chem.txt +8072 -0
- phreeqcrm-0.0.5/Tests/Output/AdvectBMI_f90_test.yaml +644 -0
- phreeqcrm-0.0.5/Tests/Output/AdvectBMI_py.yaml +1163 -0
- phreeqcrm-0.0.5/Tests/Output/Advect_c.chem.txt +2515 -0
- phreeqcrm-0.0.5/Tests/Output/Advect_c.dmp +1017 -0
- phreeqcrm-0.0.5/Tests/Output/Advect_c_utility.txt +98 -0
- phreeqcrm-0.0.5/Tests/Output/Advect_cpp.chem.txt +2516 -0
- phreeqcrm-0.0.5/Tests/Output/Advect_cpp.dmp +1017 -0
- phreeqcrm-0.0.5/Tests/Output/Advect_cpp_units_utility.txt +173 -0
- phreeqcrm-0.0.5/Tests/Output/Advect_cpp_units_worker.chem.txt +308 -0
- phreeqcrm-0.0.5/Tests/Output/Advect_cpp_utility.txt +98 -0
- phreeqcrm-0.0.5/Tests/Output/Advect_f90.chem.txt +2515 -0
- phreeqcrm-0.0.5/Tests/Output/Advect_f90.dmp +1017 -0
- phreeqcrm-0.0.5/Tests/Output/Advect_f90_utility.txt +98 -0
- phreeqcrm-0.0.5/Tests/Output/Gas_c.chem.txt +134 -0
- phreeqcrm-0.0.5/Tests/Output/Gas_cpp.chem.txt +134 -0
- phreeqcrm-0.0.5/Tests/Output/Gas_f90.chem.txt +134 -0
- phreeqcrm-0.0.5/Tests/Output/SimpleAdvect_c.chem.txt +2508 -0
- phreeqcrm-0.0.5/Tests/Output/SimpleAdvect_cpp.chem.txt +2508 -0
- phreeqcrm-0.0.5/Tests/Output/SimpleAdvect_f90.chem.txt +2507 -0
- phreeqcrm-0.0.5/Tests/Output/Species_c.chem.txt +2568 -0
- phreeqcrm-0.0.5/Tests/Output/Species_c.dmp +1821 -0
- phreeqcrm-0.0.5/Tests/Output/Species_c_utility.txt +98 -0
- phreeqcrm-0.0.5/Tests/Output/Species_cpp.chem.txt +2613 -0
- phreeqcrm-0.0.5/Tests/Output/Species_cpp.dmp +1821 -0
- phreeqcrm-0.0.5/Tests/Output/Species_cpp_utility.txt +98 -0
- phreeqcrm-0.0.5/Tests/Output/Species_f90.chem.txt +2568 -0
- phreeqcrm-0.0.5/Tests/Output/Species_f90.dmp +1821 -0
- phreeqcrm-0.0.5/Tests/Output/Species_f90_utility.txt +98 -0
- phreeqcrm-0.0.5/Tests/Output/Species_utility_c.txt +98 -0
- phreeqcrm-0.0.5/Tests/Output/Species_utility_cpp.txt +98 -0
- phreeqcrm-0.0.5/Tests/Output/Species_utility_f90.txt +98 -0
- phreeqcrm-0.0.5/Tests/Output/TestAllMethods_cpp.chem.txt +560 -0
- phreeqcrm-0.0.5/Tests/Output/TestAllMethods_cpp.yaml +4 -0
- phreeqcrm-0.0.5/Tests/Output/TestAllMethods_f90.yaml +4 -0
- phreeqcrm-0.0.5/Tests/Output/TestAllMethods_py.chem.txt +566 -0
- phreeqcrm-0.0.5/Tests/Output/Utility_c.txt +98 -0
- phreeqcrm-0.0.5/Tests/Output/Utility_cpp.txt +98 -0
- phreeqcrm-0.0.5/Tests/Output/Utility_f90.txt +98 -0
- phreeqcrm-0.0.5/Tests/SimpleAdvect_c.c +265 -0
- phreeqcrm-0.0.5/Tests/SimpleAdvect_cpp.cpp +202 -0
- phreeqcrm-0.0.5/Tests/SimpleAdvect_f90.F90 +218 -0
- phreeqcrm-0.0.5/Tests/Species_c.c +462 -0
- phreeqcrm-0.0.5/Tests/Species_cpp.cpp +385 -0
- phreeqcrm-0.0.5/Tests/Species_f90.F90 +426 -0
- phreeqcrm-0.0.5/Tests/TestAllMethods_cpp.cpp +809 -0
- phreeqcrm-0.0.5/Tests/TestAllMethods_f90.F90 +854 -0
- phreeqcrm-0.0.5/Tests/TestBMIdtor.cpp +18 -0
- phreeqcrm-0.0.5/Tests/TestRMdtor.cpp +12 -0
- phreeqcrm-0.0.5/Tests/WriteYAMLFile_cpp.cpp +142 -0
- phreeqcrm-0.0.5/Tests/WriteYAMLFile_cpp_test.cpp +118 -0
- phreeqcrm-0.0.5/Tests/WriteYAMLFile_f90.F90 +142 -0
- phreeqcrm-0.0.5/Tests/WriteYAMLFile_f90_test.F90 +136 -0
- phreeqcrm-0.0.5/Tests/advect.pqi +31 -0
- phreeqcrm-0.0.5/Tests/all_reactants.pqi +59 -0
- phreeqcrm-0.0.5/Tests/autotools.mk +65 -0
- phreeqcrm-0.0.5/Tests/gas.pqi +31 -0
- phreeqcrm-0.0.5/Tests/main.cpp +123 -0
- phreeqcrm-0.0.5/Tests/phreeqc.dat +1935 -0
- phreeqcrm-0.0.5/Tests/pkgconfig.mk +73 -0
- phreeqcrm-0.0.5/Tests/units.pqi +28 -0
- phreeqcrm-0.0.5/Tests/vs2012/FortranAdvect.vfproj +95 -0
- phreeqcrm-0.0.5/Tests/vs2012/TestRM.sln +73 -0
- phreeqcrm-0.0.5/Tests/vs2012/TestRM.vcxproj +434 -0
- phreeqcrm-0.0.5/Tests/vs2012/TestRM.vcxproj.filters +44 -0
- phreeqcrm-0.0.5/bootstrap +3 -0
- phreeqcrm-0.0.5/build-all-presets.sh +45 -0
- phreeqcrm-0.0.5/cmemcheck.cmake +30 -0
- phreeqcrm-0.0.5/configure.ac +306 -0
- phreeqcrm-0.0.5/database/.gitlab-ci.yml +60 -0
- phreeqcrm-0.0.5/database/Amm.dat +1923 -0
- phreeqcrm-0.0.5/database/CMakeLists.txt +29 -0
- phreeqcrm-0.0.5/database/ColdChem.dat +267 -0
- phreeqcrm-0.0.5/database/EPRI/cdmusic_hiemstra.dat +461 -0
- phreeqcrm-0.0.5/database/EPRI/epri_cdmusic.dat +12987 -0
- phreeqcrm-0.0.5/database/Makefile.am +22 -0
- phreeqcrm-0.0.5/database/OtherDatabases/CEMDATA18.1-16-01-2019-phaseVol.dat +1368 -0
- phreeqcrm-0.0.5/database/OtherDatabases/CEMDATA18.dat +1322 -0
- phreeqcrm-0.0.5/database/OtherDatabases/CEMDATAURL.txt +1 -0
- phreeqcrm-0.0.5/database/OtherDatabases/Concrete_PHR.dat +158 -0
- phreeqcrm-0.0.5/database/OtherDatabases/Concrete_PZ.dat +195 -0
- phreeqcrm-0.0.5/database/OtherDatabases/IU-bl-2kb.dat +3473 -0
- phreeqcrm-0.0.5/database/OtherDatabases/PKDLM_BRGM_database_phreeqc_ThermoddemV1.10_06Jun2017.dat +12844 -0
- phreeqcrm-0.0.5/database/OtherDatabases/PSINA_12_07_110615_DAV_s_win.dat +2754 -0
- phreeqcrm-0.0.5/database/OtherDatabases/THEREDA_2020_PHRQ.dat +21167 -0
- phreeqcrm-0.0.5/database/OtherDatabases/ThermoChimie_PhreeqC_SIT_electron_v10a.dat +16160 -0
- phreeqcrm-0.0.5/database/OtherDatabases/Thermochimie_PhreeqC_eDH_oxygen_v10a.dat +17148 -0
- phreeqcrm-0.0.5/database/OtherDatabases/ThermoddemV1.10_15Dec2020.dat +12965 -0
- phreeqcrm-0.0.5/database/OtherDatabases/thermochemie/ThermoChimie_PhreeqC_SIT_electron_v10a.dat +16160 -0
- phreeqcrm-0.0.5/database/OtherDatabases/thermochemie/ThermoChimie_PhreeqC_SIT_oxygen_v10a.dat +16160 -0
- phreeqcrm-0.0.5/database/OtherDatabases/thermochemie/Thermochimie_PhreeqC_Davies_electron_v10a.dat +17148 -0
- phreeqcrm-0.0.5/database/OtherDatabases/thermochemie/Thermochimie_PhreeqC_Davies_oxygen_v10a.dat +17148 -0
- phreeqcrm-0.0.5/database/OtherDatabases/thermochemie/Thermochimie_PhreeqC_eDH_electron_v10a.dat +17148 -0
- phreeqcrm-0.0.5/database/OtherDatabases/thermochemie/Thermochimie_PhreeqC_eDH_oxygen_v10a.dat +17148 -0
- phreeqcrm-0.0.5/database/OtherDatabases/thermochemie/sit.dat +15364 -0
- phreeqcrm-0.0.5/database/PHREEQC_ThermoddemV1.10_15Dec2020.dat +12965 -0
- phreeqcrm-0.0.5/database/SIT/ThermoChimie7d_sit_JUNE_2011.dat +14398 -0
- phreeqcrm-0.0.5/database/SIT/ThermoSIT.dat +14101 -0
- phreeqcrm-0.0.5/database/SIT/sit-phreeqc.doc +0 -0
- phreeqcrm-0.0.5/database/SIT/sit-total.txt +14230 -0
- phreeqcrm-0.0.5/database/Tipping_Hurley.dat +4134 -0
- phreeqcrm-0.0.5/database/core10.dat +6824 -0
- phreeqcrm-0.0.5/database/frezchem.dat +634 -0
- phreeqcrm-0.0.5/database/iso.dat +7231 -0
- phreeqcrm-0.0.5/database/isotopes/basic/iso.bas +21 -0
- phreeqcrm-0.0.5/database/isotopes/basic/iso1.bas +25 -0
- phreeqcrm-0.0.5/database/isotopes/basic/iso1revised.bas +77 -0
- phreeqcrm-0.0.5/database/isotopes/basic/iso2.bas +31 -0
- phreeqcrm-0.0.5/database/isotopes/basic/iso2revised.bas +86 -0
- phreeqcrm-0.0.5/database/isotopes/basic/iso3.bas +44 -0
- phreeqcrm-0.0.5/database/isotopes/basic/iso3revised.bas +91 -0
- phreeqcrm-0.0.5/database/isotopes/basic/iso4.bas +135 -0
- phreeqcrm-0.0.5/database/isotopes/basic/iso4revised.bas +91 -0
- phreeqcrm-0.0.5/database/isotopes/newiso.dat +7227 -0
- phreeqcrm-0.0.5/database/isotopes/oldiso.dat +3741 -0
- phreeqcrm-0.0.5/database/llnl-organics/llnl_organics.dat +22834 -0
- phreeqcrm-0.0.5/database/llnl.dat +19306 -0
- phreeqcrm-0.0.5/database/minteq.dat +5650 -0
- phreeqcrm-0.0.5/database/minteq.v4.dat +13208 -0
- phreeqcrm-0.0.5/database/phreeqc.dat +1935 -0
- phreeqcrm-0.0.5/database/pitzer.dat +1025 -0
- phreeqcrm-0.0.5/database/redox/Acetate-Goethite.pqi +25 -0
- phreeqcrm-0.0.5/database/redox/redox.dat +1037 -0
- phreeqcrm-0.0.5/database/sit.dat +15343 -0
- phreeqcrm-0.0.5/database/wateq4f.dat +4032 -0
- phreeqcrm-0.0.5/doc/AbstractAWR.pdf +0 -0
- phreeqcrm-0.0.5/doc/CMakeLists.txt +8 -0
- phreeqcrm-0.0.5/doc/Makefile.am +20 -0
- phreeqcrm-0.0.5/doc/NOTICE.TXT +51 -0
- phreeqcrm-0.0.5/doc/Phreeqc_2_1999_manual.pdf +0 -0
- phreeqcrm-0.0.5/doc/Phreeqc_3_2013_manual.pdf +0 -0
- phreeqcrm-0.0.5/doc/README.TXT +442 -0
- phreeqcrm-0.0.5/irm_dll_export.h.in +13 -0
- phreeqcrm-0.0.5/jenkins-dist.sh +187 -0
- phreeqcrm-0.0.5/m4/ax_cxx_compile_stdcxx.m4 +1018 -0
- phreeqcrm-0.0.5/m4/ax_prog_cc_mpi.m4 +171 -0
- phreeqcrm-0.0.5/m4/ax_prog_cxx_mpi.m4 +178 -0
- phreeqcrm-0.0.5/m4/ax_prog_fc_mpi.m4 +162 -0
- phreeqcrm-0.0.5/m4/m4_ax_f90_module_extension.m4 +59 -0
- phreeqcrm-0.0.5/m4/m4_ax_mpi.m4 +176 -0
- phreeqcrm-0.0.5/phreeqcrm.cmake.in +12 -0
- phreeqcrm-0.0.5/phreeqcrm.pc.in +13 -0
- phreeqcrm-0.0.5/pybind/CMakeLists.txt +230 -0
- phreeqcrm-0.0.5/pybind/docstrings.h +124 -0
- phreeqcrm-0.0.5/pybind/pybind.cpp +2211 -0
- phreeqcrm-0.0.5/pybind/pybind.cxx +986 -0
- phreeqcrm-0.0.5/pybind/tests/AdvectBMI_py.yaml +1163 -0
- phreeqcrm-0.0.5/pybind/tests/advect.pqi +31 -0
- phreeqcrm-0.0.5/pybind/tests/phreeqc.dat +1930 -0
- phreeqcrm-0.0.5/pybind/tests/test_basic.py +394 -0
- phreeqcrm-0.0.5/pybind/tests/test_get_value.py +115 -0
- phreeqcrm-0.0.5/pybind/tests/test_grid_info.py +90 -0
- phreeqcrm-0.0.5/pybind/tests/test_irf.py +93 -0
- phreeqcrm-0.0.5/pybind/tests/test_set_value.py +49 -0
- phreeqcrm-0.0.5/pyproject.toml +26 -0
- phreeqcrm-0.0.5/src/.gitlab-ci.yml +118 -0
- phreeqcrm-0.0.5/src/BMIPhreeqcRM.cpp +1298 -0
- phreeqcrm-0.0.5/src/BMIPhreeqcRM.h +1248 -0
- phreeqcrm-0.0.5/src/BMIVariant.cpp +97 -0
- phreeqcrm-0.0.5/src/BMIVariant.h +188 -0
- phreeqcrm-0.0.5/src/BMI_interface.F90 +2292 -0
- phreeqcrm-0.0.5/src/BMI_interface_F.cpp +460 -0
- phreeqcrm-0.0.5/src/BMI_interface_F.h +41 -0
- phreeqcrm-0.0.5/src/BMI_methods.cpp +1109 -0
- phreeqcrm-0.0.5/src/BMI_methods.h +896 -0
- phreeqcrm-0.0.5/src/BMI_not_implemented.inc +226 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/.gitlab-ci.yml +128 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/CSelectedOutput.cpp +401 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/CSelectedOutput.hxx +77 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/CVar.hxx +162 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/Debug.h +12 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/ErrorReporter.hxx +70 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/IPhreeqc.cpp +1890 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/IPhreeqc.f.inc +91 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/IPhreeqc.f90.inc +603 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/IPhreeqc.h +2178 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/IPhreeqc.hpp +1027 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/IPhreeqcCallbacks.h +19 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/IPhreeqcF.f +653 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/IPhreeqcLib.cpp +1098 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/IPhreeqc_interface.F90 +1283 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/IPhreeqc_interface_F.cpp +535 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/IPhreeqc_interface_F.h +162 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/Makefile.am +210 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/README.Fortran +17 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/Var.c +84 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/Var.h +152 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/Version.h +36 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/fimpl.h +282 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/fwrap.cpp +646 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/fwrap.h +163 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/fwrap1.cpp +24 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/fwrap2.cpp +24 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/fwrap3.cpp +24 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/fwrap4.cpp +24 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/fwrap5.cpp +24 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/fwrap6.cpp +25 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/fwrap7.cpp +25 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/fwrap8.cpp +24 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/.gitlab-ci.yml +115 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/ChartHandler.cpp +225 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/ChartHandler.h +59 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/ChartObject.cpp +1382 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/ChartObject.h +444 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/CurveObject.cpp +42 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/CurveObject.h +79 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Dictionary.cpp +41 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Dictionary.h +28 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/ExchComp.cxx +398 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/ExchComp.h +117 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Exchange.cxx +466 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Exchange.h +74 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Form1.2005.resX +33 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Form1.h +1151 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Form1.resX +36 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/GasComp.cxx +265 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/GasComp.h +59 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/GasPhase.cxx +659 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/GasPhase.h +103 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/ISolution.cxx +40 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/ISolution.h +53 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/ISolutionComp.cxx +202 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/ISolutionComp.h +138 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/KineticsComp.cxx +318 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/KineticsComp.h +81 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Makefile +639 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Makefile.am +160 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Makefile.old +986 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/NA.h +1 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/NameDouble.cxx +537 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/NameDouble.h +66 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/NumKeyword.cxx +190 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/NumKeyword.h +67 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/PBasic.cpp +7560 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/PBasic.h +561 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/PHRQ_io_output.cpp +411 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/PPassemblage.cxx +375 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/PPassemblage.h +70 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/PPassemblageComp.cxx +441 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/PPassemblageComp.h +83 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Phreeqc.cpp +2077 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Phreeqc.h +2130 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/PhreeqcKeywords/Keywords.cpp +232 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/PhreeqcKeywords/Keywords.h +99 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Pressure.cxx +417 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Pressure.h +43 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Reaction.cxx +284 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Reaction.h +57 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/ReadClass.cxx +1150 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/SS.cxx +609 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/SS.h +128 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/SSassemblage.cxx +317 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/SSassemblage.h +59 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/SScomp.cxx +297 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/SScomp.h +66 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/SelectedOutput.cpp +115 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/SelectedOutput.h +209 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Serializer.cxx +209 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Serializer.h +42 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Solution.cxx +1778 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Solution.h +151 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/SolutionIsotope.cxx +333 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/SolutionIsotope.h +85 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/StorageBin.cxx +1507 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/StorageBin.h +141 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/StorageBinList.cpp +358 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/StorageBinList.h +81 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Surface.cxx +835 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Surface.h +105 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/SurfaceCharge.cxx +586 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/SurfaceCharge.h +131 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/SurfaceComp.cxx +509 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/SurfaceComp.h +70 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/System.cxx +103 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/System.h +89 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Temperature.cxx +423 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Temperature.h +42 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Use.cpp +78 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/Use.h +159 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/UserPunch.cpp +32 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/UserPunch.h +39 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/ZedGraph.dll +0 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/advection.cpp +140 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/basicsubs.cpp +4210 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/chart_icon.gif +0 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/cl1.cpp +881 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/cl1mp.cpp +1141 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/class_main.cpp +646 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/common/.gitlab-ci.yml +48 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/common/PHRQ_base.cxx +117 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/common/PHRQ_base.h +48 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/common/PHRQ_exports.h +20 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/common/PHRQ_io.cpp +913 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/common/PHRQ_io.h +207 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/common/Parser.cxx +1331 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/common/Parser.h +310 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/common/Utils.cxx +194 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/common/Utils.h +28 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/common/phrqtype.h +18 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/cvdense.cpp +566 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/cvdense.h +267 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/cvode.cpp +3939 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/cvode.h +940 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/cxxKinetics.cxx +617 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/cxxKinetics.h +78 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/cxxMix.cxx +154 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/cxxMix.h +58 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/dense.cpp +175 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/dense.h +341 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/dumper.cpp +277 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/dumper.h +60 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/encode_as_utf8.sh +6 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/encode_as_windows1252.sh +7 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/gases.cpp +698 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/global_structures.h +1655 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/input.cpp +130 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/integrate.cpp +1158 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/inverse.cpp +5135 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/isotopes.cpp +1812 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/kinetics.cpp +3176 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/mainsubs.cpp +2307 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/model.cpp +5845 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/nvector.cpp +272 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/nvector.h +485 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/nvector_serial.cpp +1031 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/nvector_serial.h +369 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/parse.cpp +1043 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/phast.xsd +98 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/phqalloc.cpp +316 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/phqalloc.h +47 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/phreeqc.Makefile +237 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/phreex.ico +0 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/pitzer.cpp +2709 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/pitzer_structures.cpp +225 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/prep.cpp +6208 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/print.cpp +3637 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/read.cpp +9811 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/readtr.cpp +1495 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/runner.cpp +158 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/runner.h +33 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/sit.cpp +1684 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/smalldense.cpp +324 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/smalldense.h +261 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/spread.cpp +1297 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/step.cpp +1485 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/structures.cpp +3379 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/sundialsmath.cpp +133 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/sundialsmath.h +162 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/sundialstypes.h +183 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/tally.cpp +1288 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/test.xml +70 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/tidy.cpp +5581 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/transport.cpp +6190 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/utilities.cpp +1464 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/pp_sys.cpp +166 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqc/thread.h +64 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqcPhast.cxx +96 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqcPhast.f90.inc +16 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqcPhast.h +69 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqcPhastLib.cpp +96 -0
- phreeqcrm-0.0.5/src/IPhreeqcPhast/IPhreeqcPhastLib.h +14 -0
- phreeqcrm-0.0.5/src/IrmResult.h +18 -0
- phreeqcrm-0.0.5/src/PhreeqcRM.cpp +12936 -0
- phreeqcrm-0.0.5/src/PhreeqcRM.h +5826 -0
- phreeqcrm-0.0.5/src/RMVARS.h +63 -0
- phreeqcrm-0.0.5/src/RM_interface.F90 +7757 -0
- phreeqcrm-0.0.5/src/RM_interface_C.cpp +2235 -0
- phreeqcrm-0.0.5/src/RM_interface_C.h +4471 -0
- phreeqcrm-0.0.5/src/RM_interface_F.cpp +2701 -0
- phreeqcrm-0.0.5/src/RM_interface_F.h +197 -0
- phreeqcrm-0.0.5/src/VarManager.cpp +2385 -0
- phreeqcrm-0.0.5/src/VarManager.h +102 -0
- phreeqcrm-0.0.5/src/YAMLPhreeqcRM.cpp +653 -0
- phreeqcrm-0.0.5/src/YAMLPhreeqcRM.h +1899 -0
- phreeqcrm-0.0.5/src/YAML_interface.F90 +3046 -0
- phreeqcrm-0.0.5/src/YAML_interface_F.cpp +762 -0
- phreeqcrm-0.0.5/src/YAML_interface_F.h +90 -0
- phreeqcrm-0.0.5/src/bmi.hxx +83 -0
- phreeqcrm-0.0.5/src/phreeqcrm/__init__.py +17 -0
- phreeqcrm-0.0.5/swig/CMakeLists.txt +5 -0
- phreeqcrm-0.0.5/swig/PhreeqcRM.i +908 -0
- phreeqcrm-0.0.5/swig/numpy.i +2970 -0
- phreeqcrm-0.0.5/swig/pyfragments.swg.in +112 -0
- phreeqcrm-0.0.5/swig/python/AdvectBMI_py.py +261 -0
- phreeqcrm-0.0.5/swig/python/AdvectBMI_py.yaml +1163 -0
- phreeqcrm-0.0.5/swig/python/BMIPhreeqcRM_docstrings.swg +602 -0
- phreeqcrm-0.0.5/swig/python/CMakeLists.txt +320 -0
- phreeqcrm-0.0.5/swig/python/PhreeqcRM_docstrings.swg +3522 -0
- phreeqcrm-0.0.5/swig/python/SimpleAdvect.py +201 -0
- phreeqcrm-0.0.5/swig/python/TestAllMethods_py.py +841 -0
- phreeqcrm-0.0.5/swig/python/WriteYAMLFile_py.py +112 -0
- phreeqcrm-0.0.5/swig/python/YAMLPhreeqcRM.swg +1698 -0
- phreeqcrm-0.0.5/swig/python/ex11-advect/advect.pqi +20 -0
- phreeqcrm-0.0.5/swig/python/ex11-advect/ex11-advect.ipynb +367 -0
- phreeqcrm-0.0.5/swig/python/ex11-advect/phreeqc.dat +1935 -0
- phreeqcrm-0.0.5/swig/python/guide-to-publish.md +25 -0
- phreeqcrm-0.0.5/swig/python/images/miniconda-0.png +0 -0
- phreeqcrm-0.0.5/swig/python/images/miniconda-1.png +0 -0
- phreeqcrm-0.0.5/swig/python/images/miniconda-2.png +0 -0
- phreeqcrm-0.0.5/swig/python/images/miniconda-3.png +0 -0
- phreeqcrm-0.0.5/swig/python/images/miniconda-4.png +0 -0
- phreeqcrm-0.0.5/swig/python/images/miniconda-5.png +0 -0
- phreeqcrm-0.0.5/swig/python/miniconda-jupyter-notebook-readme.md +88 -0
- phreeqcrm-0.0.5/swig/python/test_basic.py +393 -0
- phreeqcrm-0.0.5/swig/python/test_get_value.py +154 -0
- phreeqcrm-0.0.5/swig/python/test_init.py +263 -0
- phreeqcrm-0.0.5/swig/python/test_irf.py +93 -0
- phreeqcrm-0.0.5/swig/python/test_set_value.py +56 -0
- phreeqcrm-0.0.5/swig/python/yamlphreeqcrm.py +1323 -0
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
name: ci
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
types: [opened, synchronize, reopened, ready_for_review]
|
|
6
|
+
paths-ignore:
|
|
7
|
+
- 'CMakePresets.json'
|
|
8
|
+
- 'build-all-presets.sh'
|
|
9
|
+
- '.github/workflows/wheels.yml'
|
|
10
|
+
push:
|
|
11
|
+
branches:
|
|
12
|
+
- master
|
|
13
|
+
paths-ignore:
|
|
14
|
+
- 'CMakePresets.json'
|
|
15
|
+
- 'build-all-presets.sh'
|
|
16
|
+
- '.github/workflows/wheels.yml'
|
|
17
|
+
|
|
18
|
+
env:
|
|
19
|
+
NAME: PhreeqcRM
|
|
20
|
+
BUILD_TYPE: Release
|
|
21
|
+
|
|
22
|
+
jobs:
|
|
23
|
+
|
|
24
|
+
init:
|
|
25
|
+
if: github.event.pull_request.draft == false
|
|
26
|
+
runs-on: ubuntu-latest
|
|
27
|
+
# Map step outputs to job outputs
|
|
28
|
+
outputs:
|
|
29
|
+
VER: ${{ steps.vars.outputs.VER }}
|
|
30
|
+
REL: ${{ steps.vars.outputs.REL }}
|
|
31
|
+
DATE: ${{ steps.vars.outputs.DATE }}
|
|
32
|
+
DATE_RFC_3339: ${{ steps.vars.outputs.DATE_RFC_3339 }}
|
|
33
|
+
steps:
|
|
34
|
+
- name: Setup vars
|
|
35
|
+
id: vars
|
|
36
|
+
run: |
|
|
37
|
+
echo VER=$(curl -sS https://raw.githubusercontent.com/usgs-coupled/phreeqc-version/main/next_ver.sh | sh) >> $GITHUB_OUTPUT
|
|
38
|
+
echo REL=$(curl -sS https://raw.githubusercontent.com/usgs-coupled/phreeqc-version/main/rel.py | python3) >> $GITHUB_OUTPUT
|
|
39
|
+
echo DATE=$(date "+%x") >> $GITHUB_OUTPUT
|
|
40
|
+
echo DATE_RFC_3339=$(date --rfc-3339=date) >> $GITHUB_OUTPUT
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
valgrind:
|
|
44
|
+
name: valgrind
|
|
45
|
+
runs-on: ubuntu-latest
|
|
46
|
+
steps:
|
|
47
|
+
- uses: actions/checkout@v3
|
|
48
|
+
|
|
49
|
+
- name: update apt-get
|
|
50
|
+
run: sudo apt-get -y update
|
|
51
|
+
|
|
52
|
+
- name: install yaml-cpp
|
|
53
|
+
run: sudo apt-get -y install libyaml-cpp-dev
|
|
54
|
+
|
|
55
|
+
- name: install ninja
|
|
56
|
+
run: sudo apt-get -y install ninja-build
|
|
57
|
+
|
|
58
|
+
- name: install libc6-dbg
|
|
59
|
+
run: sudo apt-get -y install libc6-dbg
|
|
60
|
+
|
|
61
|
+
- name: install valgrind
|
|
62
|
+
run: sudo snap install valgrind --classic
|
|
63
|
+
|
|
64
|
+
- name: ctest -S cmemcheck.cmake
|
|
65
|
+
run: ctest -S cmemcheck.cmake -VV --output-on-failure -j 2
|
|
66
|
+
|
|
67
|
+
distcheck:
|
|
68
|
+
name: make distcheck
|
|
69
|
+
needs: init
|
|
70
|
+
runs-on: ubuntu-latest
|
|
71
|
+
steps:
|
|
72
|
+
- uses: actions/checkout@v3
|
|
73
|
+
|
|
74
|
+
- name: autoreconf
|
|
75
|
+
run: autoreconf -fvi
|
|
76
|
+
|
|
77
|
+
- name: versioning
|
|
78
|
+
run: ./jenkins-dist.sh -v ${{ needs.init.outputs.VER }} -r ${{ needs.init.outputs.REL }} -d ${{ needs.init.outputs.DATE }}
|
|
79
|
+
|
|
80
|
+
- name: doxygen
|
|
81
|
+
run: sudo apt-get -y install doxygen graphviz && cd Doxygen && make
|
|
82
|
+
|
|
83
|
+
- name: install yaml-cpp
|
|
84
|
+
run: sudo apt-get -y install libyaml-cpp-dev
|
|
85
|
+
|
|
86
|
+
- name: mkdir
|
|
87
|
+
run: mkdir ${{github.workspace}}/_build
|
|
88
|
+
|
|
89
|
+
- name: configure
|
|
90
|
+
shell: bash
|
|
91
|
+
working-directory: ${{github.workspace}}/_build
|
|
92
|
+
run: ../configure --prefix=$(pwd)/INSTALL
|
|
93
|
+
|
|
94
|
+
- name: make
|
|
95
|
+
shell: bash
|
|
96
|
+
working-directory: ${{github.workspace}}/_build
|
|
97
|
+
run: DISTCHECK_CONFIGURE_FLAGS="--enable-fortran-test --with-yaml-cpp" make -j2 distcheck
|
|
98
|
+
|
|
99
|
+
- uses: actions/upload-artifact@v3
|
|
100
|
+
with:
|
|
101
|
+
name: tarball
|
|
102
|
+
path: ${{github.workspace}}/_build/*.tar.gz
|
|
103
|
+
|
|
104
|
+
autotools:
|
|
105
|
+
name: autotools
|
|
106
|
+
needs: [init, distcheck]
|
|
107
|
+
strategy:
|
|
108
|
+
fail-fast: false
|
|
109
|
+
matrix:
|
|
110
|
+
os: [macos-latest, ubuntu-latest]
|
|
111
|
+
|
|
112
|
+
runs-on: ${{ matrix.os }}
|
|
113
|
+
|
|
114
|
+
env:
|
|
115
|
+
VER_STRING: ${{ needs.init.outputs.VER }}-${{ needs.init.outputs.REL }}
|
|
116
|
+
|
|
117
|
+
steps:
|
|
118
|
+
|
|
119
|
+
- uses: actions/download-artifact@v3
|
|
120
|
+
with:
|
|
121
|
+
name: tarball
|
|
122
|
+
|
|
123
|
+
# - name: Install GNU Fortran (macOS)
|
|
124
|
+
# if: ${{ runner.os == 'macOS' }}
|
|
125
|
+
# uses: awvwgk/setup-fortran@main
|
|
126
|
+
# with:
|
|
127
|
+
# compiler: gcc
|
|
128
|
+
# version: 12
|
|
129
|
+
|
|
130
|
+
# - name: Verify gfortran
|
|
131
|
+
# run: |
|
|
132
|
+
# which gfortran
|
|
133
|
+
# gfortran --version
|
|
134
|
+
|
|
135
|
+
- name: Install ninja yaml-cpp valgrind (Linux)
|
|
136
|
+
if: runner.os == 'Linux'
|
|
137
|
+
run: sudo apt-get install -y ninja-build valgrind libyaml-cpp-dev
|
|
138
|
+
|
|
139
|
+
- name: Install gcc(gfortran) ninja yaml-cpp (macOS)
|
|
140
|
+
if: runner.os == 'macOS'
|
|
141
|
+
run: |
|
|
142
|
+
brew reinstall gcc
|
|
143
|
+
brew install ninja yaml-cpp
|
|
144
|
+
|
|
145
|
+
- name: Verify gfortran
|
|
146
|
+
run: |
|
|
147
|
+
which gfortran
|
|
148
|
+
gfortran --version
|
|
149
|
+
|
|
150
|
+
- name: Extract tarball
|
|
151
|
+
run: tar xvzf phreeqcrm-${{ env.VER_STRING }}.tar.gz
|
|
152
|
+
|
|
153
|
+
- name: mkdir build
|
|
154
|
+
run: mkdir ${{ github.workspace }}/build
|
|
155
|
+
|
|
156
|
+
- name: Configure with autotools
|
|
157
|
+
working-directory: ${{ github.workspace }}/build
|
|
158
|
+
run: ../phreeqcrm-${{ env.VER_STRING }}/configure --enable-fortran-test --with-yaml-cpp
|
|
159
|
+
|
|
160
|
+
- name: Build with autotools
|
|
161
|
+
working-directory: ${{ github.workspace }}/build
|
|
162
|
+
run: make -j4
|
|
163
|
+
|
|
164
|
+
- name: Make check
|
|
165
|
+
working-directory: ${{ github.workspace }}/build
|
|
166
|
+
run: make check -j4
|
|
167
|
+
|
|
168
|
+
- name: cat Tests/test-suite.log
|
|
169
|
+
if: ${{ always() }}
|
|
170
|
+
working-directory: ${{ github.workspace }}/build
|
|
171
|
+
run: cat Tests/test-suite.log
|
|
172
|
+
|
|
173
|
+
- name: Install with autotools
|
|
174
|
+
working-directory: ${{ github.workspace }}/build
|
|
175
|
+
run: sudo make install
|
|
176
|
+
|
|
177
|
+
- name: Run ldconfig (Linux)
|
|
178
|
+
if: runner.os == 'Linux'
|
|
179
|
+
working-directory: ${{ github.workspace }}/build
|
|
180
|
+
run: sudo ldconfig
|
|
181
|
+
|
|
182
|
+
- name: Cleanup
|
|
183
|
+
run: rm -rf *
|
|
184
|
+
|
|
185
|
+
- uses: actions/checkout@v3
|
|
186
|
+
|
|
187
|
+
- name: Test autotools install
|
|
188
|
+
working-directory: ${{ github.workspace }}/Tests
|
|
189
|
+
run: env CC='cc' CXX='c++ -std=c++11' make -f autotools.mk autotools_test && ./autotools_test
|
|
190
|
+
|
|
191
|
+
- name: Clean autotools test
|
|
192
|
+
working-directory: ${{ github.workspace }}/Tests
|
|
193
|
+
run: make -f autotools.mk clean
|
|
194
|
+
|
|
195
|
+
- name: Test CMake pkg-config
|
|
196
|
+
working-directory: ${{ github.workspace }}/Tests
|
|
197
|
+
run: env CC='cc' CXX='c++ -std=c++11' make -f pkgconfig.mk pkgconfig_test && ./pkgconfig_test
|
|
198
|
+
|
|
199
|
+
cmake:
|
|
200
|
+
#name: cmake
|
|
201
|
+
name: ${{ matrix.os }} shared=${{ matrix.build_shared_libs }} yaml=${{ matrix.phreeqcrm_with_yaml_cpp }}
|
|
202
|
+
needs: [init, distcheck]
|
|
203
|
+
strategy:
|
|
204
|
+
fail-fast: false
|
|
205
|
+
matrix:
|
|
206
|
+
os: [macos-11, macos-12, ubuntu-20.04, ubuntu-22.04, windows-2019, windows-2022]
|
|
207
|
+
build_shared_libs: [OFF, ON]
|
|
208
|
+
phreeqcrm_with_yaml_cpp: [OFF, ON]
|
|
209
|
+
# BUILD_TYPE: [Debug, Release]
|
|
210
|
+
|
|
211
|
+
runs-on: ${{ matrix.os }}
|
|
212
|
+
|
|
213
|
+
env:
|
|
214
|
+
VER_STRING: ${{ needs.init.outputs.VER }}-${{ needs.init.outputs.REL }}
|
|
215
|
+
|
|
216
|
+
steps:
|
|
217
|
+
|
|
218
|
+
- uses: actions/download-artifact@v3
|
|
219
|
+
with:
|
|
220
|
+
name: tarball
|
|
221
|
+
|
|
222
|
+
- name: Install GNU Fortran (macOS)
|
|
223
|
+
if: ${{ runner.os == 'macOS' }}
|
|
224
|
+
uses: awvwgk/setup-fortran@main
|
|
225
|
+
with:
|
|
226
|
+
compiler: gcc
|
|
227
|
+
version: 12
|
|
228
|
+
|
|
229
|
+
- name: Install oneAPI Fortran (Windows)
|
|
230
|
+
if: ${{ runner.os == 'Windows' }}
|
|
231
|
+
uses: i-RIC/install-intelfortran-action@v1
|
|
232
|
+
with:
|
|
233
|
+
cache: true
|
|
234
|
+
|
|
235
|
+
- name: Install ninja yaml-cpp valgrind (Linux)
|
|
236
|
+
if: ${{ runner.os == 'Linux' }}
|
|
237
|
+
#run: sudo apt-get install -y ninja-build valgrind libyaml-cpp-dev python3-numpy
|
|
238
|
+
run: sudo apt-get install -y ninja-build valgrind libyaml-cpp-dev
|
|
239
|
+
|
|
240
|
+
- name: Install ninja yaml-cpp (macOS)
|
|
241
|
+
if: ${{ runner.os == 'macOS' }}
|
|
242
|
+
run: brew install ninja yaml-cpp
|
|
243
|
+
|
|
244
|
+
- name: Install yaml-cpp (Windows)
|
|
245
|
+
if: ${{ runner.os == 'Windows' && matrix.phreeqcrm_with_yaml_cpp == 'ON' }}
|
|
246
|
+
run: vcpkg install yaml-cpp:x64-windows
|
|
247
|
+
|
|
248
|
+
# - name: Set up Python ${{ matrix.python-version }}
|
|
249
|
+
- name: Set up Python 3.8
|
|
250
|
+
uses: actions/setup-python@v4
|
|
251
|
+
with:
|
|
252
|
+
# python-version: ${{ matrix.python-version }}
|
|
253
|
+
python-version: 3.8
|
|
254
|
+
|
|
255
|
+
- name: Install dependencies
|
|
256
|
+
run: |
|
|
257
|
+
python -m pip install --upgrade pip
|
|
258
|
+
python -m pip install numpy
|
|
259
|
+
python -m pip install PyYAML
|
|
260
|
+
python -m pip install pytest
|
|
261
|
+
# @todo if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
|
262
|
+
|
|
263
|
+
- name: Set up Visual Studio shell (Windows)
|
|
264
|
+
if: runner.os == 'Windows'
|
|
265
|
+
uses: egor-tensin/vs-shell@v2
|
|
266
|
+
with:
|
|
267
|
+
arch: x64
|
|
268
|
+
|
|
269
|
+
- name: Extract tarball
|
|
270
|
+
run: tar xvzf phreeqcrm-${{ env.VER_STRING }}.tar.gz
|
|
271
|
+
|
|
272
|
+
- name: Configure with CMake (Non-Windows)
|
|
273
|
+
if: ${{ runner.os != 'Windows' && matrix.phreeqcrm_with_yaml_cpp != 'ON' }}
|
|
274
|
+
run: cmake -G Ninja -B build -S phreeqcrm-${{ env.VER_STRING }} -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DBUILD_SHARED_LIBS:BOOL=${{ matrix.build_shared_libs }} -DPHREEQCRM_WITH_YAML_CPP=${{ matrix.phreeqcrm_with_yaml_cpp }} -DPHREEQCRM_FORTRAN_TESTING:BOOL=ON
|
|
275
|
+
|
|
276
|
+
- name: Configure with CMake (Non-Windows)
|
|
277
|
+
if: ${{ runner.os != 'Windows' && matrix.phreeqcrm_with_yaml_cpp == 'ON' }}
|
|
278
|
+
run: cmake -G Ninja -B build -S phreeqcrm-${{ env.VER_STRING }} -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DBUILD_SHARED_LIBS:BOOL=${{ matrix.build_shared_libs }} -DPHREEQCRM_WITH_YAML_CPP=${{ matrix.phreeqcrm_with_yaml_cpp }} -DPHREEQCRM_FORTRAN_TESTING:BOOL=ON -DPHREEQCRM_BUILD_PYTHON:BOOL=ON
|
|
279
|
+
|
|
280
|
+
- name: Configure with CMake (Windows)
|
|
281
|
+
if: ${{ runner.os == 'Windows' && matrix.phreeqcrm_with_yaml_cpp != 'ON' }}
|
|
282
|
+
run: cmake -G Ninja -B build -S phreeqcrm-${{ env.VER_STRING }} -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DBUILD_SHARED_LIBS:BOOL=${{ matrix.build_shared_libs }} -DPHREEQCRM_WITH_YAML_CPP=${{ matrix.phreeqcrm_with_yaml_cpp }} -DPHREEQCRM_FORTRAN_TESTING:BOOL=ON
|
|
283
|
+
|
|
284
|
+
- name: Configure with CMake (Windows)
|
|
285
|
+
if: ${{ runner.os == 'Windows' && matrix.phreeqcrm_with_yaml_cpp == 'ON' }}
|
|
286
|
+
run: cmake -G Ninja --toolchain ${{ env.VCPKG_INSTALLATION_ROOT }}/scripts/buildsystems/vcpkg.cmake -B build -S phreeqcrm-${{ env.VER_STRING }} -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DBUILD_SHARED_LIBS:BOOL=${{ matrix.build_shared_libs }} -DPHREEQCRM_WITH_YAML_CPP=${{ matrix.phreeqcrm_with_yaml_cpp }} -DPHREEQCRM_FORTRAN_TESTING:BOOL=ON -DPHREEQCRM_BUILD_PYTHON:BOOL=ON
|
|
287
|
+
|
|
288
|
+
- name: Print phreeqcrm.pc
|
|
289
|
+
working-directory: ${{ github.workspace }}/build
|
|
290
|
+
run: cat phreeqcrm.pc
|
|
291
|
+
|
|
292
|
+
- name: Build with CMake
|
|
293
|
+
run: cmake --build ${{ github.workspace }}/build --config ${{ env.BUILD_TYPE }}
|
|
294
|
+
|
|
295
|
+
- name: Test with CMake
|
|
296
|
+
working-directory: ${{ github.workspace }}/build
|
|
297
|
+
run: ctest -C ${{ env.BUILD_TYPE }} --output-on-failure
|
|
298
|
+
|
|
299
|
+
- name: Install (Non-Windows)
|
|
300
|
+
if: runner.os != 'Windows'
|
|
301
|
+
run: sudo cmake --install build
|
|
302
|
+
|
|
303
|
+
- name: Install (Windows)
|
|
304
|
+
if: runner.os == 'Windows'
|
|
305
|
+
run: cmake --install build
|
|
306
|
+
|
|
307
|
+
- name: Run ldconfig (Linux)
|
|
308
|
+
if: ${{ runner.os == 'Linux' && matrix.build_shared_libs == 'ON' }}
|
|
309
|
+
run: sudo ldconfig
|
|
310
|
+
|
|
311
|
+
- name: Cleanup (Non-Windows)
|
|
312
|
+
if: runner.os != 'Windows'
|
|
313
|
+
run: sudo rm -rf *
|
|
314
|
+
|
|
315
|
+
- name: Cleanup (Windows)
|
|
316
|
+
if: runner.os == 'Windows'
|
|
317
|
+
run: Remove-Item -Recurse -Force *
|
|
318
|
+
|
|
319
|
+
- uses: actions/checkout@v3
|
|
320
|
+
|
|
321
|
+
- name: Test install (configure) (Non-Windows)
|
|
322
|
+
if: runner.os != 'Windows'
|
|
323
|
+
working-directory: ${{ github.workspace }}/Tests
|
|
324
|
+
run: cmake -G Ninja -B build -S . -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -D_PHREEQCRM_TEST_INSTALL:BOOL=ON -DPHREEQCRM_FORTRAN_TESTING:BOOL=ON
|
|
325
|
+
|
|
326
|
+
- name: Test install (configure) (Windows)
|
|
327
|
+
if: runner.os == 'Windows'
|
|
328
|
+
working-directory: ${{ github.workspace }}/Tests
|
|
329
|
+
run: cmake -G Ninja --toolchain ${{ env.VCPKG_INSTALLATION_ROOT }}/scripts/buildsystems/vcpkg.cmake -B build -S . -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -D_PHREEQCRM_TEST_INSTALL:BOOL=ON -DPHREEQCRM_FORTRAN_TESTING:BOOL=ON
|
|
330
|
+
|
|
331
|
+
- name: Test install (build)
|
|
332
|
+
working-directory: ${{ github.workspace }}/Tests
|
|
333
|
+
run: cmake --build build --config ${{ env.BUILD_TYPE }}
|
|
334
|
+
|
|
335
|
+
- name: Test install (ctest) (Non-Windows)
|
|
336
|
+
if: runner.os != 'Windows'
|
|
337
|
+
working-directory: ${{ github.workspace }}/Tests/build
|
|
338
|
+
run: ctest -C ${{ env.BUILD_TYPE }} --output-on-failure
|
|
339
|
+
|
|
340
|
+
- name: Test install (ctest) (Windows)
|
|
341
|
+
if: runner.os == 'Windows'
|
|
342
|
+
working-directory: ${{ github.workspace }}/Tests/build
|
|
343
|
+
run: |
|
|
344
|
+
$env:PATH="${{ env.VCPKG_INSTALLATION_ROOT }}\packages\yaml-cpp_x64-windows\bin;C:\Program Files (x86)\PhreeqcRM\bin;$env:PATH"
|
|
345
|
+
ctest -C ${{ env.BUILD_TYPE }} --output-on-failure
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
name: cd
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
branches:
|
|
6
|
+
- master
|
|
7
|
+
push:
|
|
8
|
+
branches:
|
|
9
|
+
- master
|
|
10
|
+
workflow_dispatch:
|
|
11
|
+
release:
|
|
12
|
+
types:
|
|
13
|
+
- published
|
|
14
|
+
|
|
15
|
+
env:
|
|
16
|
+
FORCE_COLOR: 3
|
|
17
|
+
YAML_CPP_REF: b8882652fcbeba4c00dec019a39da91e702e474e
|
|
18
|
+
USE_LIB_CMAKE_YAML_CPP: ${{ true }}
|
|
19
|
+
|
|
20
|
+
jobs:
|
|
21
|
+
build:
|
|
22
|
+
name: ${{ matrix.os }} (python ${{ matrix.python-version }})
|
|
23
|
+
|
|
24
|
+
strategy:
|
|
25
|
+
fail-fast: false
|
|
26
|
+
matrix:
|
|
27
|
+
os: [macos-11, macos-12, ubuntu-20.04, ubuntu-22.04, windows-2019, windows-2022]
|
|
28
|
+
python-version: ["3.8", "3.9", "3.10", "3.11"]
|
|
29
|
+
|
|
30
|
+
runs-on: ${{ matrix.os }}
|
|
31
|
+
|
|
32
|
+
steps:
|
|
33
|
+
- uses: actions/checkout@v3
|
|
34
|
+
with:
|
|
35
|
+
path: phreeqcrm-source
|
|
36
|
+
|
|
37
|
+
- uses: actions/checkout@v3
|
|
38
|
+
with:
|
|
39
|
+
repository: jbeder/yaml-cpp
|
|
40
|
+
ref: ${{ env.YAML_CPP_REF }}
|
|
41
|
+
path: yaml-cpp-source
|
|
42
|
+
|
|
43
|
+
- name: Install ninja (Linux)
|
|
44
|
+
if: ${{ runner.os == 'Linux' }}
|
|
45
|
+
run: sudo apt-get -y install ninja-build
|
|
46
|
+
|
|
47
|
+
- name: Install ninja (macOS)
|
|
48
|
+
if: ${{ runner.os == 'macOS' }}
|
|
49
|
+
run: brew install ninja
|
|
50
|
+
|
|
51
|
+
- name: Set up Visual Studio shell (Windows)
|
|
52
|
+
if: runner.os == 'Windows'
|
|
53
|
+
uses: egor-tensin/vs-shell@v2
|
|
54
|
+
with:
|
|
55
|
+
arch: x64
|
|
56
|
+
|
|
57
|
+
- name: Cache yaml-cpp
|
|
58
|
+
id: cache-yaml-cpp
|
|
59
|
+
uses: actions/cache@v3
|
|
60
|
+
with:
|
|
61
|
+
path: ${{ github.workspace }}/yaml-cpp-install
|
|
62
|
+
key: ${{ matrix.os }}-yaml-cpp-${{ env.YAML_CPP_REF }}
|
|
63
|
+
|
|
64
|
+
- name: Configure yaml-cpp
|
|
65
|
+
if: steps.cache-yaml-cpp.outputs.cache-hit != 'true'
|
|
66
|
+
run: cmake -G "Ninja Multi-Config" -B yaml-cpp-build -S yaml-cpp-source -DYAML_CPP_BUILD_TOOLS:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=$(pwd)/yaml-cpp-install -DCMAKE_POSITION_INDEPENDENT_CODE=ON
|
|
67
|
+
|
|
68
|
+
- name: Build yaml-cpp
|
|
69
|
+
if: steps.cache-yaml-cpp.outputs.cache-hit != 'true'
|
|
70
|
+
run: cmake --build yaml-cpp-build --config Release
|
|
71
|
+
|
|
72
|
+
- name: Test yaml-cpp
|
|
73
|
+
if: steps.cache-yaml-cpp.outputs.cache-hit != 'true'
|
|
74
|
+
run: ctest --test-dir yaml-cpp-build
|
|
75
|
+
|
|
76
|
+
- name: Install yaml-cpp
|
|
77
|
+
if: steps.cache-yaml-cpp.outputs.cache-hit != 'true'
|
|
78
|
+
run: cmake --install yaml-cpp-build
|
|
79
|
+
|
|
80
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
81
|
+
uses: actions/setup-python@v4
|
|
82
|
+
with:
|
|
83
|
+
python-version: ${{ matrix.python-version }}
|
|
84
|
+
|
|
85
|
+
- name: Install Python ${{ matrix.python-version }} dependencies
|
|
86
|
+
run: |
|
|
87
|
+
python --version
|
|
88
|
+
python -m pip install --upgrade pip
|
|
89
|
+
pip install pipx
|
|
90
|
+
|
|
91
|
+
- name: Build package (using share/cmake/yaml-cpp)
|
|
92
|
+
if: ${{ !env.USE_LIB_CMAKE_YAML_CPP }}
|
|
93
|
+
env:
|
|
94
|
+
yaml-cpp_DIR: ${{ github.workspace }}/yaml-cpp-install/share/cmake/yaml-cpp
|
|
95
|
+
working-directory: phreeqcrm-source
|
|
96
|
+
run: pipx run build
|
|
97
|
+
|
|
98
|
+
- name: Build package (using lib/cmake/yaml-cpp)
|
|
99
|
+
if: ${{ env.USE_LIB_CMAKE_YAML_CPP }}
|
|
100
|
+
env:
|
|
101
|
+
yaml-cpp_DIR: ${{ github.workspace }}/yaml-cpp-install/lib/cmake/yaml-cpp
|
|
102
|
+
working-directory: phreeqcrm-source
|
|
103
|
+
run: pipx run build
|
|
104
|
+
|
|
105
|
+
- uses: actions/upload-artifact@v3
|
|
106
|
+
with:
|
|
107
|
+
name: wheels
|
|
108
|
+
path: phreeqcrm-source/dist/*.whl
|
|
109
|
+
|
|
110
|
+
- uses: actions/upload-artifact@v3
|
|
111
|
+
if: ${{ matrix.python-version == '3.10' && matrix.os == 'ubuntu-22.04' }}
|
|
112
|
+
with:
|
|
113
|
+
name: source
|
|
114
|
+
path: phreeqcrm-source/dist/*.tar.gz
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
|
|
2
|
+
# /
|
|
3
|
+
|
|
4
|
+
# Doxygen/
|
|
5
|
+
Doxygen/html
|
|
6
|
+
|
|
7
|
+
# Tests/
|
|
8
|
+
Tests/Makefile.in
|
|
9
|
+
|
|
10
|
+
# Tests/vs2012/
|
|
11
|
+
Tests/vs2012/FortranAdvect.u2d
|
|
12
|
+
Tests/vs2012/Tests.opensdf
|
|
13
|
+
Tests/vs2012/Tests.sdf
|
|
14
|
+
Tests/vs2012/Tests.v11.suo
|
|
15
|
+
Tests/vs2012/mpi
|
|
16
|
+
Tests/vs2012/mpi_debug
|
|
17
|
+
Tests/vs2012/openmp
|
|
18
|
+
Tests/vs2012/openmp_debug
|
|
19
|
+
Tests/vs2012/vc110.pdb
|
|
20
|
+
Tests/vs2012/x64
|
|
21
|
+
|
|
22
|
+
# backup files
|
|
23
|
+
*~
|
|
24
|
+
.vshistory/
|
|
25
|
+
|
|
26
|
+
# autotools
|
|
27
|
+
aclocal.m4
|
|
28
|
+
configure
|
|
29
|
+
Makefile.in
|
|
30
|
+
autom4te.cache/
|
|
31
|
+
config/
|
|
32
|
+
m4/libtool.m4
|
|
33
|
+
m4/ltoptions.m4
|
|
34
|
+
m4/ltsugar.m4
|
|
35
|
+
m4/ltversion.m4
|
|
36
|
+
m4/lt~obsolete.m4
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
# ignore directories beginning with '_'
|
|
40
|
+
_*/
|
|
41
|
+
|
|
42
|
+
# dist files
|
|
43
|
+
configure.ac.dist
|
|
44
|
+
Makefile.am.dist
|
|
45
|
+
doc/NOTICE.TXT.dist
|
|
46
|
+
doc/README.TXT.dist
|
|
47
|
+
src/PhreeqcRM.h.dist
|
|
48
|
+
src/IPhreeqcPhast/IPhreeqc/IPhreeqc.h.dist
|
|
49
|
+
src/IPhreeqcPhast/IPhreeqc/Version.h.dist
|
|
50
|
+
CMakeLists.txt.dist
|
|
51
|
+
|
|
52
|
+
# mod files (vscode extension?)
|
|
53
|
+
src/phreeqcrm.mod
|
|
54
|
+
|
|
55
|
+
# re-encoded files
|
|
56
|
+
src/IPhreeqcPhast/IPhreeqc/phreeqcpp/print.utf-8.cpp
|
|
57
|
+
src/IPhreeqcPhast/IPhreeqc/phreeqcpp/print.windows-1252.cpp
|
|
58
|
+
|
|
59
|
+
# Doxygen/make
|
|
60
|
+
src/RM_interface.F90.save
|
|
61
|
+
src/YAML_interface.F90.save
|
|
62
|
+
|
|
63
|
+
# wheels
|
|
64
|
+
dist/
|
|
65
|
+
|
|
66
|
+
# ex11-advect
|
|
67
|
+
swig/python/ex11-advect/ex11-advect.yaml
|
|
68
|
+
swig/python/ex11-advect/ex11-advect.chem.txt
|
|
69
|
+
swig/python/ex11-advect/ex11-advect.log.txt
|
|
70
|
+
swig/python/ex11-advect/.ipynb_checkpoints/
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
#
|
|
2
|
+
# https://code.chs.usgs.gov/coupled/phreeqcrm
|
|
3
|
+
# SRC 2020-01-28T10:03:39-07:00
|
|
4
|
+
# SRC 2021-10-31T11:57:41-06:00 -- changed pull to squash -- HEAD:b74733e436f6b7a67f5e84ad0554ffe79a1c2e82
|
|
5
|
+
#
|
|
6
|
+
image: ${CI_REGISTRY}/coupled/containers/buildpack-deps:bionic-scm
|
|
7
|
+
|
|
8
|
+
stages:
|
|
9
|
+
- sync
|
|
10
|
+
- trigger
|
|
11
|
+
|
|
12
|
+
before_script:
|
|
13
|
+
- eval $(ssh-agent -s)
|
|
14
|
+
- echo "${SSH_PRIVATE_KEY_ENC}" | base64 --decode | tr -d '\r' | ssh-add -
|
|
15
|
+
- mkdir -p ~/.ssh
|
|
16
|
+
- chmod 700 ~/.ssh
|
|
17
|
+
- ssh-keyscan ${CI_SERVER_HOST} >> ~/.ssh/known_hosts
|
|
18
|
+
- chmod 644 ~/.ssh/known_hosts
|
|
19
|
+
- git config --global user.email "darth@empire.com"
|
|
20
|
+
- git config --global user.name "Darth Vader"
|
|
21
|
+
|
|
22
|
+
subtree-sync:
|
|
23
|
+
stage: sync
|
|
24
|
+
|
|
25
|
+
##
|
|
26
|
+
## Only run if on the master branch and the variable GROUP is set
|
|
27
|
+
##
|
|
28
|
+
## change this to
|
|
29
|
+
## only:
|
|
30
|
+
## - master@$GROUP/phreeqcrm
|
|
31
|
+
## and set GROUP to coupled before merge
|
|
32
|
+
only:
|
|
33
|
+
refs:
|
|
34
|
+
- master
|
|
35
|
+
variables:
|
|
36
|
+
- $GROUP
|
|
37
|
+
|
|
38
|
+
script:
|
|
39
|
+
##
|
|
40
|
+
## Must re-clone in order for the subtree merge to work
|
|
41
|
+
## tried re-setting the url for the origin but didn't work
|
|
42
|
+
##
|
|
43
|
+
- cd ..
|
|
44
|
+
- rm -rf ${CI_PROJECT_NAME}
|
|
45
|
+
- git clone git@${CI_SERVER_HOST}:${CI_PROJECT_PATH}.git
|
|
46
|
+
- cd ${CI_PROJECT_NAME}
|
|
47
|
+
|
|
48
|
+
##
|
|
49
|
+
## Sync subtrees
|
|
50
|
+
##
|
|
51
|
+
- |
|
|
52
|
+
#!/bin/bash -ex
|
|
53
|
+
#
|
|
54
|
+
# PhreeqcRM/ git@${CI_SERVER_HOST}:${GROUP}/phreeqcrm.git
|
|
55
|
+
# ├─database/ ├─git@${CI_SERVER_HOST}:${GROUP}/subtrees/phreeqc3-database.git database
|
|
56
|
+
# └─src/ └─git@${CI_SERVER_HOST}:${GROUP}/subtrees/PhreeqcRM-src.git src
|
|
57
|
+
# └─IPhreeqcPhast/ └─IPhreeqcPhast
|
|
58
|
+
# └─IPhreeqc/ └─git@${CI_SERVER_HOST}:${GROUP}/subtrees/IPhreeqc-src.git src/IPhreeqcPhast/IPhreeqc
|
|
59
|
+
# └─phreeqcpp/ └─git@${CI_SERVER_HOST}:${GROUP}/subtrees/phreeqc3-src.git src/IPhreeqcPhast/IPhreeqc/phreeqcpp
|
|
60
|
+
# └─common/ └─git@${CI_SERVER_HOST}:${GROUP}/subtrees/phreeqc3-src-common.git src/IPhreeqcPhast/IPhreeqc/phreeqcpp/common
|
|
61
|
+
|
|
62
|
+
git_subtree() {
|
|
63
|
+
git subtree "${1}" --prefix="${2}" "${4}" master 2>&1 | grep -v "^[[:digit:]].*/[[:digit:]].*"
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
declare -A urls=( \
|
|
67
|
+
["phreeqc3-database.git"]="git@${CI_SERVER_HOST}:${GROUP}/subtrees/phreeqc3-database.git" \
|
|
68
|
+
["PhreeqcRM-src.git"]="git@${CI_SERVER_HOST}:${GROUP}/subtrees/PhreeqcRM-src.git" \
|
|
69
|
+
)
|
|
70
|
+
|
|
71
|
+
declare -A prefixes=( \
|
|
72
|
+
["phreeqc3-database.git"]="database" \
|
|
73
|
+
["PhreeqcRM-src.git"]="src" \
|
|
74
|
+
)
|
|
75
|
+
|
|
76
|
+
export GIT_EDITOR=true
|
|
77
|
+
|
|
78
|
+
for remote in "${!urls[@]}"; do
|
|
79
|
+
#git_subtree "pull" "${prefixes[$remote]}" "$remote" "${urls[$remote]}"
|
|
80
|
+
git subtree pull --prefix "${prefixes[$remote]}" --squash "${urls[$remote]}" master
|
|
81
|
+
done
|
|
82
|
+
|
|
83
|
+
for remote in "${!urls[@]}"; do
|
|
84
|
+
git_subtree "push" "${prefixes[$remote]}" "$remote" "${urls[$remote]}"
|
|
85
|
+
done
|
|
86
|
+
|
|
87
|
+
git status
|
|
88
|
+
git push origin master
|
|
89
|
+
|
|
90
|
+
trigger-downstream:
|
|
91
|
+
stage: trigger
|
|
92
|
+
##
|
|
93
|
+
## Only run if on the master branch and the variable GROUP is set
|
|
94
|
+
##
|
|
95
|
+
## change this to
|
|
96
|
+
## only:
|
|
97
|
+
## - master@$GROUP/phreeqcrm
|
|
98
|
+
## and set GROUP to coupled before merge
|
|
99
|
+
only:
|
|
100
|
+
refs:
|
|
101
|
+
- master
|
|
102
|
+
variables:
|
|
103
|
+
- $GROUP
|
|
104
|
+
|
|
105
|
+
## Downstream Projects
|
|
106
|
+
## triggers and ids are stored at the group level
|
|
107
|
+
## phast3 https://code.chs.usgs.gov/coupled/phast3
|
|
108
|
+
## vs2drt-src https://code.chs.usgs.gov/coupled/subtrees/vs2drt-src
|
|
109
|
+
script:
|
|
110
|
+
- echo triggering phast3
|
|
111
|
+
- curl -X POST -F token=${PHAST3_TRIGGER} -F ref=master https://code.chs.usgs.gov/api/v4/projects/${PHAST3_ID}/trigger/pipeline
|
|
112
|
+
- sleep 360
|
|
113
|
+
- echo triggering vs2drt-src
|
|
114
|
+
- curl -X POST -F token=${VS2DRT_SRC_TRIGGER} -F ref=master https://code.chs.usgs.gov/api/v4/projects/${VS2DRT_SRC_ID}/trigger/pipeline
|
|
115
|
+
- sleep 120
|
|
116
|
+
|
|
117
|
+
## Upstream Projects
|
|
118
|
+
## phreeqcrm-src https://code.chs.usgs.gov/coupled/subtrees/phreeqcrm-src
|
|
119
|
+
## phreeqc3-database https://code.chs.usgs.gov/coupled/subtrees/phreeqc3-database
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
repos:
|
|
2
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
3
|
+
rev: c8bad492e1b1d65d9126dba3fe3bd49a5a52b9d6 # v2.1.0
|
|
4
|
+
hooks:
|
|
5
|
+
- id: end-of-file-fixer
|
|
6
|
+
files: CMakeLists.txt|configure.ac|Makefile.am|\.xml$|\.yml$
|
|
7
|
+
exclude: src/IPhreeqcPhast/IPhreeqc/phreeqcpp/test.xml$|Doxygen/DoxygenLayout.xml$
|
|
8
|
+
- id: trailing-whitespace
|
|
9
|
+
files: CMakeLists.txt|configure.ac|Makefile.am|\.xml$|\.yml$
|
|
10
|
+
exclude: src/IPhreeqcPhast/IPhreeqc/phreeqcpp/test.xml$|Doxygen/DoxygenLayout.xml$
|
|
11
|
+
- id: no-commit-to-branch
|
|
12
|
+
args: [--branch, main, --branch, master, --branch, develop]
|