Compare commits

..

769 Commits

Author SHA1 Message Date
Max Lübke
115fe2f272 Merge branch 'merge-upstream' into 'main'
Merge latest version (v3.8.8) from upstream

Closes #1

See merge request naaice/iphreeqc!34
2025-10-28 11:39:20 +01:00
Max Lübke
643f53890e refactor(initialization): relocate initial setup methods 2025-10-28 11:36:58 +01:00
Max Lübke
7806aad339 refactor(solution): consolidate cxxSolution constructors 2025-10-28 11:36:36 +01:00
Max Lübke
6f356bb9b6 Merge tag 'v3.8.8' into merge-upstream 2025-10-28 11:17:36 +01:00
Max Lübke
8d5b4fb662 Merge branch 'ml/mirror-to-github' into 'main'
Mirror repository to github

See merge request naaice/iphreeqc!33
2025-10-28 11:08:51 +01:00
Max Lübke
86411e6415 ci(gitlab): update github mirror repository 2025-10-28 11:05:17 +01:00
Max Lübke
cb44e26b69 Merge branch 'ml/project-name' into 'main'
Change project name to `litephreeqc`

See merge request naaice/iphreeqc!32
2025-10-28 11:02:24 +01:00
Max Lübke
dcff790306 build(cmake): disable database, doc, examples subdirs 2025-10-28 10:53:59 +01:00
Max Lübke
646f166f24 build(cmake): use PROJECT_SOURCE_DIR for target includes 2025-10-28 10:53:37 +01:00
Max Lübke
0ed073309f build(cmake)!: enforce static build for litephreeqc library 2025-10-28 10:20:23 +01:00
Max Lübke
5c398186fd build(cmake): update project name to litephreeqc 2025-10-28 10:03:59 +01:00
Max Lübke
a46bf4d4fe build(deps): update googletest to v1.17.0 2025-10-28 09:54:38 +01:00
Max Lübke
9d48f28708 ci(github-actions): comment out cmake.yml workflow 2025-10-28 09:54:14 +01:00
Max Lübke
cd4c26beed build: disallow litephreeqc build on Windows 2025-10-28 09:50:15 +01:00
Max Lübke
5e972551a8 test: update test suite macro to reflect litephreeqc 2025-10-28 09:40:30 +01:00
Max Lübke
9a454b4ce5 refactor: Rename IPhreeqcPOET to litephreeqc 2025-10-28 09:40:30 +01:00
Max Lübke
85762ad3f3 chore: Add LICENSE.txt for poet directory
refactor: Rename 'poet' directory to 'litephreeqc'
2025-10-28 09:39:40 +01:00
Max Lübke
c13777f576 ci(github-mirror): add automated repository mirroring 2025-10-15 10:35:28 +02:00
Charlton, Scott R.
9941fff19a Update CMake configuration to use LLVM 18 on macOS 2025-09-10 20:15:35 -06:00
Charlton, Scott R.
55e64124d9 Add superprojects.json and lint workflow for validation 2025-09-10 19:30:37 -06:00
github-actions[bot]
eca261b232 Merge commit '7939dd32097aa6395b7bd6b8e335b710a49f2b4a' 2025-09-10 22:46:08 +00:00
github-actions[bot]
7939dd3209 Squashed 'src/' changes from 7835c6d5..8b97f7b5
8b97f7b5 Merge commit 'a11ac56700283d1570e045d3fc791f56fef913dd'
a11ac567 Squashed 'phreeqcpp/' changes from 83843db..50e4d89

git-subtree-dir: src
git-subtree-split: 8b97f7b51ed6af2d64b5df31c0d15c16290e8337
2025-09-10 22:46:07 +00:00
github-actions[bot]
877c5b0a19 Merge commit '73b69d87c515ade04778cd6806e3d659f8a97e4e' 2025-09-10 22:44:28 +00:00
github-actions[bot]
73b69d87c5 Squashed 'phreeqc3-examples/' changes from 6baa6075..4d186387
4d186387 Update ctest.regression.cmake output for PR #96 (Mix error fix)

git-subtree-dir: phreeqc3-examples
git-subtree-split: 4d1863871ab50aaf1b85ad88dc5a2a43f2ea8557
2025-09-10 22:44:28 +00:00
github-actions[bot]
11e23901af Merge commit 'c36b70aa4a88216baa3cdcd9303b2a65a43b0310' 2025-09-10 22:44:27 +00:00
github-actions[bot]
74967e4a7b Merge commit 'b6a59f94d9e2e7747fbea8c266fc9f5797e18c41' 2025-09-10 22:44:27 +00:00
github-actions[bot]
c36b70aa4a Squashed 'phreeqc3-doc/' changes from 05a4c62f..d76f816a
d76f816a Merge pull request #96 from dlparkhurst/mix_error
5ce8cb55 Tony's fit of sulfate solubilities for phreeqc.dat, pitzer.dat, phreeqc_rates.dat
1f54041a Note on isotopes for PhreeqcRM.
f0851e90 changed map to set to mix from largest mixing fraction to smallest

git-subtree-dir: phreeqc3-doc
git-subtree-split: d76f816aedab530a361a63c26a02b453eadf01a2
2025-09-10 22:44:27 +00:00
github-actions[bot]
b6a59f94d9 Squashed 'database/' changes from 5df53219..b2736cd1
b2736cd1 Merge pull request #96 from dlparkhurst/mix_error
622420f1 Tony's fit of sulfate solubilities for phreeqc.dat, pitzer.dat, phreeqc_rates.dat

git-subtree-dir: database
git-subtree-split: b2736cd1fdff1a3a0665ef298045d7f3782aab9d
2025-09-10 22:44:27 +00:00
Charlton, Scott R.
901f8a23c3 Merge remote-tracking branch 'subtrees/master' 2025-08-19 15:31:42 -06:00
Charlton, Scott R.
8cb0264663 Merged git@github.com:usgs-coupled-subtrees/iphreeqc.git master using
git merge --strategy-option=theirs --squash subtrees/master
2025-08-19 12:18:26 -06:00
github-actions[bot]
a78f34dc79 Squashed 'src/' changes from 4457acc3..7835c6d5
7835c6d5 Merge commit '8b244cf5d3f70a555ab60f2b0f282afd02a12c40'
8b244cf5 Squashed 'phreeqcpp/' changes from fadc352..83843db

git-subtree-dir: src
git-subtree-split: 7835c6d5f7d22dfb7689d09fc444020a68b9d63e
2025-08-15 19:13:41 +00:00
github-actions[bot]
b390c3318d Merge commit 'a78f34dc797a2b6c997ce986eab419c1a119a98b' 2025-08-15 19:13:41 +00:00
github-actions[bot]
721ac88190 Merge commit '4d67ec082e78dcdbc4e02ae69a44084fe84bd9f2' 2025-08-15 19:12:12 +00:00
github-actions[bot]
4d67ec082e Squashed 'src/' changes from 01d16cb2..4457acc3
4457acc3 Refactor subtrees configuration by removing unnecessary URL fields and ensuring consistent formatting across all subtrees.json files.

git-subtree-dir: src
git-subtree-split: 4457acc3910528dd1e364c9a41f8e06cd1258c26
2025-08-15 19:12:11 +00:00
github-actions[bot]
a682be918f Merge commit '941a71640e5bb24981ff0ff225a542e46d7ebff5' 2025-08-14 20:45:20 +00:00
github-actions[bot]
941a71640e Squashed 'src/' changes from cd19c4bb..01d16cb2
01d16cb2 Merge commit 'f1f5186496f31d9907867eb50303b3fad63b6c42'
f1f51864 Squashed 'phreeqcpp/' changes from 0f2dfae..fadc352

git-subtree-dir: src
git-subtree-split: 01d16cb2cda77bebca683191f2db2a6a2d681f24
2025-08-14 20:45:19 +00:00
github-actions[bot]
2fac130043 Merge commit '684223410a9be6ffdb3479c482e1d9a0f4a78823' 2025-08-14 20:43:45 +00:00
github-actions[bot]
684223410a Squashed 'src/' changes from 767640fe..cd19c4bb
cd19c4bb Remove unnecessary URL fields from subtrees.json files

git-subtree-dir: src
git-subtree-split: cd19c4bbf6788abf8a2a03edc5fad50a5c528d7f
2025-08-14 20:43:45 +00:00
Charlton, Scott R.
6a6e8c5d18 Remove unnecessary URL fields from subtrees.json files 2025-08-14 14:41:56 -06:00
github-actions[bot]
846d30ae52 Squashed 'src/' changes from fc5d3678..767640fe
767640fe Merge commit 'ee5a445a02e63b9973f1ebe9325556973033bb31'
ee5a445a Squashed 'phreeqcpp/' changes from b8182e5..0f2dfae

git-subtree-dir: src
git-subtree-split: 767640fe35eca288be7f6597e5e88cbbad9f600f
2025-08-14 00:09:12 +00:00
github-actions[bot]
bc05d0a090 Merge commit '846d30ae5211cbabde521d866a67454cd0fe48b0' 2025-08-14 00:09:12 +00:00
github-actions[bot]
8f505c6f00 Squashed 'src/' changes from b33a48e2..fc5d3678
fc5d3678 Merge commit 'cf140ebf070063962cfffd64b0b9cdb36f70995f'
cf140ebf Squashed 'phreeqcpp/' changes from 6991516..b8182e5
d69db23e Merge commit 'dd44fc2b0f3a6e6820b5f703741faa0a25b89530'
dd44fc2b Squashed 'phreeqcpp/' changes from b24dedb..6991516

git-subtree-dir: src
git-subtree-split: fc5d3678d9a257fb50c31b9507414db048cd7559
2025-08-06 22:49:50 +00:00
github-actions[bot]
204b0e3455 Merge commit '8f505c6f0035e9a9f2cbb5e575247a521025ab13' 2025-08-06 22:49:50 +00:00
github-actions[bot]
275553971d Squashed 'phreeqc3-examples/' changes from 1dbd65fc..6baa6075
6baa6075 Add workflows and configuration for syncing and linting subtrees

git-subtree-dir: phreeqc3-examples
git-subtree-split: 6baa60752980bb9647c76f946256341b16fb9ca8
2025-08-06 22:48:19 +00:00
github-actions[bot]
59677a76c2 Merge commit '275553971d84e878866e8e326a6c3766a7e96aaa' 2025-08-06 22:48:19 +00:00
github-actions[bot]
0a5c6fc279 Squashed 'phreeqc3-doc/' changes from 394240f2..05a4c62f
05a4c62f Add workflows and configuration for syncing and linting subtrees

git-subtree-dir: phreeqc3-doc
git-subtree-split: 05a4c62f48558d3d9c4b3dccf6ea4f2bb1f3b8e2
2025-08-06 22:48:18 +00:00
github-actions[bot]
854f17c298 Merge commit '0a5c6fc279b5f7ba17de9303bf5bbf21c7c56f79' 2025-08-06 22:48:18 +00:00
github-actions[bot]
7ad9ab5dc6 Squashed 'database/' changes from dd98e151..5df53219
5df53219 Add workflows and configuration for syncing and linting subtrees

git-subtree-dir: database
git-subtree-split: 5df53219e1f6143cee10c67da88317f0dcd00c2b
2025-08-06 22:48:17 +00:00
github-actions[bot]
af8fe101e2 Merge commit '7ad9ab5dc63ff6a4fa4400c19ac9ef8cdefed9c6' 2025-08-06 22:48:17 +00:00
github-actions[bot]
5e10caae9d Merge commit 'eead2b365915e5b65f4840e5f3fac5a0c4de749b' 2025-08-06 22:48:16 +00:00
github-actions[bot]
eead2b3659 Squashed 'examples/fortran/' changes from 209412f4..5b829f90
5b829f90 Add workflows and configuration for syncing and linting subtrees

git-subtree-dir: examples/fortran
git-subtree-split: 5b829f90667aefbe9eaaf9b1c97d7be7ddb87fa6
2025-08-06 22:48:16 +00:00
github-actions[bot]
75b4b5a33f Merge commit 'dc7a88c8c0b3206fe183e81736b77cbcfa7c8ec4' 2025-08-06 22:48:15 +00:00
github-actions[bot]
dc7a88c8c0 Squashed 'examples/com/' changes from a0ea2708..98de25e0
98de25e0 Add workflows and configuration for syncing and linting subtrees

git-subtree-dir: examples/com
git-subtree-split: 98de25e096d6eb025f06a702576a562317aa6a6d
2025-08-06 22:48:15 +00:00
github-actions[bot]
dd9748d1b3 Merge commit '12119014f706723cce192eee04b88f39c96686e7' 2025-08-06 22:48:14 +00:00
github-actions[bot]
12119014f7 Squashed 'examples/c/' changes from 1680e5b7..371cbbd8
371cbbd8 Add workflows and configuration for syncing and linting subtrees

git-subtree-dir: examples/c
git-subtree-split: 371cbbd81ba4173cbe3c13d267fda1573be27425
2025-08-06 22:48:14 +00:00
github-actions[bot]
e2bd17174b Squashed 'src/' changes from b15a6bde..b33a48e2
b33a48e2 Add workflows and configuration for syncing and linting subtrees

git-subtree-dir: src
git-subtree-split: b33a48e2bab452868b846a242ce3ac8ba7e4748f
2025-08-06 22:48:13 +00:00
github-actions[bot]
6e1567d3f9 Merge commit 'e2bd17174b917c46184eaf107ea7add8f4b328e6' 2025-08-06 22:48:13 +00:00
Charlton, Scott R.
4a0e162b91 Add workflows and configuration for syncing and linting subtrees
- Created .github/subtrees.json to define subtree repositories.
- Added linting workflow for subtrees.json in .github/workflows/lint-subtrees.yml.
- Implemented sync workflow for subtrees in .github/workflows/subtree.yml.
- Created subtrees.json and superprojects.json files in database, examples/c, examples/com, and examples/fortran directories.
- Added linting workflows for subtrees.json and superprojects.json in respective directories.
- Established sync workflows for subtrees in examples/c, examples/com, examples/fortran, and src directories.
- Configured subtrees.json and superprojects.json for src and src/phreeqcpp directories.
- Implemented linting workflows for subtrees.json and superprojects.json in src and src/phreeqcpp directories.
- Added common superprojects.json in src/phreeqcpp/common directory.
2025-08-06 16:46:25 -06:00
github-actions[bot]
4b6ccf92ee Merge commit '1dbd65fc74fc452b40d37030c51cff2f9bccf894' 2025-07-06 19:33:43 +00:00
github-actions[bot]
024ae099dc Merge commit '394240f20af07dabe460ea1f6ce11016f7427362' 2025-07-06 19:33:40 +00:00
github-actions[bot]
dbc2e0c148 Merge commit 'dd98e151672348f240062be7fe72242e86226696' 2025-07-06 19:33:37 +00:00
github-actions[bot]
fccff09dc7 Merge commit '209412f4d9d11bfeb15d74cbf7372ea6787a49cd' 2025-07-06 19:33:33 +00:00
github-actions[bot]
0722d127ad Merge commit 'f9d9549bf30116e33f20721af068979ec4ca5d6d' 2025-07-06 19:33:30 +00:00
github-actions[bot]
83183aa1b1 Merge commit 'be121f9d8a5f3eef3195eff02c90c2dcdbb7cf9c' 2025-07-06 19:33:27 +00:00
github-actions[bot]
9a4186b178 Merge commit 'c3280180d4e23deabfa427fe80b3a89d0d9d4d5f' 2025-07-06 19:33:24 +00:00
github-actions[bot]
00cf2328a8 Merge commit 'c3b41a797af2b4e38b6fee6b68480d762dcf1311' 2025-07-06 19:24:13 +00:00
github-actions[bot]
c3b41a797a Squashed 'examples/c/' changes from 1680e5b7..be121f9d
be121f9d Add workflows for linting and syncing subtrees, and update subtrees.json format

git-subtree-dir: examples/c
git-subtree-split: be121f9d8a5f3eef3195eff02c90c2dcdbb7cf9c
2025-07-06 19:24:13 +00:00
github-actions[bot]
cc90e24b2b Merge commit '7ab2a246ea7474f8e386af8efb675ab02642857f' 2025-07-06 19:24:12 +00:00
github-actions[bot]
7ab2a246ea Squashed 'src/' changes from 06302c77..79654e62
79654e62 Add workflows for linting and syncing subtrees, and update subtrees.json format

git-subtree-dir: src
git-subtree-split: 79654e62f12543065b480f127e77de58d335d1e0
2025-07-06 19:24:12 +00:00
Charlton, Scott R
c3280180d4 Add missing comma and ensure repo field is included in subtrees.json 2025-07-06 13:23:29 -06:00
Charlton, Scott R.
afefbbcf95 Add missing comma and ensure repo field is included in subtrees.json 2025-07-06 13:23:29 -06:00
Charlton, Scott R
be121f9d8a Add workflows for linting and syncing subtrees, and update subtrees.json format 2025-07-06 13:08:57 -06:00
Charlton, Scott R
79654e62f1 Add workflows for linting and syncing subtrees, and update subtrees.json format 2025-07-06 13:08:57 -06:00
Charlton, Scott R.
22eab2be4d Add workflows for linting and syncing subtrees, and update subtrees.json format 2025-07-06 13:08:57 -06:00
Charlton, Scott R.
7ac0cb0f25 Update GH_TOKEN to use secrets for enhanced security in sync-subtrees job 2025-07-05 16:31:12 -06:00
Charlton, Scott R.
4460ae04d3 Add GH_TOKEN environment variable to sync-subtrees job 2025-07-04 11:35:28 -06:00
Charlton, Scott R.
84b364ec81 Add repository fields to subtrees.json for better clarity 2025-07-03 23:30:21 -06:00
github-actions[bot]
4cc5917781 Squashed 'src/' changes from 9592f209..06302c77
06302c77 Rename job from 'lint-subtrees' to 'lint-superprojects' in lint-superprojects.yml
10b11c09 Add superprojects.json and lint workflow for validation

git-subtree-dir: src
git-subtree-split: 06302c777e7281f119eb50abc18feb78a583c56c
2025-06-30 23:39:23 +00:00
github-actions[bot]
3af0a15c5f Merge commit '4cc59177811120eb31fa87f6e690e86b53cc630f' 2025-06-30 23:39:23 +00:00
Charlton, Scott R
06302c777e Rename job from 'lint-subtrees' to 'lint-superprojects' in lint-superprojects.yml 2025-06-30 16:05:08 -06:00
Charlton, Scott R.
4120429fd6 Rename job from 'lint-subtrees' to 'lint-superprojects' in lint-superprojects.yml 2025-06-30 16:05:08 -06:00
github-actions[bot]
513d19f200 Squashed 'src/' changes from 311bc42e..9592f209
9592f209 Add workflows for linting and syncing subtrees.json

git-subtree-dir: src
git-subtree-split: 9592f20922bb8dd17431c8975db68b17ab6598c1
2025-06-30 21:53:38 +00:00
github-actions[bot]
5cde416571 Merge commit '513d19f200244cf3325f96441610462ebf258c69' 2025-06-30 21:53:38 +00:00
Charlton, Scott R
10b11c09fd Add superprojects.json and lint workflow for validation 2025-06-30 15:52:08 -06:00
Charlton, Scott R.
34ef558eaf Add superprojects.json and lint workflow for validation 2025-06-30 15:52:08 -06:00
github-actions[bot]
367cad0d9b Squashed 'src/' changes from 61c8612f..311bc42e
311bc42e Update subtrees.json and workflows to use 'usgs-coupled' for GROUP environment variable

git-subtree-dir: src
git-subtree-split: 311bc42e32f3da405b3b7b8c89da0790b7088269
2025-06-28 22:37:04 +00:00
github-actions[bot]
d9ae5ebdeb Merge commit '367cad0d9bdc4cff58b644a8b3753cacb2605fd5' 2025-06-28 22:37:04 +00:00
Charlton, Scott R
9592f20922 Add workflows for linting and syncing subtrees.json 2025-06-28 16:34:48 -06:00
Charlton, Scott R.
64b38cbef3 Add workflows for linting and syncing subtrees.json 2025-06-28 16:34:48 -06:00
Charlton, Scott R
311bc42e32 Update subtrees.json and workflows to use 'usgs-coupled' for GROUP environment variable 2025-06-28 16:06:57 -06:00
Charlton, Scott R.
a79d436ec2 Update subtrees.json and workflows to use 'usgs-coupled' for GROUP environment variable 2025-06-28 16:06:57 -06:00
github-actions[bot]
e438f3677e Squashed 'src/' changes from 86e81886..61c8612f
61c8612f Fix URL format in subtrees.json for phreeqcpp prefix

git-subtree-dir: src
git-subtree-split: 61c8612f428fa5ce06333c598772249530c8221c
2025-06-28 21:58:05 +00:00
github-actions[bot]
a9009ea3ab Merge commit 'e438f3677e8fb900d6482682b249fc985a21ccff' 2025-06-28 21:58:05 +00:00
Charlton, Scott R.
1a279aa00e Update GROUP environment variable to 'usgs-coupled' in workflow files 2025-06-28 15:55:48 -06:00
github-actions[bot]
c429f102bd Merge commit '336b21f6e3e4094768b447f9a52ec3fb82625bcd' 2025-06-28 04:27:59 +00:00
github-actions[bot]
336b21f6e3 Squashed 'src/' changes from 29c7e04b..86e81886
86e81886 Add sync-subtrees workflow for managing repository subtrees

git-subtree-dir: src
git-subtree-split: 86e81886791cdc8973c6526c4f0168dfc9a9be07
2025-06-28 04:27:58 +00:00
Charlton, Scott R
61c8612f42 Fix URL format in subtrees.json for phreeqcpp prefix 2025-06-27 22:26:32 -06:00
Charlton, Scott R.
f11422e59c Fix URL format in subtrees.json for phreeqcpp prefix 2025-06-27 22:26:32 -06:00
Charlton, Scott R
86e8188679 Add sync-subtrees workflow for managing repository subtrees 2025-06-27 21:24:48 -06:00
Charlton, Scott R.
83fbeb407b Add sync-subtrees workflow for managing repository subtrees 2025-06-27 21:24:48 -06:00
github-actions[bot]
d888aa0ea5 Squashed 'src/' changes from 9afaa30d..29c7e04b
29c7e04b Remove SSH_PRIVATE_KEY environment variable from lint-subtrees workflow
ae645ff3 Remove SSH_PRIVATE_KEY environment variable from lint-subtrees workflows

git-subtree-dir: src
git-subtree-split: 29c7e04b5c55d4508bb78bc4663b05aac1a5691a
2025-06-28 03:17:34 +00:00
github-actions[bot]
a22b324a2b Merge commit 'd888aa0ea55e500f2bd0e665a492575f079df9b1' 2025-06-28 03:17:34 +00:00
Charlton, Scott R.
9b01d8b5b5 Remove unused GITHUB_TOKEN from sync-subtrees workflow 2025-06-27 21:16:45 -06:00
Charlton, Scott R.
3a9a5e7e5f Merge branch 'subtree' 2025-06-27 20:59:07 -06:00
Charlton, Scott R
29c7e04b5c Remove SSH_PRIVATE_KEY environment variable from lint-subtrees workflow 2025-06-27 20:57:46 -06:00
Charlton, Scott R.
d24994e83f Remove SSH_PRIVATE_KEY environment variable from lint-subtrees workflow 2025-06-27 20:57:46 -06:00
Charlton, Scott R
ae645ff334 Remove SSH_PRIVATE_KEY environment variable from lint-subtrees workflows 2025-06-27 20:55:06 -06:00
Charlton, Scott R.
281360bcc1 Remove SSH_PRIVATE_KEY environment variable from lint-subtrees workflows 2025-06-27 20:55:06 -06:00
Charlton, Scott R.
990fca2df9
Refactor code structure for improved readability and maintainability (#73)
The GitHub Actions workflow configuration for `sync-subtrees-action` was cleaned up by modifying parameter names and updating the SSH private key secret.
2025-06-27 20:42:18 -06:00
Charlton, Scott R.
1149e64cad
Merge branch 'master' into subtree 2025-06-27 20:37:45 -06:00
github-actions[bot]
f2ee6230bc Squashed 'src/' changes from 64825ec7..9afaa30d
9afaa30d Add comment to clarify the use of sync-subtrees-action in lint-subtrees.yml

git-subtree-dir: src
git-subtree-split: 9afaa30df10999663473b53c5863c777af9b1ae4
2025-06-27 01:14:06 +00:00
github-actions[bot]
d03bb744e7 Merge commit 'f2ee6230bc27cebfd005d29f2f1c4ad4fb2ed82e' 2025-06-27 01:14:06 +00:00
Charlton, Scott R.
9afaa30df1 Add comment to clarify the use of sync-subtrees-action in lint-subtrees.yml 2025-06-26 19:10:03 -06:00
Charlton, Scott R.
904e9b3595 Fix SSH private key secret reference in sync-subtrees-action configuration 2025-06-26 19:05:18 -06:00
github-actions[bot]
c73b98be10 Squashed 'src/' changes from 470638d9..64825ec7
64825ec7 Add comment to clarify manual trigger for linting workflow in lint-subtrees.yml

git-subtree-dir: src
git-subtree-split: 64825ec73cbad2a119fb60c270431b5a5fd0e7db
2025-06-26 18:49:41 +00:00
github-actions[bot]
c713c0039e Merge commit 'c73b98be10295f3ea185b6342a3a2853c89affd3' 2025-06-26 18:49:41 +00:00
Charlton, Scott R.
9ace336e12 Update SSH private key secret reference in sync-subtrees-action configuration 2025-06-26 12:48:40 -06:00
Charlton, Scott R.
64825ec73c Add comment to clarify manual trigger for linting workflow in lint-subtrees.yml 2025-06-26 12:40:11 -06:00
github-actions[bot]
6a325b52d5 Squashed 'src/' changes from e6661a8f..470638d9
470638d9 Add clarification comment for linting workflow in lint-subtrees.yml

git-subtree-dir: src
git-subtree-split: 470638d989483487fb560f5f4cfeec8f87a52de3
2025-06-26 18:27:07 +00:00
github-actions[bot]
b92227fe9a Merge commit '6a325b52d5ee1821aa7de84d111c6354e36fb0d6' 2025-06-26 18:27:07 +00:00
Charlton, Scott R.
966b0fc851 Fix SSH private key secret reference in sync-subtrees-action configuration 2025-06-26 12:25:56 -06:00
Charlton, Scott R.
470638d989 Add clarification comment for linting workflow in lint-subtrees.yml 2025-06-26 12:23:54 -06:00
github-actions[bot]
02c5a6472f Squashed 'src/' changes from 9545998b..e6661a8f
e6661a8f Add comment to clarify purpose of linting workflow for subtrees.json

git-subtree-dir: src
git-subtree-split: e6661a8fba6b120fbc3325347b1a9448e6434588
2025-06-26 18:19:20 +00:00
github-actions[bot]
8d00fbd2a5 Merge commit '02c5a6472fcbc888039cf0b1159757b3c7a2fcf5' 2025-06-26 18:19:20 +00:00
Charlton, Scott R.
e6661a8fba Add comment to clarify purpose of linting workflow for subtrees.json 2025-06-26 12:18:10 -06:00
Charlton, Scott R.
365c9646e2 Update SSH private key secret reference in sync-subtrees-action configuration 2025-06-26 11:51:38 -06:00
Charlton, Scott R.
6dc392967d Fix parameter name for default branch in sync-subtrees-action configuration 2025-06-25 23:20:20 -06:00
Charlton, Scott R.
250d1f1f87 Fix parameter names in sync-subtrees-action configuration in GitHub Actions workflow 2025-06-25 23:11:29 -06:00
github-actions[bot]
eb0dac9960 Merge commit '340a98787f19221e16cb4deeb2564a3a1e91e53f' 2025-06-26 00:18:32 +00:00
github-actions[bot]
340a98787f Squashed 'examples/com/' changes from a0ea2708..f9d9549b
f9d9549b Merge commit 'fc1d6ef789171ce6feef8a7ad5fe0ce298a2a4d9'
26ffbfee Fix typos
f7a1be4e Merge commit 'e9b2c29221ea97c7fbab9fdfced5fed601ea2e0f'
b56d60a6 Merge commit 'ce6d37c593b1ba9c23cad05228bd1f57b50d5ccc'
e007a52c Updated for phreeqc changes Introduce end-of-line normalization for CMakeLists.txt
1cce1503 Merge commit '59900306d4ccdc5f16a8ea479c234b7d4640dcf2'
bffad8cc Added sleeps after curl -X POST
bef44883 Merge commit 'f4cdf1a12b67211e0dc567bcd80d8718963da0c3'
d98a0029 Merge commit 'a0ef46490f40ab0828b1a025da7d7dc00f407c98'
77aa5731 [iphreeqc] updated image location
7668c4c6 Merge commit 'fae004f42baa79cb40476a1814ffbf1278871c5f'
f7313acf Merge commit 'a1cf1e608ea822184059a4c93887c025f983bbfe'
030fa168 Merge commit '0163f911a4a33619d6e0960c24b6707bc27f8c61'
e1424d55 Merge commit '32073de75198725fcc69bfbe814941aecfdf6ba8'
195c800f Added .gitlab-ci.yml

git-subtree-dir: examples/com
git-subtree-split: f9d9549bf30116e33f20721af068979ec4ca5d6d
2025-06-26 00:18:32 +00:00
github-actions[bot]
264db5ed7a Squashed 'src/' changes from b15a6bde..9545998b
9545998b Merge commit 'dc93b6ea031d5bfb9b1a211261364f25d9bfb426'
5f0ff470 Refactor GitHub Actions workflows for subtree management and add subtrees.json configuration
5824a7cd Merge commit 'febfa05e38044719e80b19c6a74a6070fce3c1e7'
142a8641 Merge commit 'ff1bded8415c84af23ef99cbd47c0a9ef7a69a76'
444ba08c Merge commit '35f13a0f66449dd0d7f01732a52d2c2078728e2a'
584bb5a6 Merge commit 'd3b4c500de84f4dd207eb30b3a612fac16db167d'
bc21c20a Merge commit '3e3c06308338cfdb1eda420553ff9b6058a95643'
8a45f9f2 Fix typos
0014b5b0 Merge commit '3e1c0d11a21bedfeb288ed4a8737d0a9287e2e7f'
8b212627 59 compiler error on macos (#60)
72075d5a Merge commit '21df9497a0c5083f8e6add67e29601662ff47598'
90b9269e Merge commit '5f272b1fe3cfa93d5e5512461e41d049fc3a00be'
092e3664 Merge commit 'e5c4d819de6ffc5246306e4ed4301c69d9754efa'
d1745978 Merge commit 'aa9d98adea8397aa2f047ceb93ccc18aa9e726a6'
7814bf74 Merge commit 'dfdd36142fe914b3e6b89a5c55abc2eb4df8e19e'
418104cb Merge commit 'c27bfc7b64e0b47c6bde0ea233919dfa87808993'
7f683b40 Merge commit '622bc5fb4cc8f67f9303e45c98397b97fe30822f'
0bd82175 Merge commit 'ca6b882bcab9708f90c8761e0d4a4d572c57fce7'
9fac273e Merge commit 'ce2280a77a81e5a8214ae01f97e9766e168327cf'
672e854d Merge commit '9782e02486e4dfbb3148cdd6c235422caa8c06e6'
aa8cdd01 Merge commit 'd7222e4f0b773e52ff448f83ba057ec492471ea1'
62ebb6ad Merge remote-tracking branch 'usgs-coupled/master'
1e41b0ca 50 apple clang 15 with c++11 or higher reports warnings wwritable strings in pbasiccpp (#57)
48ea6ea0 Merge commit '2d96a188772ef1fd12575913362d1fa01f198be8'
99e8a527 Merge pull request #48 from SpaceIm/fix/include-stddef-no-fortran
29f1d409 reorder classes in global_structures.h to avoid incomplete definitions
c2446417 add missing include of stddef.h in IPhreeqc.h if no fortran module
4c58a0f6 Merge commit '7c714dfbd3c917247c9c9346799bb3fa1b9dee16'
78f374b8 Merge commit '0e2456f051d9e2ad6f61f899721fa8ab2db1a30c'
05175294 Merge commit '231f8e36589ed86c2270d0915bb91cc74b4a15ef'
ab922805 Merge commit '1ec7448cb08f1cc2917b33e3337946a8da23208f'
a8ac4794 [iphreeqc] Fixed for R
ca0ba8d5 Merge commit 'ed24ec246bbfdcd57adbd0d4a9e8fe088a5de5b7'
051687d3 Merge commit '9ba726de0f8b36a9143922bf148f6a259982756a'
967cc4e6 Merge commit '7552f8f680a41d12454080cc1174765c86bb6354'
bbcb4c0e Merge commit '06332bcb62daece34f3818f46e11064a56799f23'
ad75e79e Merge commit '51648664f6f6550440d014f3a985ef9d575c02bd'
a162eb9e Merge commit 'fff75534d73a06719ce2fbb482f843e0fb9dc4c6'
fcaf4393 Merge commit '9882e3df3cca85659da2a430ffe240f895cdb272'
894d1c4d Merge commit 'a159b5af317ba8b61dd3a6c9242a98e76829467d'
01a8b140 Merge commit 'b1888bb5d68d0ae9736556acd5702d44448eb492'
1ba26537 Merge commit '799a4e7ee471ab80ac21f4dceb7233324576c6da'
ff966074 Merge commit '1d8783186c3d231e5ca909a0427cb33b2c29d558'
f23a7381 Merge commit 'ccdbd0ce2040eb00006775fe0cf2ab2faf4138b5'
15388e0f Merge commit '63ca4c7ef4b0202b4b6c6cd3463158dc10bfa758'
df6534c7 Merge commit '07f1d0d4680fe19cf1d77ea86b6485b319607f96'
7a6efcbd Merge commit 'b96cfe81141ed6734872794468ac9bb321ba9d8b'
2294b1ed Try this to fix warning on Darwin
d336cd67 fixed ‘nullptr’ was not declared in this scope on ubuntu-16.04
7824c9cb Merge commit '7f291d1c56070131ef8e5b665c58dfb953ec5ebd'
b9e89390 Merge commit '70279357596338c2e09bbe32fefe5417e82193df'
83b1930e Merge commit 'd554fc3acfdfbe18c34c6c527fc685643129db2b'
77e7356d Merge commit 'd1b5d92efc04bd216d5354cb2df537d1ded008b0'
4883e481 Merge commit '37276c050f8194055e00a875c185c4f0ffe38abf'
832810fc Merge commit '1b2eb6ca0dfb1229d50bcb58c12ac6d6f63bbe4c'
42ba2432 Merge commit '10bcb271d74cf65f6427a7293f1b32c043bc7180'
4662baee Updated to pass unit tests on linux Added two additional selected_output tests:   TestSelectedOutputFileMultipleRuns   TestGetSelectedOutputRowCountMultipleRuns
6721837c Fixed bug that caused selected_output to accumulate in selected_output storage
b4b9e7da Merge commit '1a3663493c8f6e1f9accef266dce18790271ca2b'
c9d004b6 Merge commit 'fb29ba4c3af45fd6745970fda308ff13353edc9c'
1b46a8dc Merge commit '8d6d4a6b4fae111d36a3225507095202e684a40f'
3415544f Merge commit '90ccb6dc2bfcd1b2fa9aa0492f4553cf4f598f49'
bdef7c5d Merge commit '0e67b4a4541435fa7c4f2c07a642c313d5e1ce1a'
90aef6de Merge commit 'c50de2e4a793129b1bf6d016c2ed405544bd21cd'
76d4300c Merge commit 'd83e815edb69ae222734ebc4168810cae56e3cec'
14b90528 Merge commit '0e6c28f22663d72c558025b5ae69ce50ac3b2f62'
0032f142 Merge commit '7c3113fb1d452576ff5b6f00a39665a3e3c6da54'
36e3e73d Merge commit '71af2952a3513766833883f90c18105fd8e7f174'
8d3032c9 Merge commit '8494cef9c5aca1120ce55dbf0be46f87beb49b96'
a9b5eb69 Merge commit '4419fccb31acd4a82d2fbd618a45d4c78ae9aec6'
116b83a3 Merge commit '05d97e8baf75ee7adbef8da4511ae9b4e3e0b9df'
05e4a4d4 Merge commit '4fde5d2a9901d22e50df7ddf66dfaf9f6b808d20'
84f3957b Merge commit 'a695dadce25bdb17da3d297bd07e0d7873b64d4b'
5c1f3f19 Merge commit 'ad57aa549f45beecd2ae1bb6f2bbb2508af4bba4'
f0a66171 [webmod] webmod-dist-windows-git fails to build on jenkins
cc6f024c Merge commit 'c9064048568876e0687e08d6d6c65ab67111b732'
895d5dd3 Merge commit 'ce82b6836a8ae0dc278903bc218e9465da62e8bd'
38db9f9e Merge commit '1a19a99b23a31a1268b50af5429b3a89ee8e6a84'
d70da60d Merge commit '90affba324b6d44f0703f8b703d94a038f291a1c'
602df248 Merge commit '15c997e31499728d7beb32a621ef522b1c72799a'
391ffd10 Merge commit '9fac4a5659c122db2b529cd16deef696af1496e6'
5dfa353b Merge commit '5bef6c5841bbcf3276ad78f81c77673aa43e25b5'
2355c9f9 Merge commit '27d160eafc07e0c195861725fc0534960ae7e871'
963b9088 Merge commit 'a5c0125bc0670499ea06a874ed96f2e6fc5b3c45'
e60eb995 Merge commit 'eab05a830c0d10ca0eed06b7e4b917986b7b5e93'
00816dc6 [iphreeqc] Issue 8 -- change sprintf to snprintf for CRAN (#9)
8e55e49e Merge commit 'a284a4027629c14ed1dbc485b9aa448406e0acfd'
af34bf87 Merge commit '937409a9e6d4a687ec7691e24c401202359f5c09'
210dbba7 Merge commit '03171b2d91a8383671f4c4fa13d15ea44de687cf'
d4104547 Merge commit 'c995d50084cf598c12bdd45a585c8f67e999dc6e'
ab1c055d Merge commit '141cad01907c7aebf3d86161dc699d1e50e8aff0'
cc2c985a Merge commit '3ce6dfc59f237dc8788541d444a25693102a7208'
4d0e9a4c Merge commit '615fa476f56b91463f6c10e63b5266f412f87738'
eaff17f8 Merge commit 'f715edb5897985acf0692d2b0bde4ab34379469f'
2af383aa Merge commit '6e8b89a2ef1547d485ca8bd59016646bedbf746f'
6e8b89a2 Merge commit '2243d25babbc524e7875b3d591bb6b91c4399a95'
1c92ac16 Merge commit 'd3bdd8b54a3af64f157001e84f1f46cd1c4c89fc'
c7dfbb5f added newlines for CRAN
6f21dae9 Merge commit '60ad724c7a34fdd7a075e70da0e99a026d689bc2'
91823dd2 Merge commit '33f5157d8b000ea2b29ff1eef64e57761723ea31'
af0c0b0e Merge commit 'ae41a1ffa67d7b4bf60373a164e24802cb7a1797'
b135aab8 Merge commit 'fd78a499d084fc606f2df44065602e4017a895e0'
75c4938f Merge commit '47a8b4e3d826313c9c42fd3e74472574fedb4b84'
893faff9 Merge commit 'd4dfe590eb539c35219174adf5314480eebdf7f8'
48f9f227 Merge commit 'afff58ffb022065fab2fe9b960633f0b86e2066b'
8e7f7de5 Merge commit '9b94f8be88ba1d2b73948f2ddb790fd976fe8e0a'
510744ef Merge commit '37de8fa93ce958aeed5e61f6b3b3e507f059257e'
cbc40fac Merge commit '5b7cf2f8f32d1df2855a34f51102876527236915'
a68b8821 Merge commit '2e334cb417d144fb082c88cfcf5661ffa0cfacb8'
eebc11b3 made tally_table a vector of class tally
f3e27fcb Merge commit 'aa62814aa6731a0b093267ec2d361d4837fa3ba9'
b8563691 Merge commit '2efc74230a9105f21920ee93317781e1c56e34d1'
749cf8f4 Merge commit '4ae649449235703be5a460fae083169e1d7a10e8'
1371228f Merge commit '4a848dccec5e555fd493c1565b6cc1e0707caf05'
71ed896a Merge commit '8080cbce1e8b54fa33d4e86c2f10f8e443419bd9'
08e7576b Merge commit 'abacccd0ee631ddcaf427f200ced4db1d0cf626f'
a2974f37 Merge commit '2537a2c376658ea64bfaf37bc9738b76d71a787b'
acf0a143 Merge commit '4b9b99267b55b2c9ee5cbf96c4dff2cc1d946c40'
0abe01ca Merge commit 'bd0962591257268d0726bf54db1bbdc39f691ced'
fd0bc309 removed TESTING definition
c27e7010 updated for classify branch
7993336a Merge commit '2697dc958cee10b7a5fedeec8b98fbb2aa30f62a'
78223d97 Merge commit '0479fc1adaec4ef03f9d3755219119c118afc531'
5c0e7189 Merge commit '0aa30d21ac10b0ea13ad3cb1f701e7e3cac7eda7'
9dffd1b9 Merge commit '639490d0610cc02b8618567d95ff30833eafd6c2'
eb19293d Merge commit 'b1efa4f251731679e57d36e20579687b2d1efce2'
dabf07b5 Merge commit '4ca2e4e1f403f232428f1010ddaa422088b2f474'
cea69f62 Merge commit '7b0c2df096a26cb453170fe0a17c5e4d2fb8409e'
299be469 Merge commit 'de884e4e3637e62826fac1cea60d94759fb7a8cd'
30aece6c Merge commit '0c581ea4be8bceb2a122d409da9a8a2585c8daad'
e892cc16 Merge commit '8e9c5b3592fdf2b1b016a9da1d1e1f6f1c23ef45'
f686374e only call qsort with more than one element
b6a0f193 Merge commit 'c1c08f2f2d4a08ec86b46d70716fb709eb863e9c'
f03c3f7c Merge commit '3770354f0a980a6a5c3001bdf061d9543cb23c11'
29375bfc Merge commit 'ecbb26c3d7f6f15e97874b866b7b6b4a5be9a65d'
9ddd92f2 Merge commit '5688f837474cd7cda50564e379d291e9944a89fc'
d19a31a6 Merge commit '8c8f6fd176aa60c9e0349f0e79888e5d50aca079'
50e81af4 Merge commit 'd6e6d11b2868f770f394fd7f2635ddaaed6598df'
3d05ce17 Merge commit '710d0096aa62355bf6c212efb3f6f9392ccd3f37'
deec05fc Merge commit '62c51bb410b3f9fd18cc5a21b5341e9652089d86'
a75a9caa Merge commit '4473286a216928665f9c1b00932687c9945175a9'
0409a3ed Merge commit 'b9f44da20a78a23395d38205c001298f6a68bd0c'
dcd7188a Merge commit '20ab4be9f3235740e6ed5ede81bca488adffd991'
7ea1a6d4 Merge commit '2d2f55adc0376d3ba4bc366e0e8bcc44f658a9c7'
554256e3 Merge commit '33f589897a8e09ca3dd745b150f3eb6555347052'
d4a8833a Merge commit 'e224625f086369b838e5db00d5105b30f444b963'
fa25db5d Merge commit '50016849a03a70eeb0f714f23a3b56f1983a8189'
fb31cc38 [iphreeqc] updated image location
870f0f08 Merge commit '055ebf5c1ffe61bba8b37743f1bddd93007131b9'
0c9d4081 Merge commit '589d88ff89b061b46289530165ad032642fbdaa4'
b6fffd47 Merge commit 'f4bf55d7bf26ca64edec1836ca4d2708427962ce'
7cbba0ec Merge branch 'gtest' into 'master'
621401d3 reset for dlls
c03b987c Merge commit 'e904f5b730e622046aedacf704a6e888654c7517'
1f5428a9 Merge commit 'e562e09e9ae00671933f9800a302629f50d945dc'
53ad340b Merge commit 'ea2c663c90fe84a9c191eac91286bb2afed4bd15'
7faca848 Merge commit '0b0fced395d40a23a1eb8514688a812c13e4db02'
abb80b51 added src/phreeqcpp/common/PHRQ_exports.h
b030a0b9 Merge remote-tracking branch 'origin/master' into gtest
5ab593e6 Merge commit '18e137ff556c9e9410d9cb995bfc0369891bc484'
6e38872a Merge commit '3782d4420d3d6282315acfecf33b3c7e7da333d0'
c1077d70 Merge commit 'd4261840c7f7720e5a76a941790ce48d40480097'
99b48a4f Merge commit '6e7023f8428a4bfde82f7dc83287ae95b38f1d6b'
c4599034 added googletest and fixed some minor bugs
e221f73c implemented Get/SetErrorOn
75f4ab0b Merge commit 'b138ed208df65cd4653ea7a2e07332a3d3e1c8b2'
57cf38dd Merge commit '5631ce1e56cda328e8efac33a0ee998a7fd27489'
fb6c36a7 Merge commit '9d480bc124a4e9e979b4995476d086f90e3833e7'
24d69a05 Merge commit 'ea21e58a8f9bd9ae4de057ca2422d8a4f399826c'
5d70f691 Merge commit '9029c2bcba781cba475c035d5fb81f83c8ec56fa'
a19f9e7e Merge commit '74b541d42e40ef1ed8df0bfba9826e55b046e9f0'
bef8a01c Merge commit '1c3edaa7473043f049372de76a3d622b45d3fed3'
c41548d3 Merge commit '89ca3d279fed2341cf35bc240da008836972fc7e'
c7f9087c Merge commit 'a208e3948a804c8fb689fa980739e341b6696a32'
fa9c36cf Merge commit 'a4c582649b4aae5e535960843a7d71567ac3d12e'
939f7ed8 Merge commit '090f5e682b8b44251566a2624fe8189744f727c5'
981dd81e Merge commit '9bcc875c9ed6ddb30a29500ca89de8f9281bac80'
1bd3f958 Merge commit '8e901d060dba068ab2390e9917de4cee52c4979c'
40edae93 Merge commit 'bb5bcbf15eb0ff4efe3dceb70b3682fd6a59f47f'
eff757c8 Merge commit '108755553045b7943d024ecd512cddb233ee9c63'
22ec3a55 Merge commit '92807718ee036df029c57351fdd15b4a456d4496'
d5e6c6b7 Merge commit 'efbddbf6dc5b3bca3076b50d39c42a196ae551c8'
d48de197 Merge commit 'eed9de906915d10ceaf4ec3df3bf5ee3132ad80b'
5f653835 Added .gitlab-ci.yml
918da84d Merge commit '757927da596446462e8daceb57b20bba2c591f33'
bc0a05cc Merge commit 'aa963a9cae20b9634b4c41e7b6387a2b22b28445'
c5ff2477 Merge commit '0366caf10b0748d78cb718898c714e1397a008b4'
49681a22 Merge commit 'd97736a3a718c05c91a3aa6eb567c18538464436'
10163985 Merge commit 'd0e5bac5843adf417da9a722e8f8ae8405442d26'
9d49905c IPhreeqc: ifdef'd out references to std::cerr and std::cout
f6023203 Merge commit 'e5bf8b0aa61996d6b4ee40820a7b7f79cb649444'
077fbf97 Merge commit 'fd242bd33f1f6b3b91cd6d4f5a5336db0edfa81e'
1ab3235e Merge commit '3049467b561ef8176c81341b76b883b2179380f2'
9a6afb37 Merge commit 'd7188d25f30f33d2158082341224dda94f4bc1cc'
589d6ba5 Merge commit '679c637ed207c2a2418be64d4ee1ca140073ba90'
d7ab7115 Merge commit 'd8ba4ac6103d1c7c360f637fddab0625bc616878'
545e81ba Merge commit '63108ac76d6fa7c378c21690b6342333c4cb446c'
82dc185a Merge commit '86888c465e9f7ff2ab6e5dfea003fc6ba73383b6'
a18a3a3b Merge commit '26c751fd7e74b54a4e51859b0fcb35dc5c059558'
cde1f9fa Merge commit 'd9a6717e802cbfebd983b9b2b2bca59508b732f6'
a83306d3 Merge commit '86c543395fda4a9fe20062975c117edfca880c9d'
3a7b01f3 Merge remote-tracking branch 'coupled/master'
183eaeee CRAN: replaced deprecated std::ptr_fun with lambda function
e0e589f7 Merge commit '5b3379b947de79f9182a880a74500f50dc234f54'
957b1211 Merge commit '67342a4d0414680313fce8eca4c7f81c67b49004'
0b392972 Merge commit '8412823930dd6ea12f1be8dbbe64c50354748df2'
7ff05ddc Merge commit '5a46f0d778ddd534e263fa93df8e4d0baab370a3'
5a43b70d Merge commit 'aa34ac11538c27f39c44c34938411f1e00afce19'
79896027 Merge commit '79c28e50c1ac44195f0aafc8279f601f1f40c836'
027862ac Merge commit '94155a63c62b057011f9c961e240e0e04721ca05'
5b1de2f7 Merge commit '51fbb3d5b08d20592bbc358d2f7ca25b75c74691'
788a8426 Merge commit '1e4a2941b3b1d0cecacd0bba8c0252b87e74dca8'
b38349aa Merge commit '3b7308661a560e4d0984da531dbeb155a2420d1a'
2431c5b3 Merge commit 'f0c3701bdee8ef3901b9b50698eb46b61574d086'
f485cbe9 Merge branch 'issue-3' into 'master'
9cbf676d Merge commit 'fbde6453ae53afa9bd4910ff00b48ecccc1153b8'
7237eb26 Merge branch 'issue-2' into 'master'
e3ea51f8 Fixed -Wcatch-value warnings reported by CRAN
d157977b Merge commit '548aead510d42fd3998eb74be8a5f94396c69bea'
1eb3ed94 Merge commit '12df06b34cba4744a36bf519bb7298caf98a320a'
1bbc0044 Merge commit '43386a0bc4d26c2891a23c27cfb2bae0f6cec9eb'
f5695865 Merge commit 'f90fc5afeaa5347ef057416551bb406e8ce5d855'
4c7946af Added code to record git commit hash
ad4fc43e Merge commit '1a4422b8af0f7801aa8cfcff161804516ac50910'
6091a42e Merge commit '1bfc9f49d032d42460c4e993f3aafc8a3f341625'
8170cb98 Merge commit '749c3e09ee53cd345d1375e72ebf3c10591581b2'
eefd6bfa Merge commit '1150a4a2aa4b6957fbf8bb2cf1d0c58ce8cf81d5'
fdb8d137 Merge commit 'c2dada993c2edb3f80f9bae636ace9b099073051'
85c8d55a Merge commit '4235170d91bbc77f6775c141ada27b130518329b'
a8730c6e Merge commit '65dbd2c15b866dd75bc66faab28f0761ebaf348d'
c1c6ca18 Merge commit '6e92ecf9efab80668453622bc42226616043320e'
bf865f6a Merge commit 'dbefc44f31ee85768c0ac5a2f9eeba05c525eabe'
9e0bf943 Merge commit 'c83e4bf78e37924add9da5889dc133e335d3efe6'
a69488c6 Merge commit 'c4fa021ec11b89ab9f4498823409abae9c256d1b'
39d69af2 Merge commit 'ec4ec0a3cb6abe172788ffc9d7db5d183390b4da'
30ae101a Merge commit '3a0292c6956e0bb4d9bf1e9b4bed9831ac517d39'
da6660ae Merge commit '7b836dd6cffc6e52c29192e6ae7583044c27cadb'
bda358e2 Merge commit 'b3e7b2eca602b628e05c15dd920a1cb470980736'
d667690f Merge commit 'ae05e0a661652f55323bd8f394a8907b01df36ad'
a56973f6 Merge branch 'cran-warnings' into 'master'
e5a7fa63 [IPhreeqc] added parens for clang++ -Wlogical-op-parentheses
088f389c Merge commit '113fd9aa5ed6507dabd3364a831d8bcbc9cf17c4'
0f7b19ad Merge commit '6894b4a7b1ef73cae9d582609173cb84f52e5b3c'
c6865539 Merge commit 'd96f386211ad5fbace94d550ca371d9eacb3262f'
f2e39872 removed register keywords and updated for misc clang warnings
487accaf Merge commit 'ebeddcde9d54e3e79c8923496a0b7573432d9388'

git-subtree-dir: src
git-subtree-split: 9545998b7058790c2d5523f0191ed0ffc44ae44c
2025-06-26 00:18:26 +00:00
github-actions[bot]
0bccf2aca8 Merge commit '264db5ed7a41ee575f227d7cacedf0b61f40b1d5' 2025-06-26 00:18:26 +00:00
github-actions[bot]
9545998b70 Merge commit 'dc93b6ea031d5bfb9b1a211261364f25d9bfb426' 2025-06-26 00:11:32 +00:00
Charlton, Scott R.
9c5d9b3e6b
Cleanup (#72) 2025-06-25 14:29:02 -06:00
Charlton, Scott R.
841ae669d6 Cleanup 2025-06-25 13:12:03 -06:00
Charlton, Scott R
5f0ff470f6 Refactor GitHub Actions workflows for subtree management and add subtrees.json configuration 2025-06-25 13:04:41 -06:00
Charlton, Scott R.
d53f91d57b Refactor GitHub Actions workflows for subtree management and add subtrees.json configuration 2025-06-25 13:04:41 -06:00
Charlton, Scott R.
d74ca5abbe Changed to ssh protocol 2025-06-20 18:19:03 -06:00
Charlton, Scott R.
cc60dbb615
Master subtree (#71)
Still working on subtree merging
2025-06-10 12:19:04 -06:00
Charlton, Scott R.
a85c274903
Merge pull request #70 from usgs-coupled/master-subtree
Merged to test manual run
2025-05-31 17:01:58 -06:00
Charlton, Scott R.
4ccb129917 Only run manually 2025-05-31 16:55:39 -06:00
Charlton, Scott R.
ced9d90841 Working on subtree merge 2025-05-31 16:52:37 -06:00
Darth Vader
402dc2ec9b Squashed 'phreeqc3-examples/' changes from 31517c71..1dbd65fc
1dbd65fc Updated output for recent database changes

git-subtree-dir: phreeqc3-examples
git-subtree-split: 1dbd65fc74fc452b40d37030c51cff2f9bccf894
2025-03-14 18:23:20 +00:00
Darth Vader
6136c88a50 Merge commit '402dc2ec9b50394af226ce431a39925c1030fd2e' 2025-03-14 18:23:20 +00:00
Darth Vader
a3aa597dd5 Squashed 'database/' changes from ec0212de..dd98e151
dd98e151 Tony's changes Mar 12 plus my corrections.
c61c35ec Tony changes to basicsubs, updated viscosity for Sr, NH4, and tidied databases.

git-subtree-dir: database
git-subtree-split: dd98e151672348f240062be7fe72242e86226696
2025-03-14 18:23:18 +00:00
Darth Vader
aefd03ac34 Merge commit 'a3aa597dd53a2001e4879dbbc09e9f3658a3c1c8' 2025-03-14 18:23:18 +00:00
Darth Vader
febfa05e38 Squashed 'src/' changes from 0eb2b934..b15a6bde
b15a6bde Merge commit '7ec217d47bfff56057000e1ac954d46b31417083'
7ec217d4 Squashed 'phreeqcpp/' changes from a4886d6..b24dedb

git-subtree-dir: src
git-subtree-split: b15a6bded75060c7f1b9456de3892e307f5c6674
2025-03-14 18:23:15 +00:00
Darth Vader
5824a7cd5c Merge commit 'febfa05e38044719e80b19c6a74a6070fce3c1e7' 2025-03-14 18:23:15 +00:00
Darth Vader
6c9b8aaf07 Merge commit 'febfa05e38044719e80b19c6a74a6070fce3c1e7' 2025-03-14 18:23:15 +00:00
Darth Vader
dcf01e46e9 Squashed 'phreeqc3-doc/' changes from 71e7c5a0..394240f2
394240f2 Tony changes to basicsubs, updated viscosity for Sr, NH4, and tidied databases.

git-subtree-dir: phreeqc3-doc
git-subtree-split: 394240f20af07dabe460ea1f6ce11016f7427362
2025-03-14 18:23:12 +00:00
Darth Vader
03653d3b4a Merge commit 'dcf01e46e9e2cf6bc39c943042343aa3a066659c' 2025-03-14 18:23:12 +00:00
Darth Vader
b15a6bded7 Merge commit '7ec217d47bfff56057000e1ac954d46b31417083' 2025-03-14 18:22:27 +00:00
Darth Vader
7ec217d47b Squashed 'phreeqcpp/' changes from a4886d6..b24dedb
b24dedb Added missing newlines(\n) to distribution of species section
35afe0d Tony changes to basicsubs, updated viscosity for Sr, NH4, and tidied databases.

git-subtree-dir: phreeqcpp
git-subtree-split: b24dedb82589e656af7af947f3c475b49ba36fc4
2025-03-14 18:22:27 +00:00
Charlton, Scott R
1dbd65fc74 Updated output for recent database changes 2025-03-14 10:02:13 -06:00
David Parkhurst
dd98e15167 Tony's changes Mar 12 plus my corrections. 2025-03-12 02:58:54 -06:00
David Parkhurst
394240f20a Tony changes to basicsubs, updated viscosity for Sr, NH4, and tidied databases. 2025-03-11 17:12:09 -06:00
David Parkhurst
c61c35ecee Tony changes to basicsubs, updated viscosity for Sr, NH4, and tidied databases. 2025-03-11 17:12:09 -06:00
Darth Vader
95c70688aa Squashed 'phreeqc3-doc/' changes from 0a3757d4..71e7c5a0
71e7c5a0 Updated for 3.8.7

git-subtree-dir: phreeqc3-doc
git-subtree-split: 71e7c5a0341c24ad2d134e18cc7f22e6ddc2435a
2025-02-25 21:56:41 +00:00
Darth Vader
7578086671 Merge commit '95c70688aa2ff904a635b4de93970bf24acaa0e0' 2025-02-25 21:56:41 +00:00
Charlton, Scott R
71e7c5a034 Updated for 3.8.7 2025-02-25 14:47:08 -07:00
Charlton, Scott R
0547e23cdc Added code to generate stimela.ascii 2025-02-19 14:38:40 -07:00
Charlton, Scott R
83580b365e Set c++14
Updated googletest to 1.16.0
Added stimela.dat to tests and build-databases.R
2025-02-19 14:06:14 -07:00
Darth Vader
8e12e1d937 Squashed 'phreeqc3-doc/' changes from e7f79ef2..0a3757d4
0a3757d4 Added stimela.dat to installer

git-subtree-dir: phreeqc3-doc
git-subtree-split: 0a3757d4f3b62594cd20221591b262c39e0f01f6
2025-02-18 22:46:33 +00:00
Darth Vader
9871f67154 Merge commit '8e12e1d9376b8f97abcb8301cd5f9995c1fbf22e' 2025-02-18 22:46:33 +00:00
Charlton, Scott R
0a3757d4f3 Added stimela.dat to installer 2025-02-18 15:41:21 -07:00
Darth Vader
4a6ec6151e Squashed 'database/' changes from 4e898381..ec0212de
ec0212de removed tabs before eol in stimela.dat. Updated RELEASE.TXT.
3cf80a8a Added simela.dat-from Peter de Moel. Fixed bug in write_raw/read_raw GasComp, order of options

git-subtree-dir: database
git-subtree-split: ec0212ded233929c14fc4bc5d6f0d61604ef3c8e
2025-02-18 20:26:38 +00:00
Darth Vader
81e380194a Merge commit '4a6ec6151e2f155dd16dc438023b743fbc77e6ae' 2025-02-18 20:26:38 +00:00
Darth Vader
ff1bded841 Squashed 'src/' changes from 47bcb44d..0eb2b934
0eb2b934 Merge commit '7c05598ee390fee52f2860d8766542a615f08d9d'
7c05598e Squashed 'phreeqcpp/' changes from c81916a..a4886d6

git-subtree-dir: src
git-subtree-split: 0eb2b934364f19a7a20439de35f9a9b1d4753c1c
2025-02-18 20:26:35 +00:00
Darth Vader
142a864147 Merge commit 'ff1bded8415c84af23ef99cbd47c0a9ef7a69a76' 2025-02-18 20:26:35 +00:00
Darth Vader
6c58153c18 Merge commit 'ff1bded8415c84af23ef99cbd47c0a9ef7a69a76' 2025-02-18 20:26:35 +00:00
Darth Vader
34fef06d5c Merge commit '3a0f756ff7940772b9fdf5879b7fd0c8e744cbc5' 2025-02-18 20:26:32 +00:00
Darth Vader
3a0f756ff7 Squashed 'phreeqc3-doc/' changes from 797e95aa..e7f79ef2
e7f79ef2 removed tabs before eol in stimela.dat. Updated RELEASE.TXT.

git-subtree-dir: phreeqc3-doc
git-subtree-split: e7f79ef2413934217d74ebb84f9c3fc4369e648d
2025-02-18 20:26:31 +00:00
Darth Vader
0eb2b93436 Merge commit '7c05598ee390fee52f2860d8766542a615f08d9d' 2025-02-18 20:25:42 +00:00
Darth Vader
7c05598ee3 Squashed 'phreeqcpp/' changes from c81916a..a4886d6
a4886d6 Added simela.dat-from Peter de Moel. Fixed bug in write_raw/read_raw GasComp, order of options

git-subtree-dir: phreeqcpp
git-subtree-split: a4886d603340240f6632bf46ddf256881eac58f9
2025-02-18 20:25:42 +00:00
David Parkhurst
ec0212ded2 removed tabs before eol in stimela.dat. Updated RELEASE.TXT. 2025-02-12 22:31:30 -07:00
David Parkhurst
e7f79ef241 removed tabs before eol in stimela.dat. Updated RELEASE.TXT. 2025-02-12 22:31:30 -07:00
David Parkhurst
3cf80a8adf Added simela.dat-from Peter de Moel. Fixed bug in write_raw/read_raw GasComp, order of options 2025-02-12 21:48:14 -07:00
Charlton, Scott R.
b0491191e7
Updated cran artifacts 2025-01-10 12:23:44 -07:00
Darth Vader
1680cde7ab Squashed 'phreeqc3-examples/' changes from 1777f2bc..31517c71
31517c71 Updated output for 3.8.6 release

git-subtree-dir: phreeqc3-examples
git-subtree-split: 31517c71c70af07af992b2dceb8ebc1b8ff74e3d
2025-01-07 22:28:23 +00:00
Darth Vader
47ce8e0adb Merge commit '1680cde7ab23a71e3b514013815ccf08498a0dc8' 2025-01-07 22:28:23 +00:00
Charlton, Scott R
31517c71c7 Updated output for 3.8.6 release 2025-01-07 15:23:23 -07:00
Darth Vader
bc33cd7484 Squashed 'phreeqc3-doc/' changes from fd438d3e..797e95aa
797e95aa Updated RELEASE.TXT for 3.8.6

git-subtree-dir: phreeqc3-doc
git-subtree-split: 797e95aadd3e1dd2932a04e862b1716867e21c11
2025-01-07 21:05:42 +00:00
Darth Vader
a4109721f5 Merge commit 'bc33cd74844e5f14f8771f6cc85e6e89165ad2e9' 2025-01-07 21:05:42 +00:00
Charlton, Scott R
797e95aadd Updated RELEASE.TXT for 3.8.6 2025-01-07 14:02:43 -07:00
Darth Vader
3d759f6997 Squashed 'phreeqc3-examples/' changes from 8f9acfc7..1777f2bc
1777f2bc Merge branch 'mix_error' of github.com:dlparkhurst/phreeqc3-1 into mix_error
da8a610a Fixed examples to have fewer warnings. Fixed headers of some database files. Changed some output from warnings to comments.

git-subtree-dir: phreeqc3-examples
git-subtree-split: 1777f2bc99bd9b655e838908e0fdfb81bfdd1e3f
2025-01-07 20:00:06 +00:00
Darth Vader
a7e6f6d4c8 Merge commit '3d759f69973bad20c855f53a0a75a3db3b35516a' 2025-01-07 20:00:06 +00:00
Darth Vader
48d952740c Squashed 'database/' changes from bf60c1ca..4e898381
4e898381 Merge branch 'master' into mix_error
20d3a9e5 Fixed examples to have fewer warnings. Fixed headers of some database files. Changed some output from warnings to comments.

git-subtree-dir: database
git-subtree-split: 4e898381542ce722cd7c3c74fe9c2592ec34d41b
2025-01-07 20:00:03 +00:00
Darth Vader
8cb6444f3b Merge commit '48d952740c344516d2d238bc7f1ae41807a0b7d2' 2025-01-07 20:00:03 +00:00
Darth Vader
444ba08cda Merge commit '35f13a0f66449dd0d7f01732a52d2c2078728e2a' 2025-01-07 19:59:58 +00:00
Darth Vader
13bd43d71f Merge commit '35f13a0f66449dd0d7f01732a52d2c2078728e2a' 2025-01-07 19:59:58 +00:00
Darth Vader
35f13a0f66 Squashed 'src/' changes from b4a1f672..47bcb44d
47bcb44d Merge commit '7afa4755116f041a37c52ecdeb716a64033fdd1f'
7afa4755 Squashed 'phreeqcpp/' changes from b948e30..c81916a

git-subtree-dir: src
git-subtree-split: 47bcb44d5ee21759c606efe72f0a50d8d7c3b638
2025-01-07 19:59:57 +00:00
Darth Vader
47bcb44d5e Merge commit '7afa4755116f041a37c52ecdeb716a64033fdd1f' 2025-01-07 19:59:19 +00:00
Darth Vader
7afa475511 Squashed 'phreeqcpp/' changes from b948e30..c81916a
c81916a Fixed examples to have fewer warnings. Fixed headers of some database files. Changed some output from warnings to comments.

git-subtree-dir: phreeqcpp
git-subtree-split: c81916ad120db26b431bae629b25e64447b72c75
2025-01-07 19:59:19 +00:00
David Parkhurst
4e89838154 Merge branch 'master' into mix_error 2025-01-04 13:16:42 -07:00
David Parkhurst
1777f2bc99 Merge branch 'mix_error' of github.com:dlparkhurst/phreeqc3-1 into mix_error 2025-01-04 13:16:36 -07:00
David Parkhurst
20d3a9e5e6 Fixed examples to have fewer warnings. Fixed headers of some database files. Changed some output from warnings to comments. 2025-01-04 13:13:06 -07:00
David Parkhurst
da8a610a66 Fixed examples to have fewer warnings. Fixed headers of some database files. Changed some output from warnings to comments. 2025-01-04 13:13:06 -07:00
Darth Vader
0574a86c4e Squashed 'phreeqc3-examples/' changes from 09d4a0ba..8f9acfc7
8f9acfc7 Updated cmake_minimum_required and fixed surf_error test

git-subtree-dir: phreeqc3-examples
git-subtree-split: 8f9acfc77c9261e87c156056b8acafc21946298f
2024-12-06 16:50:10 +00:00
Darth Vader
b389eb39b4 Merge commit '0574a86c4ee8888db3264728889b391638cd3c29' 2024-12-06 16:50:10 +00:00
Darth Vader
584bb5a66f Merge commit 'd3b4c500de84f4dd207eb30b3a612fac16db167d' 2024-12-06 16:50:05 +00:00
Darth Vader
d3b4c500de Squashed 'src/' changes from 51eedbc2..b4a1f672
b4a1f672 Merge commit '3c8e294fd35563abbf53316d100d9f900e2b5b5a'
3c8e294f Squashed 'phreeqcpp/' changes from c369020..b948e30

git-subtree-dir: src
git-subtree-split: b4a1f672db7d7203a306a7c499cf8c67142da2bc
2024-12-06 16:50:05 +00:00
Darth Vader
f6affb8f0e Merge commit 'd3b4c500de84f4dd207eb30b3a612fac16db167d' 2024-12-06 16:50:05 +00:00
Darth Vader
b4a1f672db Merge commit '3c8e294fd35563abbf53316d100d9f900e2b5b5a' 2024-12-06 16:49:25 +00:00
Darth Vader
3c8e294fd3 Squashed 'phreeqcpp/' changes from c369020..b948e30
b948e30 Exception caught in PhreeqcI. Null pointer for bad definition in SURFACE_MASTER_SPECIES. Test case surf_error added, which catches the error, but run exits.

git-subtree-dir: phreeqcpp
git-subtree-split: b948e30d1ef801f52c99736b58e79dcff5537e23
2024-12-06 16:49:25 +00:00
Darth Vader
47a34ca634 Squashed 'database/' changes from 1a221cd7..bf60c1ca
bf60c1ca Fix typos

git-subtree-dir: database
git-subtree-split: bf60c1ca9d528f429086991e96e445f6b3976981
2024-12-06 00:27:57 +00:00
Darth Vader
c5e17364a0 Merge commit '47a34ca634047faf645ba7302fee4f6de934dcfd' 2024-12-06 00:27:57 +00:00
Darth Vader
fc1d6ef789 Squashed 'examples/com/' changes from af8d7af7..a0ea2708
a0ea2708 Fix typos

git-subtree-dir: examples/com
git-subtree-split: a0ea2708e5bace20877bdafb23bbe9f14b84c82d
2024-12-06 00:27:54 +00:00
Darth Vader
f9d9549bf3 Merge commit 'fc1d6ef789171ce6feef8a7ad5fe0ce298a2a4d9' 2024-12-06 00:27:54 +00:00
Darth Vader
7e74e00df1 Merge commit 'fc1d6ef789171ce6feef8a7ad5fe0ce298a2a4d9' 2024-12-06 00:27:54 +00:00
Darth Vader
bc21c20a34 Merge commit '3e3c06308338cfdb1eda420553ff9b6058a95643' 2024-12-06 00:27:53 +00:00
Darth Vader
3e3c063083 Squashed 'src/' changes from 7bae85a3..51eedbc2
51eedbc2 Fix typos

git-subtree-dir: src
git-subtree-split: 51eedbc27a828ff36a1ca732abea394e7f7f32bd
2024-12-06 00:27:53 +00:00
Darth Vader
50b5cfaf1f Merge commit '3e3c06308338cfdb1eda420553ff9b6058a95643' 2024-12-06 00:27:53 +00:00
Charlton, Scott R
8f9acfc77c Updated cmake_minimum_required and fixed surf_error test 2024-12-05 16:52:03 -07:00
Charlton, Scott R.
7d11ec3bc5
Merge pull request #66 from mwtoews/codespell
Fix typos
2024-12-05 16:34:32 -07:00
Charlton, Scott R.
7e412da938 Updated Author metadata 2024-12-03 17:10:50 -07:00
Charlton, Scott R.
4783d83671 Changed http to https 2024-12-03 16:13:01 -07:00
Charlton, Scott R.
b392fb02f6 Updated phreeqc urls for R 2024-12-03 15:28:50 -07:00
Mike Taves
bf60c1ca9d Fix typos 2024-12-02 15:28:05 +13:00
Mike Taves
51eedbc27a Fix typos 2024-12-02 15:28:05 +13:00
Mike Taves
26ffbfee94 Fix typos 2024-12-02 15:28:05 +13:00
Mike Taves
a0ea2708e5 Fix typos 2024-12-02 15:28:05 +13:00
Mike Taves
8a45f9f23a Fix typos 2024-12-02 15:28:05 +13:00
Mike Taves
31af15ae73
Fix typos 2024-12-02 15:28:05 +13:00
Charlton, Scott R.
980068c1dc
Added Authors@R field 2024-11-22 15:45:14 -07:00
Charlton, Scott R.
f2a8c8ee70
Added README.md 2024-11-22 14:46:02 -07:00
Charlton, Scott R.
f849e9f29f
Changed http -> https 2024-11-21 15:15:08 -07:00
Charlton, Scott R.
cb1ebf2d7f
Added devel for macos and windows 2024-11-21 14:33:39 -07:00
Charlton, Scott R
09d4a0ba8e [phreeqc3] (NH4)2SO4 database update from Tony 2024-11-20 17:25:39 -07:00
David Parkhurst
1a221cd778 (NH4)2SO4 database update from Tony 2024-11-20 14:49:09 -07:00
Charlton, Scott R
8bf423592e [phreeqc3] Updated outputs for 3.8.5 2024-11-19 14:16:37 -07:00
Charlton, Scott R
1421798482 Re-encoded ex22 to utf-8 2024-11-19 12:56:43 -07:00
Darth Vader
0014b5b0a5 Merge commit '3e1c0d11a21bedfeb288ed4a8737d0a9287e2e7f' 2024-11-19 01:18:44 +00:00
Darth Vader
80bf22d292 Squashed 'phreeqcpp/' changes from b576c75..c369020
c369020 59 compiler error on macos (#60)

git-subtree-dir: phreeqcpp
git-subtree-split: c369020dbdaee3179efad614d3e841ed4b470ccf
2024-11-19 01:17:49 +00:00
Darth Vader
7bae85a32f Merge commit '80bf22d292021bc23620baa144f0a685fa73a82f' 2024-11-19 01:17:49 +00:00
Charlton, Scott R.
8b2126270c 59 compiler error on macos (#60)
* Closes usgs-coupled/iphreeqc#59
2024-11-18 18:10:42 -07:00
Charlton, Scott R
3fd5b896c9 59 compiler error on macos (#60)
* Closes usgs-coupled/iphreeqc#59
2024-11-18 18:10:42 -07:00
Darth Vader
72075d5afb Merge commit '21df9497a0c5083f8e6add67e29601662ff47598' 2024-11-18 21:29:52 +00:00
Darth Vader
8184121c90 Squashed 'phreeqcpp/' changes from f5587da..b576c75
b576c75 two fixes for charge balance error when using PhreeqcRM.

git-subtree-dir: phreeqcpp
git-subtree-split: b576c752b474cafb9036e6c7b387cfc61d8f6c8d
2024-11-18 21:28:16 +00:00
Darth Vader
ce34aa5e05 Merge commit '8184121c90728d5026fa0485302e4584a559ffd8' 2024-11-18 21:28:16 +00:00
David Parkhurst
fd438d3e1f slight changes to Release.txt 2024-11-16 14:41:37 -07:00
David Parkhurst
ef355d8376 tweak to Release.txt 2024-11-16 12:31:29 -07:00
David Parkhurst
a75db3f65f Merge branch 'master' into mix_error 2024-11-16 12:04:54 -07:00
David Parkhurst
44aaa0e612 updated Release.txt for diffuse layer error. 2024-11-16 12:00:50 -07:00
Charlton, Scott R
70e57ae2d7 Added PHREEQCI fix 2024-11-14 09:49:46 -07:00
Darth Vader
90b9269e70 Merge commit '5f272b1fe3cfa93d5e5512461e41d049fc3a00be' 2024-11-14 01:39:23 +00:00
Darth Vader
b34eedb91d Squashed 'phreeqcpp/' changes from ccb9ba3..f5587da
f5587da Made GAS_BINARY_PARAMETERS backward compatible
f57db33 GAS_BINARY_PARAMETERS implemented. gas_binary_parameters test case
f4f1f69 Tweaked H+ viscosity in databases, new test cases fig1 and H_HCl_HBr

git-subtree-dir: phreeqcpp
git-subtree-split: f5587dae0a068b1346a04108be71e266860e4706
2024-11-14 01:37:56 +00:00
Darth Vader
57b3a6cd39 Merge commit 'b34eedb91d08cd3b5fd34a70311fad8c14c7854d' 2024-11-14 01:37:56 +00:00
Charlton, Scott R
48e4f32315 [phreeqc3] Updated outputs for 3.8.4 2024-11-13 18:19:41 -07:00
David Parkhurst
6ff8cfe341 Added documentation for GAS_BINARY_PARAMETERS 2024-11-11 10:39:19 -07:00
David Parkhurst
1cc308a15b Added documentation for GAS_BINARY_PARAMETERS 2024-11-11 10:39:19 -07:00
David Parkhurst
a3cbc5d8cd Made GAS_BINARY_PARAMETERS backward compatible 2024-11-11 09:16:50 -07:00
David Parkhurst
e5780c953e GAS_BINARY_PARAMETERS implemented. gas_binary_parameters test case 2024-11-09 10:27:38 -07:00
David Parkhurst
1f0c405f3f Updated Release.txt with PhreeqcRM bug fix 2024-11-07 21:44:36 -07:00
David Parkhurst
ae35abae47 fixed ex22 for graphing. Updated RELEASE.TXT 2024-11-01 17:14:06 -06:00
David Parkhurst
09bf7c8cb1 fixed ex22 for graphing. Updated RELEASE.TXT 2024-11-01 17:14:06 -06:00
David Parkhurst
c1dd17c7b2 Tweaked H+ viscosity in databases, new test cases fig1 and H_HCl_HBr 2024-11-01 15:59:36 -06:00
David Parkhurst
6dbd486499 Tony's changes to example 22 2024-11-01 09:05:00 -06:00
Charlton, Scott R
98fcfd3d56 [iphreeqc] Updated RELEASE.TXT 2024-10-25 12:11:34 -06:00
Darth Vader
092e3664df Merge commit 'e5c4d819de6ffc5246306e4ed4301c69d9754efa' 2024-10-22 23:30:51 +00:00
Darth Vader
5e9815843e Squashed 'phreeqcpp/' changes from 455b49c..ccb9ba3
ccb9ba3 Fixed uninitialized memory errors

git-subtree-dir: phreeqcpp
git-subtree-split: ccb9ba3c63b17166035f42586010bb43f217220b
2024-10-22 23:29:47 +00:00
Darth Vader
2d39015754 Merge commit '5e9815843e3a0854497d8191449a21ed24ebac47' 2024-10-22 23:29:47 +00:00
Darth Vader
d17459781e Merge commit 'aa9d98adea8397aa2f047ceb93ccc18aa9e726a6' 2024-10-22 01:05:32 +00:00
Darth Vader
301276613d Squashed 'phreeqcpp/' changes from 8c0d001..455b49c
455b49c Tony's tweak to transport, updated RELEASE.TXT
7233c29 fixed viscos_0 as new datum in solution class.
9f438c1 Tony's changes for viscosity and heat in transport. ex13_impl failed in Release.

git-subtree-dir: phreeqcpp
git-subtree-split: 455b49c2a7e20aef296e2cbd08348391c1e8d9e5
2024-10-22 01:04:23 +00:00
Darth Vader
74f96d02a5 Merge commit '301276613dd66ac3d604656ae135d9087e98ad69' 2024-10-22 01:04:23 +00:00
Charlton, Scott R
4a6ad41ab2 [phreeqc3] Updated outputs for 3.8.3 2024-10-21 18:46:00 -06:00
Charlton, Scott R
c703f2f3e0 [phreeqc3] Updated outputs for 3.8.3 2024-10-21 18:46:00 -06:00
David Parkhurst
46e71825e0 Tony's tweak to transport, updated RELEASE.TXT 2024-10-16 21:12:05 -06:00
David Parkhurst
91b76cb48a Tony's changes for viscosity and heat in transport. ex13_impl failed in Release. 2024-10-14 15:49:58 -06:00
Charlton, Scott R
c3e2310011 Removed extraneous files (#81) 2024-10-11 18:13:18 -06:00
Darth Vader
7814bf7463 Merge commit 'dfdd36142fe914b3e6b89a5c55abc2eb4df8e19e' 2024-10-11 19:14:04 +00:00
Darth Vader
9172a45eb2 Squashed 'phreeqcpp/' changes from ead498a..8c0d001
8c0d001 Changed Lamda to Lambda, but retained backward compatibility

git-subtree-dir: phreeqcpp
git-subtree-split: 8c0d00166b66af612f75b87eebc47f0badc6ce37
2024-10-11 19:12:45 +00:00
Darth Vader
1f19e9893b Merge commit '9172a45eb2d9bc13d777272d8320ebda14e78937' 2024-10-11 19:12:45 +00:00
David Parkhurst
1db6b42f19 Changed Lamda to Lambda, but retained backward compatibility 2024-10-08 21:01:57 -06:00
David Parkhurst
a8fd3b6a19 Changed Lamda to Lambda, but retained backward compatibility 2024-10-08 21:01:57 -06:00
Darth Vader
418104cbdf Merge commit 'c27bfc7b64e0b47c6bde0ea233919dfa87808993' 2024-10-08 22:02:45 +00:00
Darth Vader
792cdda060 Squashed 'phreeqcpp/' changes from c876219..ead498a
ead498a Merge pull request #79 from dlparkhurst/mix_error
4409349 fixed error with MIX that Scott found on merge.

git-subtree-dir: phreeqcpp
git-subtree-split: ead498ab60e71b7175c0e4bc6468a0804851ac20
2024-10-08 22:02:03 +00:00
Darth Vader
4f8c3967aa Merge commit '792cdda06002b1ebc354b23ca1af4edcdbd24c26' 2024-10-08 22:02:03 +00:00
Charlton, Scott R
aea752acf5 Merge pull request #79 from dlparkhurst/mix_error
Mix error
2024-10-08 15:47:45 -06:00
David Parkhurst
919f611947 ex12b added to examples 2024-10-08 14:19:47 -06:00
Darth Vader
7f683b4082 Merge commit '622bc5fb4cc8f67f9303e45c98397b97fe30822f' 2024-10-08 20:05:43 +00:00
Darth Vader
4e80a54467 Squashed 'phreeqcpp/' changes from 7c7fafd..c876219
c876219 Merge commit '64310ada821d1cc387af4507db7029fe3326784b'
64310ad Squashed 'common/' changes from 399aba2..648db22

git-subtree-dir: phreeqcpp
git-subtree-split: c876219b1b064ab7c17e0bc4ad8bff13e0aeb108
2024-10-08 20:05:00 +00:00
Darth Vader
d6a74675d7 Merge commit '4e80a54467a084df3b666c7d6fc56a4798fd3301' 2024-10-08 20:05:00 +00:00
Darth Vader
b537589773 Squashed 'phreeqcpp/' changes from e317dd0..7c7fafd
7c7fafd Merge pull request #78 from dlparkhurst/mix_error
eb0591c Merge pull request #74 from mwtoews/fix-typos
334df5e Tony's fix in heat transport
bf897a2 Marked old error in mix. Updated test case.
58566a6 Fix ah2o in adding a solution. Fixed bad_graph database.
75effd0 Merge branch 'viscosity' into mix_error
f4708df account for water mass in addition to mixing fractions
70954c6 mixing by water mass times mixing fraction
84b59ab Fix typos

git-subtree-dir: phreeqcpp
git-subtree-split: 7c7fafd686d7c41753132a978a1d55d4d25b601b
2024-10-08 20:04:33 +00:00
Darth Vader
0209fdf9c7 Merge commit 'b537589773f4819fe97ff8e5322bcd38c54b63f7' 2024-10-08 20:04:33 +00:00
Charlton, Scott R
9e8d773e18 Merge pull request #74 from mwtoews/fix-typos
Fix typos
2024-10-08 09:43:47 -06:00
Charlton, Scott R
757561b99b Merge pull request #74 from mwtoews/fix-typos
Fix typos
2024-10-08 09:43:47 -06:00
Darth Vader
0bd8217516 Merge commit 'ca6b882bcab9708f90c8761e0d4a4d572c57fce7' 2024-09-24 22:03:32 +00:00
Darth Vader
c155685f63 Squashed 'phreeqcpp/' changes from fdc0bb5..e317dd0
e317dd0 Guarded case with no points in curves for log axes. Added bad_graph test case.

git-subtree-dir: phreeqcpp
git-subtree-split: e317dd0e41bbfd18abd2255ab5f2cf3933cd4c69
2024-09-24 22:02:30 +00:00
Darth Vader
ac39375609 Merge commit 'c155685f6393b3cd780a56e72651eb79ea5f4bc1' 2024-09-24 22:02:30 +00:00
Charlton, Scott R
8d50b95a9f Updated output files for current version 2024-09-20 14:36:02 -06:00
David Parkhurst
24d2c771f3 Tony updated OH- viscosity 2024-09-17 10:15:25 -06:00
Mike Taves
db48f0f69e Fix typos 2024-09-13 22:35:11 +12:00
Mike Taves
dc8e003f6a Fix typos 2024-09-13 22:35:11 +12:00
Mike Taves
bf3dc34a52 Fix typos 2024-09-13 22:35:11 +12:00
Darth Vader
9fac273ef2 Merge commit 'ce2280a77a81e5a8214ae01f97e9766e168327cf' 2024-08-29 21:05:25 +00:00
Darth Vader
8f7d206a80 Squashed 'phreeqcpp/' changes from c477ba1..fdc0bb5
fdc0bb5 fixed nullptr for pre-c++11

git-subtree-dir: phreeqcpp
git-subtree-split: fdc0bb51869877771df528f727fe577f58877c7d
2024-08-29 21:04:42 +00:00
Darth Vader
a0bffdbc3f Merge commit '8f7d206a800852d06bc9a1230320fd670dd34473' 2024-08-29 21:04:42 +00:00
Charlton, Scott R
7bb51ae783 Whitespace adjustments 2024-08-29 13:48:49 -06:00
Darth Vader
672e854d0e Merge commit '9782e02486e4dfbb3148cdd6c235422caa8c06e6' 2024-08-29 19:03:35 +00:00
Darth Vader
45befa7108 Squashed 'phreeqcpp/' changes from faf8144..c477ba1
c477ba1 Converted to utf-8
53b14b4 Tony fixed latest viscosity bug in surface calculations
2375f7b fixed mismatched ifdef
84ad1ce Tony's changes. [200~Added variable viscos_DDL in EDL(viscos_DDL, surface_name) to give the viscosity of a Donnan layer on a surface in BASIC. Note that the surface_name should not contain an underscore _, the Donnan properties are for the surface, not for surface charge, thus use the surface name Hfo, not Hfo_w. If surface_name is omitted, the viscosity is given for the first surface in the alphabetical order.

git-subtree-dir: phreeqcpp
git-subtree-split: c477ba119a0ecfa4361b88f0b49523847a1a03bc
2024-08-29 19:02:04 +00:00
Darth Vader
7e60110c31 Merge commit '45befa710880429a2a04cbc0294e83e0f2ce66b9' 2024-08-29 19:02:04 +00:00
Charlton, Scott R
4a0d366eef Updated examples with latest viscosity branch 2024-08-28 16:10:03 -06:00
David Parkhurst
ca3ebafda0 updated release.txt with Tony's viscosity updates. Updated EDL Basic function documentation in HTML. 2024-08-27 14:50:58 -06:00
Charlton, Scott R
5146dd686e Added Kinec_v3.dat to distribution
Updated RELEASE.TXT for IPhreeqc
2024-08-22 17:10:38 -06:00
Charlton, Scott R
cfaa0d9ad1 Added Kinec_v3.dat to distribution
Updated RELEASE.TXT for IPhreeqc
2024-08-22 17:10:38 -06:00
Darth Vader
f7a1be4e54 Merge commit 'e9b2c29221ea97c7fbab9fdfced5fed601ea2e0f' 2024-08-22 21:43:27 +00:00
David Parkhurst
b98a65380b Kinec_v3.dat should replace kinec.v2.dat 2024-08-22 09:22:31 -06:00
David Parkhurst
7f831e87e5 Updated RELEASE.TXT 2024-08-22 07:24:30 -06:00
Charlton, Scott R
af8d7af7fb Closes https://github.com/usgs-coupled/iphreeqccom/issues/6 2024-08-16 17:00:21 -06:00
Darth Vader
aa8cdd0113 Merge commit 'd7222e4f0b773e52ff448f83ba057ec492471ea1' 2024-08-15 17:09:45 +00:00
Darth Vader
c1c1f286b6 Squashed 'phreeqcpp/' changes from b6a23a2..faf8144
faf8144 50 apple clang 15 with c++11 or higher reports warnings wwritable strings in pbasiccpp (#57)

git-subtree-dir: phreeqcpp
git-subtree-split: faf81447ee82e86ce3b2cb9d71fd81316cccfd9f
2024-08-15 17:08:49 +00:00
Darth Vader
f627828fb5 Merge commit 'c1c1f286b61ca73ae3204c7fa4831bb2e3066070' 2024-08-15 17:08:49 +00:00
Charlton, Scott R.
62ebb6ad11 Merge remote-tracking branch 'usgs-coupled/master' 2024-08-15 11:04:30 -06:00
Charlton, Scott R
d051e14c0b Merge remote-tracking branch 'usgs-coupled/master' 2024-08-15 11:04:30 -06:00
Charlton, Scott R.
1e41b0ca7a 50 apple clang 15 with c++11 or higher reports warnings wwritable strings in pbasiccpp (#57)
Change char* -> const char* for callbacks
2024-08-15 10:12:44 -06:00
Charlton, Scott R
7ad5a592a7 50 apple clang 15 with c++11 or higher reports warnings wwritable strings in pbasiccpp (#57)
Change char* -> const char* for callbacks
2024-08-15 10:12:44 -06:00
Darth Vader
48ea6ea0ea Merge commit '2d96a188772ef1fd12575913362d1fa01f198be8' 2024-08-14 21:45:07 +00:00
Darth Vader
88d5ec2035 Squashed 'phreeqcpp/' changes from 587223f..b6a23a2
b6a23a2 reorder classes in global_structures.h to avoid incomplete definitions

git-subtree-dir: phreeqcpp
git-subtree-split: b6a23a2457530f9ca6e13fe4f0c226db3bba48af
2024-08-14 21:44:26 +00:00
Darth Vader
2bcb24a86a Merge commit '88d5ec20353fab67149768c11765c3c248ee0cea' 2024-08-14 21:44:26 +00:00
Charlton, Scott R.
99e8a5271b Merge pull request #48 from SpaceIm/fix/include-stddef-no-fortran
Add missing include of stddef.h in IPhreeqc.h when IPHREEQC_NO_FORTRAN_MODULE is defined
2024-08-14 13:49:05 -06:00
Charlton, Scott R
d3b4b10b79 Merge pull request #48 from SpaceIm/fix/include-stddef-no-fortran
Add missing include of stddef.h in IPhreeqc.h when IPHREEQC_NO_FORTRAN_MODULE is defined
2024-08-14 13:49:05 -06:00
SpaceIm
29f1d4098e reorder classes in global_structures.h to avoid incomplete definitions 2024-08-11 21:08:04 +02:00
SpaceIm
128b7a1109 reorder classes in global_structures.h to avoid incomplete definitions 2024-08-11 21:08:04 +02:00
SpaceIm
c244641700 add missing include of stddef.h in IPhreeqc.h if no fortran module
when IPHREEQC_NO_FORTRAN_MODULE is defined, the type of the last parameter of SetBasicFortranCallback is size_t, which is defined in stddef.h
2024-08-11 20:55:26 +02:00
SpaceIm
8bf2d2989c add missing include of stddef.h in IPhreeqc.h if no fortran module
when IPHREEQC_NO_FORTRAN_MODULE is defined, the type of the last parameter of SetBasicFortranCallback is size_t, which is defined in stddef.h
2024-08-11 20:55:26 +02:00
David Parkhurst
162c3a25ad Added to Release.txt about dump issue. 2024-07-11 12:57:59 -06:00
Darth Vader
4c58a0f6b7 Merge commit '7c714dfbd3c917247c9c9346799bb3fa1b9dee16' 2024-07-11 17:09:41 +00:00
Darth Vader
9a4caf7def Squashed 'phreeqcpp/' changes from e4c4cf3..587223f
587223f Extra check to not dump negative user numbers

git-subtree-dir: phreeqcpp
git-subtree-split: 587223f4d35ddca5105498f1f0ef31638f748562
2024-07-11 17:08:34 +00:00
Darth Vader
178b05c251 Merge commit '9a4caf7def182e3f6aa3caa5024c7af821663b65' 2024-07-11 17:08:34 +00:00
David Parkhurst
e87a48a234 Fixed unprintable characters in RELEASE.TXT 2024-06-24 15:12:48 -06:00
David Parkhurst
c51839c622 Changed back to AmmH 2024-06-23 15:59:17 -06:00
Darth Vader
78f374b831 Merge commit '0e2456f051d9e2ad6f61f899721fa8ab2db1a30c' 2024-06-20 21:53:22 +00:00
Darth Vader
2abb0b0bcd Squashed 'phreeqcpp/' changes from 798f8f9..e4c4cf3
e4c4cf3 Added functions SPECIES_EQUATION and PHASE_EQUATION, and species_equation test case.

git-subtree-dir: phreeqcpp
git-subtree-split: e4c4cf31fb54a3546e6bdbb1fda762952803fd82
2024-06-20 21:52:29 +00:00
Darth Vader
0da302aedf Merge commit '2abb0b0bcd4bcae42f84ff001aba7f2ab6df2af7' 2024-06-20 21:52:29 +00:00
David Parkhurst
307253d3f9 Fixed AmmH in Amm.dat and comments in phreeqc.dat and phreeqc_rates.dat 2024-06-19 16:46:48 -06:00
Darth Vader
0517529467 Merge commit '231f8e36589ed86c2270d0915bb91cc74b4a15ef' 2024-06-11 00:59:17 +00:00
Darth Vader
1a84cced60 Merge commit 'a9c4ef8324b6c59ba5cf0d78fc0d8ef93b33923f' 2024-06-11 00:58:18 +00:00
Darth Vader
a9c4ef8324 Squashed 'phreeqcpp/' changes from ceab9a1..798f8f9
798f8f9 Merge commit '3eaa057b5d2bbc9327f2ab3adfd52577c687cfca'
3eaa057 Squashed 'common/' changes from 6abe004..399aba2
4cad3d5 [iphreeqc] Fixed for R

git-subtree-dir: phreeqcpp
git-subtree-split: 798f8f9d827d6ba7cf6a6d0c9a1fd3c7e806c72c
2024-06-11 00:58:17 +00:00
Darth Vader
ab92280593 Merge commit '1ec7448cb08f1cc2917b33e3337946a8da23208f' 2024-06-11 00:57:31 +00:00
Charlton, Scott R
279b84357d [iphreeqc] Fixed for R 2024-06-10 18:55:01 -06:00
Charlton, Scott R
a8ac479491 [iphreeqc] Fixed for R 2024-06-10 18:55:01 -06:00
David Parkhurst
b5394351de Merge branch 'viscosity' of github.com:dlparkhurst/phreeqc3-1 into viscosity 2024-06-09 18:18:56 -06:00
David Parkhurst
7d53e27f9b formatted rate parameters for phreeqc_rates.dat 2024-06-09 18:17:37 -06:00
Charlton, Scott R
4fc5a19611 [phreeqc3] Updated databases 2024-06-07 18:00:52 -06:00
Darth Vader
ca0ba8d528 Merge commit 'ed24ec246bbfdcd57adbd0d4a9e8fe088a5de5b7' 2024-06-07 21:56:59 +00:00
Darth Vader
8024ee1289 Squashed 'phreeqcpp/' changes from e2f4d06..ceab9a1
ceab9a1 Tony's change to Sr and NH4, SC_Ohm and rate_xmpls, basicsubs.cpp error

git-subtree-dir: phreeqcpp
git-subtree-split: ceab9a1033d2046c72a6bcf19c2c2244e8b23f97
2024-06-07 21:56:13 +00:00
Darth Vader
2b17f7ca91 Merge commit '8024ee12891fde0332b86544b2b18010a91fde15' 2024-06-07 21:56:13 +00:00
Charlton, Scott R
2d7d1bcae1 [phreeqc] Updated for latest databases
From merge pull request #65 from dlparkhurst/viscosity
2024-06-07 15:51:51 -06:00
David Parkhurst
9bf3c42d7c 20240607b pitzer.dat 2024-06-07 08:38:49 -06:00
David Parkhurst
bab2c2e283 20240607a database22.zip 2024-06-07 08:35:08 -06:00
David Parkhurst
9064885f78 20240607 database2.zip from Tony 2024-06-07 08:32:17 -06:00
David Parkhurst
a4a7ecab5b Tony's change to Sr and NH4, SC_Ohm and rate_xmpls, basicsubs.cpp error 2024-06-06 21:28:38 -06:00
Darth Vader
051687d391 Merge commit '9ba726de0f8b36a9143922bf148f6a259982756a' 2024-05-29 19:06:22 +00:00
Darth Vader
067a8b1aaa Squashed 'phreeqcpp/' changes from 3d5242f..e2f4d06
e2f4d06 updated InternalCopy
d8abe83 Fixed problem with N vs NO3, for example, converting units with calculated density. Now gives same result for N or NO3.

git-subtree-dir: phreeqcpp
git-subtree-split: e2f4d060cd01b0b9912f0da7aa6c7cc20f77a9c5
2024-05-29 19:05:39 +00:00
Darth Vader
795112031b Merge commit '067a8b1aaa326cecf6a1b5a167fe88448ef1e0b2' 2024-05-29 19:05:39 +00:00
Darth Vader
967cc4e68e Merge commit '7552f8f680a41d12454080cc1174765c86bb6354' 2024-05-27 19:32:06 +00:00
Darth Vader
fb3f60ce26 Merge commit '09af2d5b127a8efe403f47751c7c8465ec94874d' 2024-05-27 19:31:41 +00:00
Darth Vader
09af2d5b12 Squashed 'phreeqcpp/' changes from cb6d9f4..3d5242f
3d5242f bug in processing ISOTOPE_RATIOS
034e921 added commented code to check e- in non-master species.

git-subtree-dir: phreeqcpp
git-subtree-split: 3d5242f5ccaf56cbcad48d33caee0340fb97da65
2024-05-27 19:31:40 +00:00
Charlton, Scott R
b3aa6834f5 [phreeqc3] Updated ctest outputs 2024-05-24 20:20:57 -06:00
David Parkhurst
e39a5d3c5e fixed Br- in phreeqc_rates.dat 2024-05-24 02:02:32 -06:00
David Parkhurst
939517fc08 Tonys changes to Br in phreeqc.dat, amm.dat, and pitzer.dat. New test case NaK_ClBr. 2024-05-22 20:45:16 -06:00
David Parkhurst
92562d5d33 lsp of databases, changed alk of e- to 1.0 in all databases, modified sit.dat 2024-05-19 22:32:41 -06:00
David Parkhurst
26398a4424 lsp of databases, changed alk of e- to 1.0 in all databases, modified sit.dat 2024-05-19 22:32:41 -06:00
David Parkhurst
1c2e59be9a Tony revised latest sit with lsp 2024-05-18 15:07:13 -06:00
David Parkhurst
1693e0c188 New version from Tony 2024-05-18 04:22:10 -06:00
David Parkhurst
5faf092bf8 Tony revisions to phreeqc_rates.dat and rate_xmpls 2024-05-16 09:32:24 -06:00
Darth Vader
bbcb4c0ec7 Merge commit '06332bcb62daece34f3818f46e11064a56799f23' 2024-05-16 01:05:21 +00:00
Darth Vader
70e32eba2f Merge commit '0b3f349ad3bb84d493fc4d54bb6537a1fcafbc15' 2024-05-16 01:04:33 +00:00
Darth Vader
0b3f349ad3 Squashed 'phreeqcpp/' changes from 07c887a..cb6d9f4
cb6d9f4 [phreeqci] Fixed phreeqci memory leaks
77df73c [phreeqci] Fixed memory leak for phreeqci
38a34f7 [phreeqci] Removed trailing whitespace

git-subtree-dir: phreeqcpp
git-subtree-split: cb6d9f49b0957bc431c0eca2c21711bfde4411e7
2024-05-16 01:04:33 +00:00
David Parkhurst
0bcc9db07a Tony tweaked phreeqc_rates.dat and added rate_xmpls test case. 2024-05-15 17:15:36 -06:00
Charlton, Scott R
ee42c30eee Updated GET$/PUT$ documentation 2024-05-13 16:59:42 -06:00
Darth Vader
ad75e79efe Merge commit '51648664f6f6550440d014f3a985ef9d575c02bd' 2024-05-13 18:46:19 +00:00
Darth Vader
e871614214 Merge commit '1efeb356693a42a67a7d7ccf60982c06e882dfdf' 2024-05-13 18:45:27 +00:00
Darth Vader
1efeb35669 Squashed 'phreeqcpp/' changes from 8f6cb45..07c887a
07c887a [phreeqci] Removed assert since svn -r8264(3.1.0 -- 2013-11-27) fails opening ex6

git-subtree-dir: phreeqcpp
git-subtree-split: 07c887a02026b1c0bfc6019d09b8ed45e22bb678
2024-05-13 18:45:27 +00:00
Darth Vader
a162eb9ebb Merge commit 'fff75534d73a06719ce2fbb482f843e0fb9dc4c6' 2024-05-10 20:36:55 +00:00
Darth Vader
78fa3ba34e Merge commit '97a4237601d215dd712df5fee01399c9c2841ff8' 2024-05-10 20:36:07 +00:00
Darth Vader
97a4237601 Squashed 'phreeqcpp/' changes from c035d9c..8f6cb45
8f6cb45 Pad needed a free. Ran all test cases.
56ba680 Freed result from strexpr

git-subtree-dir: phreeqcpp
git-subtree-split: 8f6cb45a04ca40ea253c0f3ca90f52427d99592d
2024-05-10 20:36:07 +00:00
Darth Vader
fcaf4393f9 Merge commit '9882e3df3cca85659da2a430ffe240f895cdb272' 2024-05-09 19:46:51 +00:00
Darth Vader
edd80cecf2 Merge commit 'bacfb0ea50c83434d21d3b0c8eda18543ee8b89a' 2024-05-09 19:46:42 +00:00
Darth Vader
bacfb0ea50 Squashed 'phreeqcpp/' changes from 60ccbf8..c035d9c
c035d9c Tony updates to phreeqc_rates.dat. Added albite_rates. Copy/paste error in read.cpp
fcec621 basicsubs.cpp fix from Tony
e5b4b11 Fixed some HTML, still a problem with colors of links.

git-subtree-dir: phreeqcpp
git-subtree-split: c035d9c3b76f807db7d87066c235c9f6867e5497
2024-05-09 19:46:42 +00:00
David Parkhurst
017185a7b2 Tony updates to phreeqc_rates.dat. Added albite_rates. Copy/paste error in read.cpp 2024-05-09 12:35:17 -06:00
David Parkhurst
ce6938682c Tony's revisions to html files. Updated ex21. Only thing left may be revisions to RATES in phreeqc_rates.dat 2024-05-08 10:39:01 -06:00
Darth Vader
894d1c4dbf Merge commit 'a159b5af317ba8b61dd3a6c9242a98e76829467d' 2024-05-07 22:42:01 +00:00
Darth Vader
c767e9c6a1 Merge commit '4a24a89572cca75b5919dabde3ac798c175bf899' 2024-05-07 22:41:18 +00:00
Darth Vader
4a24a89572 Squashed 'phreeqcpp/' changes from 0243c90..60ccbf8
60ccbf8 Removed CALCULATE_VALUES, added MEAN_GAMMAS, made phreeqc_rates.dat, updated CMakeLists, ran all examples, added test case ss_kinetics
baa0eee Added a little error checking to tokrate_pk
50d999b Tony added table numbers, kinetic_rates_plus has complete tables.
bf054e3 Finished up mean_gammas keyword and test case. Tony has some new changes I need to add.
8c561f0 Implemented rate parameters PK, SVD, Hermanska
5998b71 Added Basic function RATE_PK and RATE_SVERDRUP
c881283 added put$ and get$ Basic functions. Added test cases get_put_ to test get$ and put$. Added kinetic_rates_carbfix to use new database kinec.v2.dat. Fixed pad$ to use strexpr.

git-subtree-dir: phreeqcpp
git-subtree-split: 60ccbf83563b6f60011e37200b0357361e9e6379
2024-05-07 22:41:18 +00:00
Charlton, Scott R
0d58080e75 fixed case of Kinec.v2.dat 2024-05-07 13:18:27 -06:00
David Parkhurst
54237d62fc removed CALCULATE_VALUES description 2024-05-07 07:52:03 -06:00
David Parkhurst
71e10f579d Removed CALCULATE_VALUES, added MEAN_GAMMAS, made phreeqc_rates.dat, updated CMakeLists, ran all examples, added test case ss_kinetics 2024-05-06 16:48:38 -06:00
David Parkhurst
aaefea9549 Removed CALCULATE_VALUES, added MEAN_GAMMAS, made phreeqc_rates.dat, updated CMakeLists, ran all examples, added test case ss_kinetics 2024-05-06 16:48:38 -06:00
David Parkhurst
e37ae0af3a Word from PDF for documentation 2024-04-27 10:12:15 -06:00
David Parkhurst
93ba7f97c3 Tony's latest databases 2024-04-22 09:41:41 -06:00
David Parkhurst
de06166d14 added put$ and get$ Basic functions. Added test cases get_put_ to test get$ and put$. Added kinetic_rates_carbfix to use new database kinec.v2.dat. Fixed pad$ to use strexpr. 2024-04-21 20:40:36 -06:00
David Parkhurst
b6ecf24821 added Kinec.v2.dat and updated RELEASE.TXT 2024-04-19 17:52:24 -06:00
David Parkhurst
543816f065 added Kinec.v2.dat and updated RELEASE.TXT 2024-04-19 17:52:24 -06:00
Darth Vader
01a8b140bc Merge commit 'b1888bb5d68d0ae9736556acd5702d44448eb492' 2024-04-19 19:50:20 +00:00
David Parkhurst
8acfbb384a Merge branch 'master' into module 2024-04-18 17:20:59 -06:00
Darth Vader
1ba2653786 Merge commit '799a4e7ee471ab80ac21f4dceb7233324576c6da' 2024-04-18 21:18:02 +00:00
Darth Vader
f100f492a5 Squashed 'phreeqcpp/' changes from 89d028d..0243c90
0243c90 Updated to build in vs2005

git-subtree-dir: phreeqcpp
git-subtree-split: 0243c905af6767a3777640ad6b89de56ec5ab4b7
2024-04-18 21:17:18 +00:00
Darth Vader
478318affe Merge commit 'f100f492a5750d4998da1daa4a3e9b14b245a0e8' 2024-04-18 21:17:18 +00:00
Charlton, Scott R
a9d1de8fa2 Updated output files (from windows) 2024-04-18 13:41:57 -06:00
Charlton, Scott R
47ace2e02e Changed examples/ex21 encoding to UTF-8 2024-04-18 13:10:26 -06:00
Darth Vader
ff96607411 Merge commit '1d8783186c3d231e5ca909a0427cb33b2c29d558' 2024-04-18 18:17:11 +00:00
Darth Vader
c378c74d7f Squashed 'phreeqcpp/' changes from 7284fed..89d028d
89d028d Tony's fix for Valgrind error in Debye1.
9716b89 fix for new Valgrind problem. Added a newer CEMDATA database for the database collection.
eee3969 Merge branch 'master' into viscosity
b575463 Merge branch 'master' into viscosity
b74423e Issue resolution to be tested: Valgrind-Conditional jump or move depends on uninitialised value (SC) #48
67a69ae Tony changes 20240414, with correction to CH4 Vm. Changes to src. seaw_SC expanded.
34b880c Merge branch 'master' into viscosity
1819d3a Merge branch 'master' into viscosity

git-subtree-dir: phreeqcpp
git-subtree-split: 89d028d8321339d90539869f46da1143f23d4025
2024-04-18 18:16:55 +00:00
Darth Vader
e8c03d1693 Merge commit 'c378c74d7f2510092a8fca311f7ffbbb7ed96f1d' 2024-04-18 18:16:55 +00:00
David Parkhurst
49d82d3760 fix for new Valgrind problem. Added a newer CEMDATA database for the database collection. 2024-04-16 22:08:12 -06:00
Darth Vader
f23a7381b2 Merge commit 'ccdbd0ce2040eb00006775fe0cf2ab2faf4138b5' 2024-04-17 00:17:30 +00:00
Darth Vader
1ebe8191c2 Squashed 'phreeqcpp/' changes from 87919a0..7284fed
7284fed Fixed alignment for some of the utf-8
7babc4b Changed sprintf to snprintf
0d90285 Changed encoding to utf-8
3e00b23 Merge pull request #45 from dlparkhurst/viscosity
4aa8034 merged master into viscosity
166aec1 Tony tweak of t3 in transport.cpp
6a4443d used density_x. Added xsoln_visc test case
4ad0613 removed viscos_x and density_x
269d107 Tony's changes Mar 15, 2024
f50111a Tony's changes with added test cases. All test cases run

git-subtree-dir: phreeqcpp
git-subtree-split: 7284fed50f48610d24dc565cb530f6444940b4a3
2024-04-17 00:16:57 +00:00
Darth Vader
b4a424453b Merge commit '1ebe8191c254ea7a50f20876ef1bf21450f7887a' 2024-04-17 00:16:57 +00:00
David Parkhurst
36acf3ff50 updated RELEASE.TXT 2024-04-15 20:28:18 -06:00
David Parkhurst
666e4b813e Issue 160 in phreeqc. llnl minimum temperature problem. There are several places where a SOLUTION is constructed to get lists or test the database. By default the SOLUTION is 25C, so if llnl has a minimum temperature greater (or maximum temperature less) than 25, an error is encountered. The fix is to change the temperature of the SOLUTIONs to the minimum temperature of the llnl grid if llnl is being used. 2024-04-15 18:21:29 -06:00
David Parkhurst
fbe17c9e10 Tony's update to example 21 2024-04-14 18:23:10 -06:00
David Parkhurst
ad2440a3b6 Tony changes 20240414, with correction to CH4 Vm. Changes to src. seaw_SC expanded. 2024-04-14 17:45:26 -06:00
David Parkhurst
b3469711dd Merge branch 'master' into viscosity 2024-04-11 15:48:31 -06:00
David Parkhurst
87eeeec83e Merge branch 'master' into viscosity 2024-04-05 17:42:33 -06:00
Charlton, Scott R
bae20ea7e8 Merge pull request #45 from dlparkhurst/viscosity
Viscosity
2024-04-05 13:03:02 -06:00
Darth Vader
15388e0f19 Merge commit '63ca4c7ef4b0202b4b6c6cd3463158dc10bfa758' 2024-04-05 17:14:35 +00:00
David Parkhurst
e30aa466d8 merged master into viscosity 2024-04-05 08:37:08 -06:00
David Parkhurst
c86d43662f release.txt 2024-04-04 21:21:51 -06:00
Charlton, Scott R
2dcf40623f normalized text files 2024-03-26 17:51:00 -06:00
Charlton, Scott R
22eb950686 normalized text files 2024-03-26 17:51:00 -06:00
David Parkhurst
d18452f369 All test cases run. Fixed CALCULATED_VALUES and RATES in Amm.dat and phreeqc.dat 2024-03-15 23:20:47 -06:00
David Parkhurst
5c6d1c5ab1 Tony's changes Mar 15, 2024 2024-03-15 15:32:39 -06:00
David Parkhurst
39130824b7 Tony's changes Mar 15, 2024 2024-03-15 15:29:35 -06:00
David Parkhurst
bc1f8f86b2 Tony's changes Mar 15, 2024 2024-03-15 15:16:12 -06:00
David Parkhurst
3318883ec1 Tony's Mar 15, changes. 2024-03-15 14:54:17 -06:00
Darth Vader
df6534c795 Merge commit '07f1d0d4680fe19cf1d77ea86b6485b319607f96' 2024-03-05 15:44:19 +00:00
Darth Vader
0ebad0eedc Squashed 'phreeqcpp/' changes from 9925ceb..87919a0
87919a0 Merge commit 'b397d9d56c7985fddac5b7dbe8cd3c63152bf033'
b397d9d Squashed 'common/' changes from 11183a1..6abe004
a25b00d Try this to fix warning on Darwin
a2f6386 fixed ‘nullptr’ was not declared in this scope on ubuntu-16.04

git-subtree-dir: phreeqcpp
git-subtree-split: 87919a001bdcde90d6559f597b06586d0d5015fd
2024-03-05 15:42:26 +00:00
Darth Vader
6fd34ae380 Merge commit '0ebad0eedcbb952d1411042592b4081823abdbf5' 2024-03-05 15:42:26 +00:00
Darth Vader
7a6efcbd1b Merge commit 'b96cfe81141ed6734872794468ac9bb321ba9d8b' 2024-03-05 15:41:19 +00:00
Scott R Charlton
64e51c1d13 Try this to fix warning on Darwin 2024-03-04 19:11:28 -07:00
Scott R Charlton
2294b1ed91 Try this to fix warning on Darwin 2024-03-04 19:11:28 -07:00
Scott R Charlton
79518deebc fixed ‘nullptr’ was not declared in this scope on ubuntu-16.04 2024-03-04 18:42:52 -07:00
Scott R Charlton
d336cd6760 fixed ‘nullptr’ was not declared in this scope on ubuntu-16.04 2024-03-04 18:42:52 -07:00
David Parkhurst
77038cb61a modified NH3 from Tony's Amm.dat 2024-02-12 16:19:13 -07:00
David Parkhurst
e510f75214 Tony's changes 2/12/2024 2024-02-12 15:50:08 -07:00
Charlton, Scott R
976555e201 Added PHREEQC_ThermoddemV1.10_15Dec2020.dat 2024-01-03 13:34:35 -07:00
Charlton, Scott R
9665bd4a81 Updated for ubuntu 22.04 2023-11-28 19:04:46 -07:00
Charlton, Scott R.
f289b94cda Updated to force subtree merges 2023-11-19 18:04:03 -07:00
Darth Vader
7824c9cba5 Merge commit '7f291d1c56070131ef8e5b665c58dfb953ec5ebd' 2023-11-18 03:55:04 +00:00
Darth Vader
488c119ac8 Squashed 'phreeqcpp/' changes from f975e17..9925ceb
9925ceb Updated for more visual studios tested on vs2005 vs2012 vs2013 vs2015 vs2019

git-subtree-dir: phreeqcpp
git-subtree-split: 9925ceb3d2afa5ed8686dbc781b857e6f1b45314
2023-11-18 03:54:34 +00:00
Darth Vader
ba2ac19165 Merge commit '488c119ac8fb2c9755ce3708519c79f4bd7d382c' 2023-11-18 03:54:34 +00:00
Darth Vader
b9e8939029 Merge commit '70279357596338c2e09bbe32fefe5417e82193df' 2023-11-18 01:36:06 +00:00
Darth Vader
a5b8a03fd7 Squashed 'phreeqcpp/' changes from ff1cc7a..f975e17
f975e17 Merge commit 'f82d3a73538ba56c8ed81977b0d26d46ebcb7f98'
f82d3a7 Squashed 'common/' changes from 740bdd5..11183a1

git-subtree-dir: phreeqcpp
git-subtree-split: f975e17ccce7eca010a391898d91c25e6e10990b
2023-11-18 01:35:08 +00:00
Darth Vader
a8a469b26f Merge commit 'a5b8a03fd7c84cdedb6507c4cd0679b46997ed7d' 2023-11-18 01:35:08 +00:00
Darth Vader
83b1930eae Merge commit 'd554fc3acfdfbe18c34c6c527fc685643129db2b' 2023-11-18 01:32:52 +00:00
Darth Vader
589ec40c7c Squashed 'phreeqcpp/' changes from 3e6c2e9..ff1cc7a
ff1cc7a [phreeqci] Updated to compile on vs2005

git-subtree-dir: phreeqcpp
git-subtree-split: ff1cc7aa82e0ec1145f593a84025ff174af18463
2023-11-18 01:30:46 +00:00
Darth Vader
6ce9ad665a Merge commit '589ec40c7ce71d50ea98f7ff283f58ed5283cb29' 2023-11-18 01:30:46 +00:00
Charlton, Scott R
f1ef434367 [skip ci] Fixed typo
Added path-ignore to github actions
2023-11-17 13:28:15 -07:00
David Parkhurst
b81c0fa8fc update RELEASE.TXT 2023-11-17 08:12:34 -07:00
Darth Vader
77e7356d7f Merge commit 'd1b5d92efc04bd216d5354cb2df537d1ded008b0' 2023-11-16 05:12:33 +00:00
Darth Vader
deb497735e Squashed 'phreeqcpp/' changes from 625f6f1..3e6c2e9
3e6c2e9 Merge commit 'c4958bb740964f1804a6a4e6ae5d8df52c5c64ad'
c4958bb Squashed 'common/' changes from b9af572..740bdd5

git-subtree-dir: phreeqcpp
git-subtree-split: 3e6c2e94e308d95c2be3b98e50cf0f253f327a29
2023-11-16 05:11:36 +00:00
Darth Vader
c7c1a23d71 Merge commit 'deb497735e9dea915ec582d42e671e0cfbcdd10e' 2023-11-16 05:11:36 +00:00
Darth Vader
4883e48156 Merge commit '37276c050f8194055e00a875c185c4f0ffe38abf' 2023-11-16 05:09:42 +00:00
Darth Vader
1df4f18911 Merge commit 'ed1fbe949157f56f0799b2170ce207b7716a10f2' 2023-11-16 05:06:28 +00:00
Darth Vader
ed1fbe9491 Squashed 'phreeqcpp/' changes from bd2e2b6..625f6f1
625f6f1 Fixed bugs in inverse
ea9e0ef strcpy_safe and strcat_safe
9b06157 trying different header files
e890269 added <cstring>
c370c7b warnings, strcat, strcpy
14ed59f Try using goto(s)
d2d31d2 Try updated logical expression
d2a3eac Turn off optimizing on k_temp

git-subtree-dir: phreeqcpp
git-subtree-split: 625f6f14905e41a1130a3d0a217b8de478631aca
2023-11-16 05:06:27 +00:00
Darth Vader
832810fcf7 Merge commit '1b2eb6ca0dfb1229d50bcb58c12ac6d6f63bbe4c' 2023-11-16 05:04:40 +00:00
David Parkhurst
e0447f7ad5 Minimum data base. 2023-11-15 14:36:30 -07:00
David Parkhurst
81f180a069 Fixed bugs in inverse 2023-11-14 22:37:11 -07:00
David Parkhurst
6d575967d4 strcpy_safe and strcat_safe 2023-11-14 14:37:25 -07:00
David Parkhurst
6d98c4e13d trying different header files 2023-11-13 15:35:27 -07:00
David Parkhurst
72796f154c added <cstring> 2023-11-13 15:18:55 -07:00
David Parkhurst
e848160727 warnings, strcat, strcpy 2023-11-13 14:32:40 -07:00
Charlton, Scott R
988bdee0a6 Try using goto(s) 2023-10-31 14:15:28 -06:00
Charlton, Scott R
9b10ce3f5c Try updated logical expression 2023-10-31 13:34:41 -06:00
Charlton, Scott R
812061be2c Turn off optimizing on k_temp 2023-10-31 11:57:11 -06:00
David Parkhurst
fd52458b43 release notes update 2023-09-10 13:35:39 -06:00
Darth Vader
42ba243209 Merge commit '10bcb271d74cf65f6427a7293f1b32c043bc7180' 2023-08-27 01:17:34 +00:00
Charlton, Scott R
6e248c34be Updated to pass unit tests on linux
Added two additional selected_output tests:
  TestSelectedOutputFileMultipleRuns
  TestGetSelectedOutputRowCountMultipleRuns
2023-08-26 18:15:23 -06:00
Charlton, Scott R
4662baee2f Updated to pass unit tests on linux
Added two additional selected_output tests:
  TestSelectedOutputFileMultipleRuns
  TestGetSelectedOutputRowCountMultipleRuns
2023-08-26 18:15:23 -06:00
Charlton, Scott R
4d2181b795 Fixed bug that caused selected_output to
accumulate in selected_output storage
2023-08-25 19:44:03 -06:00
Charlton, Scott R
6721837c27 Fixed bug that caused selected_output to
accumulate in selected_output storage
2023-08-25 19:44:03 -06:00
Darth Vader
b4b9e7da01 Merge commit '1a3663493c8f6e1f9accef266dce18790271ca2b' 2023-08-25 15:29:56 +00:00
Darth Vader
6ea0442d45 Squashed 'phreeqcpp/' changes from 8dade82..bd2e2b6
bd2e2b6 Merge remote-tracking branch 'usgs-coupled/master'
f170ab5 Merge branch 'usgs-coupled:master' into phreeqc-1-working
4cbc303 bug fix on Basic functions; minor update to Release.txt

git-subtree-dir: phreeqcpp
git-subtree-split: bd2e2b68ccf277552f19c498e9ef0b972c6d8b7e
2023-08-25 15:29:27 +00:00
Darth Vader
d5808fd188 Merge commit '6ea0442d458c0a029140954f6c801006cac0871b' 2023-08-25 15:29:27 +00:00
Darth Vader
c9d004b611 Merge commit 'fb29ba4c3af45fd6745970fda308ff13353edc9c' 2023-08-25 03:36:29 +00:00
Darth Vader
99b1030598 Squashed 'phreeqcpp/' changes from 3b5f98c..8dade82
8dade82 Merge commit '64c9761e116474c4c9e673976f02111fbec32caf'
64c9761 Squashed 'common/' changes from a088e29..b9af572

git-subtree-dir: phreeqcpp
git-subtree-split: 8dade82c963a39f50ceeaab4d2d7b9700b53822f
2023-08-25 03:34:17 +00:00
Darth Vader
99451c0855 Merge commit '99b10305984102705405888e62ff98cae0c70fe6' 2023-08-25 03:34:17 +00:00
Darth Vader
1b46a8dcf2 Merge commit '8d6d4a6b4fae111d36a3225507095202e684a40f' 2023-08-25 03:33:23 +00:00
Darth Vader
e902474819 Squashed 'phreeqcpp/' changes from 8fa568f..3b5f98c
3b5f98c No memory leaks; Still need to turn-on Fortran

git-subtree-dir: phreeqcpp
git-subtree-split: 3b5f98c838520da9638d08384186b2c85103ff30
2023-08-25 03:29:16 +00:00
Darth Vader
52357404b5 Merge commit 'e902474819623e9469f66b6514a8293063ff2b86' 2023-08-25 03:29:16 +00:00
Darth Vader
3415544f41 Merge commit '90ccb6dc2bfcd1b2fa9aa0492f4553cf4f598f49' 2023-08-25 03:28:29 +00:00
Charlton, Scott R
0cb7f62994 No memory leaks; Still need to turn-on Fortran 2023-08-10 11:01:24 -06:00
David Parkhurst
12e58e3ec3 bug fix on Basic functions; minor update to Release.txt 2023-08-07 10:13:49 -06:00
Darth Vader
b56d60a648 Merge commit 'ce6d37c593b1ba9c23cad05228bd1f57b50d5ccc' 2023-05-29 03:21:02 +00:00
Charlton, Scott R
209412f4d9 Updated for phreeqc changes
Introduce end-of-line normalization for CMakeLists.txt
2023-05-28 20:14:57 -06:00
Charlton, Scott R
1680e5b76f Updated for phreeqc changes
Introduce end-of-line normalization for CMakeLists.txt
2023-05-28 20:14:57 -06:00
Charlton, Scott R
3ed6cb654a Updated for phreeqc changes
Introduce end-of-line normalization for CMakeLists.txt
2023-05-28 20:14:57 -06:00
Charlton, Scott R
5fe290beff Updated for phreeqc changes
Introduce end-of-line normalization for CMakeLists.txt
2023-05-28 20:14:57 -06:00
Charlton, Scott R
e007a52c1d Updated for phreeqc changes
Introduce end-of-line normalization for CMakeLists.txt
2023-05-28 20:14:57 -06:00
Darth Vader
bdef7c5ddb Merge commit '0e67b4a4541435fa7c4f2c07a642c313d5e1ce1a' 2023-05-28 20:03:31 +00:00
Darth Vader
322a40bb3a Squashed 'phreeqcpp/' changes from 6dade54..8fa568f
8fa568f removed src/print.cpp.utf8
d140c3f End of Run after

git-subtree-dir: phreeqcpp
git-subtree-split: 8fa568f0b446527445c0601dc860cfeab5626212
2023-05-28 19:59:33 +00:00
Darth Vader
8da0b21940 Merge commit '322a40bb3a8db90d73fe707afaee51381e422aad' 2023-05-28 19:59:33 +00:00
Charlton, Scott R
d037d5dd5e End of Run after 2023-05-27 20:37:53 -06:00
Darth Vader
1cce150314 Merge commit '59900306d4ccdc5f16a8ea479c234b7d4640dcf2' 2023-05-26 20:32:22 +00:00
Charlton, Scott R
45020608bd Added sleeps after curl -X POST 2023-05-26 14:28:22 -06:00
Charlton, Scott R
82c54e7054 Added sleeps after curl -X POST 2023-05-26 14:28:22 -06:00
Charlton, Scott R
a68a186184 Added sleeps after curl -X POST 2023-05-26 14:28:22 -06:00
Charlton, Scott R
bffad8cce5 Added sleeps after curl -X POST 2023-05-26 14:28:22 -06:00
Darth Vader
90aef6de86 Merge commit 'c50de2e4a793129b1bf6d016c2ed405544bd21cd' 2023-05-26 04:33:20 +00:00
Darth Vader
dd7aa46600 Squashed 'phreeqcpp/' changes from 82515f7..6dade54
6dade54 Merge commit '4f698833b1b758cefb3440762b18bec08bb945b9'
4f69883 Squashed 'common/' changes from 7c31f5b..a088e29

git-subtree-dir: phreeqcpp
git-subtree-split: 6dade54926bd93a4c9a2bcbd792a41b525784929
2023-05-26 04:32:50 +00:00
Darth Vader
446e7a8a2a Merge commit 'dd7aa466004fee2b8f0ddc5ba8c04e6199af7fc8' 2023-05-26 04:32:50 +00:00
Darth Vader
76d4300cad Merge commit 'd83e815edb69ae222734ebc4168810cae56e3cec' 2023-05-26 04:28:17 +00:00
Darth Vader
050663209b Squashed 'phreeqcpp/' changes from 93ab5c9..82515f7
82515f7 Merge remote-tracking branch 'origin/master'
1cc4fa0 fix phi for water at high TP. Tony May, 2023
275b340 Tony's changes May 5 and 7.
0fb2509 cleaned up compiler warnings. removed math.h. cleaned up NAN

git-subtree-dir: phreeqcpp
git-subtree-split: 82515f7fecada9be373fd832dd0c5cdf53c79da7
2023-05-26 04:27:58 +00:00
Darth Vader
32fbc5ab56 Merge commit '050663209be623e2af35e3f93a41ac6f5ac1f18f' 2023-05-26 04:27:58 +00:00
Charlton, Scott R
ae15b21180 Added sleeps after curl -X POST 2023-05-25 22:19:16 -06:00
Charlton, Scott R
807a444465 Added sleeps after curl -X POST 2023-05-25 22:19:16 -06:00
Charlton, Scott R
6b0972bd43 Merge remote-tracking branch 'origin/master' 2023-05-25 22:07:52 -06:00
Darth Vader
14b90528ac Merge commit '0e6c28f22663d72c558025b5ae69ce50ac3b2f62' 2023-05-26 02:37:26 +00:00
Darth Vader
dc26aa2a8f Squashed 'phreeqcpp/' changes from b12de1f..93ab5c9
93ab5c9 Merge commit '2841329ea39783ebc402e2644413de9e72904213'
2841329 Squashed 'common/' changes from 6e625e5..7c31f5b

git-subtree-dir: phreeqcpp
git-subtree-split: 93ab5c94e48156a2792207f284e9413df097c82f
2023-05-26 02:36:52 +00:00
Darth Vader
9bd0be28d6 Merge commit 'dc26aa2a8fe1111439df64025df25f8f01a615fe' 2023-05-26 02:36:52 +00:00
Darth Vader
0032f1420a Merge commit '7c3113fb1d452576ff5b6f00a39665a3e3c6da54' 2023-05-26 02:33:23 +00:00
Darth Vader
35dec7bafc Squashed 'phreeqcpp/' changes from e7c12e1..b12de1f
b12de1f Added sleeps after curl -X POST
fb55642 working on SelectedOutput for BMI
a050758 Closes #48 -- Illegal character encoding in string literal (#49)

git-subtree-dir: phreeqcpp
git-subtree-split: b12de1f7f0eadb7b6153bffca9d0412801d2e132
2023-05-26 02:32:21 +00:00
Darth Vader
b9bc048c32 Merge commit '35dec7bafcb86c2fb40acc463c51be5af1af21b4' 2023-05-26 02:32:21 +00:00
Darth Vader
36e3e73d15 Merge commit '71af2952a3513766833883f90c18105fd8e7f174' 2023-05-26 02:28:11 +00:00
Charlton, Scott R
64d92a5a0b Added sleeps after curl -X POST 2023-05-25 20:24:19 -06:00
Charlton, Scott R
8a1e3f9711 Added sleeps after curl -X POST 2023-05-25 20:24:19 -06:00
David Parkhurst
8cd3387363 Tony's changes May 5 and 7. 2023-05-22 11:36:02 -06:00
David Parkhurst
f9d7fa2d92 Tony's changes May 5 and 7. 2023-05-22 11:36:02 -06:00
David Parkhurst
91d35938de working on SelectedOutput for BMI 2023-04-22 16:14:01 -06:00
David Parkhurst
71aeaa16d7 Tweaked RELEASE.TXT, fixed another GFW, this time redox.dat 2023-04-19 12:45:43 -06:00
David Parkhurst
2f8712a3c9 Tweaked RELEASE.TXT, fixed another GFW, this time redox.dat 2023-04-19 12:45:43 -06:00
David Parkhurst
ce92a0c10d Fixed Sg gfw and alkalinity in Amm.dat, phreeqc.dat, and pitzer.dat. Updated RELEASE.TXT 2023-04-18 16:58:45 -06:00
David Parkhurst
5278d54f1f Fixed Sg gfw and alkalinity in Amm.dat, phreeqc.dat, and pitzer.dat. Updated RELEASE.TXT 2023-04-18 16:58:45 -06:00
Charlton, Scott R
4234c11ed7 Closes #48 -- Illegal character encoding in string literal (#49) 2023-04-14 15:25:45 -06:00
Darth Vader
8d3032c9cb Merge commit '8494cef9c5aca1120ce55dbf0be46f87beb49b96' 2023-04-10 18:28:02 +00:00
Darth Vader
aff166b184 Squashed 'phreeqcpp/' changes from 97a0327..e7c12e1
e7c12e1 Merge commit '823f839bc515d692be4dba290f43673b3c0493ab'
823f839 Squashed 'common/' changes from 04cb71a..6e625e5
c0c3f59 Merge remote-tracking branch 'github/master'
6a30753 changed math.h to cmath.
171ff7f ifdef for NAN
f0839d1 fixed warnings from Intel C++ 2023 compiler
49d0a56 fixed surface.cxx correct_gc. tweaked P_Vm, but it is not too stable.
f2b8caa added viscosity to solution.h, solution.cpp, and xsolution_save
7ff51aa Tony's viscosity with many examples

git-subtree-dir: phreeqcpp
git-subtree-split: e7c12e191414a87ddcedcf73f17d7765702cb75b
2023-04-10 18:27:31 +00:00
Darth Vader
813150bc86 Merge commit 'aff166b18426080aa53a136931d221f7afa810d3' 2023-04-10 18:27:31 +00:00
Darth Vader
a9b5eb6956 Merge commit '4419fccb31acd4a82d2fbd618a45d4c78ae9aec6' 2023-04-10 03:21:41 +00:00
Darth Vader
0a7874068e Squashed 'phreeqcpp/' changes from e1de8e8..97a0327
97a0327 fixed compiler warnings except NAN
ee1acc4 changed all double precision to real(kind=8) in all files. Compiles and runs test cases.

git-subtree-dir: phreeqcpp
git-subtree-split: 97a0327aa6a4017dcd2e0298f44d5e672b05288a
2023-04-10 03:21:02 +00:00
Darth Vader
c35cbe19ca Merge commit '0a7874068e77f654f99f8a66b57f3963fea8ec0f' 2023-04-10 03:21:02 +00:00
Darth Vader
116b83a352 Merge commit '05d97e8baf75ee7adbef8da4511ae9b4e3e0b9df' 2023-04-10 02:31:55 +00:00
David Parkhurst
399344e2d5 fixed surface.cxx correct_gc. tweaked P_Vm, but it is not too stable. 2023-04-04 14:04:58 -06:00
David Parkhurst
fd9eb5ee8a Tony's viscosity with many examples 2023-04-03 18:31:48 -06:00
David Parkhurst
cbf9cc1d2a Tony's viscosity with many examples 2023-04-03 18:31:48 -06:00
David Parkhurst
25f2472130 fixed compiler warnings except NAN 2023-04-03 03:27:21 -06:00
David Parkhurst
3f24bf1780 moved enum to RMVARS.h 2023-03-30 23:48:27 -06:00
David Parkhurst
540451234f changed all double precision to real(kind=8) in all files. Compiles and runs test cases. 2023-03-24 15:11:36 -06:00
Charlton, Scott R
91aa5fd89b Introduce end-of-line normalization (#6) 2023-03-08 14:31:52 -07:00
Charlton, Scott R
c3ed55b0e4 Introduce end-of-line normalization (#6) 2023-03-08 14:31:52 -07:00
Darth Vader
05e4a4d430 Merge commit '4fde5d2a9901d22e50df7ddf66dfaf9f6b808d20' 2023-03-08 19:59:39 +00:00
Darth Vader
cb707ac2b7 Squashed 'phreeqcpp/' changes from 11d588e..e1de8e8
e1de8e8 Closes usgs-coupled/phast3#2 (#3)

git-subtree-dir: phreeqcpp
git-subtree-split: e1de8e819060ecaf6d402694b29d70ffd0a3bf10
2023-03-08 19:58:39 +00:00
Darth Vader
c0e629358b Merge commit 'cb707ac2b79acb0dd01a80e37a0b3f3beb690957' 2023-03-08 19:58:39 +00:00
Darth Vader
84f3957bc8 Merge commit 'a695dadce25bdb17da3d297bd07e0d7873b64d4b' 2023-03-08 19:58:12 +00:00
Charlton, Scott R
da9a093d9a Closes usgs-coupled/phast3#2 (#3) 2023-03-08 12:51:02 -07:00
Darth Vader
5c1f3f1931 Merge commit 'ad57aa549f45beecd2ae1bb6f2bbb2508af4bba4' 2023-03-07 20:05:21 +00:00
Charlton, Scott R
fe577a188c [webmod] webmod-dist-windows-git fails to build on jenkins 2023-03-07 13:02:09 -07:00
Charlton, Scott R
f0a661715f [webmod] webmod-dist-windows-git fails to build on jenkins 2023-03-07 13:02:09 -07:00
Darth Vader
cc6f024cfc Merge commit 'c9064048568876e0687e08d6d6c65ab67111b732' 2023-03-07 02:50:37 +00:00
Darth Vader
8a85d23012 Merge commit 'eeee6d3cce2549d37d7051ea3aebd78d77b944e8' 2023-03-07 02:49:50 +00:00
Darth Vader
eeee6d3cce Squashed 'phreeqcpp/' changes from eb35357..11d588e
11d588e Merge commit '84dc8253eb8498cc204cacb6b24ee3b92f0a58b3'
84dc825 Squashed 'common/' changes from fb03f6a..04cb71a

git-subtree-dir: phreeqcpp
git-subtree-split: 11d588edde138d4961072f7b55c9bebc666189db
2023-03-07 02:49:49 +00:00
Darth Vader
895d5dd3c5 Merge commit 'ce82b6836a8ae0dc278903bc218e9465da62e8bd' 2023-03-07 02:49:11 +00:00
Darth Vader
c77222b71f Merge commit '772c30924fd12ad20b8be7c128ae7cc33bb7b170' 2023-03-07 02:48:23 +00:00
Darth Vader
772c30924f Squashed 'phreeqcpp/' changes from f8cd55c..eb35357
eb35357 Merge pull request #17 from scharlton2/bmi-working
26a26c1 pre-commit changes use $ pre-commit run --all-files

git-subtree-dir: phreeqcpp
git-subtree-split: eb35357c1291b425b97f8bae8a62d5a888a6d4e3
2023-03-07 02:48:23 +00:00
Darth Vader
38db9f9ecc Merge commit '1a19a99b23a31a1268b50af5429b3a89ee8e6a84' 2023-03-07 02:43:15 +00:00
Charlton, Scott R
4c2ea26c5a Merge pull request #17 from scharlton2/bmi-working
bmi-working merge
2023-03-06 19:37:08 -07:00
Charlton, Scott R
94f3c45a58 Merge pull request #17 from scharlton2/bmi-working
bmi-working merge
2023-03-06 19:37:08 -07:00
Darth Vader
d70da60dfc Merge commit '90affba324b6d44f0703f8b703d94a038f291a1c' 2023-03-07 01:00:52 +00:00
Darth Vader
bc9ab58d16 Squashed 'phreeqcpp/' changes from 0b60d1a..f8cd55c
f8cd55c Merge branch 'master' of code.chs.usgs.gov:coupled/phreeqc3
56731ea updated RELEASE.TXT, revised PR_P and PR_PHI functions and the test case PR_error_incremental
35190be added Thermoddem database. Fixed error in PR_P and PR_PHI. Added test case to check PR_P and PR_PHI are fixed.

git-subtree-dir: phreeqcpp
git-subtree-split: f8cd55c27c133f195a16f21cb6e07a46d280b2f3
2023-03-07 01:00:20 +00:00
Darth Vader
28517a89ce Merge commit 'bc9ab58d16539fa4c3580b66a7cd309db1c3568e' 2023-03-07 01:00:20 +00:00
Darth Vader
602df24820 Merge commit '15c997e31499728d7beb32a621ef522b1c72799a' 2023-03-07 00:43:16 +00:00
Darth Vader
c85a9cde6d Squashed 'phreeqcpp/' changes from e9db33b..0b60d1a
0b60d1a Closes usgs-coupled/phreeqcrm#12 (#13)

git-subtree-dir: phreeqcpp
git-subtree-split: 0b60d1aeccfdbd9d0f0c4959ee6a04e99d7725e4
2023-03-07 00:42:18 +00:00
Darth Vader
ec1947dcfe Merge commit 'c85a9cde6d9bf3f7841b3bc9b87c18e1012df0c9' 2023-03-07 00:42:18 +00:00
Darth Vader
391ffd1003 Merge commit '9fac4a5659c122db2b529cd16deef696af1496e6' 2023-03-07 00:41:53 +00:00
Charlton, Scott R
6b9245aef7 pre-commit changes
use $ pre-commit run --all-files
2023-03-05 16:11:39 -07:00
Charlton, Scott R
b4aa81fa76 pre-commit changes
use $ pre-commit run --all-files
2023-03-05 16:11:39 -07:00
David Parkhurst
8925f6c3e5 updated RELEASE.TXT, revised PR_P and PR_PHI functions and the test case PR_error_incremental 2023-02-28 22:21:43 -07:00
Charlton, Scott R
9b9ee1b061 Closes usgs-coupled/phreeqcrm#12 (#13)
* Closes usgs-coupled/phreeqcrm#12

* Added yaml-cpp install

* Added yaml-cpp to PhreeqcRM link libraries

* Added yaml-cpp install to cmake builds

* Added compile feature cxx_std_11

* Added toolchain for windows cmake

* Fix autotools build on macOS?

* Changed to c++ headers for math.h and float.h

* Updated 'Test install' step for autotools (macos-latest)
2023-02-26 16:50:20 -07:00
David Parkhurst
a161f1c81d added Thermoddem database 2023-02-16 15:45:40 -07:00
Darth Vader
5dfa353b30 Merge commit '5bef6c5841bbcf3276ad78f81c77673aa43e25b5' 2023-02-11 17:25:39 +00:00
Darth Vader
a4eba15e3b Squashed 'phreeqcpp/' changes from bbd2543..e9db33b
e9db33b Added replacement code for snprintf for vs versions before vs2015 (#30)

git-subtree-dir: phreeqcpp
git-subtree-split: e9db33b14235f3d9018e1205ae05895dd2eb3e2e
2023-02-11 17:25:04 +00:00
Darth Vader
6e14dda95c Merge commit 'a4eba15e3b254fa202a7ff58f9f474b1f2dbc584' 2023-02-11 17:25:04 +00:00
Darth Vader
2355c9f90c Merge commit '27d160eafc07e0c195861725fc0534960ae7e871' 2023-01-17 03:32:45 +00:00
Darth Vader
fb59ec8b19 Squashed 'phreeqcpp/' changes from feaa432..bbd2543
bbd2543 [phreeqc] fixes what iphreeqc/issue-8 broke

git-subtree-dir: phreeqcpp
git-subtree-split: bbd2543978c857c8e46ff6f553231f188c5cb32c
2023-01-17 03:32:29 +00:00
Darth Vader
c32e6641b2 Merge commit 'fb59ec8b19173e55422aef14fd2488cd1aca0680' 2023-01-17 03:32:29 +00:00
Charlton, Scott R
4fbe69b0b5 [phreeqc3] Updated to split numdiff from memcheck
added additional labels based on mytest/Makefile
sorted lists in CMakeLists.txt files
numdiff tests use Release builds
2023-01-16 18:17:24 -07:00
Darth Vader
963b9088a4 Merge commit 'a5c0125bc0670499ea06a874ed96f2e6fc5b3c45' 2023-01-15 06:05:08 +00:00
Darth Vader
be9e230efb Squashed 'phreeqcpp/' changes from 8715a91..feaa432
feaa432 [iphreeqc] Issue 8 -- change sprintf to snprintf for CRAN (#9)

git-subtree-dir: phreeqcpp
git-subtree-split: feaa4321a63ece0f205ce12795d6553261c74f7d
2023-01-15 06:04:23 +00:00
Darth Vader
07fec0dda7 Merge commit 'be9e230efb49f1bde06d9ca21a6a6042befc3c8e' 2023-01-15 06:04:23 +00:00
Darth Vader
e60eb995bb Merge commit 'eab05a830c0d10ca0eed06b7e4b917986b7b5e93' 2023-01-15 06:02:08 +00:00
Charlton, Scott R
11a8399149 [iphreeqc] Issue 8 -- change sprintf to snprintf for CRAN (#9) 2023-01-14 22:14:20 -07:00
Charlton, Scott R
b32560efa0 [iphreeqc] Issue 8 -- change sprintf to snprintf for CRAN (#9) 2023-01-14 22:14:20 -07:00
Charlton, Scott R
00816dc695 [iphreeqc] Issue 8 -- change sprintf to snprintf for CRAN (#9) 2023-01-14 22:14:20 -07:00
Charlton, Scott R
b674cfe5e8 Fixing up ctests for cdash 2023-01-06 19:05:16 -07:00
Darth Vader
8e55e49e01 Merge commit 'a284a4027629c14ed1dbc485b9aa448406e0acfd' 2022-03-25 16:37:30 +00:00
Darth Vader
e0b04393ed Squashed 'phreeqcpp/' changes from ba27ef1..8715a91
8715a91 fixed MacInnes in warning msg

git-subtree-dir: phreeqcpp
git-subtree-split: 8715a91e401b61cf8ab5e3482e97ae26becf114b
2022-03-25 16:36:54 +00:00
Darth Vader
f676db2278 Merge commit 'e0b04393edfc68bc3bf689e45b4196b165a1ab0a' 2022-03-25 16:36:54 +00:00
Darth Vader
af34bf877b Merge commit '937409a9e6d4a687ec7691e24c401202359f5c09' 2022-01-28 22:13:56 +00:00
Darth Vader
37a63bcf44 Squashed 'phreeqcpp/' changes from 7cda4a7..ba27ef1
ba27ef1 Tony fix to transport

git-subtree-dir: phreeqcpp
git-subtree-split: ba27ef1db0232a4147914025795a6dd3b6ba60f7
2022-01-28 22:13:23 +00:00
Darth Vader
15e9e21c6b Merge commit '37a63bcf44e319cea0465322ac36fd73beed6769' 2022-01-28 22:13:23 +00:00
Darth Vader
210dbba73c Merge commit '03171b2d91a8383671f4c4fa13d15ea44de687cf' 2021-11-29 15:20:08 +00:00
Darth Vader
8f2558798f Squashed 'phreeqcpp/' changes from 40f9a93..7cda4a7
7cda4a7 fixed ranges in ADVECTION, added test case advect_ranges, fixed RELEASE.TXT
f1ab542 unused variables

git-subtree-dir: phreeqcpp
git-subtree-split: 7cda4a7dee0f79a9093614a0b07a9b1ba0ab7ff2
2021-11-29 15:18:33 +00:00
Darth Vader
6beb009a16 Merge commit '8f2558798f15927fa58343a43c7c14295986ae45' 2021-11-29 15:18:33 +00:00
David Parkhurst
a321fbd61b fixed ranges in ADVECTION, added test case advect_ranges, fixed RELEASE.TXT 2021-11-27 13:26:12 -07:00
Darth Vader
d41045470e Merge commit 'c995d50084cf598c12bdd45a585c8f67e999dc6e' 2021-11-09 01:59:49 +00:00
Darth Vader
754ea3a9bc Squashed 'phreeqcpp/' changes from a376a40..40f9a93
40f9a93 phase_compare is obsolete
1a07c70 remove qsort for phases, elements, and species
23dd4ac merging Merge branch 'master' into surf_related
bf534d5 changed -10 to -15 for estimate of surface charge la
404aa0f changed -5 to -10 for estimating related surface activity

git-subtree-dir: phreeqcpp
git-subtree-split: 40f9a93535eea4367f6be8a2ecb9da4a9a0172a7
2021-11-09 01:59:31 +00:00
Darth Vader
a826eecc87 Merge commit '754ea3a9bc11cd1f7d350ff217bdb3dcd3af3d97' 2021-11-09 01:59:31 +00:00
David Parkhurst
e52222e9fd added change note concerning change in surface related to phase coming into existence 2021-11-07 21:29:23 -07:00
Darth Vader
ab1c055dfe Merge commit '141cad01907c7aebf3d86161dc699d1e50e8aff0' 2021-10-31 19:43:08 +00:00
Darth Vader
e265665845 Squashed 'phreeqcpp/' changes from a377818..a376a40
a376a40 Merge commit '9e3623356a6be908d7e8b120ecf07c6dceb00d92'
9e36233 Squashed 'common/' changes from 013c822..fb03f6a

git-subtree-dir: phreeqcpp
git-subtree-split: a376a40fa91d71c45a6cc75d6af94e5838ca5060
2021-10-31 19:42:50 +00:00
Darth Vader
c41c4e0230 Merge commit 'e26566584588855e782e2ab4cdd467984a185890' 2021-10-31 19:42:50 +00:00
Darth Vader
3765e0cf26 Squashed 'phreeqcpp/' changes from 7e50e98..a377818
a377818 Merge remote-tracking branch 'usgs-coupled/master'
7c3d060 Merged remote-tracking branch 'origin/master'
c6e8aea Fixed DIFF_C and SETDIFF_C. Updated RELEASE.txt
942dc22 Replace (+ with ( for dealing with Fe(+3, so that [Fe+2] is still a legitimate element name

git-subtree-dir: phreeqcpp
git-subtree-split: a3778180a1d258bdccda2d2e3ec1a745f4738c77
2021-10-31 19:41:44 +00:00
Darth Vader
30169e617c Merge commit '3765e0cf266655280d362cdf5de35c25892959b6' 2021-10-31 19:41:44 +00:00
Darth Vader
cc2c985afa Merge commit '3ce6dfc59f237dc8788541d444a25693102a7208' 2021-10-31 18:58:46 +00:00
Darth Vader
a330bc51e3 Squashed 'phreeqcpp/' changes from 2243d25..7e50e98
7e50e98 Merge commit 'df6addc21acd81411e81b36a9daf373b10cba255'
df6addc Squashed 'common/' changes from 077abe0..013c822
5bc41df git subtree pull now squashes

git-subtree-dir: phreeqcpp
git-subtree-split: 7e50e9840fd9a15a541345f02fbcbfed5b09dd8e
2021-10-31 18:57:52 +00:00
Darth Vader
f274a34a9a Merge commit 'a330bc51e33350cf81008c29742fe570fae074da' 2021-10-31 18:57:52 +00:00
Darth Vader
4d0e9a4c79 Merge commit '615fa476f56b91463f6c10e63b5266f412f87738' 2021-10-31 18:22:57 +00:00
Darth Vader
b8745514b6 Squashed 'phreeqcpp/' changes from da9d06b..2243d25
2243d25 Merge commit '013c822f76e5dc2e4fc19e87c6e5777aea6151d2'
c1af6f3 added newlines for CRAN
013c822 added newlines for CRAN
e4bd9ba [phreeqc3] fixes -Wclass-memaccess warnings for CRAN
29f06d2 fixed alignment in Description of solution
09a2680 guarded write_banner with NO_UTF8_ENCODING
082edbb changed src/print.cpp back to windows-1252 encoding; updated check_utf.sh
8d7c1fc adding mcd_Jtot and mcd_Jconc
9f0f622  Merge branch 'master' of github.com:usgs-coupled/phreeqc3
1040066 Merge remote-tracking branch 'usgs-coupled/master'
2a94644 cleaned up to eliminate some prints
07a864d all jacobians are consistent. Looks pretty good.
56975a7 Saved surface for numerical derivatives
df0d68b Runs all the test cases. Numerical derivatives work, but still some changes in residuals before and after jacobian calculations.
6bd936e Fixed numerical derivative (non-pitzer)
0dde2b0 removed comments
aef51fa Finally have derivatives right, I think
20281a0 always reset gases
13ec2fc best I could do for H2S while maintaining old tests. Used INCREMENTAL reactions
8be1ba8 revised jacobian_pz with new logic. Works with fixed_pressure examples H2S, H2S_pz, H2S_pz_appt, H2S_NaCl_Na2SO4.
71cf2a9 still produces different residuals
9022ded Tony H2S. Amm.dat, phreeqc.dat, pitzer.dat, utf8, updated test cases
cb1f9af Finished up C, Fortran, documentation. Need to check DOxygen
9dad447 Merge remote-tracking branch 'origin/master' into state
d647eec Added StateSave, StateApply, StateDelete with documentation for C++. Need testing, Fortran, and C
48cb5e8 Including OH- in converting units. Revised calculated density for H+ and OH-. Makes a difference in several test cases. Removed timing at end of .out in test cases. Checking in all test cases and selected output.
47e1ce5 added OH in density iteration calculation, test case NaOH_density
4aefb06 allow Fe(+3), equivalent to Fe(3), in TOT and TOTMOL. Previously fixed in SELECTED_OUTPUT -total
bea0ad1 unused variable, punch Fe(+3)
eaf788b fixed add_constant, undefined surface null pointer, added test cases
2212f9c fixed bug in reprep when sit had surface species. Added capability of sit + edl, have not tested it
79956e3 made tally_table a vector of class tally
58b0d1f Merge commit 'd77c11ec700085f19b76af6543013e23ee0739d3'
d77c11e [phreeqci] fixed header error with phast
63175ab [phreeqci] fixed header error with phast
0feb715 [phreeqci] fixed WINDOWS.H already included error on windows builds
123cc8a [phreeqci] fixed _ASSERTE error on linux builds
22c4a62 [phreeqci] struct to class changes
4cee19d Merge commit '2d8ca2d0f37d13ad67be582208a4e65edfcf702f'
2d8ca2d [phreeqci] added 'new' debugging
d0c8212 [phreeqci] added 'new' debugging
9661fea tokadd_heading leak
4565c5d catching upMerge remote-tracking branch 'origin/master' into classify
c22d792 fix notab leak
6d2b45a Merge remote-tracking branch 'usgs-coupled/master'
38cfe18 memory leak user_print, pitz/sit store, add uphill_NPa, remove TESTINT
24f9bf7 removed TESTING definition
e2ce928 Tony agreed with change for all_cells, new test case
d2a5d63 reset all_cells in all cases
e3c0d61 initialize aphi
c960e05 builds on vs2005; still needs to initialize class pitz_param* aphi
71dc944 cl1mp, bad initialization
2e5f255 fixed errors/warnings from ming and intel
369733e converted to classes
7961b16 release.txt, couple size_t
5d76f82 copy operator works well enough
7ce8947 updated InternalCopy for operator equal
7bd13ff new/delete theta params, pitz_param_copy
50e8903 new/delete pitz_params
87d6792 reverting changes to sit_params and theta_params. Will consider using new and delet
dcb9efe sit_params
ac3335e theta_params
8878232 delete rate, unused cptr
492df61 descriptions
25e0621 cell_data
051ddba stag_data
33157a2 fixed more size_t and initialized all structs
f86f430 back to original set of files I think
af1b761 removing CReaction and Classes files
006d1de reorganizing
287f81c elt_list vectorized
7228bd0 move struct rxn_token
28de8b5 more size_t
d2e3a4e Removed cxxChemRxn
ce64720 cleaned up, removed struct reaction
028e908 moving to CReaction
dc2dc53 vectorized token
9fd3f2a save_values rewritten with map
8a6cef5 vectorized save_values
8685225 fixed clang errors, needed .c_str
318e267 (size_t) max and count
1547d91 finished up spread
b5c7ba4 going to work on warnings
4c848b4 all inverse structures vectorized. Starting on solver workspace
980d58e finished vectorizing struct inverse. Need to do sub structs
d13bb76 removed count_elts
89ab28d vector inverse elts
d575ade tidy.cpp, title_x
16fd18f removed string_duplicate from prep.cpp
82a10d6 revised get_elt and get_token
d7e3be4 cleaned up some string_duplicate
76366a6 fixed processing file names
157a458 description_x
51fec19 class_main
c748922 added const qualifier for all the parsing
380a6ea methods set to const, variables need to follow
6d67e22 copier and dash
48e6b93 fixed a new master, advection punch_temp and print_temp, some tidying
5f21daf unknown->master now a vector. Using size instead of a null to end list.
3c432d0 user_graph commands, alk_list
2b14f80 last_model
7a6b8b6  Merge branch 'warnings_redux' into vectorize_2
885a2f7 Fix memory bug in ex13_impl, tweak Makefile.
6907bb0 base, sit arrays
90e8412 starting on pitzer
bd0cad9 vector kinetics arrays
1850c32 basic commands are now std::string
78a83ed c,d in polint
d82d5d6 vector llnl parameters, removed hash references
7c538b6  Revert "delete s[i]"
97bcfd7  Merge branch 'warnings_redux' into vectorize
15a8991 delete s[i]
0b19404 master new/delete
b100f85 more new/delete. Fixed str_tolower for ming
fd93f84 needed to new/delete species and phase structs
1986e00 alphabetize tokens
ee6fa53 bool analytic
cc614e6 add_logk for logk, species, phases
67447c5 Removed hashtable, all hashes have been replaced with maps.
ee7d2c5 replaced hash for isotope_ratio, isotope_alpha, calculate_value with maps. Fixed some case errors with new maps.
52e0622 replase master_isotope_hash_table with master_isotope_map
c01c8d6 replace logk_hash_table with logk_map. Added str_tolower(std::string)
3e69461 replaced phases_hash_table with phases_map
effafe0 replace species_hash_table with species_map
8bff6d3 removed HASH code. replaced elements_hash_table with elements_map
90e9ee0 removed ineq_init. Vector advection_print, advection_punch
2f38047 size_t for subscripts
5161ea7 Merged origin/master, Alphabetized Basic toks
f8e05c1 only call qsort with more than one element
1ab8641 remove _v, use std::vector only, alloc at least 1 scratch
9732a1c cannot qsort size 0 vector
67fc478 one more .data
2f0f5e1 Some replacements of .data() were incorrect
ba9813a remove .data()
43765f8 need <struct xxx>
0feb20d after merging origin/master, one fix needed
f136feb Merging origin/master. Merge remote-tracking branch 'origin/master' into warnings_redux
71aa5b9 bug count_sys not incremented
e43550c vector inverse
d4cc14e vector x
6c0edef vector rates
e3cc46a vector save_values
41b9965 vector species_list
449a54f vector mb_unknowns
51514eb vector delta, sum_jacobx
f0707aa vector sum_mb1, sum_mb2
7d303de vector trxn.token
83cfb29 elt_list, moved qsort to elt_list_combine
e8c9027 vector elt_list
0957a52 vector theta_params
b1af156 vector pitz_params
e3ea010 vector sit_params
b87d0cd vector my_array, residual, delta
e43471a vector s_x
622d361 vector s_x
3d41ef8 vector logk
e8dd208 vector sys
3c9f594 vector master
de1ba62 vector s
e7c78a8 vector phases
f2c64fe vector elements
e8af689 vector isotope_alpha
ba2601a vector isotope_ratio
76da4f8 finished master_isotope
4bb1c80 vector master_isotope
97e574d vector calculate_value**
9d9fbfb cl1 variables converted to std::vector
1e0d410 using memset
54b0d4d starting on space
5a649c2 Merge pull request #2 from usgs-coupled/gasphasepressures
a992537 (void)sscanf, removed SKIP, removed PHREEQ98
6a5bb8a Merge pull request #1 from usgs-coupled/mar10
d9ced82 Fixed uninitialized constructors and couple of other warnings
c79d2c2 working on UTF-8
fcee4d5 Added delta_h_species, delta_h_phase, dh_a0, dh_bdot Basic functions
81e862d Tonys changes Mar 10. SIs in inverse calulations
9e8b382 Merge remote-tracking branch 'usgs-coupled/master'
053b4c6 Merge remote-tracking branch 'origin/master'
20091aa Merge branch 'log10molalities' into gasphasepressures
41e1112 Last of changes for GetGasPhasePressures and GetGasPhasePhi, openmp and mpi. MPI fortrans not tested.
e1f9cb1 more checking in. Should be down to tweaks for SetGasPhaseMoles.
00ee6e3 C++ is working with OpenMP and MPI for Get/SetGasPhaseMoles. Need to add c and F90.
c3a3153 Added GetSpeciesLog10Molalities. Tested OpenMP with VS. Tested MPI with MinGW. Fortran, C, and C++ seem to work.
e8b11f3 added optional 6th argument to Basic function sys to change sort order from molality or moles to the name. Added synonym PAD$. Added new mytest/sys_sort.
3e4fc7e cleanup commented lines
54b992f working on tabs and no newline
2181847 Merge branch 'master' of https://github.com/usgs-coupled/phreeqc3
deeecb0 needed strexpr in ADD_HEADING to allow expressions
9b7785f [iphreeqccom] updated date
711b1d0 Merge commit '608e74f5d3c55a4d91a4e08d86f2fd6df0ce0a05'
608e74f [wphast] updated date
5128e13 [phreeqc3] updated image location
fba8ae2 [phreeqc3] updated image location
43988f0 initialize punch_newline
176fb02 Moved initialization from header to constructor, special characters in As.out
c9f796a added ADD_HEADING for IPhreeqc
1362f0f Added EOL_NOTAB$ and NO_NEWLINE$, updated release notes
2b4dbbd Merge commit 'cd51d8aeed46909e5f028a19089acfef43d6ede9'
f2023c4 Merge branch 'gtest' into 'master'
cd51d8a reset for dlls
54161f4 reset for dlls
01c99a7 Merge remote-tracking branch 'github/master'
23f3917 Merge remote-tracking branch 'scharlton2/master'
f6644e6 check for null pointer. Encoding for .out file
9319c9d Merge commit '5b816fa1fd82eb94e2702b6bd9df6066fb71267b'
5b816fa added src/phreeqcpp/common/PHRQ_exports.h
07717b1 added src/phreeqcpp/common/PHRQ_exports.h
d8c638f Merge remote-tracking branch 'origin/master' into gtest
87bbb6a adjusted alignment for utf-8 strings
03bda16 added write_banner to non-DOS and added UTF8 define
995de52 converted to utf-8
fc8fe3e re-added src/ZedGraph.dll
fbae3e9 code change for extending porosity definition. Change to TonyLitharge2a
46257e7 added googletest and fixed some minor bugs
13ca055 added googletest and fixed some minor bugs
f1dda6c Fixed problem with exchange-related when exchanger is defined as CaX2
20daad4 I guess cxxSurface::NO_EDL is correct
801812d Tony's changes to implicit Nernst-Planck calculation
6b4892c added Basic function DEBYE_LENGTH and test case zeta
921ab10 Changed tidy_exchange_min and tidy_exchange_kin to tidy only for new_def and n_user >= 0. Fixed bug if surf_charge not defined for NO_EDL. Added test MoreExchMix
2aef60a Finished up surface and exchange related for cases where related phase or kinetic reaction was modified. Proportionality should now be maintained. Added test cases.
569e1e1 Exchange related. Needed to update in case the related entity changed.
ea54e02 Free str in callback in PBasic
a87cd1f Merge commit '1871b026ca8487c23a025415dbc0b2eca01f9af4'
1871b02 fixed some c2011 warnings, added more info for -formula errors, fixed pressure llnl examples
aa4d023 fixed some c2011 warnings, added more info for -formula errors, fixed pressure llnl examples
e1465e3 Commit from David's Email 2020-05-22; Implementing llnl-type databases with higher temperature nad pressure
e18e1ec Tony bug fix for TRANSPORT. Harmonic mean for boundary? Added Cub example.
44f077e Merge commit 'e68934133fc9cd45e7cccc397c55e13f7ee92e5b'
e689341 [phreeqci] Testing subtree merges
4f34fd0 [phreeqci] Testing subtree merges
69c0bb3 fixed conflict on merge
55c4dba Merge commit 'b25fc5bdd48b6d3ab8d677f7d38ad3a462789500'
b25fc5b fixed conflict on merge
ca80be6 fixed conflict on merge
49a74a6 [phreeqc3] Testing subtree merges
aec6f90 [phreeqc3] Testing subtree merges
c4c224a Merge commit '84865ad5ac30a9edb86c89ced4194d127ee896fd'
0bf4138 Merge commit '4a8727cecd9fefd1587485820e913c0e666b77d9'
553875f Merge commit 'aab8bc12ea8be8aec5943e1c77a54b19d28168cb'
aab8bc1 Merge commit '84865ad5ac30a9edb86c89ced4194d127ee896fd'
7bd02ff Fixed bug with more porosities than cells in TRANSPORT. Added silica sorption to databases. Revised CalPortDiff
84865ad Added .gitlab-ci.yml
d398195 Added .gitlab-ci.yml
40c2787 Added .gitlab-ci.yml
3b6ce6c Added .gitlab-ci.yml
daf64a1 Added .gitlab-ci.yml
ae06f35 Fixed GFW bug on new elements in TRANSPORT
9cc783b added Basic functions for PHAST: velocity_x, velocity_y, velocity_z, transport_cell_no
79f768a Merge branch 'master' into 'master'
bd7634a removed j = j in loop
542394c IPhreeqc: ifdef'd out references to std::cerr and std::cout
6067ce8 Merge branch 'implicit3' into 'master'
21bd20f Fixed more compile warnings. Removed andra_kin_ss from testing, results are inconsistent between Linux and Windows, presumably the ifs in RATES
97b9c58 Merge branch 'implicit3' into 'master'
45db5cf Another Linux warning, lower tol on andra_kin_ss.
443be1c Merge branch 'implicit3' into 'master'
9a29aaf Last Linux compile warnings. Added more precision to andra_kin_ss.
6dafd7d Merge branch 'implicit3' into 'master'
fbde633 Fixing Linux compiler warnings, checking in new regression test files.
2207711 Merge branch 'implicit3' into 'master'
77e36a2 Tony fixed some transport, revised colloid_U. New cases added to Makefile.
f07caf9 Changed back print to allow incremental_reactions to work correctly
beadd07 Merge commit '5947da90657d1cb8f832152b4573dca0bbefb49e'
6a49d41 changes to make related and mixing items independent of case. surface_mix test case.
5947da9 initial Tony changes
8089c10 initial Tony changes
009aec7 Merge remote-tracking branch 'coupled/master'
4676ee4 added more P-R gas paramteters
c07314c Merge commit '492a4d257f300b7a9e0b5dc7e212c8f85ecb7f6e'
492a4d2 Merge remote-tracking branch 'coupled/master'
81ca633 Merge remote-tracking branch 'coupled/master'
950fca2 CRAN: replaced deprecated std::ptr_fun with lambda function
597bcd7 CRAN: replaced deprecated std::ptr_fun with lambda function
044e0ea phreeqc_ptr bug in internal copy
5934297 Merge commit '5c53fb207238bc0e846123a7e0d71a48bd9976ab'
5c53fb2 Merge commit '1327e93127e40e7a55ec629dcc9dd91ec29e77fe'
c117e18 Tony fix of index error
b90ddb5 Fixed Tony's fix, added implicit_as example
03acc3f changed abs to fabs
1fef40e added implicit, max_mixf to internal copy
32939ba Merge commit '1327e93127e40e7a55ec629dcc9dd91ec29e77fe'
b3bf691 fixed > > in templates for gcc
c929113 Tony fix May 31
1327e93 Implicit seems to be working with Tony's latest changes
55ea163 Implicit seems to be working with Tony's latest changes
c7111f7 Sort of works, still bugs and serious errors compared to explicit
600c7ee Fixed some bugs with iso.dat inverse modeling, added test case. Still does not generate [13C](4) and [13C](-4) from SOLUTION
2291700 Fixed gas_phase_mix bug, added test case
035a4e0 Tony tweak to transport.cpp
bd4fc25 Merge branch 'tony20190117' into 'master'
71c994b skipping restart
1257f8c Merge branch 'issue-3' into 'master'
ce33478 Fixed -Wcatch-value warnings reported by CRAN
040fd95 include restart, remove ex20_debug
d57264d 2. changes to solid solution numerical method
3fd8155 changes to solid solution numerical method
2b14a94 Tony's changes 20190117
ae6e8b0 added modify methods for restart files
b500c54 changed restart file to include UZ
fffac6d another try for ex20_debug
fa5ee50 fix problem with ex20_debug
d993901 encoding, limit.h
92c81f9 Revised logic for nmix
3cc84da Merge remote-tracking branch 'coupled/master' into ss_trans
56b5bf3 create valid ranges when sscanf doesn't return 2
c43c9af tweaked ss, changed surf function per Kinniburgh
b10df16 Corrected syntax of integer limit, previous commit actually changed ss convergence parameter, used to multiply by 0.99
d74c8ff Corrected syntax of integer limit
906cfd4 Check value of nmix
058375c removed check of ss when sum of components is small
2977db4 Tonys fix to diffusion bug with porosity change
f904467 revised lists to be cumulative for eq, gas, kin, ss
9285985 merging coupled/master into copy
7c23b62 Fixed string_duplicate memory error
2d5551a fixed sc7 for copy and initial time
4842d9e inverse iter 100000; finished copy operator; a bit more testing to go
4eefe43 ex20_debug fix
78e39cd still debugging copy
cee10e7 fixing bugs in copy operator
ebab4bc fixing bugs in copy operator
5a35e02 Fixed Linux warnings, memory errors
b86f793 Beginning to test copy operator
5d40e69 [IPhreeqc] added parens for clang++ -Wlogical-op-parentheses
936de38 removed register keywords and updated for misc clang warnings
ec9de4c beginning of checking copy operation
ebeddcd [iphreeqc] Changes for CRAN 3.4.7
9592d6e Merge branch 'dlpark-phreeqc3-TonyApr2018' into 'master'
7c0fb65 [phreeqc3] needed to check gas phase type for same model, added test case
9152ca2 Closes #1
ebc4f69 Merge branch 'dlpark-phreeqc3-TonyApr2018' into 'master'
97a0cec Fixed bug where 1W was interpreted as an isotope
2deb4ed added option -ddl to surface. Added test case
df7d5de Merge branch 'gammas' into 'master'
34abb5b gammas finished, working on reactants
5314827 Tony's changes; diffuse layer with pitzer
4271ca4 Tonys corrections, added balonis test
2e390fd commit fix for Mtg

git-subtree-dir: phreeqcpp
git-subtree-split: 2243d25babbc524e7875b3d591bb6b91c4399a95
2021-10-31 18:21:10 +00:00
Darth Vader
0a194dc629 Merge commit 'b8745514b6031a2cc548d6a3eab54b6a90031bc1' 2021-10-31 18:21:10 +00:00
Charlton, Scott R
f1fa927adf git subtree pull now squashes 2021-10-31 18:20:51 +00:00
David Parkhurst
9f3e76c4b9 Fixed DIFF_C and SETDIFF_C. Updated RELEASE.txt 2021-10-25 18:05:08 -06:00
Darth Vader
eaff17f8a7 Merge commit 'f715edb5897985acf0692d2b0bde4ab34379469f' 2021-09-29 23:26:31 +00:00
Darth Vader
2af383aa76 Merge commit '6e8b89a2ef1547d485ca8bd59016646bedbf746f' 2021-09-27 18:23:26 +00:00
Darth Vader
1c92ac16ba Merge commit 'd3bdd8b54a3af64f157001e84f1f46cd1c4c89fc' 2021-09-27 16:26:19 +00:00
Charlton, Scott R
c7dfbb5f60 added newlines for CRAN 2021-09-23 06:37:13 -07:00
Darth Vader
6f21dae9bd Merge commit '60ad724c7a34fdd7a075e70da0e99a026d689bc2' 2021-09-08 14:36:16 +00:00
Darth Vader
91823dd276 Merge commit '33f5157d8b000ea2b29ff1eef64e57761723ea31' 2021-08-31 13:54:19 +00:00
Darth Vader
af0c0b0e86 Merge commit 'ae41a1ffa67d7b4bf60373a164e24802cb7a1797' 2021-08-31 00:05:55 +00:00
Darth Vader
b135aab84f Merge commit 'fd78a499d084fc606f2df44065602e4017a895e0' 2021-08-27 16:06:26 +00:00
Darth Vader
75c4938ffc Merge commit '47a8b4e3d826313c9c42fd3e74472574fedb4b84' 2021-08-17 19:49:43 +00:00
Darth Vader
893faff974 Merge commit 'd4dfe590eb539c35219174adf5314480eebdf7f8' 2021-08-17 15:36:31 +00:00
Darth Vader
48f9f227b5 Merge commit 'afff58ffb022065fab2fe9b960633f0b86e2066b' 2021-06-24 18:32:58 +00:00
Darth Vader
8e7f7de5af Merge commit '9b94f8be88ba1d2b73948f2ddb790fd976fe8e0a' 2021-05-28 18:22:16 +00:00
Darth Vader
510744efa1 Merge commit '37de8fa93ce958aeed5e61f6b3b3e507f059257e' 2021-05-12 13:56:26 +00:00
Darth Vader
cbc40fac6f Merge commit '5b7cf2f8f32d1df2855a34f51102876527236915' 2021-05-10 22:50:57 +00:00
Darth Vader
a68b8821e3 Merge commit '2e334cb417d144fb082c88cfcf5661ffa0cfacb8' 2021-04-27 14:00:27 +00:00
David Parkhurst
eebc11b325 made tally_table a vector of class tally 2021-04-26 23:38:21 -06:00
Darth Vader
f3e27fcb90 Merge commit 'aa62814aa6731a0b093267ec2d361d4837fa3ba9' 2021-04-23 20:15:50 +00:00
Darth Vader
b8563691d2 Merge commit '2efc74230a9105f21920ee93317781e1c56e34d1' 2021-04-22 21:39:02 +00:00
Darth Vader
749cf8f4eb Merge commit '4ae649449235703be5a460fae083169e1d7a10e8' 2021-04-22 18:07:58 +00:00
Darth Vader
1371228faf Merge commit '4a848dccec5e555fd493c1565b6cc1e0707caf05' 2021-04-22 16:58:51 +00:00
Darth Vader
71ed896aac Merge commit '8080cbce1e8b54fa33d4e86c2f10f8e443419bd9' 2021-04-19 23:24:17 +00:00
Darth Vader
08e7576bb6 Merge commit 'abacccd0ee631ddcaf427f200ced4db1d0cf626f' 2021-04-12 17:11:21 +00:00
Darth Vader
a2974f3759 Merge commit '2537a2c376658ea64bfaf37bc9738b76d71a787b' 2021-04-11 23:26:18 +00:00
Darth Vader
acf0a143a8 Merge commit '4b9b99267b55b2c9ee5cbf96c4dff2cc1d946c40' 2021-04-10 17:29:17 +00:00
Darth Vader
0abe01cab7 Merge commit 'bd0962591257268d0726bf54db1bbdc39f691ced' 2021-04-08 17:27:39 +00:00
Scott R Charlton
fd0bc3096f removed TESTING definition 2021-04-08 11:24:03 -06:00
Scott R Charlton
c27e7010bb updated for classify branch 2021-04-08 11:15:55 -06:00
Darth Vader
7993336a9f Merge commit '2697dc958cee10b7a5fedeec8b98fbb2aa30f62a' 2021-04-08 15:12:48 +00:00
Darth Vader
78223d9720 Merge commit '0479fc1adaec4ef03f9d3755219119c118afc531' 2021-04-08 13:50:54 +00:00
Darth Vader
5c0e718999 Merge commit '0aa30d21ac10b0ea13ad3cb1f701e7e3cac7eda7' 2021-04-07 19:26:57 +00:00
Darth Vader
9dffd1b98d Merge commit '639490d0610cc02b8618567d95ff30833eafd6c2' 2021-04-07 14:28:05 +00:00
Darth Vader
eb19293d49 Merge commit 'b1efa4f251731679e57d36e20579687b2d1efce2' 2021-04-06 16:06:24 +00:00
Darth Vader
dabf07b5f3 Merge commit '4ca2e4e1f403f232428f1010ddaa422088b2f474' 2021-03-24 16:45:51 +00:00
Darth Vader
cea69f62bf Merge commit '7b0c2df096a26cb453170fe0a17c5e4d2fb8409e' 2021-03-22 23:37:33 +00:00
Darth Vader
299be46961 Merge commit 'de884e4e3637e62826fac1cea60d94759fb7a8cd' 2021-03-20 03:57:03 +00:00
Darth Vader
30aece6c4a Merge commit '0c581ea4be8bceb2a122d409da9a8a2585c8daad' 2021-03-19 23:35:30 +00:00
Darth Vader
e892cc168e Merge commit '8e9c5b3592fdf2b1b016a9da1d1e1f6f1c23ef45' 2021-03-19 23:34:16 +00:00
Charlton, Scott R
f686374e5e only call qsort with more than one element 2021-03-19 17:32:10 -06:00
Darth Vader
b6a0f193c9 Merge commit 'c1c08f2f2d4a08ec86b46d70716fb709eb863e9c' 2021-03-18 23:29:19 +00:00
Darth Vader
f03c3f7ca2 Merge commit '3770354f0a980a6a5c3001bdf061d9543cb23c11' 2021-03-18 19:25:43 +00:00
Darth Vader
29375bfc74 Merge commit 'ecbb26c3d7f6f15e97874b866b7b6b4a5be9a65d' 2021-03-18 15:52:41 +00:00
Darth Vader
9ddd92f271 Merge commit '5688f837474cd7cda50564e379d291e9944a89fc' 2021-03-18 05:44:05 +00:00
Darth Vader
d19a31a65a Merge commit '8c8f6fd176aa60c9e0349f0e79888e5d50aca079' 2021-03-14 02:15:56 +00:00
Darth Vader
50e81af4ec Merge commit 'd6e6d11b2868f770f394fd7f2635ddaaed6598df' 2021-03-14 02:14:30 +00:00
Darth Vader
3d05ce1743 Merge commit '710d0096aa62355bf6c212efb3f6f9392ccd3f37' 2021-03-12 16:57:53 +00:00
Darth Vader
deec05fc83 Merge commit '62c51bb410b3f9fd18cc5a21b5341e9652089d86' 2021-03-06 01:42:53 +00:00
Darth Vader
a75a9caa08 Merge commit '4473286a216928665f9c1b00932687c9945175a9' 2021-03-05 23:51:16 +00:00
Darth Vader
0409a3ed07 Merge commit 'b9f44da20a78a23395d38205c001298f6a68bd0c' 2021-03-05 23:49:46 +00:00
Darth Vader
dcd7188a71 Merge commit '20ab4be9f3235740e6ed5ede81bca488adffd991' 2020-12-16 19:05:29 +00:00
Darth Vader
7ea1a6d42b Merge commit '2d2f55adc0376d3ba4bc366e0e8bcc44f658a9c7' 2020-12-03 03:07:53 +00:00
Darth Vader
bef448830f Merge commit 'f4cdf1a12b67211e0dc567bcd80d8718963da0c3' 2020-12-03 03:04:34 +00:00
Darth Vader
554256e3bc Merge commit '33f589897a8e09ca3dd745b150f3eb6555347052' 2020-12-03 03:04:34 +00:00
Darth Vader
d4a8833af3 Merge commit 'e224625f086369b838e5db00d5105b30f444b963' 2020-12-03 01:53:46 +00:00
Darth Vader
d98a0029ab Merge commit 'a0ef46490f40ab0828b1a025da7d7dc00f407c98' 2020-12-02 01:05:30 +00:00
Darth Vader
fa25db5da9 Merge commit '50016849a03a70eeb0f714f23a3b56f1983a8189' 2020-12-02 01:05:29 +00:00
Charlton, Scott R
77aa5731e9 [iphreeqc] updated image location 2020-12-01 17:36:14 -07:00
Charlton, Scott R
fb31cc3811 [iphreeqc] updated image location 2020-12-01 17:36:14 -07:00
Darth Vader
870f0f08cd Merge commit '055ebf5c1ffe61bba8b37743f1bddd93007131b9' 2020-09-29 22:14:55 +00:00
Darth Vader
0c9d4081bf Merge commit '589d88ff89b061b46289530165ad032642fbdaa4' 2020-09-29 22:13:03 +00:00
Darth Vader
b6fffd47be Merge commit 'f4bf55d7bf26ca64edec1836ca4d2708427962ce' 2020-09-29 22:11:36 +00:00
Charlton, Scott R
7cbba0ec01 Merge branch 'gtest' into 'master'
Reset dllexport; fixed doxygen example tests

See merge request coupled/iphreeqc!19
2020-09-29 22:09:46 +00:00
Charlton, Scott R
621401d34c reset for dlls 2020-09-29 10:27:55 -06:00
Darth Vader
c03b987cf4 Merge commit 'e904f5b730e622046aedacf704a6e888654c7517' 2020-09-24 04:31:32 +00:00
Darth Vader
1f5428a912 Merge commit 'e562e09e9ae00671933f9800a302629f50d945dc' 2020-09-17 06:12:28 +00:00
Darth Vader
53ad340bdb Merge commit 'ea2c663c90fe84a9c191eac91286bb2afed4bd15' 2020-09-17 06:10:31 +00:00
Darth Vader
7faca8486f Merge commit '0b0fced395d40a23a1eb8514688a812c13e4db02' 2020-09-17 06:08:08 +00:00
Charlton, Scott R
abb80b511f added src/phreeqcpp/common/PHRQ_exports.h 2020-09-15 20:29:41 -06:00
Charlton, Scott R
b030a0b9db Merge remote-tracking branch 'origin/master' into gtest 2020-09-07 22:25:59 -06:00
Darth Vader
5ab593e6a4 Merge commit '18e137ff556c9e9410d9cb995bfc0369891bc484' 2020-09-06 04:14:42 +00:00
Darth Vader
6e38872a51 Merge commit '3782d4420d3d6282315acfecf33b3c7e7da333d0' 2020-09-04 23:44:03 +00:00
Darth Vader
c1077d709d Merge commit 'd4261840c7f7720e5a76a941790ce48d40480097' 2020-08-31 03:46:03 +00:00
Darth Vader
99b48a4f49 Merge commit '6e7023f8428a4bfde82f7dc83287ae95b38f1d6b' 2020-08-31 01:56:04 +00:00
Charlton, Scott R
c459903476 added googletest and fixed some minor bugs 2020-08-25 12:27:15 -06:00
Charlton, Scott R
e221f73ce7 implemented Get/SetErrorOn 2020-08-25 12:17:54 -06:00
Darth Vader
75f4ab0ba6 Merge commit 'b138ed208df65cd4653ea7a2e07332a3d3e1c8b2' 2020-08-20 02:38:58 +00:00
Darth Vader
57cf38ddb0 Merge commit '5631ce1e56cda328e8efac33a0ee998a7fd27489' 2020-08-18 19:59:27 +00:00
Darth Vader
fb6c36a792 Merge commit '9d480bc124a4e9e979b4995476d086f90e3833e7' 2020-08-13 17:49:43 +00:00
Darth Vader
24d69a0557 Merge commit 'ea21e58a8f9bd9ae4de057ca2422d8a4f399826c' 2020-07-23 16:02:57 +00:00
Darth Vader
5d70f691d7 Merge commit '9029c2bcba781cba475c035d5fb81f83c8ec56fa' 2020-07-16 01:05:35 +00:00
Darth Vader
a19f9e7e15 Merge commit '74b541d42e40ef1ed8df0bfba9826e55b046e9f0' 2020-06-01 18:21:57 +00:00
Darth Vader
bef8a01ca8 Merge commit '1c3edaa7473043f049372de76a3d622b45d3fed3' 2020-05-22 22:16:27 +00:00
Darth Vader
c41548d30f Merge commit '89ca3d279fed2341cf35bc240da008836972fc7e' 2020-02-22 03:19:15 +00:00
Darth Vader
c7f9087c3b Merge commit 'a208e3948a804c8fb689fa980739e341b6696a32' 2020-01-28 18:26:36 +00:00
Darth Vader
7668c4c611 Merge commit 'fae004f42baa79cb40476a1814ffbf1278871c5f' 2020-01-28 17:57:18 +00:00
Darth Vader
fa9c36cf5d Merge commit 'a4c582649b4aae5e535960843a7d71567ac3d12e' 2020-01-28 17:23:41 +00:00
Darth Vader
939f7ed841 Merge commit '090f5e682b8b44251566a2624fe8189744f727c5' 2020-01-28 17:17:47 +00:00
Darth Vader
981dd81efa Merge commit '9bcc875c9ed6ddb30a29500ca89de8f9281bac80' 2020-01-28 16:45:18 +00:00
Darth Vader
f7313acf86 Merge commit 'a1cf1e608ea822184059a4c93887c025f983bbfe' 2020-01-28 16:26:22 +00:00
Darth Vader
030fa168b0 Merge commit '0163f911a4a33619d6e0960c24b6707bc27f8c61' 2020-01-28 16:15:53 +00:00
Darth Vader
1bd3f9582a Merge commit '8e901d060dba068ab2390e9917de4cee52c4979c' 2020-01-27 23:58:00 +00:00
Darth Vader
40edae9330 Merge commit 'bb5bcbf15eb0ff4efe3dceb70b3682fd6a59f47f' 2020-01-27 23:54:30 +00:00
Darth Vader
eff757c8ed Merge commit '108755553045b7943d024ecd512cddb233ee9c63' 2020-01-27 02:31:12 +00:00
Darth Vader
22ec3a55fd Merge commit '92807718ee036df029c57351fdd15b4a456d4496' 2020-01-27 02:11:42 +00:00
Darth Vader
d5e6c6b7e5 Merge commit 'efbddbf6dc5b3bca3076b50d39c42a196ae551c8' 2020-01-27 02:06:21 +00:00
Darth Vader
d48de197c3 Merge commit 'eed9de906915d10ceaf4ec3df3bf5ee3132ad80b' 2020-01-19 06:52:34 +00:00
Darth Vader
e1424d5577 Merge commit '32073de75198725fcc69bfbe814941aecfdf6ba8' 2020-01-19 06:43:53 +00:00
Scott Charlton
5f6538350d Added .gitlab-ci.yml 2020-01-18 23:42:45 -07:00
Scott Charlton
195c800faf Added .gitlab-ci.yml 2020-01-18 23:42:45 -07:00
Scott R Charlton
918da84d83 Merge commit '757927da596446462e8daceb57b20bba2c591f33' 2020-01-02 19:25:18 -07:00
Scott R Charlton
bc0a05ccfd Merge commit 'aa963a9cae20b9634b4c41e7b6387a2b22b28445' 2019-12-13 10:24:37 -07:00
Scott R Charlton
c5ff247765 Merge commit '0366caf10b0748d78cb718898c714e1397a008b4' 2019-12-13 10:20:33 -07:00
Scott R Charlton
49681a22db Merge commit 'd97736a3a718c05c91a3aa6eb567c18538464436' 2019-12-03 13:29:35 -07:00
Scott R Charlton
1016398534 Merge commit 'd0e5bac5843adf417da9a722e8f8ae8405442d26' 2019-11-24 20:24:45 -07:00
Scott R Charlton
9d49905cd2 IPhreeqc: ifdef'd out references to std::cerr and std::cout 2019-11-23 21:14:02 -07:00
Scott R Charlton
f6023203e2 Merge commit 'e5bf8b0aa61996d6b4ee40820a7b7f79cb649444' 2019-11-19 19:50:40 -07:00
Scott R Charlton
077fbf97fb Merge commit 'fd242bd33f1f6b3b91cd6d4f5a5336db0edfa81e' 2019-11-19 14:20:33 -07:00
Scott R Charlton
1ab3235e68 Merge commit '3049467b561ef8176c81341b76b883b2179380f2' 2019-11-19 12:41:28 -07:00
Scott R Charlton
9a6afb37c4 Merge commit 'd7188d25f30f33d2158082341224dda94f4bc1cc' 2019-11-19 09:40:14 -07:00
Scott R Charlton
589d6ba5d6 Merge commit '679c637ed207c2a2418be64d4ee1ca140073ba90' 2019-11-18 22:29:45 -07:00
Scott R Charlton
d7ab7115d4 Merge commit 'd8ba4ac6103d1c7c360f637fddab0625bc616878' 2019-10-30 11:14:54 -06:00
Scott R Charlton
545e81ba3a Merge commit '63108ac76d6fa7c378c21690b6342333c4cb446c' 2019-10-30 11:10:37 -06:00
Scott R Charlton
82dc185a90 Merge commit '86888c465e9f7ff2ab6e5dfea003fc6ba73383b6' 2019-10-21 16:25:10 -06:00
Scott R Charlton
a18a3a3b89 Merge commit '26c751fd7e74b54a4e51859b0fcb35dc5c059558' 2019-08-19 11:31:20 -06:00
Scott R Charlton
cde1f9fabd Merge commit 'd9a6717e802cbfebd983b9b2b2bca59508b732f6' 2019-08-19 11:23:46 -06:00
Scott R Charlton
a83306d3cf Merge commit '86c543395fda4a9fe20062975c117edfca880c9d' 2019-08-19 11:05:36 -06:00
Scott R Charlton
3a7b01f367 Merge remote-tracking branch 'coupled/master' 2019-08-19 10:48:19 -06:00
Scott R Charlton
183eaeee52 CRAN: replaced deprecated std::ptr_fun with lambda function 2019-08-19 10:40:46 -06:00
Scott R Charlton
e0e589f7c1 Merge commit '5b3379b947de79f9182a880a74500f50dc234f54' 2019-06-18 18:29:56 -06:00
Scott R Charlton
957b1211b9 Merge commit '67342a4d0414680313fce8eca4c7f81c67b49004' 2019-06-17 17:35:55 -06:00
Scott R Charlton
0b39297213 Merge commit '8412823930dd6ea12f1be8dbbe64c50354748df2' 2019-06-17 17:34:37 -06:00
Scott R Charlton
7ff05ddca3 Merge commit '5a46f0d778ddd534e263fa93df8e4d0baab370a3' 2019-06-05 21:48:12 -06:00
Scott R Charlton
5a43b70d11 Merge commit 'aa34ac11538c27f39c44c34938411f1e00afce19' 2019-06-05 20:44:38 -06:00
Scott R Charlton
7989602798 Merge commit '79c28e50c1ac44195f0aafc8279f601f1f40c836' 2019-05-06 15:44:30 -06:00
Scott R Charlton
027862acef Merge commit '94155a63c62b057011f9c961e240e0e04721ca05' 2019-02-05 23:49:55 -07:00
Scott R Charlton
5b1de2f720 Merge commit '51fbb3d5b08d20592bbc358d2f7ca25b75c74691' 2019-02-04 21:19:44 -07:00
Scott R Charlton
788a8426a0 Merge commit '1e4a2941b3b1d0cecacd0bba8c0252b87e74dca8' 2019-01-30 21:34:42 -07:00
Scott R Charlton
b38349aa36 Merge commit '3b7308661a560e4d0984da531dbeb155a2420d1a' 2019-01-30 18:36:43 -07:00
Scott R Charlton
2431c5b33e Merge commit 'f0c3701bdee8ef3901b9b50698eb46b61574d086' 2019-01-30 18:20:34 -07:00
Scott R Charlton
f485cbe944 Merge branch 'issue-3' into 'master'
Fixed -Wcatch-value warnings reported by CRAN

Closes #3

See merge request coupled/IPhreeqc!8
2019-01-30 18:12:57 -07:00
Scott R Charlton
9cbf676df3 Merge commit 'fbde6453ae53afa9bd4910ff00b48ecccc1153b8' 2019-01-30 17:20:34 -07:00
Scott R Charlton
7237eb267d Merge branch 'issue-2' into 'master'
Issue 2

See merge request coupled/IPhreeqc!7
2019-01-30 17:12:46 -07:00
Scott Charlton
e3ea51f8eb Fixed -Wcatch-value warnings reported by CRAN 2019-01-29 16:04:01 -08:00
Scott R Charlton
d157977bcd Merge commit '548aead510d42fd3998eb74be8a5f94396c69bea' 2019-01-29 11:10:59 -07:00
Scott R Charlton
1eb3ed948a Merge commit '12df06b34cba4744a36bf519bb7298caf98a320a' 2019-01-28 22:14:47 -07:00
Scott R Charlton
1bbc004477 Merge commit '43386a0bc4d26c2891a23c27cfb2bae0f6cec9eb' 2019-01-28 21:20:43 -07:00
Scott R Charlton
f56958652e Merge commit 'f90fc5afeaa5347ef057416551bb406e8ce5d855' 2019-01-28 18:20:25 -07:00
Scott R Charlton
4c7946afb5 Added code to record git commit hash 2019-01-28 16:41:11 -07:00
Scott R Charlton
ad4fc43e3b Merge commit '1a4422b8af0f7801aa8cfcff161804516ac50910' 2018-12-11 17:55:34 -07:00
Scott R Charlton
6091a42e2b Merge commit '1bfc9f49d032d42460c4e993f3aafc8a3f341625' 2018-12-11 17:50:24 -07:00
Scott R Charlton
8170cb9824 Merge commit '749c3e09ee53cd345d1375e72ebf3c10591581b2' 2018-12-06 13:54:54 -07:00
Scott R Charlton
eefd6bfa78 Merge commit '1150a4a2aa4b6957fbf8bb2cf1d0c58ce8cf81d5' 2018-12-06 13:50:29 -07:00
Scott R Charlton
fdb8d13703 Merge commit 'c2dada993c2edb3f80f9bae636ace9b099073051' 2018-11-07 23:14:47 -07:00
Scott R Charlton
85c8d55a4b Merge commit '4235170d91bbc77f6775c141ada27b130518329b' 2018-11-07 20:11:06 -07:00
Scott R Charlton
a8730c6e95 Merge commit '65dbd2c15b866dd75bc66faab28f0761ebaf348d' 2018-11-07 16:21:51 -07:00
Scott R Charlton
c1c6ca18a8 Merge commit '6e92ecf9efab80668453622bc42226616043320e' 2018-11-07 15:29:50 -07:00
Scott R Charlton
bf865f6a3b Merge commit 'dbefc44f31ee85768c0ac5a2f9eeba05c525eabe' 2018-11-07 14:39:52 -07:00
Scott R Charlton
9e0bf943a3 Merge commit 'c83e4bf78e37924add9da5889dc133e335d3efe6' 2018-11-06 16:50:49 -07:00
Scott R Charlton
a69488c64a Merge commit 'c4fa021ec11b89ab9f4498823409abae9c256d1b' 2018-10-19 20:14:50 -06:00
Scott R Charlton
39d69af25e Merge commit 'ec4ec0a3cb6abe172788ffc9d7db5d183390b4da' 2018-08-28 12:19:48 -06:00
Scott R Charlton
30ae101acc Merge commit '3a0292c6956e0bb4d9bf1e9b4bed9831ac517d39' 2018-08-28 12:15:40 -06:00
Scott R Charlton
da6660ae70 Merge commit '7b836dd6cffc6e52c29192e6ae7583044c27cadb' 2018-08-22 16:44:38 -06:00
Scott R Charlton
bda358e2d0 Merge commit 'b3e7b2eca602b628e05c15dd920a1cb470980736' 2018-08-14 21:27:22 -06:00
Scott R Charlton
d667690fcb Merge commit 'ae05e0a661652f55323bd8f394a8907b01df36ad' 2018-08-14 21:22:25 -06:00
Scott R Charlton
a56973f604 Merge branch 'cran-warnings' into 'master'
[IPhreeqc] added parens for clang++ -Wlogical-op-parentheses

See merge request coupled/IPhreeqc!6
2018-08-14 21:02:41 -06:00
Scott Charlton
e5a7fa638b [IPhreeqc] added parens for clang++ -Wlogical-op-parentheses 2018-08-14 19:55:28 -07:00
Scott R Charlton
088f389c49 Merge commit '113fd9aa5ed6507dabd3364a831d8bcbc9cf17c4' 2018-08-14 20:22:00 -06:00
Scott R Charlton
0f7b19adc6 Merge commit '6894b4a7b1ef73cae9d582609173cb84f52e5b3c' 2018-08-14 20:15:46 -06:00
Scott R Charlton
c6865539f8 Merge commit 'd96f386211ad5fbace94d550ca371d9eacb3262f' 2018-08-14 20:11:05 -06:00
Scott Charlton
f2e39872a4 removed register keywords and updated for misc clang warnings 2018-08-14 16:11:36 -07:00
209 changed files with 35370 additions and 31657 deletions

30
.github/subtrees.json vendored Normal file
View File

@ -0,0 +1,30 @@
[
{
"prefix": "src",
"repo": "usgs-coupled-subtrees/iphreeqc-src"
},
{
"prefix": "examples/c",
"repo": "usgs-coupled-subtrees/phreeqc-commanuscript-cgfinal-examples-c"
},
{
"prefix": "examples/com",
"repo": "usgs-coupled-subtrees/phreeqc-commanuscript-cgfinal-examples-com"
},
{
"prefix": "examples/fortran",
"repo": "usgs-coupled-subtrees/phreeqc-COMManuscript-CGfinal-examples-fortran"
},
{
"prefix": "database",
"repo": "usgs-coupled-subtrees/phreeqc3-database"
},
{
"prefix": "phreeqc3-doc",
"repo": "usgs-coupled-subtrees/phreeqc3-doc"
},
{
"prefix": "phreeqc3-examples",
"repo": "usgs-coupled-subtrees/phreeqc3-examples"
}
]

7
.github/superprojects.json vendored Normal file
View File

@ -0,0 +1,7 @@
{
"usgs-coupled-subtrees/iphreeqc": {
"superprojects": [
"usgs-coupled-subtrees/webmod"
]
}
}

View File

@ -1,296 +1,296 @@
name: CMake
on:
push:
pull_request:
branches:
- master
schedule:
- cron: '15 14 4,11,18,25 * *'
workflow_dispatch:
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
NAME: IPhreeqc
jobs:
init:
runs-on: ubuntu-latest
# Map step outputs to job outputs
outputs:
VER: ${{ steps.vars.outputs.VER }}
REL: ${{ steps.vars.outputs.REL }}
DATE: ${{ steps.vars.outputs.DATE }}
DATE_RFC_3339: ${{ steps.vars.outputs.DATE_RFC_3339 }}
steps:
- name: Setup vars
id: vars
run: |
echo VER=$(curl -sS https://raw.githubusercontent.com/usgs-coupled/phreeqc-version/main/next_ver.sh | sh) >> $GITHUB_OUTPUT
echo REL=$(curl -sS https://raw.githubusercontent.com/usgs-coupled/phreeqc-version/main/rel.py | python3) >> $GITHUB_OUTPUT
echo DATE=$(date "+%x") >> $GITHUB_OUTPUT
echo DATE_RFC_3339=$(date --rfc-3339=date) >> $GITHUB_OUTPUT
test:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
env:
BUILD_DIR: _ctest # set in ctest.cmake
steps:
- uses: actions/checkout@v4
- name: Install ninja valgrind (Linux)
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y ninja-build valgrind
- name: Install ninja (macOS)
if: runner.os == 'macOS'
run: brew install ninja
- name: Set up Visual Studio shell (Windows)
if: runner.os == 'Windows'
uses: egor-tensin/vs-shell@v2
with:
arch: x64
- name: CTest
run: ctest -S ctest.cmake -V --output-on-failure --timeout 900
- name: Upload results
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-${{ github.job }}-results
path: ${{ github.workspace }}/${{ env.BUILD_DIR }}/Testing/
test-shared:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
env:
BUILD_DIR: _ctest_shared # set in ctest-shared.cmake
steps:
- uses: actions/checkout@v4
- name: Install ninja valgrind (Linux)
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y ninja-build valgrind
- name: Install ninja (macOS)
if: runner.os == 'macOS'
run: brew install ninja
- name: Set up Visual Studio shell (Windows)
if: runner.os == 'Windows'
uses: egor-tensin/vs-shell@v2
with:
arch: x64
- name: CTest
run: ctest -S ctest-shared.cmake -V --output-on-failure --timeout 900
- name: Upload results
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-${{ github.job }}-results
path: ${{ github.workspace }}/${{ env.BUILD_DIR }}/Testing/
test-clang:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
shared_libs: [OFF, ON]
enable_module: [OFF, ON]
runs-on: ${{ matrix.os }}
env:
BUILD_DIR: _build
steps:
- uses: actions/checkout@v4
- name: Install ninja valgrind (Linux)
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y ninja-build clang valgrind
- name: Install ninja (macOS)
if: runner.os == 'macOS'
run: brew install ninja
- name: Set up Visual Studio shell (Windows)
if: runner.os == 'Windows'
uses: egor-tensin/vs-shell@v2
with:
arch: x64
- name: CMake configure
if: runner.os == 'Linux'
run: CC=clang CXX=clang++ cmake -B ${{ env.BUILD_DIR }} -DBUILD_SHARED_LIBS=${{ matrix.shared_libs }} -DIPHREEQC_ENABLE_MODULE=${{ matrix.enable_module }} -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_STANDARD_REQUIRED=ON
- name: CMake configure
if: runner.os == 'macOS'
run: CC=$(brew --prefix llvm@15)/bin/clang CXX=$(brew --prefix llvm@15)/bin/clang++ cmake -B ${{ env.BUILD_DIR }} -DBUILD_SHARED_LIBS=${{ matrix.shared_libs }} -DIPHREEQC_ENABLE_MODULE=${{ matrix.enable_module }} -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_STANDARD_REQUIRED=ON
- name: CMake configure
if: runner.os == 'Windows'
run: cmake -B ${{ env.BUILD_DIR }} -A x64 -T "ClangCL" -DBUILD_SHARED_LIBS=${{ matrix.shared_libs }} -DIPHREEQC_ENABLE_MODULE=${{ matrix.enable_module }} -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_STANDARD_REQUIRED=ON
- name: CMake build
run: cmake --build ${{ env.BUILD_DIR }}
- name: CTest
run: ctest --test-dir ${{ env.BUILD_DIR }}
- name: Upload results
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-${{ github.job }}-SHARED=${{ matrix.shared_libs }}-MODULE=${{ matrix.enable_module }}-results
path: ${{ github.workspace }}/${{ env.BUILD_DIR }}/Testing/
chm:
runs-on: windows-latest
steps:
- name: Checkout phreeqc3-HTMLversion
uses: actions/checkout@v4
with:
repository: usgs-coupled-subtrees/phreeqc3-HTMLversion
ref: master
- name: cache htmlhelp
id: cache-htmlhelp
uses: actions/cache@v4
with:
path: "C:/Program Files (x86)/HTML Help Workshop"
key: ${{ runner.os }}-htmlhelp
- name: install htmlhelp
if: steps.cache-htmlhelp.outputs.cache-hit != 'true'
timeout-minutes: 5
run: |
curl -L -O --max-time 120 http://web.archive.org/web/20160201063255/http://download.microsoft.com/download/0/A/9/0A939EF6-E31C-430F-A3DF-DFAE7960D564/htmlhelp.exe
cmd /c start /wait .\htmlhelp.exe /q /c /t:$(Get-Location)\tmp
$file = "$(Get-Location)\tmp\htmlhelp.inf"
(Get-Content $file) | Foreach-Object { $_ `
-replace '^BeginPrompt', ';;BeginPrompt' `
-replace '^EndPrompt', ';;EndPrompt' `
-replace '^49000=CustomLDID49000, 1', '49000=CustomLDID49000, 5' `
-replace '^"hhupd.exe', ';;hhupd.exe' `
-replace '^DefaultInstallDir="C:\\Program Files\\HTML Help Workshop"', 'DefaultInstallDir="%ProgramFiles%\\HTML Help Workshop"'
} | Set-Content $file
cmd /c start /wait .\tmp\setup.exe
Remove-Item -Recurse -Force .\tmp
Remove-Item -Recurse -Force .\htmlhelp.exe
# the next line doesn't seem to work (supposed to set the path)
# echo 'C:\Program Files (x86)\HTML Help Workshop' >> $GITHUB_PATH
- name: compile chm
shell: bash
run: |
pushd HTML
bash fixup_html.bash
popd
# hhc returns 1 on success
set +e
'C:\Program Files (x86)\HTML Help Workshop\hhc' phreeqc3.hhp | tee hhc.out
status=${PIPESTATUS[0]}
set -e
if [ "$status" -eq 1 ]; then
echo "[OK]"
exit 0
else
echo "[FAILED]"
exit 1
fi
- uses: actions/upload-artifact@v4
with:
name: chm
path: ${{github.workspace}}/phreeqc3.chm
R-CMD-check:
needs: [init]
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
strategy:
fail-fast: false
matrix:
config:
- {os: macos-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}
steps:
- uses: actions/checkout@v4
- name: versioning
run: ./jenkins-dist.sh -v ${{ needs.init.outputs.VER }} -r ${{ needs.init.outputs.REL }} -d ${{ needs.init.outputs.DATE }}
- name: Setup R
uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true
- name: create source
working-directory: R
run: make VERSION=${{ needs.init.outputs.VER }} RELEASE_DATE=${{ needs.init.outputs.DATE_RFC_3339 }} source
- name: Install dependencies
uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::roxygen2, any::pkgbuild, any::rcmdcheck
needs: roxygen2, pkgbuild, check
working-directory: R/phreeqc
- name: Display sessionInfo()
run: sessionInfo()
working-directory: R/phreeqc
shell: Rscript {0}
- name: roxygen2::roxygenise()
run: roxygen2::roxygenise()
working-directory: R/phreeqc
shell: Rscript {0}
- name: Check
uses: r-lib/actions/check-r-package@v2
with:
working-directory: R/phreeqc
- name: List files
if: matrix.config.os == 'ubuntu-latest' && matrix.config.r == 'release'
run: |
pwd
ls -lR
find -name "*.tar.gz"
- uses: actions/upload-artifact@v4
if: matrix.config.os == 'ubuntu-latest' && matrix.config.r == 'release'
with:
name: cran
path: ${{ github.workspace }}/R/phreeqc/check/phreeqc_*.tar.gz
# name: CMake
#
# on:
# push:
#
# pull_request:
# branches:
# - master
#
# schedule:
# - cron: '15 14 4,11,18,25 * *'
#
# workflow_dispatch:
#
# env:
# # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
# BUILD_TYPE: Release
# NAME: IPhreeqc
#
# jobs:
#
# init:
# runs-on: ubuntu-latest
# # Map step outputs to job outputs
# outputs:
# VER: ${{ steps.vars.outputs.VER }}
# REL: ${{ steps.vars.outputs.REL }}
# DATE: ${{ steps.vars.outputs.DATE }}
# DATE_RFC_3339: ${{ steps.vars.outputs.DATE_RFC_3339 }}
# steps:
# - name: Setup vars
# id: vars
# run: |
# echo VER=$(curl -sS https://raw.githubusercontent.com/usgs-coupled/phreeqc-version/main/next_ver.sh | sh) >> $GITHUB_OUTPUT
# echo REL=$(curl -sS https://raw.githubusercontent.com/usgs-coupled/phreeqc-version/main/rel.py | python3) >> $GITHUB_OUTPUT
# echo DATE=$(date "+%x") >> $GITHUB_OUTPUT
# echo DATE_RFC_3339=$(date --rfc-3339=date) >> $GITHUB_OUTPUT
#
#
# test:
# strategy:
# fail-fast: false
# matrix:
# os: [macos-latest, ubuntu-latest, windows-latest]
#
# runs-on: ${{ matrix.os }}
# env:
# BUILD_DIR: _ctest # set in ctest.cmake
#
# steps:
# - uses: actions/checkout@v4
#
# - name: Install ninja valgrind (Linux)
# if: runner.os == 'Linux'
# run: sudo apt-get update && sudo apt-get install -y ninja-build valgrind
#
# - name: Install ninja (macOS)
# if: runner.os == 'macOS'
# run: brew install ninja
#
# - name: Set up Visual Studio shell (Windows)
# if: runner.os == 'Windows'
# uses: egor-tensin/vs-shell@v2
# with:
# arch: x64
#
# - name: CTest
# run: ctest -S ctest.cmake -V --output-on-failure --timeout 900
#
# - name: Upload results
# uses: actions/upload-artifact@v4
# with:
# name: ${{ matrix.os }}-${{ github.job }}-results
# path: ${{ github.workspace }}/${{ env.BUILD_DIR }}/Testing/
#
# test-shared:
# strategy:
# fail-fast: false
# matrix:
# os: [macos-latest, ubuntu-latest, windows-latest]
#
# runs-on: ${{ matrix.os }}
# env:
# BUILD_DIR: _ctest_shared # set in ctest-shared.cmake
#
# steps:
# - uses: actions/checkout@v4
#
# - name: Install ninja valgrind (Linux)
# if: runner.os == 'Linux'
# run: sudo apt-get update && sudo apt-get install -y ninja-build valgrind
#
# - name: Install ninja (macOS)
# if: runner.os == 'macOS'
# run: brew install ninja
#
# - name: Set up Visual Studio shell (Windows)
# if: runner.os == 'Windows'
# uses: egor-tensin/vs-shell@v2
# with:
# arch: x64
#
# - name: CTest
# run: ctest -S ctest-shared.cmake -V --output-on-failure --timeout 900
#
# - name: Upload results
# uses: actions/upload-artifact@v4
# with:
# name: ${{ matrix.os }}-${{ github.job }}-results
# path: ${{ github.workspace }}/${{ env.BUILD_DIR }}/Testing/
#
# test-clang:
# strategy:
# fail-fast: false
# matrix:
# os: [macos-latest, ubuntu-latest, windows-latest]
# shared_libs: [OFF, ON]
# enable_module: [OFF, ON]
#
# runs-on: ${{ matrix.os }}
# env:
# BUILD_DIR: _build
#
# steps:
# - uses: actions/checkout@v4
#
# - name: Install ninja valgrind (Linux)
# if: runner.os == 'Linux'
# run: sudo apt-get update && sudo apt-get install -y ninja-build clang valgrind
#
# - name: Install ninja (macOS)
# if: runner.os == 'macOS'
# run: brew install ninja
#
# - name: Set up Visual Studio shell (Windows)
# if: runner.os == 'Windows'
# uses: egor-tensin/vs-shell@v2
# with:
# arch: x64
#
# - name: CMake configure
# if: runner.os == 'Linux'
# run: CC=clang CXX=clang++ cmake -B ${{ env.BUILD_DIR }} -DBUILD_SHARED_LIBS=${{ matrix.shared_libs }} -DIPHREEQC_ENABLE_MODULE=${{ matrix.enable_module }} -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_STANDARD_REQUIRED=ON
#
# - name: CMake configure
# if: runner.os == 'macOS'
# run: CC=$(brew --prefix llvm@15)/bin/clang CXX=$(brew --prefix llvm@15)/bin/clang++ cmake -B ${{ env.BUILD_DIR }} -DBUILD_SHARED_LIBS=${{ matrix.shared_libs }} -DIPHREEQC_ENABLE_MODULE=${{ matrix.enable_module }} -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_STANDARD_REQUIRED=ON
#
# - name: CMake configure
# if: runner.os == 'Windows'
# run: cmake -B ${{ env.BUILD_DIR }} -A x64 -T "ClangCL" -DBUILD_SHARED_LIBS=${{ matrix.shared_libs }} -DIPHREEQC_ENABLE_MODULE=${{ matrix.enable_module }} -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_STANDARD_REQUIRED=ON
#
# - name: CMake build
# run: cmake --build ${{ env.BUILD_DIR }}
#
# - name: CTest
# run: ctest --test-dir ${{ env.BUILD_DIR }}
#
# - name: Upload results
# uses: actions/upload-artifact@v4
# with:
# name: ${{ matrix.os }}-${{ github.job }}-SHARED=${{ matrix.shared_libs }}-MODULE=${{ matrix.enable_module }}-results
# path: ${{ github.workspace }}/${{ env.BUILD_DIR }}/Testing/
#
# chm:
# runs-on: windows-latest
#
# steps:
# - name: Checkout phreeqc3-HTMLversion
# uses: actions/checkout@v4
# with:
# repository: usgs-coupled-subtrees/phreeqc3-HTMLversion
# ref: master
#
# - name: cache htmlhelp
# id: cache-htmlhelp
# uses: actions/cache@v4
# with:
# path: "C:/Program Files (x86)/HTML Help Workshop"
# key: ${{ runner.os }}-htmlhelp
#
# - name: install htmlhelp
# if: steps.cache-htmlhelp.outputs.cache-hit != 'true'
# timeout-minutes: 5
# run: |
# curl -L -O --max-time 120 http://web.archive.org/web/20160201063255/http://download.microsoft.com/download/0/A/9/0A939EF6-E31C-430F-A3DF-DFAE7960D564/htmlhelp.exe
# cmd /c start /wait .\htmlhelp.exe /q /c /t:$(Get-Location)\tmp
# $file = "$(Get-Location)\tmp\htmlhelp.inf"
# (Get-Content $file) | Foreach-Object { $_ `
# -replace '^BeginPrompt', ';;BeginPrompt' `
# -replace '^EndPrompt', ';;EndPrompt' `
# -replace '^49000=CustomLDID49000, 1', '49000=CustomLDID49000, 5' `
# -replace '^"hhupd.exe', ';;hhupd.exe' `
# -replace '^DefaultInstallDir="C:\\Program Files\\HTML Help Workshop"', 'DefaultInstallDir="%ProgramFiles%\\HTML Help Workshop"'
# } | Set-Content $file
# cmd /c start /wait .\tmp\setup.exe
# Remove-Item -Recurse -Force .\tmp
# Remove-Item -Recurse -Force .\htmlhelp.exe
# # the next line doesn't seem to work (supposed to set the path)
# # echo 'C:\Program Files (x86)\HTML Help Workshop' >> $GITHUB_PATH
#
# - name: compile chm
# shell: bash
# run: |
# pushd HTML
# bash fixup_html.bash
# popd
# # hhc returns 1 on success
# set +e
# 'C:\Program Files (x86)\HTML Help Workshop\hhc' phreeqc3.hhp | tee hhc.out
# status=${PIPESTATUS[0]}
# set -e
# if [ "$status" -eq 1 ]; then
# echo "[OK]"
# exit 0
# else
# echo "[FAILED]"
# exit 1
# fi
#
# - uses: actions/upload-artifact@v4
# with:
# name: chm
# path: ${{github.workspace}}/phreeqc3.chm
#
#
# R-CMD-check:
# needs: [init]
# runs-on: ${{ matrix.config.os }}
#
# name: ${{ matrix.config.os }} (${{ matrix.config.r }})
#
# strategy:
# fail-fast: false
# matrix:
# config:
# - {os: macos-latest, r: 'release'}
# - {os: windows-latest, r: 'release'}
# - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
# - {os: ubuntu-latest, r: 'release'}
# - {os: ubuntu-latest, r: 'oldrel-1'}
#
# steps:
# - uses: actions/checkout@v4
#
# - name: versioning
# run: ./jenkins-dist.sh -v ${{ needs.init.outputs.VER }} -r ${{ needs.init.outputs.REL }} -d ${{ needs.init.outputs.DATE }}
#
# - name: Setup R
# uses: r-lib/actions/setup-r@v2
# with:
# r-version: ${{ matrix.config.r }}
# http-user-agent: ${{ matrix.config.http-user-agent }}
# use-public-rspm: true
#
# - name: create source
# working-directory: R
# run: make VERSION=${{ needs.init.outputs.VER }} RELEASE_DATE=${{ needs.init.outputs.DATE_RFC_3339 }} source
#
# - name: Install dependencies
# uses: r-lib/actions/setup-r-dependencies@v2
# with:
# extra-packages: any::roxygen2, any::pkgbuild, any::rcmdcheck
# needs: roxygen2, pkgbuild, check
# working-directory: R/phreeqc
#
# - name: Display sessionInfo()
# run: sessionInfo()
# working-directory: R/phreeqc
# shell: Rscript {0}
#
# - name: roxygen2::roxygenise()
# run: roxygen2::roxygenise()
# working-directory: R/phreeqc
# shell: Rscript {0}
#
# - name: Check
# uses: r-lib/actions/check-r-package@v2
# with:
# working-directory: R/phreeqc
#
# - name: List files
# if: matrix.config.os == 'ubuntu-latest' && matrix.config.r == 'release'
# run: |
# pwd
# ls -lR
# find -name "*.tar.gz"
#
# - uses: actions/upload-artifact@v4
# if: matrix.config.os == 'ubuntu-latest' && matrix.config.r == 'release'
# with:
# name: cran
# path: ${{ github.workspace }}/R/phreeqc/check/phreeqc_*.tar.gz
# r-build:
@ -373,140 +373,140 @@ jobs:
# path: ${{github.workspace}}/R/valgrind.full.out
distcheck:
needs: [init, chm]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: chm
- name: mv chm
run: mv phreeqc3.chm doc/.
- name: versioning
run: ./jenkins-dist.sh -v ${{ needs.init.outputs.VER }} -r ${{ needs.init.outputs.REL }} -d ${{ needs.init.outputs.DATE }}
- name: doxygen
run: sudo apt-get install -y doxygen && cd doc && doxygen
- name: autoreconf
run: autoreconf -fvi
- name: mkdir
run: mkdir _build
- name: configure
working-directory: ${{github.workspace}}/_build
run: ../configure --prefix=$(pwd)/INSTALL
- name: make
working-directory: ${{github.workspace}}/_build
run: make -j2 distcheck
- name: convert
run: |
sudo apt install -y dos2unix
native="
doc/Makefile \
doc/examples/AccumulateLine.c \
doc/examples/CreateIPhreeqc.c \
doc/examples/F90ClearAccumulatedLines.f90 \
doc/examples/F90CreateIPhreeqc.f90 \
doc/examples/F90DestroyIPhreeqc.f90 \
doc/examples/F90GetComponent.f90 \
doc/examples/F90GetDumpStringLine.f90 \
doc/examples/F90GetSelectedOutputValue.f90 \
doc/examples/F90GetVersionString.f90 \
doc/examples/GetComponent.c \
doc/examples/GetDumpString.c \
doc/examples/GetSelectedOutputValue.c \
doc/examples/GetVersionString.c \
doc/examples/IPhreeqc.cpp \
doc/examples/Makefile \
doc/examples/phreeqc.dat \
src/CSelectedOutput.cpp \
src/CSelectedOutput.hxx \
src/CVar.hxx \
src/Debug.h \
src/ErrorReporter.hxx \
src/IPhreeqc.cpp \
src/IPhreeqc.f.inc \
src/IPhreeqc.f90.inc \
src/IPhreeqc.h \
src/IPhreeqc.hpp \
src/IPhreeqcCallbacks.h \
src/IPhreeqcF.f \
src/IPhreeqcLib.cpp \
src/IPhreeqc_interface.F90 \
src/IPhreeqc_interface_F.cpp \
src/IPhreeqc_interface_F.h \
src/Var.c \
src/Var.h \
src/Version.h \
src/fimpl.h \
src/fwrap.cpp \
src/fwrap.h \
src/fwrap1.cpp \
src/fwrap2.cpp \
src/fwrap3.cpp \
src/fwrap4.cpp \
src/fwrap5.cpp \
src/fwrap6.cpp \
src/fwrap7.cpp \
src/fwrap8.cpp \
src/pp_sys.cpp \
src/thread.h \
test/llnl.dat \
test/phreeqc.dat \
test2/Makefile \
test2/wateq4f.dat \
test5/Makefile \
test5/phreeqc.dat \
test5/test5.c \
tests/main_fortran.cxx \
tests/test_c.c \
tests/test_cxx.cxx \
tests/test_f90.F90 \
unit/TestCVar.cpp \
unit/TestCVar.h \
unit/TestInterface.cpp \
unit/TestInterface.h \
unit/TestSelectedOutput.cpp \
unit/TestSelectedOutput.h \
unit/TestVar.cpp \
unit/TestVar.h \
unit/llnl.dat.old \
unit/missing_e.dat \
unit/phreeqc.dat.old \
unit/unit.cpp"
for f in ${native}; do
unix2dos "${f}"
done
- name: dist-zip
working-directory: ${{github.workspace}}/_build
run: make dist-zip
- name: copy
run: cp doc/README IPhreeqc_ReadMe.txt
- uses: actions/upload-artifact@v4
with:
name: readme
path: ${{github.workspace}}/IPhreeqc_ReadMe.txt
- uses: actions/upload-artifact@v4
with:
name: tarball
path: ${{github.workspace}}/_build/*.tar.gz
- uses: actions/upload-artifact@v4
with:
name: zipball
path: ${{github.workspace}}/_build/*.zip
# distcheck:
# needs: [init, chm]
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
#
# - uses: actions/download-artifact@v4
# with:
# name: chm
#
# - name: mv chm
# run: mv phreeqc3.chm doc/.
#
# - name: versioning
# run: ./jenkins-dist.sh -v ${{ needs.init.outputs.VER }} -r ${{ needs.init.outputs.REL }} -d ${{ needs.init.outputs.DATE }}
#
# - name: doxygen
# run: sudo apt-get install -y doxygen && cd doc && doxygen
#
# - name: autoreconf
# run: autoreconf -fvi
#
# - name: mkdir
# run: mkdir _build
#
# - name: configure
# working-directory: ${{github.workspace}}/_build
# run: ../configure --prefix=$(pwd)/INSTALL
#
# - name: make
# working-directory: ${{github.workspace}}/_build
# run: make -j2 distcheck
#
# - name: convert
# run: |
# sudo apt install -y dos2unix
# native="
# doc/Makefile \
# doc/examples/AccumulateLine.c \
# doc/examples/CreateIPhreeqc.c \
# doc/examples/F90ClearAccumulatedLines.f90 \
# doc/examples/F90CreateIPhreeqc.f90 \
# doc/examples/F90DestroyIPhreeqc.f90 \
# doc/examples/F90GetComponent.f90 \
# doc/examples/F90GetDumpStringLine.f90 \
# doc/examples/F90GetSelectedOutputValue.f90 \
# doc/examples/F90GetVersionString.f90 \
# doc/examples/GetComponent.c \
# doc/examples/GetDumpString.c \
# doc/examples/GetSelectedOutputValue.c \
# doc/examples/GetVersionString.c \
# doc/examples/IPhreeqc.cpp \
# doc/examples/Makefile \
# doc/examples/phreeqc.dat \
# src/CSelectedOutput.cpp \
# src/CSelectedOutput.hxx \
# src/CVar.hxx \
# src/Debug.h \
# src/ErrorReporter.hxx \
# src/IPhreeqc.cpp \
# src/IPhreeqc.f.inc \
# src/IPhreeqc.f90.inc \
# src/IPhreeqc.h \
# src/IPhreeqc.hpp \
# src/IPhreeqcCallbacks.h \
# src/IPhreeqcF.f \
# src/IPhreeqcLib.cpp \
# src/IPhreeqc_interface.F90 \
# src/IPhreeqc_interface_F.cpp \
# src/IPhreeqc_interface_F.h \
# src/Var.c \
# src/Var.h \
# src/Version.h \
# src/fimpl.h \
# src/fwrap.cpp \
# src/fwrap.h \
# src/fwrap1.cpp \
# src/fwrap2.cpp \
# src/fwrap3.cpp \
# src/fwrap4.cpp \
# src/fwrap5.cpp \
# src/fwrap6.cpp \
# src/fwrap7.cpp \
# src/fwrap8.cpp \
# src/pp_sys.cpp \
# src/thread.h \
# test/llnl.dat \
# test/phreeqc.dat \
# test2/Makefile \
# test2/wateq4f.dat \
# test5/Makefile \
# test5/phreeqc.dat \
# test5/test5.c \
# tests/main_fortran.cxx \
# tests/test_c.c \
# tests/test_cxx.cxx \
# tests/test_f90.F90 \
# unit/TestCVar.cpp \
# unit/TestCVar.h \
# unit/TestInterface.cpp \
# unit/TestInterface.h \
# unit/TestSelectedOutput.cpp \
# unit/TestSelectedOutput.h \
# unit/TestVar.cpp \
# unit/TestVar.h \
# unit/llnl.dat.old \
# unit/missing_e.dat \
# unit/phreeqc.dat.old \
# unit/unit.cpp"
# for f in ${native}; do
# unix2dos "${f}"
# done
#
# - name: dist-zip
# working-directory: ${{github.workspace}}/_build
# run: make dist-zip
#
# - name: copy
# run: cp doc/README IPhreeqc_ReadMe.txt
#
# - uses: actions/upload-artifact@v4
# with:
# name: readme
# path: ${{github.workspace}}/IPhreeqc_ReadMe.txt
#
# - uses: actions/upload-artifact@v4
# with:
# name: tarball
# path: ${{github.workspace}}/_build/*.tar.gz
#
# - uses: actions/upload-artifact@v4
# with:
# name: zipball
# path: ${{github.workspace}}/_build/*.zip
# build:
# needs: [init]

19
.github/workflows/lint-subtrees.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Lint subtrees.json
on:
pull_request:
paths:
- '.github/subtrees.json'
workflow_call:
workflow_dispatch:
jobs:
lint-subtrees:
runs-on: ubuntu-latest
env:
CI_SERVER_HOST: github.com
GROUP: usgs-coupled
steps:
- uses: usgs-coupled-subtrees/sync-subtrees-action/lint-subtrees/@main
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

View File

@ -0,0 +1,16 @@
name: Lint superprojects.json
on:
pull_request:
paths:
- '.github/superprojects.json'
workflow_call:
workflow_dispatch:
jobs:
lint-superprojects:
runs-on: ubuntu-latest
steps:
- uses: usgs-coupled-subtrees/sync-subtrees-action/lint-superprojects/@main
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

37
.github/workflows/subtree.yml vendored Normal file
View File

@ -0,0 +1,37 @@
name: Sync Subtrees
on:
push:
branches:
- master
workflow_dispatch:
inputs:
dryRun:
description: 'If true, dont push any changes (for testing only).'
required: true
default: false
type: boolean
testMerge:
description: 'Run in test mode, pushing to a test branch.'
required: true
default: false
type: boolean
jobs:
sync-subtrees:
if: startsWith(github.repository, 'usgs-coupled-subtrees/')
runs-on: ubuntu-latest
env:
CI_SERVER_HOST: github.com
GROUP: usgs-coupled
GH_TOKEN: ${{ secrets.WORKFLOW_PAT }}
steps:
- name: Run sync-subtrees-action
uses: usgs-coupled-subtrees/sync-subtrees-action@main
with:
dryRun: ${{ inputs.dryRun }}
testMerge: ${{ inputs.testMerge }}
repository_name: ${{ github.event.repository.name }}
default_branch: ${{ github.event.repository.default_branch }}
run_number: ${{ github.run_number }}
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}

View File

@ -6,6 +6,7 @@ before_script:
stages:
- test
- release
test:
stage: test
@ -19,4 +20,21 @@ test:
paths:
- _build/test_results.xml
reports:
junit: _build/test_results.xml
junit: _build/test_results.xml
push:
stage: release
variables:
GITHUB_REPOSITORY: 'git@github.com:POET-Simulator/litephreeqc.git'
ORIGINAL_REPO_URL: 'https://git.gfz-potsdam.de/naaice/iphreeqc.git'
ORIGINAL_REPO_NAME: 'iphreeqc'
before_script:
- apt-get update -y && apt-get install -y git openssh-client
# I know that there is this file env variable in gitlab, but somehow it does not work for me (still complaining about white spaces ...)
# Therefore, the ssh key is stored as a base64 encoded string
- mkdir -p ~/.ssh && echo $GITHUB_SSH_PRIVATE_KEY | base64 -d > ~/.ssh/id_ed25519 && chmod 0600 ~/.ssh/id_ed25519
- ssh-keyscan github.com >> ~/.ssh/known_hosts
script:
- rm -rf $ORIGINAL_REPO_NAME.git
- git clone --mirror $ORIGINAL_REPO_URL "$ORIGINAL_REPO_NAME.git" && cd $ORIGINAL_REPO_NAME.git
- git push --mirror $GITHUB_REPOSITORY

View File

@ -2,47 +2,28 @@
cmake_minimum_required(VERSION 3.20)
project (
IPhreeqc
litephreeqc
VERSION 3.8.5
LANGUAGES CXX C
)
# check if this is the root project
if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
set(STANDALONE_BUILD 1)
else()
set(STANDALONE_BUILD 0)
if (WIN32)
message(FATAL_ERROR "litephreeqc cannot be built on Windows systems.")
endif()
if (STANDALONE_BUILD)
# Set a default build type if none was specified
set(default_build_type "Release")
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
set(CMAKE_BUILD_TYPE "${default_build_type}" CACHE
STRING "Choose the type of build." FORCE)
# Set the possible values of build type for cmake-gui
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
"Debug" "Release" "MinSizeRel" "RelWithDebInfo")
endif()
endif()
# overide docdir on windows
if (WIN32 AND NOT CMAKE_INSTALL_DOCDIR)
set(CMAKE_INSTALL_DOCDIR "" CACHE PATH "documentation root (doc)")
set(CMAKE_INSTALL_DOCDIR "doc")
# Set a default build type if none was specified
set(default_build_type "Release")
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
set(CMAKE_BUILD_TYPE "${default_build_type}" CACHE
STRING "Choose the type of build." FORCE)
# Set the possible values of build type for cmake-gui
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
"Debug" "Release" "MinSizeRel" "RelWithDebInfo")
endif()
# set standard directory locations
include(GNUInstallDirs)
if (STANDALONE_BUILD AND MSVC)
option (IPHREEQC_STATIC_RUNTIME "Build with a static runtime" OFF)
if (IPHREEQC_STATIC_RUNTIME)
# compile with static runtime
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
endif()
endif()
# Fortran
option (IPHREEQC_ENABLE_MODULE "Enable Fortran module" ON)
if (STANDALONE_BUILD)
@ -60,22 +41,7 @@ endif()
# compile Var.c as c++
set_source_files_properties(src/Var.c PROPERTIES LANGUAGE CXX)
if (STANDALONE_BUILD)
option(BUILD_SHARED_LIBS "Build Shared Libraries" OFF)
set(LIB_TYPE STATIC)
endif()
if (STANDALONE_BUILD)
if (MSVC)
option(BUILD_CLR_LIBS "Build CLR Libraries" OFF)
endif()
endif()
if (BUILD_SHARED_LIBS)
set(LIB_TYPE SHARED)
endif()
add_library(IPhreeqc ${LIB_TYPE} src/IPhreeqc.cpp)
add_library(IPhreeqc STATIC src/IPhreeqc.cpp)
target_sources(IPhreeqc
PRIVATE
@ -220,7 +186,7 @@ target_sources(IPhreeqc
src/phreeqcpp/UserPunch.cpp
src/phreeqcpp/UserPunch.h
src/phreeqcpp/utilities.cpp
src/phreeqcpp/GFZ.cpp
src/phreeqcpp/litephreeqc_funcs.cpp
src/thread.h
src/Var.c
src/Var.h
@ -229,10 +195,10 @@ target_sources(IPhreeqc
target_include_directories(IPhreeqc
PUBLIC
$<BUILD_INTERFACE:${IPhreeqc_SOURCE_DIR}/src>
$<BUILD_INTERFACE:${IPhreeqc_SOURCE_DIR}/src/phreeqcpp>
$<BUILD_INTERFACE:${IPhreeqc_SOURCE_DIR}/src/phreeqcpp/common>
$<BUILD_INTERFACE:${IPhreeqc_SOURCE_DIR}/src/phreeqcpp/PhreeqcKeywords>
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/src>
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/src/phreeqcpp>
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/src/phreeqcpp/common>
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/src/phreeqcpp/PhreeqcKeywords>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
)
@ -260,36 +226,8 @@ if (NOT IPHREEQC_ENABLE_MODULE)
)
endif()
if (${CMAKE_CXX_COMPILER_ID} STREQUAL MSVC)
target_compile_options(IPhreeqc PRIVATE /wd4251 /wd4275 /wd4793)
endif()
# Disable deprecation warnings for standard C and STL functions in VS2005
# and later
if (MSVC_VERSION EQUAL 1400 OR MSVC_VERSION GREATER 1400)
target_compile_definitions(IPhreeqc PUBLIC _CRT_SECURE_NO_DEPRECATE)
target_compile_definitions(IPhreeqc PUBLIC _SCL_SECURE_NO_WARNINGS)
endif()
if (WIN32 AND BUILD_SHARED_LIBS)
# Required to build IMPLIB
# (Seems to be automatically set when using Visual Studio as the generator)
target_compile_definitions(IPhreeqc PRIVATE _WINDLL)
endif()
# Allow user to override POSTFIX properties (but mandate them so that
# all builds can be installed to the same directory)
if (NOT CMAKE_DEBUG_POSTFIX)
set_target_properties(IPhreeqc PROPERTIES DEBUG_POSTFIX "d")
endif()
if (NOT CMAKE_MINSIZEREL_POSTFIX)
set_target_properties(IPhreeqc PROPERTIES MINSIZEREL_POSTFIX "msr")
endif()
if (NOT CMAKE_RELWITHDEBINFO_POSTFIX)
set_target_properties(IPhreeqc PROPERTIES RELWITHDEBINFO_POSTFIX "rwd")
endif()
# c++14
target_compile_features(IPhreeqc PUBLIC cxx_std_14)
set(IPhreeqc_Headers
${PROJECT_SOURCE_DIR}/src/IPhreeqc.h
@ -319,158 +257,94 @@ else()
)
endif()
# Setup references for /CLR
if (MSVC AND BUILD_SHARED_LIBS AND BUILD_CLR_LIBS)
if (MSVC_VERSION LESS 1600)
message(FATAL_ERROR "CLR options must be set manually for versions prior to Visual Studio 2010")
endif()
set_target_properties(IPhreeqc PROPERTIES VS_DOTNET_REFERENCES "System;System.Drawing;System.Windows.Forms;${CMAKE_CURRENT_SOURCE_DIR}/src/phreeqcpp/ZedGraph.dll")
set_target_properties(IPhreeqc PROPERTIES COMMON_LANGUAGE_RUNTIME "")
target_compile_definitions(IPhreeqc PRIVATE "MULTICHART")
endif()
set_target_properties(IPhreeqc PROPERTIES
VERSION "${IPhreeqc_VERSION}"
SOVERSION "${IPhreeqc_VERSION_MAJOR}"
)
# install
if (STANDALONE_BUILD)
include(CMakePackageConfigHelpers)
include(CMakePackageConfigHelpers)
configure_package_config_file(IPhreeqcConfig.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/IPhreeqcConfig.cmake
INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/IPhreeqc
)
write_basic_package_version_file("IPhreeqcConfigVersion.cmake"
VERSION ${IPhreeqc_VERSION}
COMPATIBILITY SameMajorVersion
)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/IPhreeqcConfig.cmake ${CMAKE_CURRENT_BINARY_DIR}/IPhreeqcConfigVersion.cmake
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/IPhreeqc
)
install(TARGETS IPhreeqc
EXPORT IPhreeqcTargets
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
)
install(EXPORT IPhreeqcTargets
FILE IPhreeqcTargets.cmake
NAMESPACE IPhreeqc::
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/IPhreeqc
)
install(FILES ${IPhreeqc_Headers} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
if (WIN32)
install(FILES ${IPhreeqc_SRC} DESTINATION src)
else()
install(FILES ${IPhreeqc_SRC} DESTINATION ${CMAKE_INSTALL_DOCDIR}/src)
endif()
if (BUILD_CLR_LIBS)
install(FILES "${PROJECT_SOURCE_DIR}/src/phreeqcpp/ZedGraph.dll" DESTINATION ${CMAKE_INSTALL_BINDIR})
endif()
endif()
if (BUILD_CLR_LIBS)
if (NOT BUILD_SHARED_LIBS)
message(FATAL_ERROR "BUILD_CLR_LIBS requires that BUILD_SHARED_LIBS be set")
endif()
if (IPHREEQC_STATIC_RUNTIME)
message(FATAL_ERROR "BUILD_CLR_LIBS and IPHREEQC_STATIC_RUNTIME are mutually exclusive")
endif()
# CLR files
target_sources(IPhreeqc
PRIVATE
src/phreeqcpp/ChartHandler.cpp
src/phreeqcpp/ChartHandler.h
src/phreeqcpp/ChartObject.cpp
src/phreeqcpp/ChartObject.h
src/phreeqcpp/CurveObject.cpp
src/phreeqcpp/CurveObject.h
configure_package_config_file(IPhreeqcConfig.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/IPhreeqcConfig.cmake
INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/IPhreeqc
)
write_basic_package_version_file("IPhreeqcConfigVersion.cmake"
VERSION ${IPhreeqc_VERSION}
COMPATIBILITY SameMajorVersion
)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/IPhreeqcConfig.cmake ${CMAKE_CURRENT_BINARY_DIR}/IPhreeqcConfigVersion.cmake
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/IPhreeqc
)
install(TARGETS IPhreeqc
EXPORT IPhreeqcTargets
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
)
install(EXPORT IPhreeqcTargets
FILE IPhreeqcTargets.cmake
NAMESPACE IPhreeqc::
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/IPhreeqc
)
install(FILES ${IPhreeqc_Headers} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
if (WIN32)
install(FILES ${IPhreeqc_SRC} DESTINATION src)
else()
install(FILES ${IPhreeqc_SRC} DESTINATION ${CMAKE_INSTALL_DOCDIR}/src)
endif()
if (BUILD_CLR_LIBS)
install(FILES "${PROJECT_SOURCE_DIR}/src/phreeqcpp/ZedGraph.dll" DESTINATION ${CMAKE_INSTALL_BINDIR})
endif()
include (CTest)
if (STANDALONE_BUILD)
# add_subdirectory(database)
# add_subdirectory(doc)
# add_subdirectory(examples)
add_subdirectory(database)
add_subdirectory(doc)
add_subdirectory(examples)
if (BUILD_TESTING)
add_subdirectory(tests)
endif()
if (BUILD_TESTING) # may need to add MSVC version check
include(FetchContent)
# Avoid warning about DOWNLOAD_EXTRACT_TIMESTAMP in CMake 3.24:
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
cmake_policy(SET CMP0135 NEW)
endif()
FetchContent_Declare(
googletest
URL https://github.com/google/googletest/archive/release-1.12.1.tar.gz
)
mark_as_advanced(
FETCHCONTENT_BASE_DIR
FETCHCONTENT_FULLY_DISCONNECTED
FETCHCONTENT_QUIET
FETCHCONTENT_SOURCE_DIR_GOOGLETEST
FETCHCONTENT_UPDATES_DISCONNECTED
FETCHCONTENT_UPDATES_DISCONNECTED_GOOGLETEST
)
# Prevent GoogleTest from overriding our compiler/linker options
# when building with Visual Studio
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
set(BUILD_GTEST ON CACHE BOOL "" FORCE)
set(BUILD_GMOCK ON CACHE BOOL "" FORCE)
set(INSTALL_GTEST OFF CACHE BOOL "" FORCE)
set(INSTALL_GMOCK OFF CACHE BOOL "" FORCE)
mark_as_advanced(
BUILD_GTEST
BUILD_GMOCK
INSTALL_GTEST
INSTALL_GMOCK
gmock_build_tests
gtest_build_tests
gtest_build_samples
gtest_disable_pthreads
gtest_force_shared_crt
gtest_hide_internal_symbols
)
FetchContent_MakeAvailable(googletest)
if (NOT googletest_POPULATED)
# Always build googletest static
set(SAVE_BUILD_SHARED_LIBS ${BUILD_SHARED_LIBS})
set(BUILD_SHARED_LIBS OFF)
FetchContent_MakeAvailable(googletest)
set(BUILD_SHARED_LIBS ${SAVE_BUILD_SHARED_LIBS})
endif()
add_subdirectory(gtest)
endif()
if (BUILD_TESTING)
add_subdirectory(tests)
endif()
add_subdirectory(poet)
if (BUILD_TESTING) # may need to add MSVC version check
include(FetchContent)
# Avoid warning about DOWNLOAD_EXTRACT_TIMESTAMP in CMake 3.24:
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
cmake_policy(SET CMP0135 NEW)
endif()
FetchContent_Declare(
googletest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG v1.17.0
)
# Prevent GoogleTest from overriding our compiler/linker options
# when building with Visual Studio
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
FetchContent_MakeAvailable(googletest)
if (NOT googletest_POPULATED)
# Always build googletest static
set(SAVE_BUILD_SHARED_LIBS ${BUILD_SHARED_LIBS})
set(BUILD_SHARED_LIBS OFF)
FetchContent_MakeAvailable(googletest)
set(BUILD_SHARED_LIBS ${SAVE_BUILD_SHARED_LIBS})
endif()
add_subdirectory(gtest)
endif()
add_subdirectory(litephreeqc)
# get_cmake_property(_variableNames VARIABLES)
# list (SORT _variableNames)

View File

@ -42,7 +42,7 @@ ReleaseDll_Preprocessor_Definitions=-D NDEBUG -D GCC_BUILD -D _LIB
Release_Preprocessor_Definitions=-D NDEBUG -D GCC_BUILD -D _LIB
Release_Preprocessor_Definitions=-D NDEBUG -D GCC_BUILD -D _LIB
# Implictly linked object files...
# Implicitly linked object files...
DebugDll_Implicitly_Linked_Objects=
DebugDll_Implicitly_Linked_Objects=
Debug_Implicitly_Linked_Objects=

View File

@ -32,7 +32,7 @@ citEntry(entry="Article",
journal = "Computers & Geosciences",
volume = "37",
pages = "1653-1663",
url = "http://dx.doi.org/10.1016/j.cageo.2011.02.005",
url = "https://dx.doi.org/10.1016/j.cageo.2011.02.005",
textVersion =
paste("Charlton, S.R., and Parkhurst, D.L, 2011, Modules based ",

View File

@ -4,9 +4,35 @@ Version: @VERSION@
License: GPL-3
NeedsCompilation: yes
Depends: R (>= 3.5.0)
Author: S.R. Charlton [aut, cre], D.L. Parkhurst [aut], and C.A.J. Appelo [aut], with contributions
from D. Gillespie [ctb] for Chipmunk BASIC and S.D. Cohen [ctb], A.C. Hindmarsh [ctb],
R. Serban [ctb], D. Shumaker [ctb], and A.G. Taylor [ctb] for CVODE/SUNDIALS
Authors@R:
c(person(given = "S.R.",
family = "Charlton",
role = c("aut", "cre"),
email = "charlton@usgs.gov"),
person(given = "D.L.",
family = "Parkhurst",
role = "aut"),
person(given = "C.A.J.",
family = "Appelo",
role = "aut"),
person(given = c("with", "contributions", "from", "D.", "Gillespie", "for", "Chipmunk"),
family = "BASIC",
role = "aut"),
person(given = "S.D.",
family = "Cohen",
role = "aut"),
person(given = "A.C.",
family = "Hindmarsh",
role = "aut"),
person(given = "R.",
family = "Serban",
role = "aut"),
person(given = "D.",
family = "Shumaker",
role = "aut"),
person(given = c("A.G.", "Taylor", "for"),
family = "CVODE/SUNDIALS",
role = "aut"))
URL: https://www.usgs.gov/software/phreeqc-version-3
Description: A geochemical modeling program developed by the US Geological
Survey that is designed to perform a wide variety of aqueous geochemical

View File

@ -42,6 +42,7 @@ DBS = \
phreeqc.ascii \
pitzer.ascii \
sit.ascii \
stimela.ascii \
Tipping_Hurley.ascii \
wateq4f.ascii
@ -885,7 +886,7 @@ $(IDEST):
$(DEST):
mkdir $(DEST)
# Force directory creation everytime make is executed
# Force directory creation every time make is executed
# see https://www.cmcrossroads.com/article/making-directories-gnu-make
$(shell mkdir -p $(TOPDIR)/R)

View File

@ -25,6 +25,7 @@ phreeqc_rates.dat <- scan("phreeqc_rates.ascii",
PHREEQC_ThermoddemV1.10_15Dec2020.dat <- scan("PHREEQC_ThermoddemV1.10_15Dec2020.ascii", what="", sep="\n")
pitzer.dat <- scan("pitzer.ascii", what="", sep="\n")
sit.dat <- scan("sit.ascii", what="", sep="\n")
stimela.dat <- scan("stimela.ascii", what="", sep="\n")
Tipping_Hurley.dat <- scan("Tipping_Hurley.ascii", what="", sep="\n")
phreeqc.dat <- scan("phreeqc.ascii", what="", sep="\n")
wateq4f.dat <- scan("wateq4f.ascii", what="", sep="\n")

View File

@ -32,7 +32,7 @@
##' # plot the results
##' attach(so$n1)
##' title <- "Gypsum-Anhydrite Stability"
##' xlabel <- "Temperature, in degrees celcius"
##' xlabel <- "Temperature, in degrees celsius"
##' ylabel <- "Saturation index"
##' plot(temp.C., si_gypsum, main = title, xlab = xlabel, ylab = ylabel,
##' col = "darkred", xlim = c(25, 75), ylim = c(-0.4, 0.0))
@ -338,7 +338,7 @@ function() {
##' @useDynLib phreeqc, .registration = TRUE
##' @return TRUE if log messages are currently being stored as a character vector.
##' @family Log
##' @references \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @references \url{https://www.usgs.gov/software/phreeqc-version-3/}
##'
phrGetLogStringsOn <-
function() {
@ -1386,7 +1386,7 @@ function(nuser, value) {
##' @docType data
##' @family Databases
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @usage Amm.dat # phrLoadDatabaseString(Amm.dat)
##' @keywords dataset
NULL
@ -1401,7 +1401,7 @@ NULL
##' The database has been reformatted for use by \code{\link{phrLoadDatabaseString}}.
##' @docType data
##' @family Databases
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @usage ColdChem.dat # phrLoadDatabaseString(ColdChem.dat)
##' @keywords dataset
NULL
@ -1433,7 +1433,7 @@ NULL
##' @docType data
##' @family Databases
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @usage ex15.dat # phrLoadDatabaseString(ex15.dat)
##' @keywords dataset
NULL
@ -1464,7 +1464,7 @@ NULL
##' @docType data
##' @family Databases
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @usage iso.dat # phrLoadDatabaseString(iso.dat)
##' @keywords dataset
NULL
@ -1481,7 +1481,7 @@ NULL
##' @docType data
##' @family Databases
##' @references Hermanska et al. (2022, 2003) and Oelkers and Addassi (2024, in preparation).
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @usage Kinec_v3.dat # phrLoadDatabaseString(Kinec_v3.dat)
##' @keywords dataset
NULL
@ -1498,7 +1498,7 @@ NULL
##' @docType data
##' @family Databases
##' @references Hermanska et al. (2022, 2003) and Oelkers and Addassi (2024, in preparation).
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @usage Kinec.v2.dat # phrLoadDatabaseString(Kinec.v2.dat)
##' @keywords dataset
NULL
@ -1528,7 +1528,7 @@ NULL
##' @docType data
##' @family Databases
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @usage minteq.dat # phrLoadDatabaseString(minteq.dat)
##' @keywords dataset
NULL
@ -1543,7 +1543,7 @@ NULL
##' @docType data
##' @family Databases
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @usage minteq.v4.dat # phrLoadDatabaseString(minteq.v4.dat)
##' @keywords dataset
NULL
@ -1564,7 +1564,7 @@ NULL
##' @family Databases
##' @references Hermanska and others (2023), Palandri and Kharaka (2004),
##' and Sverdrup and others (2019).
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @usage phreeqc_rates.dat # phrLoadDatabaseString(phreeqc_rates.dat)
##' @keywords dataset
NULL
@ -1577,7 +1577,7 @@ NULL
##' @docType data
##' @family Databases
##' @references \url{https://thermoddem.brgm.fr/}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @usage PHREEQC_ThermoddemV1.10_15Dec2020.dat
##' # phrLoadDatabaseString(PHREEQC_ThermoddemV1.10_15Dec2020.dat)
NULL
@ -1593,7 +1593,7 @@ NULL
##' @docType data
##' @family Databases
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @usage phreeqc.dat # phrLoadDatabaseString(phreeqc.dat)
##' @keywords dataset
NULL
@ -1608,7 +1608,7 @@ NULL
##' @docType data
##' @family Databases
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @usage pitzer.dat # phrLoadDatabaseString(pitzer.dat)
##' @keywords dataset
NULL
@ -1624,13 +1624,26 @@ NULL
##' @docType data
##' @family Databases
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @usage sit.dat # phrLoadDatabaseString(sit.dat)
##' @keywords dataset
NULL
##' @name stimela.dat
##' @title The stimela.dat database.
##' @description stimela.dat is a database for use in drinking-water and waste-water
##' treatment from Peter de Moel and Omnisys. The database has been reformatted
##' for use by \code{\link{phrLoadDatabaseString}}.
##' @docType data
##' @family Databases
##' @usage stimela.dat # phrLoadDatabaseString(stimela.dat)
##' @keywords dataset
NULL
##' @name Tipping_Hurley.dat
##' @title The Tipping_Hurley.dat database
##' @description Tipping_Hurley.dat is a database for organic-ligand
@ -1651,7 +1664,7 @@ NULL
##' @docType data
##' @family Databases
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @usage wateq4f.dat # phrLoadDatabaseString(wateq4f.dat)
##' @keywords dataset
NULL
@ -1668,7 +1681,7 @@ NULL
##' @docType data
##' @family Examples
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @keywords dataset
##' @examples
##'
@ -1689,7 +1702,7 @@ NULL
##' @docType data
##' @family Examples
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @keywords dataset
##' @examples
##'
@ -1721,7 +1734,7 @@ NULL
##' @docType data
##' @family Examples
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @keywords dataset
##' @examples
##'
@ -1753,7 +1766,7 @@ NULL
##' @docType data
##' @family Examples
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @keywords dataset
##' @examples
##'
@ -1780,7 +1793,7 @@ NULL
##' @docType data
##' @family Examples
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @keywords dataset
##' @examples
##'
@ -1806,7 +1819,7 @@ NULL
##' @docType data
##' @family Examples
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @keywords dataset
##' @examples
##'
@ -1841,7 +1854,7 @@ NULL
##' @docType data
##' @family Examples
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @keywords dataset
##' @examples
##'
@ -1866,7 +1879,7 @@ NULL
##' @docType data
##' @family Examples
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @keywords dataset
##' @examples
##'
@ -1905,7 +1918,7 @@ NULL
##' @docType data
##' @family Examples
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @keywords dataset
##' @examples
##'
@ -1933,7 +1946,7 @@ NULL
##' @docType data
##' @family Examples
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @keywords dataset
##' @examples
##'
@ -1960,7 +1973,7 @@ NULL
##' @docType data
##' @family Examples
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @keywords dataset
##' @examples
##'
@ -1995,7 +2008,7 @@ NULL
##' @docType data
##' @family Examples
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @keywords dataset
##' @examples
##'
@ -2025,7 +2038,7 @@ NULL
##' @docType data
##' @family Examples
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @keywords dataset
##' @examples
##'
@ -2058,7 +2071,7 @@ NULL
##' @docType data
##' @family Examples
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @keywords dataset
##' @examples
##'
@ -2088,7 +2101,7 @@ NULL
##' @docType data
##' @family Examples
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @keywords dataset
##' @examples
##'
@ -2121,7 +2134,7 @@ NULL
##' @docType data
##' @family Examples
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @keywords dataset
##' @examples
##'
@ -2153,7 +2166,7 @@ NULL
##' @docType data
##' @family Examples
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @keywords dataset
##' @examples
##'
@ -2195,7 +2208,7 @@ NULL
##' @docType data
##' @family Examples
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @keywords dataset
##' @examples
##'
@ -2223,7 +2236,7 @@ NULL
##' @docType data
##' @family Examples
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @keywords dataset
##' @examples
##'
@ -2259,7 +2272,7 @@ NULL
##' @docType data
##' @family Examples
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @keywords dataset
##' @examples
##'
@ -2291,7 +2304,7 @@ NULL
##' @docType data
##' @family Examples
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @keywords dataset
##' @examples
##'
@ -2324,7 +2337,7 @@ NULL
##' @docType data
##' @family Examples
##' @references \url{https://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf}
##' @source \url{http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc}
##' @source \url{https://www.usgs.gov/software/phreeqc-version-3/}
##' @keywords dataset
##' @examples
##'

View File

@ -1606,7 +1606,7 @@ so <- phrGetSelectedOutput()
# plot the results
attach(so$n1)
title <- "Gypsum-Anhydrite Stability"
xlabel <- "Temperature, in degrees celcius"
xlabel <- "Temperature, in degrees celsius"
ylabel <- "Saturation index"
plot(temp.C., si_gypsum, main = title, xlab = xlabel, ylab = ylabel,
col = "darkred", xlim = c(25, 75), ylim = c(-0.4, 0.0))

1
README.md Normal file
View File

@ -0,0 +1 @@
# IPhreeqc ![workflow](https://github.com/usgs-coupled/iphreeqc/actions/workflows/cmake.yml/badge.svg)

1
database/.github/subtrees.json vendored Normal file
View File

@ -0,0 +1 @@
[]

11
database/.github/superprojects.json vendored Normal file
View File

@ -0,0 +1,11 @@
{
"usgs-coupled-subtrees/phreeqc3-database": {
"superprojects": [
"usgs-coupled-subtrees/iphreeqc",
"usgs-coupled-subtrees/iphreeqccom",
"usgs-coupled-subtrees/phreeqcrm",
"usgs-coupled-subtrees/phreeqc3",
"usgs-coupled-subtrees/wphast"
]
}
}

View File

@ -0,0 +1,19 @@
name: Lint subtrees.json
on:
pull_request:
paths:
- '.github/subtrees.json'
workflow_call:
workflow_dispatch:
jobs:
lint-subtrees:
runs-on: ubuntu-latest
env:
CI_SERVER_HOST: github.com
GROUP: usgs-coupled
steps:
- uses: usgs-coupled-subtrees/sync-subtrees-action/lint-subtrees/@main
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

View File

@ -0,0 +1,20 @@
name: Lint superprojects.json
on:
pull_request:
paths:
- '.github/superprojects.json'
workflow_call:
workflow_dispatch:
jobs:
lint-superprojects:
runs-on: ubuntu-latest
steps:
- uses: usgs-coupled-subtrees/sync-subtrees-action/lint-superprojects/@main
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
# skip-repos: |
# - usgs-coupled-subtrees/iphreeqccom
# - usgs-coupled-subtrees/phreeqcrm-src

37
database/.github/workflows/subtree.yml vendored Normal file
View File

@ -0,0 +1,37 @@
name: Sync Subtrees
on:
push:
branches:
- master
workflow_dispatch:
inputs:
dryRun:
description: 'If true, dont push any changes (for testing only).'
required: true
default: false
type: boolean
testMerge:
description: 'Run in test mode, pushing to a test branch.'
required: true
default: false
type: boolean
jobs:
sync-subtrees:
if: startsWith(github.repository, 'usgs-coupled-subtrees/')
runs-on: ubuntu-latest
env:
CI_SERVER_HOST: github.com
GROUP: usgs-coupled
GH_TOKEN: ${{ secrets.WORKFLOW_PAT }}
steps:
- name: Run sync-subtrees-action
uses: usgs-coupled-subtrees/sync-subtrees-action@main
with:
dryRun: ${{ inputs.dryRun }}
testMerge: ${{ inputs.testMerge }}
repository_name: ${{ github.event.repository.name }}
default_branch: ${{ github.event.repository.default_branch }}
run_number: ${{ github.run_number }}
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}

View File

@ -1,8 +1,4 @@
# File 1 = C:\GitPrograms\phreeqc3-1\database\Amm.dat, 22/05/2024 19:38, 1948 lines, 55817 bytes, md5=78b3659799b73ddca128328b6ee7533b
# Created 22 May 2024 19:55:37
# C:\3rdParty\lsp\lsp.exe -f2 -k=asis -ts Amm.dat
# PHREEQC.DAT for calculating temperature and pressure dependence of reactions, and the specific conductance and viscosity of the solution. Based on:
# Amm.dat for calculating temperature and pressure dependence of reactions, and the specific conductance and viscosity of the solution. Based on:
# diffusion coefficients and molal volumina of aqueous species, solubility and volume of minerals, and critical temperatures and pressures of gases in Peng-Robinson's EOS.
# Details are given at the end of this file.
@ -70,7 +66,7 @@ H+ = H+
-dw 9.31e-9 838 6.96 -2.285 0.206 24.01 0
# Dw(25 C) dw_T a a2 visc a3 a_v_dif
# Dw(TK) = 9.31e-9 * exp(838 / TK - 838 / 298.15) * viscos_0_25 / viscos_0_tc
# a = DH ion size, a2 = exponent, visc = viscosity exponent, a3(H+) = 24.01 = new dw calculation from A.D. 2024, a_v_dif = exponent in (viscos_0_tc / viscos)^a_v_dif for tracer diffusion.
# a = DH ion size (= 3.5 - 25), a2 = exponent (= 0 2.5), visc = viscosity exponent (= 0 2.5), a3 = switch [a3(H+) = 24.01 = new dw calculation from A.D. 2024], a_v_dif = exponent in (viscos_0_tc / viscos)^a_v_dif for tracer diffusion.
# For SC, Dw(TK) *= (viscos_0_tc / viscos)^visc (visc = 0.206 for H+)
# a3 > 5 or a3 = 0 or not defined ? ka = DH_B * a * (1 + (vm - v0))^a2 * mu^0.5, in Onsager-Falkenhagen eqn. (For H+, the reference ion, vm = v0 = 0, a *= (1 + mu)^a2.)
@ -80,7 +76,7 @@ H+ = H+
# If a_v_dif <> 0, Dw(TK) *= (viscos_0_tc / viscos)^a_v_dif in TRANSPORT.
e- = e-
H2O = H2O
-dw 2.299e-9 -254
-dw 2.299e-9 -249 # Holz et al., Phys. Chem. Chem. Phys., 2000, 2, 4740.
# H2O + 0.01e- = H2O-0.01; -log_k -9 # aids convergence
Li+ = Li+
-gamma 6 0 # The apparent volume parameters are defined in ref. 1 & 2
@ -111,9 +107,9 @@ Ca+2 = Ca+2
-dw 0.792e-9 34 5.411 0 1.046
Sr+2 = Sr+2
-gamma 5.26 0.121
-Vm -1.57e-2 -10.15 10.18 -2.36 0.86 5.26 0.859 -27 -4.1e-3 1.97
-viscosity 0.472 -0.252 5.51e-3 3.67e-3 0 1.876
-dw 0.794e-9 149 0.805 1.961 1e-9 0.7876
-Vm -5.6e-2 -10.15 9.90 -2.36 0.807 5.26 2.72 -82.7 -1.37e-2 0.956
-viscosity 0.493 -0.255 2.3e-3 4.2e-3 -3.8e-3 1.762
-dw 0.794e-9 18 0.681 2.069 0.965 0.271
Ba+2 = Ba+2
-gamma 5 0
-gamma 4 0.153 # Barite solubility
@ -147,10 +143,10 @@ CO3-2 = CO3-2
-viscosity -0.5 0.6521 5.44e-3 1.06e-3 -2.18e-2 1.208 -2.147
-dw 0.955e-9 -103 2.246 7.13e-2 0.3686
SO4-2 = SO4-2
-gamma 5 -0.04
-Vm -7.77 43.17 176 -51.45 3.794 0 42.99 -541 -0.145 0.45 # with analytical_expressions for log K of NaSO4-, KSO4- & MgSO4, 0 - 200 oC
-viscosity -0.3 0.501 2.57e-3 0.195 3.14e-2 2.015 0.605
-dw 1.07e-9 -114 17 6.02e-2 4.94e-2
-gamma 5.0 -0.04
-Vm 5.36 10.69 33.566 -15.03 4.2582 25 0.341 153.8 1.089e-2 0.9224 # with Na2SO4 & better calculation of sulfates' solubilities in NaCl
-viscosity -0.5 0.521 4.2e-4 9.78e-3 1.24e-2 2.5 -4.94e-2
-dw 1.07e-9 -77.4 10.14 0.5 0.5549
NO3- = NO3-
-gamma 3 0
-Vm 6.32 6.78 0 -3.06 0.346 0 0.93 0 -0.012 1
@ -159,7 +155,7 @@ NO3- = NO3-
AmmH+ = AmmH+
-gamma 2.5 0
-Vm 5.35 2.345 3.72 -2.88 1.55 2.5 -4.54 217 2.344e-2 0.569
-viscosity 9.9e-2 -0.159 1.36e-2 6.51e-3 3.21e-2 0.972
-viscosity 6.94e-2 -0.141 2.04e-2 9.4e-3 3.73e-2 0.898
-dw 1.98e-9 203 1.47 2.644 6.81e-2
H3BO3 = H3BO3
-Vm 7.0643 8.8547 3.5844 -3.1451 -0.2 # supcrt
@ -174,7 +170,7 @@ F- = F-
-viscosity 0 2.85e-2 1.35e-2 6.11e-2 4.38e-3 1.384 0.586
-dw 1.46e-9 -36 4.352
Br- = Br-
-gamma 3 0
-gamma 3 0.045
-Vm 6.72 2.85 4.21 -3.14 1.38 0 -9.56e-2 7.08 -1.56e-3 1
-viscosity -6.98e-2 -0.141 1.78e-2 0.159 7.76e-3 6.25e-2 0.859
-dw 2.09e-9 208 3.5 0 0.5737
@ -203,21 +199,21 @@ Mtg = Mtg # CH4
-Vm 9.01 -1.11 0 -1.85 -1.5 # Hnedkovsky et al., 1996, JCT 28, 125
-dw 1.85e-9
Ntg = Ntg # N2
-Vm 7 # Pray et al., 1952, IEC 44 1146
-Vm 7 # Pray et al., 1952, IEC 44, 1146
-dw 1.96e-9 -90 # Cadogan et al. 2014, JCED 59, 519
H2Sg = H2Sg # H2S
-Vm 1.39 28.3 0 -7.22 -0.59 # Hnedkovsky et al., 1996, JCT 28, 125
-dw 2.1e-9
# aqueous species
H2O = OH- + H+
-analytic 293.29227 0.1360833 -10576.913 -123.73158 0 -6.996455e-5
-gamma 3.5 0
-analytic 293.29227 0.1360833 -10576.913 -123.73158 0 -6.996455e-5
-Vm -9.66 28.5 80 -22.9 1.89 0 1.09 0 0 1
-viscosity -2.26e-2 0.106 2.184e-2 -3.2e-3 0 0.4082 -1.634 # < 5 M Li,Na,KOH
-dw 5.27e-9 478 0.8695
2 H2O = O2 + 4 H+ + 4 e-
-log_k -86.08
-delta_h 134.79 kcal
-log_k -86.06; -delta_h 138.43 kcal
-analytic -1e3 -0.322 -5897.7 416.82 0 -1.88e-5
-Vm 5.7889 6.3536 3.2528 -3.0417 -0.3943 # supcrt
-dw 2.35e-9
2 H+ + 2 e- = H2
@ -308,7 +304,7 @@ NO3- + 2 H+ + 2 e- = NO2- + H2O
# -delta_h -187.055 kcal
# -gamma 2.5 0
# -Vm 5.35 2.345 3.72 -2.88 1.55 2.5 -4.54 217 2.344e-2 0.569
# -viscosity 9.9e-2 -0.159 1.36e-2 6.51e-3 3.21e-2 0.972
# -viscosity 6.94e-2 -0.141 2.04e-2 9.4e-3 3.73e-2 0.898
# -dw 1.98e-9 203 1.47 2.644 6.81e-2
AmmH+ = Amm + H+
#NH4+ = NH3 + H+
@ -316,15 +312,15 @@ AmmH+ = Amm + H+
-delta_h 12.48 kcal
-analytic 0.6322 -0.001225 -2835.76
-Vm 6.69 2.8 3.58 -2.88 1.43
-viscosity 0.08 0 0 7.82e-3 -0.134 -0.986
-viscosity 0 -2.24e-2 0.101 8.66e-3 2.86e-2 -0.143 -0.769
-dw 2.28e-9
AmmH+ + SO4-2 = AmmHSO4-
#NH4+ + SO4-2 = NH4SO4-
-gamma 2.08 -0.0416
-log_k 1.211; -delta_h 8.56 kJ
-Vm -8.78 0 -36.09 0 -8.60 0 87.62 0 -0.3123 0.1172
-viscosity 0 0.116 -8.6e-3 0.159 -9.3e-3 0.522 0.627
-dw 0.9e-9 100 2.1 2 0
-gamma 3.64 -4.75e-2
-log_k 1.276; -delta_h -3.24 kcal
-Vm 6.64 8.5 -5.84 -3.1 2 0 19.24 0 -7.84e-2 0.289
-viscosity 0.267 -0.207 9.75e-2 6.18e-2 1.99e-2 1.166 0.61
-dw 1.56e-9 498 25 0.5 0.684
H3BO3 = H2BO3- + H+
-log_k -9.24
-delta_h 3.224 kcal
@ -376,13 +372,14 @@ Ca+2 + CO3-2 + H+ = CaHCO3+
-log_k 10.91; -delta_h 4.38 kcal
-analytic -6.009 3.377e-2 2044
-gamma 6 0
-Vm 30.19 .01 5.75 -2.78 .308 5.4
-Vm 3.19 .01 5.75 -2.78 .308 5.4
-dw 5.06e-10
Ca+2 + SO4-2 = CaSO4
-log_k 2.25
-delta_h 1.325 kcal
-dw 4.71e-10
-Vm 2.791 -.9666 6.13 -2.739 -.001 # supcrt
-gamma 0 4.45e-2
-log_k 2.14; -delta_h 24.4
-analytical_expression 1.478 8.29e-3 -538.2
-vm 2.7 2 2 -3.7
-dw 4.71e-9
Ca+2 + HSO4- = CaHSO4+
-log_k 1.08
Ca+2 + PO4-3 = CaPO4-
@ -419,19 +416,19 @@ Mg+2 + H+ + CO3-2 = MgHCO3+
-Vm 2.7171 -1.1469 6.2008 -2.7316 .5985 4 # supcrt
-dw 4.78e-10
Mg+2 + SO4-2 = MgSO4
-gamma 0 0.2
-log_k 2.42; -delta_h 19 kJ
-analytical_expression 0 9.64e-3 -136 # mean salt gamma from Pitzer.dat and epsomite/hexahydrite/kieserite solubilities, 0 - 200 oC
-Vm 8.65 -10.21 29.58 -18.6 1.061
-viscosity 0.318 -5.4e-4 -3.42e-2 0.708 3.7e-3 0.696
-gamma 0 0.20
-log_k 2.42; -delta_h 19.0
-analytical_expression 0 9.64e-3 -136 # epsomite/hexahydrite/kieserite solubilities, 0 - 200 oC
-Vm 11.92 -27.758 29.752 -10.302 -0.1
-viscosity -0.799 1 2.2e-4 8.53e-2 -4.6e-3 1.35 -0.796
-dw 4.45e-10
SO4-2 + MgSO4 = Mg(SO4)2-2
-gamma 7 0.047
-log_k 0.52; -delta_h -13.6 kJ
-analytical_expression 0 -1.51e-3 0 0 8.604e4 # mean salt gamma from Pitzer.dat and epsomite/hexahydrite/kieserite solubilities, 0 - 200 oC
-Vm -8.14 -62.2 -15.96 3.29 -3.01 0 150 0 0.153 3.79e-2
-viscosity -0.169 5e-4 -5.69e-2 0.11 2.03e-3 2.027 -1e-3
-dw 0.845e-9 -200 8 0 0.965
-log_k 0.52; -delta_h -13.6
-analytical_expression 0 -1.51e-3 0 0 8.604e4 # epsomite/hexahydrite/kieserite solubilities, 0 - 200 oC
-Vm 4.248 9.83 -7 -2.672 2 3.5 5 100 0.3359 9.518e-2
-viscosity 0.324 6.84e-2 -2.09e-2 0.104 6.19e-3 1.983 1e-3
-dw 1.11e-9 -500 3.5 0.5 0.731
Mg+2 + PO4-3 = MgPO4-
-log_k 6.589
-delta_h 3.1 kcal
@ -457,12 +454,19 @@ Na+ + HCO3- = NaHCO3
-viscosity -4e-2 -2.717 1.67e-5
-dw 6.73e-10
Na+ + SO4-2 = NaSO4-
-gamma 5.5 0
-log_k 0.6; -delta_h -14.4 kJ
-analytical_expression 255.903 0.10057 0 -1.11138e2 -8.5983e5 # mirabilite/thenardite solubilities, 0 - 200 oC
-Vm 1.99 -10.78 21.88 -12.7 1.601 5 32.38 501 1.565e-2 0.2325
-viscosity 0.2 -5.93e-2 -4e-4 8.46e-3 1.78e-3 2.308 -0.208
-dw 1.13e-9 -23 8.5 0.392 0.521
-gamma 3.5 0.1072
-log_k 0.94; -delta_h 8.23
-analytical_expression -0.304 4.51e-3 -28.9 # mirabilite/thenardite solubilities, 0 - 200 oC
-Vm 8.523 -4.685 -8.61 0.106 2.7 25 3.634 13.4 3.738e-2 0.5476
-viscosity -1 0.33 0.128 1.143 7.7e-4 1.9e-2 -0.387
-dw 4e-10 -200 3.5 0.5 0.5
2 Na+ + SO4-2 = Na2SO4
-gamma 0 8.85e-2
-log_k -2.37; -delta_h 82
-analytical_expression 15.432 -5.75e-3 -4796 # sulfates solubilities in NaCl
-Vm 9.405 -15.5 25 8.4 0.25
-viscosity -0.5 0.485 -1e-3 0.147 0 0.947 -0.175
-dw 0.8e-9
Na+ + HPO4-2 = NaHPO4-
-log_k 0.29
-gamma 5.4 0
@ -477,11 +481,11 @@ K+ + HCO3- = KHCO3
-viscosity 0.7 -1.289 9e-2
K+ + SO4-2 = KSO4-
-gamma 5.4 0.19
-log_k 0.6; -delta_h -10.4 kJ
-log_k 1.18; -delta_h 3
-analytical_expression -3.0246 9.986e-3 0 0 1.093e5 # arcanite solubility, 0 - 200 oC
-Vm 13.48 -18.03 61.74 -19.6 2.046 5.4 -17.32 0 0.1522 1.919
-viscosity -1 1.06 1e-4 -0.464 3.78e-2 0.539 -0.69
-dw 0.9e-9 63 8.48 0 1.8
-Vm 3.443 5.04 13 -3.324 2.447 0 20 0 7.77e-3 0.3497
-viscosity 0.107 0.19 2.23e-2 -0.148 -4.91e-2 0.537 0.195
-dw 1.22e-9 100 25 0.5 2.5
K+ + HPO4-2 = KHPO4-
-log_k 0.29
-gamma 5.4 0
@ -501,9 +505,8 @@ Fe+2 + CO3-2 = FeCO3
Fe+2 + HCO3- = FeHCO3+
-log_k 2
Fe+2 + SO4-2 = FeSO4
-log_k 2.25
-delta_h 3.23 kcal
-Vm -13 0 123
-log_k 2.25; -delta_h 3.23 kcal
-Vm 5.8 6.5 3.7 -3 -0.09
Fe+2 + HSO4- = FeHSO4+
-log_k 1.08
Fe+2 + 2 HS- = Fe(HS)2
@ -605,9 +608,9 @@ Mn+2 + HCO3- = MnHCO3+
-log_k 1.95
-gamma 5 0
Mn+2 + SO4-2 = MnSO4
-log_k 2.25
-delta_h 3.37 kcal
-Vm -1.31 -1.83 62.3 -2.7
-gamma 0 -0.098
-log_k 1.408; -delta_h 21.55
-Vm 1.88 6.5 10 -3 0.1
Mn+2 + 2 NO3- = Mn(NO3)2
-log_k 0.6
-delta_h -0.396 kcal
@ -700,7 +703,8 @@ Ba+2 + HCO3- = BaHCO3+
-delta_h 5.56 kcal
-analytic -3.0938 0.013669
Ba+2 + SO4-2 = BaSO4
-log_k 2.7
-log_k 3.457; -delta_h 26.15
-vm -6.25 24.66 -4.38 10.97 0.5
Sr+2 + H2O = SrOH+ + H+
-log_k -13.29
-gamma 5 0
@ -819,12 +823,13 @@ Zn+2 + 2 CO3-2 = Zn(CO3)2-2
Zn+2 + HCO3- = ZnHCO3+
-log_k 2.1
Zn+2 + SO4-2 = ZnSO4
-log_k 2.37
-delta_h 1.36 kcal
-Vm 2.51 0 18.8
-gamma 0 0.1
-log_k 2.26; -delta_h 16.15
-Vm 0.409 6.5 2 -3 0
Zn+2 + 2 SO4-2 = Zn(SO4)2-2
-log_k 3.28
-Vm 10.9 0 -98.7 0 0 0 24 0 -0.236 1
-gamma 0.59 0.1
-log_k 1.15; -delta_h 17.52
-Vm 9.21 10.6 9 -3.2 3.8 25 0 100 -1e-3 0.256
Zn+2 + Br- = ZnBr+
-log_k -0.58
Zn+2 + 2 Br- = ZnBr2
@ -870,12 +875,13 @@ Cd+2 + 2 CO3-2 = Cd(CO3)2-2
Cd+2 + HCO3- = CdHCO3+
-log_k 1.5
Cd+2 + SO4-2 = CdSO4
-log_k 2.46
-delta_h 1.08 kcal
-Vm 10.4 0 57.9
-gamma 0 0.1
-log_k 1.016; -delta_h 6.84
-Vm 2.11 6.5 10 -3 0.1
Cd+2 + 2 SO4-2 = Cd(SO4)2-2
-log_k 3.5
-Vm -6.29 0 -93 0 9.5 7 0 0 0 1
-gamma 5.201 -0.1
-log_k 2.688; -delta_h 0.19
-Vm 9.14 10.6 -3.06 -3.2 3.8 7.44 1.27 0.32 -1e-3 2.5
Cd+2 + Br- = CdBr+
-log_k 2.17
-delta_h -0.81 kcal
@ -995,29 +1001,24 @@ Witherite
-Vm 46
Gypsum
CaSO4:2H2O = Ca+2 + SO4-2 + 2 H2O
-log_k -4.58
-delta_h -0.109 kcal
-analytic 68.2401 0 -3221.51 -25.0627
-analytical_expression 93.7 5.99E-3 -4e3 -35.019 # better fits the appendix data of Appelo, 2015, AG 55, 62
-Vm 73.9 # 172.18 / 2.33 (Vm H2O = 13.9 cm3/mol)
-log_k -4.55; -delta_h -6.70
-analytical_expression 72.244 -1.474e-2 -4040 -23.7823 # fits the appendix data of Appelo, 2015, AG 55, 62
-Vm 73.9
Anhydrite
CaSO4 = Ca+2 + SO4-2
-log_k -4.36
-delta_h -1.71 kcal
-analytic 84.9 0 -3135.12 -31.79 # 50 - 160oC, 1 - 1e3 atm, anhydrite dissolution, Blount and Dickson, 1973, Am. Mineral. 58, 323
log_k -4.25; -delta_h -22.4
-analytical_expression 5.725 -2.478e-2 -790.4 # 50 - 160oC, 1 - 1e3 atm, anhydrite dissolution, Blount and Dickson, 1973, Am. Mineral. 58, 323
-Vm 46.1 # 136.14 / 2.95
Celestite
SrSO4 = Sr+2 + SO4-2
-log_k -6.63
-delta_h -4.037 kcal
# -analytic -14805.9622 -2.4660924 756968.533 5436.3588 -40553604.0
-analytic -7.14 6.11e-3 75 0 0 -1.79e-5 # Howell et al., 1992, JCED 37, 464
-Vm 46.4
Barite
BaSO4 = Ba+2 + SO4-2
-log_k -9.97
-delta_h 6.35 kcal
-analytical_expression -282.43 -8.972e-2 5822 113.08 # Blount 1977; Templeton, 1960
-log_k -9.89; -delta_h 11.82
-analytical_expression -34.438 -3.316e-2 -1500 15.9485 # Blount 1977; Templeton, 1960
-Vm 52.9
Arcanite
K2SO4 = SO4-2 + 2 K+
@ -1027,12 +1028,14 @@ Arcanite
-Vm 65.5
Mirabilite
Na2SO4:10H2O = SO4-2 + 2 Na+ + 10 H2O
-analytical_expression -301.9326 -0.16232 0 141.078 # ref. 3
-log_k -0.706; -delta_h 124
-analytical_expression -53.037 0.1242 4562 # ref. 3
Vm 216
Thenardite
Na2SO4 = 2 Na+ + SO4-2
-analytical_expression 57.185 8.6024e-2 0 -30.8341 0 -7.6905e-5 # ref. 3
-Vm 52.9
-log_k 0.65; -delta_h -23.1
-analytical_expression 159.849 1.699e-2 -5000 -59.6073 # ref. 3
Vm 52.9
Epsomite
MgSO4:7H2O = Mg+2 + SO4-2 + 7 H2O
log_k -1.74; -delta_h 10.57 kJ
@ -1905,7 +1908,6 @@ Pyrolusite
110 moles = 2e-3 * 6.98e-5 * (1 - sr_pl) * TIME
200 SAVE moles * SOLN_VOL
-end
END
# =============================================================================================
#(a) means amorphous. (d) means disordered, or less crystalline.
@ -1947,17 +1949,17 @@ END
# Av is the Debye-H<>ckel limiting slope (DH_AV in PHREEQC basic).
# a0 is the ion-size parameter in the extended Debye-H<>ckel equation:
# f(I^0.5) = I^0.5 / (1 + a0 * DH_B * I^0.5),
# a0 = -gamma x for cations, = 0 for anions.
# For details, consult ref. 1.
# a0 = -gamma x for cations, = 0 for anions (or fitted).
# For details, consult ref. 1 and subroutine calc_vm(tc, pa) in prep.cpp.
# =============================================================================================
# The viscosity is calculated with a (modified) Jones-Dole equation:
# viscos / viscos_0 = 1 + A * Sum(0.5 z_i m_i) + fan * Sum(B_i m_i + D_i m_i n_i)
# Parameters are for calculating the B and D terms:
# -viscosity 9.35e-2 -8.31e-2 2.487e-2 4.49e-4 2.01e-2 1.570 0
# # b0 b1 b2 d1 d2 d3 tan
# -viscosity 9.35e-2 -8.31e-2 2.487e-2 4.49e-4 2.01e-2 1.570 0
# # b0 b1 b2 d1 d2 d3 tan
# z_i is absolute charge number, m_i is molality of i
# B_i = b0 + b1 exp(-b2 * tc)
# fan = (2 - tan V_i / V_Cl-), corrects for the volume of anions
# fan = (2 - tan V_i / V_Cl-), corrects for the volume of anions and neutral species
# D_i = d1 * exp(-d2 tc)
# n_i = (I^d3 * (1 + fI) + ((z_i^2 + z_i) / 2 <20> m_i)^d3) / (2 + fI), fI is an ionic strength term.
# For details, consult ref. 4.

View File

@ -16,6 +16,7 @@ set(phreeqc_DATABASE
phreeqc.dat
pitzer.dat
sit.dat
stimela.dat
Tipping_Hurley.dat
wateq4f.dat
)

View File

@ -1,4 +1,4 @@
# KINEC.v2.dat - last edited April 18, 2024 by MA and EHO.
# Kinec.v2.dat - last edited April 18, 2024 by MA and EHO.
#
# This database contains the parameters for calculating mineral dissolution rates for primary and secondary silicate minerals using the equations and parameters reported by Hermanska et al. (2022, 2023),
# and dissolution rates for other non)-silicate mineral systems using the equations and parameters reported by Oelkers and Addassi (2024, in preparation).

View File

@ -1,4 +1,4 @@
# KINEC_v3.dat - last edited July 23, 2024 by MA and EHO.
# Kinec_v3.dat - last edited July 23, 2024 by MA and EHO.
#
# This database contains the parameters for calculating mineral dissolution rates for primary and secondary silicate minerals using the equations and parameters reported by Hermanska et al. (2022, 2023),
# and dissolution rates for other mineral systems using the equations and parameters reported by Oelkers and addassi (2024*).

View File

@ -24,5 +24,6 @@ DATABASE=\
phreeqc.dat\
pitzer.dat\
sit.dat\
stimela.dat\
Tipping_Hurley.dat\
wateq4f.dat

View File

@ -24,7 +24,7 @@ SOLUTION_MASTER_SPECIES
#
# elemen species alk gfw_formula element_gfw atomic number
# element species alk gfw_formula element_gfw atomic number
#

View File

@ -22,7 +22,7 @@ SOLUTION_MASTER_SPECIES
#
# elemen species alk gfw_formula element_gfw atomic number
# element species alk gfw_formula element_gfw atomic number
#

View File

@ -18,7 +18,7 @@ SOLUTION_MASTER_SPECIES
#
# elemen species alk gfw_formula element_gfw atomic number
# element species alk gfw_formula element_gfw atomic number
#

View File

@ -61,7 +61,7 @@ SOLUTION_MASTER_SPECIES
#
#
#
# elemen species alk gfw_formula element_gfw atomic Disposition Source of data
# element species alk gfw_formula element_gfw atomic Disposition Source of data
# number PMATCHC
#
H H+ -1.0 H 1.008 # 1 Ele NAGRA NTB 91-17

View File

@ -2,77 +2,76 @@
# Created 17 May 2024 14:30:44
# c:\3rdParty\lsp\lsp.exe -f2 -k="asis" -ts "Tipping_Hurley.dat"
# $Id: wateq4f.dat 6895 2012-08-21 18:10:05Z dlpark $
# Revised arsenic data from Archer and Nordstrom (2002)
SOLUTION_MASTER_SPECIES
Ag Ag+ 0 107.868 107.868
Al Al+3 0 26.9815 26.9815
Alkalinity CO3-2 1 50.05 50.05
As H3AsO4 -1 74.9216 74.9216
As(+3) H3AsO3 0 74.9216 74.9216
As(+5) H3AsO4 -1 74.9216
B H3BO3 0 10.81 10.81
Ba Ba+2 0 137.34 137.34
Br Br- 0 79.904 79.904
C CO3-2 2 61.0173 12.0111
C(+4) CO3-2 2 61.0173
C(-4) CH4 0 16.042
Ca Ca+2 0 40.08 40.08
Cd Cd+2 0 112.4 112.4
Cl Cl- 0 35.453 35.453
Cs Cs+ 0 132.905 132.905
Cu Cu+2 0 63.546 63.546
Cu(+1) Cu+1 0 63.546
Cu(+2) Cu+2 0 63.546
E e- 1 0 0
F F- 0 18.9984 18.9984
Fe Fe+2 0 55.847 55.847
Fe(+2) Fe+2 0 55.847
Fe(+3) Fe+3 -2 55.847
Fulvate Fulvate-2 0 650 650
H H+ -1 1.008 1.008
H(0) H2 0 1.008
H(1) H+ -1 1.008
Humate Humate-2 0 2000 2000
I I- 0 126.9044 126.9044
K K+ 0 39.102 39.102
Li Li+ 0 6.939 6.939
Mg Mg+2 0 24.312 24.312
Mn Mn+2 0 54.938 54.938
Mn(2) Mn+2 0 54.938
Mn(3) Mn+3 0 54.938
Mn(6) MnO4-2 0 54.938
Mn(7) MnO4- 0 54.938
N NO3- 0 14.0067 14.0067
N(-3) NH4+ 0 14.0067
N(0) N2 0 14.0067
N(+3) NO2- 0 14.0067
N(+5) NO3- 0 14.0067
Na Na+ 0 22.9898 22.9898
Ni Ni+2 0 58.71 58.71
O H2O 0 16 16
O(-2) H2O 0 18.016
O(0) O2 0 16
P PO4-3 2 30.9738 30.9738
Pb Pb+2 0 207.19 207.19
Rb Rb+ 0 85.47 85.47
S SO4-2 0 96.0616 32.064
S(-2) H2S 0 32.064
S(6) SO4-2 0 96.0616
Se SeO4-2 0 78.96 78.96
Se(-2) HSe- 0 78.96
Se(4) SeO3-2 0 78.96
Se(6) SeO4-2 0 78.96
Si H4SiO4 0 60.0843 28.0843
Sr Sr+2 0 87.62 87.62
Zn Zn+2 0 65.37 65.37
U UO2+2 0 238.029 238.029
U(3) U+3 0 238.029 238.029
U(4) U+4 0 238.029 238.029
U(5) UO2+ 0 238.029 238.029
U(6) UO2+2 0 238.029 238.029
Ag Ag+ 0.0 107.868 107.868
Al Al+3 0.0 26.9815 26.9815
Alkalinity CO3-2 1.0 50.05 50.05
As H3AsO4 -1.0 74.9216 74.9216
As(+3) H3AsO3 0.0 74.9216 74.9216
As(+5) H3AsO4 -1.0 74.9216
B H3BO3 0.0 10.81 10.81
Ba Ba+2 0.0 137.34 137.34
Br Br- 0.0 79.904 79.904
C CO3-2 2.0 61.0173 12.0111
C(+4) CO3-2 2.0 61.0173
C(-4) CH4 0.0 16.042
Ca Ca+2 0.0 40.08 40.08
Cd Cd+2 0.0 112.4 112.4
Cl Cl- 0.0 35.453 35.453
Cs Cs+ 0.0 132.905 132.905
Cu Cu+2 0.0 63.546 63.546
Cu(+1) Cu+1 0.0 63.546
Cu(+2) Cu+2 0.0 63.546
E e- 0.0 0.0 0.0
F F- 0.0 18.9984 18.9984
Fe Fe+2 0.0 55.847 55.847
Fe(+2) Fe+2 0.0 55.847
Fe(+3) Fe+3 -2.0 55.847
Fulvate Fulvate-2 0.0 650. 650.
H H+ -1. 1.008 1.008
H(0) H2 0.0 1.008
H(1) H+ -1. 1.008
Humate Humate-2 0.0 2000. 2000.
I I- 0.0 126.9044 126.9044
K K+ 0.0 39.102 39.102
Li Li+ 0.0 6.939 6.939
Mg Mg+2 0.0 24.312 24.312
Mn Mn+2 0.0 54.938 54.938
Mn(2) Mn+2 0.0 54.938
Mn(3) Mn+3 0.0 54.938
Mn(6) MnO4-2 0.0 54.938
Mn(7) MnO4- 0.0 54.938
N NO3- 0.0 14.0067 14.0067
N(-3) NH4+ 0.0 14.0067
N(0) N2 0.0 14.0067
N(+3) NO2- 0.0 14.0067
N(+5) NO3- 0.0 14.0067
Na Na+ 0.0 22.9898 22.9898
Ni Ni+2 0.0 58.71 58.71
O H2O 0.0 16.00 16.00
O(-2) H2O 0.0 18.016
O(0) O2 0.0 16.00
P PO4-3 2.0 30.9738 30.9738
Pb Pb+2 0.0 207.19 207.19
Rb Rb+ 0.0 85.47 85.47
S SO4-2 0.0 96.0616 32.064
S(-2) H2S 0.0 32.064
S(6) SO4-2 0.0 96.0616
Se SeO4-2 0.0 78.96 78.96
Se(-2) HSe- 0.0 78.96
Se(4) SeO3-2 0.0 78.96
Se(6) SeO4-2 0.0 78.96
Si H4SiO4 0.0 60.0843 28.0843
Sr Sr+2 0.0 87.62 87.62
Zn Zn+2 0.0 65.37 65.37
U UO2+2 0.0 238.0290 238.0290
U(3) U+3 0.0 238.0290 238.0290
U(4) U+4 0.0 238.0290 238.0290
U(5) UO2+ 0.0 238.0290 238.0290
U(6) UO2+2 0.0 238.0290 238.0290
SOLUTION_SPECIES

View File

@ -3,38 +3,38 @@
# c:\3rdParty\lsp\lsp.exe -f2 -k="asis" -ts "iso.dat"
SOLUTION_MASTER_SPECIES
E e- 1 0 0
H H3O+ -1 H 1.008
H(0) H2 0 H
H(1) H3O+ -1 H
O H2O 0 O 16
O(0) O2 0 O
O(-2) H2O 0 O
Ca Ca+2 0 Ca 40.08
Mg Mg+2 0 Mg 24.312
Na Na+ 0 Na 22.9898
K K+ 0 K 39.102
Fe Fe+2 0 Fe 55.847
Fe(+2) Fe+2 0 Fe
Fe(+3) Fe+3 -2 Fe
Al Al+3 0 Al 26.9815
Si H4SiO4 0 SiO2 28.0843
Cl Cl- 0 Cl 35.453
C CO2 0 HCO3 12.0111
C(4) CO2 0 HCO3
C(-4) CH4 0 CH4
S SO4-2 0 S 31.972
S(6) SO4-2 0 SO4
S(-2) HS- 1 S
N NO3- 0 N 14.0067
N(+5) NO3- 0 N
N(+3) NO2- 0 N
N(0) N2 0 N
N(-3) NH4+ 0 N
P PO4-3 2 P 30.9738
F F- 0 F 18.9984
Br Br- 0 Br 79.904
Alkalinity CO2 0 50.05 50.05
E e- 1 0 0
H H3O+ -1 H 1.008
H(0) H2 0 H
H(1) H3O+ -1 H
O H2O 0 O 16
O(0) O2 0 O
O(-2) H2O 0 O
Ca Ca+2 0 Ca 40.08
Mg Mg+2 0 Mg 24.312
Na Na+ 0 Na 22.9898
K K+ 0 K 39.102
Fe Fe+2 0 Fe 55.847
Fe(+2) Fe+2 0 Fe
Fe(+3) Fe+3 -2 Fe
Al Al+3 0 Al 26.9815
Si H4SiO4 0 SiO2 28.0843
Cl Cl- 0 Cl 35.453
C CO2 0 HCO3 12.0111
C(4) CO2 0 HCO3
C(-4) CH4 0 CH4
S SO4-2 0 S 31.972
S(6) SO4-2 0 SO4
S(-2) HS- 1 S
N NO3- 0 N 14.0067
N(+5) NO3- 0 N
N(+3) NO2- 0 N
N(0) N2 0 N
N(-3) NH4+ 0 N
P PO4-3 2 P 30.9738
F F- 0 F 18.9984
Br Br- 0 Br 79.904
Alkalinity CO2 0 50.05 50.05
SOLUTION_SPECIES
H3O+ = H3O+
@ -639,11 +639,11 @@ CO2(g)
O2(g)
O2 = O2
# log_k -2.960
# delta_h -1.844 kcal
# log K from llnl.dat Dec 8, 2010
log_k -2.8983
-analytic -7.5001e+0 7.8981e-3 0e+0 0e+0 2.0027e+5
# log_k -2.960
# delta_h -1.844 kcal
# log K from llnl.dat Dec 8, 2010
log_k -2.8983
-analytic -7.5001e+0 7.8981e-3 0e+0 0e+0 2.0027e+5
H2(g)
H2 = H2
@ -1122,8 +1122,8 @@ ISOTOPE_ALPHAS
# N2(aq)
Alpha_15N_N2(aq)/NO3- Log_alpha_15N_N2(aq)/NO3-
# NH3(aq)
Alpha_D_NH3(aq)/H2O(l) Log_alpha_D_NH3(aq)/H2O(l)
Alpha_T_NH3(aq)/H2O(l) Log_alpha_T_NH3(aq)/H2O(l)
Alpha_D_NH3(aq)/H2O(l) Log_alpha_D_NH3(aq)/H2O(l)
Alpha_T_NH3(aq)/H2O(l) Log_alpha_T_NH3(aq)/H2O(l)
Alpha_15N_NH3(aq)/NO3- Log_alpha_15N_NH3(aq)/NO3-
# NH4+
Alpha_D_NH4+/H2O(l) Log_alpha_D_NH4+/H2O(l)

File diff suppressed because it is too large Load Diff

View File

@ -7,125 +7,125 @@ SOLUTION_MASTER_SPECIES
#######################################################
# essential definitions
#######################################################
Alkalinity CO3-2 2 61.0173 61.0173
E e- 1 0 0
H H+ -1 1.008 1.008
H(0) H2 0 1.008
H(1) H+ -1 1.008
O H2O 0 16 16
O(-2) H2O 0 16 16
O(0) O2 0 16 16
Alkalinity CO3-2 2 61.0173 61.0173
E e- 1 0 0
H H+ -1 1.008 1.008
H(0) H2 0 1.008
H(1) H+ -1 1.008
O H2O 0 16 16
O(-2) H2O 0 16 16
O(0) O2 0 16 16
#######################################################
Ag Ag+ 0 107.868 107.868
Al Al+3 0 26.9815 26.9815
As H3AsO4 -1 74.9216 74.9216
As(+3) H3AsO3 0 74.9216
As(+5) H3AsO4 -1 74.9216
B H3BO3 0 10.81 10.81
Ba Ba+2 0 137.34 137.34
Be Be+2 0 9.0122 9.0122
Br Br- 0 79.904 79.904
C CO3-2 2 61.0173 12.0111
C(+4) CO3-2 2 61.0173
#C(-4) CH4 0.0 16.042
Cyanide Cyanide- 0 26.018 26.018
Cyanate Cyanate- 0 42.017 42.017
#DOM DOM-2.8 0 0 0
#ClIG2 ClIG2 0 0 0
Ca Ca+2 0 40.08 40.08
Cd Cd+2 0 112.399 112.399
Cl Cl- 0 35.453 35.453
Cr CrO4-2 1 51.996 51.996
Cr(2) Cr+2 0 51.996
Cr(3) Cr(OH)2+ 1 51.996
Cr(6) CrO4-2 1 51.996
Cu Cu+2 0 63.546 63.546
Cu(1) Cu+ 0 63.546
Cu(2) Cu+2 0 63.546
F F- 0 18.9984 18.9984
Fe Fe+3 0 55.847 55.847
Fe(+2) Fe+2 0 55.847
Fe(+3) Fe+3 -2 55.847
Hg Hg(OH)2 0 200.59 200.59
Hg(2) Hg(OH)2 0 200.59
Hg(1) Hg2+2 0 200.59
Hg(0) Hg 0 200.59
I I- 0 126.904 126.904
K K+ 0 39.102 39.102
Li Li+ 0 6.939 6.939
Mg Mg+2 0 24.312 24.312
Mn Mn+3 0 54.938 54.938
Mn(2) Mn+2 0 54.938
Mn(3) Mn+3 0 54.938
Mn(6) MnO4-2 0 54.938
Mn(7) MnO4- 0 54.938
N NO3- 0 14.0067 14.0067
N(-3) NH4+ 0 14.0067
#N(0) N2 0.0 14.0067
N(+3) NO2- 0 14.0067
N(+5) NO3- 0 14.0067
Na Na+ 0 22.9898 22.9898
Ni Ni+2 0 58.71 58.71
P PO4-3 2 30.9738 30.9738
Pb Pb+2 0 207.19 207.19
Rb Rb+ 0 85.4699 85.4699
S SO4-2 0 96.0616 32.064
S(-2) HS- 1 32.064
S(6) SO4-2 0 96.0616
Sb Sb(OH)6- 0 Sb 121.75
Sb(3) Sb(OH)3 0 Sb
Sb(5) Sb(OH)6- 0 Sb
Se SeO4-2 0 78.96 78.96
Se(-2) HSe- 0 78.96
Se(4) SeO3-2 0 78.96
Se(6) SeO4-2 0 78.96
Si H4SiO4 0 96.1155 28.0843
Sr Sr+2 0 87.62 87.62
Tl Tl(OH)3 0 204.37 204.37
Tl(1) Tl+ 0 204.37
Tl(3) Tl(OH)3 0 204.37
U UO2+2 0 238.029 238.029
U(3) U+3 0 238.029
U(4) U+4 0 238.029
U(5) UO2+ 0 238.029
U(6) UO2+2 0 238.029
V VO2+ -2 50.94 50.94
V(2) V+2 0 50.94
V(3) V+3 -3 50.94
V(4) VO+2 0 50.94
V(5) VO2+ -2 50.94
Zn Zn+2 0 65.37 65.37
Benzoate Benzoate- 0 121.12 121.12
Para_acetate Para_acetate- 1 134.14 134.14
Isophthalate Isophthalate-2 1 164.12 164.12
Diethylamine Diethylamine 0 73 73
Nbutylamine Nbutylamine 1 73 73
Methylamine Methylamine 1 31.018 31.018
Dimethylamine Dimethylamine 1 45.028 45.028
Tributylphosphate Tributylphosphate 0 265.97 265.97
Hexylamine Hexylamine 1 101 101
Ethylenediamine Ethylenediamine 2 60.12 60.12
Npropylamine Npropylamine 1 59.04 59.04
Isopropylamine Isopropylamine 1 59.04 59.04
Trimethylamine Trimethylamine 1 59.04 59.04
Citrate Citrate-3 2 189.06 189.06
Nta Nta-3 1 188.06 188.06
Edta Edta-4 2 276 276
Propanoate Propanoate- 1 73.032 73.032
Butanoate Butanoate- 0 87.043 87.043
Isobutyrate Isobutyrate- 1 87.043 87.043
Two_methylpyridine Two_methylpyridine 1 94 94
Three_methylpyridine Three_methylpyridine 1 94 94
Four_methylpyridine Four_methylpyridine 1 94 94
Formate Formate- 0 45.02 45.02
Isovalerate Isovalerate- 1 101.13 101.13
Valerate Valerate- 1 101.13 101.13
Acetate Acetate- 1 59.05 59.05
Tartrate Tartrate-2 0 148.09 148.09
Glycine Glycine- 1 74.07 74.07
Salicylate Salicylate-2 1 136.12 136.12
Glutamate Glutamate-2 1 145.13 145.13
Phthalate Phthalate-2 1 164.13 164.13
Ag Ag+ 0 107.868 107.868
Al Al+3 0 26.9815 26.9815
As H3AsO4 -1 74.9216 74.9216
As(+3) H3AsO3 0 74.9216
As(+5) H3AsO4 -1 74.9216
B H3BO3 0 10.81 10.81
Ba Ba+2 0 137.34 137.34
Be Be+2 0 9.0122 9.0122
Br Br- 0 79.904 79.904
C CO3-2 2 61.0173 12.0111
C(+4) CO3-2 2 61.0173
#C(-4) CH4 0.0 16.042
Cyanide Cyanide- 0 26.018 26.018
Cyanate Cyanate- 0 42.017 42.017
#DOM DOM-2.8 0 0 0
#ClIG2 ClIG2 0 0 0
Ca Ca+2 0 40.08 40.08
Cd Cd+2 0 112.399 112.399
Cl Cl- 0 35.453 35.453
Cr CrO4-2 1 51.996 51.996
Cr(2) Cr+2 0 51.996
Cr(3) Cr(OH)2+ 1 51.996
Cr(6) CrO4-2 1 51.996
Cu Cu+2 0 63.546 63.546
Cu(1) Cu+ 0 63.546
Cu(2) Cu+2 0 63.546
F F- 0 18.9984 18.9984
Fe Fe+3 0 55.847 55.847
Fe(+2) Fe+2 0 55.847
Fe(+3) Fe+3 -2 55.847
Hg Hg(OH)2 0 200.59 200.59
Hg(2) Hg(OH)2 0 200.59
Hg(1) Hg2+2 0 200.59
Hg(0) Hg 0 200.59
I I- 0 126.904 126.904
K K+ 0 39.102 39.102
Li Li+ 0 6.939 6.939
Mg Mg+2 0 24.312 24.312
Mn Mn+3 0 54.938 54.938
Mn(2) Mn+2 0 54.938
Mn(3) Mn+3 0 54.938
Mn(6) MnO4-2 0 54.938
Mn(7) MnO4- 0 54.938
N NO3- 0 14.0067 14.0067
N(-3) NH4+ 0 14.0067
#N(0) N2 0.0 14.0067
N(+3) NO2- 0 14.0067
N(+5) NO3- 0 14.0067
Na Na+ 0 22.9898 22.9898
Ni Ni+2 0 58.71 58.71
P PO4-3 2 30.9738 30.9738
Pb Pb+2 0 207.19 207.19
Rb Rb+ 0 85.4699 85.4699
S SO4-2 0 96.0616 32.064
S(-2) HS- 1 32.064
S(6) SO4-2 0 96.0616
Sb Sb(OH)6- 0 Sb 121.75
Sb(3) Sb(OH)3 0 Sb
Sb(5) Sb(OH)6- 0 Sb
Se SeO4-2 0 78.96 78.96
Se(-2) HSe- 0 78.96
Se(4) SeO3-2 0 78.96
Se(6) SeO4-2 0 78.96
Si H4SiO4 0 96.1155 28.0843
Sr Sr+2 0 87.62 87.62
Tl Tl(OH)3 0 204.37 204.37
Tl(1) Tl+ 0 204.37
Tl(3) Tl(OH)3 0 204.37
U UO2+2 0 238.029 238.029
U(3) U+3 0 238.029
U(4) U+4 0 238.029
U(5) UO2+ 0 238.029
U(6) UO2+2 0 238.029
V VO2+ -2 50.94 50.94
V(2) V+2 0 50.94
V(3) V+3 -3 50.94
V(4) VO+2 0 50.94
V(5) VO2+ -2 50.94
Zn Zn+2 0 65.37 65.37
Benzoate Benzoate- 0 121.12 121.12
Para_acetate Para_acetate- 1 134.14 134.14
Isophthalate Isophthalate-2 1 164.12 164.12
Diethylamine Diethylamine 0 73 73
Nbutylamine Nbutylamine 1 73 73
Methylamine Methylamine 1 31.018 31.018
Dimethylamine Dimethylamine 1 45.028 45.028
Tributylphosphate Tributylphosphate 0 265.97 265.97
Hexylamine Hexylamine 1 101 101
Ethylenediamine Ethylenediamine 2 60.12 60.12
Npropylamine Npropylamine 1 59.04 59.04
Isopropylamine Isopropylamine 1 59.04 59.04
Trimethylamine Trimethylamine 1 59.04 59.04
Citrate Citrate-3 2 189.06 189.06
Nta Nta-3 1 188.06 188.06
Edta Edta-4 2 276 276
Propanoate Propanoate- 1 73.032 73.032
Butanoate Butanoate- 0 87.043 87.043
Isobutyrate Isobutyrate- 1 87.043 87.043
Two_methylpyridine Two_methylpyridine 1 94 94
Three_methylpyridine Three_methylpyridine 1 94 94
Four_methylpyridine Four_methylpyridine 1 94 94
Formate Formate- 0 45.02 45.02
Isovalerate Isovalerate- 1 101.13 101.13
Valerate Valerate- 1 101.13 101.13
Acetate Acetate- 1 59.05 59.05
Tartrate Tartrate-2 0 148.09 148.09
Glycine Glycine- 1 74.07 74.07
Salicylate Salicylate-2 1 136.12 136.12
Glutamate Glutamate-2 1 145.13 145.13
Phthalate Phthalate-2 1 164.13 164.13
SOLUTION_SPECIES
#######################################################
# essential definitions
@ -3691,12 +3691,12 @@ Greigite
delta_h -0 kcal
Gypsum
CaSO4:2H2O = Ca+2 + SO4-2 + 2 H2O
# # Log K gives too small a solubility < 10 mmol/L
# # D. Parkhurst 7/13/09, Replacing log K with minteq version 4 log K
# # Log K gives too small a solubility < 10 mmol/L
# # D. Parkhurst 7/13/09, Replacing log K with minteq version 4 log K
# log_k -4.848
# delta_h 0.261 kcal
log_k -4.61
delta_h 1 kJ
log_k -4.61
delta_h 1 kJ
Halite
NaCl = Na+ + Cl-

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,8 @@
# File 1 = C:\GitPrograms\phreeqc3-1\database\Amm.dat, 22/05/2024 19:38, 1948 lines, 55817 bytes, md5=78b3659799b73ddca128328b6ee7533b
# File 1 = C:\GitPrograms\phreeqc3-1\database\phreeqc.dat, 22/05/2024 19:38, 1948 lines, 55817 bytes, md5=78b3659799b73ddca128328b6ee7533b
# Created 22 May 2024 19:55:37
# C:\3rdParty\lsp\lsp.exe -f2 -k=asis -ts Amm.dat
# C:\3rdParty\lsp\lsp.exe -f2 -k=asis -ts phreeqc.dat
# PHREEQC.DAT for calculating temperature and pressure dependence of reactions, and the specific conductance and viscosity of the solution. Based on:
# phreeqc.dat for calculating temperature and pressure dependence of reactions, and the specific conductance and viscosity of the solution. Based on:
# diffusion coefficients and molal volumina of aqueous species, solubility and volume of minerals, and critical temperatures and pressures of gases in Peng-Robinson's EOS.
# Details are given at the end of this file.
@ -70,7 +70,7 @@ H+ = H+
-dw 9.31e-9 838 6.96 -2.285 0.206 24.01 0
# Dw(25 C) dw_T a a2 visc a3 a_v_dif
# Dw(TK) = 9.31e-9 * exp(838 / TK - 838 / 298.15) * viscos_0_25 / viscos_0_tc
# a = DH ion size, a2 = exponent, visc = viscosity exponent, a3(H+) = 24.01 = new dw calculation from A.D. 2024, a_v_dif = exponent in (viscos_0_tc / viscos)^a_v_dif for tracer diffusion.
# a = DH ion size (= 3.5 - 25), a2 = exponent (= 0 2.5), visc = viscosity exponent (= 0 2.5), a3 = switch [a3(H+) = 24.01 = new dw calculation from A.D. 2024], a_v_dif = exponent in (viscos_0_tc / viscos)^a_v_dif for tracer diffusion.
# For SC, Dw(TK) *= (viscos_0_tc / viscos)^visc (visc = 0.206 for H+)
# a3 > 5 or a3 = 0 or not defined ? ka = DH_B * a * (1 + (vm - v0))^a2 * mu^0.5, in Onsager-Falkenhagen eqn. (For H+, the reference ion, vm = v0 = 0, a *= (1 + mu)^a2.)
@ -80,7 +80,7 @@ H+ = H+
# If a_v_dif <> 0, Dw(TK) *= (viscos_0_tc / viscos)^a_v_dif in TRANSPORT.
e- = e-
H2O = H2O
-dw 2.299e-9 -254
-dw 2.299e-9 -249 # Holz et al., Phys. Chem. Chem. Phys., 2000, 2, 4740.
# H2O + 0.01e- = H2O-0.01; -log_k -9 # aids convergence
Li+ = Li+
-gamma 6 0 # The apparent volume parameters are defined in ref. 1 & 2
@ -111,9 +111,9 @@ Ca+2 = Ca+2
-dw 0.792e-9 34 5.411 0 1.046
Sr+2 = Sr+2
-gamma 5.26 0.121
-Vm -1.57e-2 -10.15 10.18 -2.36 0.86 5.26 0.859 -27 -4.1e-3 1.97
-viscosity 0.472 -0.252 5.51e-3 3.67e-3 0 1.876
-dw 0.794e-9 149 0.805 1.961 1e-9 0.7876
-Vm -5.6e-2 -10.15 9.90 -2.36 0.807 5.26 2.72 -82.7 -1.37e-2 0.956
-viscosity 0.493 -0.255 2.3e-3 4.2e-3 -3.8e-3 1.762
-dw 0.794e-9 18 0.681 2.069 0.965 0.271
Ba+2 = Ba+2
-gamma 5 0
-gamma 4 0.153 # Barite solubility
@ -147,19 +147,19 @@ CO3-2 = CO3-2
-viscosity -0.5 0.6521 5.44e-3 1.06e-3 -2.18e-2 1.208 -2.147
-dw 0.955e-9 -103 2.246 7.13e-2 0.3686
SO4-2 = SO4-2
-gamma 5 -0.04
-Vm -7.77 43.17 176 -51.45 3.794 0 42.99 -541 -0.145 0.45 # with analytical_expressions for log K of NaSO4-, KSO4- & MgSO4, 0 - 200 oC
-viscosity -0.3 0.501 2.57e-3 0.195 3.14e-2 2.015 0.605
-dw 1.07e-9 -114 17 6.02e-2 4.94e-2
-gamma 5.0 -0.04
-Vm 5.36 10.69 33.566 -15.03 4.2582 25 0.341 153.8 1.089e-2 0.9224 # with Na2SO4 & better calculation of sulfates' solubilities in NaCl
-viscosity -0.5 0.521 4.2e-4 9.78e-3 1.24e-2 2.5 -4.94e-2
-dw 1.07e-9 -77.4 10.14 0.5 0.5549
NO3- = NO3-
-gamma 3 0
-Vm 6.32 6.78 0 -3.06 0.346 0 0.93 0 -0.012 1
-viscosity 8.37e-2 -0.458 1.54e-2 0.34 1.79e-2 5.02e-2 0.7381
-dw 1.9e-9 104 1.11
# AmmH+ = AmmH+
#AmmH+ = AmmH+
# -gamma 2.5 0
# -Vm 5.35 2.345 3.72 -2.88 1.55 2.5 -4.54 217 2.344e-2 0.569
# -viscosity 9.9e-2 -0.159 1.36e-2 6.51e-3 3.21e-2 0.972
# -viscosity 6.94e-2 -0.141 2.04e-2 9.4e-3 3.73e-2 0.898
# -dw 1.98e-9 203 1.47 2.644 6.81e-2
H3BO3 = H3BO3
-Vm 7.0643 8.8547 3.5844 -3.1451 -0.2 # supcrt
@ -174,7 +174,7 @@ F- = F-
-viscosity 0 2.85e-2 1.35e-2 6.11e-2 4.38e-3 1.384 0.586
-dw 1.46e-9 -36 4.352
Br- = Br-
-gamma 3 0
-gamma 3 0.045
-Vm 6.72 2.85 4.21 -3.14 1.38 0 -9.56e-2 7.08 -1.56e-3 1
-viscosity -6.98e-2 -0.141 1.78e-2 0.159 7.76e-3 6.25e-2 0.859
-dw 2.09e-9 208 3.5 0 0.5737
@ -203,21 +203,21 @@ Mtg = Mtg # CH4
-Vm 9.01 -1.11 0 -1.85 -1.5 # Hnedkovsky et al., 1996, JCT 28, 125
-dw 1.85e-9
Ntg = Ntg # N2
-Vm 7 # Pray et al., 1952, IEC 44 1146
-Vm 7 # Pray et al., 1952, IEC 44, 1146
-dw 1.96e-9 -90 # Cadogan et al. 2014, JCED 59, 519
H2Sg = H2Sg # H2S
-Vm 1.39 28.3 0 -7.22 -0.59 # Hnedkovsky et al., 1996, JCT 28, 125
-dw 2.1e-9
# aqueous species
H2O = OH- + H+
-analytic 293.29227 0.1360833 -10576.913 -123.73158 0 -6.996455e-5
-gamma 3.5 0
-analytic 293.29227 0.1360833 -10576.913 -123.73158 0 -6.996455e-5
-Vm -9.66 28.5 80 -22.9 1.89 0 1.09 0 0 1
-viscosity -2.26e-2 0.106 2.184e-2 -3.2e-3 0 0.4082 -1.634 # < 5 M Li,Na,KOH
-dw 5.27e-9 478 0.8695
2 H2O = O2 + 4 H+ + 4 e-
-log_k -86.08
-delta_h 134.79 kcal
-log_k -86.06; -delta_h 138.43 kcal
-analytic -1e3 -0.322 -5897.7 416.82 0 -1.88e-5
-Vm 5.7889 6.3536 3.2528 -3.0417 -0.3943 # supcrt
-dw 2.35e-9
2 H+ + 2 e- = H2
@ -304,11 +304,11 @@ NO3- + 2 H+ + 2 e- = NO2- + H2O
-Vm 7 # Pray et al., 1952, IEC 44 1146
-dw 1.96e-9 -90 # Cadogan et al. 2014, JCED 59, 519
NO3- + 10 H+ + 8 e- = NH4+ + 3 H2O
-log_k 119.077
-delta_h -187.055 kcal
-log_k 119.077
-delta_h -187.055 kcal
-gamma 2.5 0
-Vm 5.35 2.345 3.72 -2.88 1.55 2.5 -4.54 217 2.344e-2 0.569
-viscosity 9.9e-2 -0.159 1.36e-2 6.51e-3 3.21e-2 0.972
-viscosity 6.94e-2 -0.141 2.04e-2 9.4e-3 3.73e-2 0.898
-dw 1.98e-9 203 1.47 2.644 6.81e-2
#AmmH+ = Amm + H+
NH4+ = NH3 + H+
@ -316,15 +316,15 @@ NH4+ = NH3 + H+
-delta_h 12.48 kcal
-analytic 0.6322 -0.001225 -2835.76
-Vm 6.69 2.8 3.58 -2.88 1.43
-viscosity 0.08 0 0 7.82e-3 -0.134 -0.986
-viscosity 0 -2.24e-2 0.101 8.66e-3 2.86e-2 -0.143 -0.769
-dw 2.28e-9
#AmmH+ + SO4-2 = AmmHSO4-
NH4+ + SO4-2 = NH4SO4-
-gamma 2.08 -0.0416
-log_k 1.211; -delta_h 8.56 kJ
-Vm -8.78 0 -36.09 0 -8.60 0 87.62 0 -0.3123 0.1172
-viscosity 0 0.116 -8.6e-3 0.159 -9.3e-3 0.522 0.627
-dw 0.9e-9 100 2.1 2 0
-gamma 3.64 -4.75e-2
-log_k 1.276; -delta_h -3.24 kcal
-Vm 6.64 8.5 -5.84 -3.1 2 0 19.24 0 -7.84e-2 0.289
-viscosity 0.267 -0.207 9.75e-2 6.18e-2 1.99e-2 1.166 0.61
-dw 1.56e-9 498 25 0.5 0.684
H3BO3 = H2BO3- + H+
-log_k -9.24
-delta_h 3.224 kcal
@ -376,13 +376,14 @@ Ca+2 + CO3-2 + H+ = CaHCO3+
-log_k 10.91; -delta_h 4.38 kcal
-analytic -6.009 3.377e-2 2044
-gamma 6 0
-Vm 30.19 .01 5.75 -2.78 .308 5.4
-Vm 3.19 .01 5.75 -2.78 .308 5.4
-dw 5.06e-10
Ca+2 + SO4-2 = CaSO4
-log_k 2.25
-delta_h 1.325 kcal
-dw 4.71e-10
-Vm 2.791 -.9666 6.13 -2.739 -.001 # supcrt
-gamma 0 4.45e-2
-log_k 2.14; -delta_h 24.4
-analytical_expression 1.478 8.29e-3 -538.2
-vm 2.7 2 2 -3.7
-dw 4.71e-9
Ca+2 + HSO4- = CaHSO4+
-log_k 1.08
Ca+2 + PO4-3 = CaPO4-
@ -419,19 +420,19 @@ Mg+2 + H+ + CO3-2 = MgHCO3+
-Vm 2.7171 -1.1469 6.2008 -2.7316 .5985 4 # supcrt
-dw 4.78e-10
Mg+2 + SO4-2 = MgSO4
-gamma 0 0.2
-log_k 2.42; -delta_h 19 kJ
-analytical_expression 0 9.64e-3 -136 # mean salt gamma from Pitzer.dat and epsomite/hexahydrite/kieserite solubilities, 0 - 200 oC
-Vm 8.65 -10.21 29.58 -18.6 1.061
-viscosity 0.318 -5.4e-4 -3.42e-2 0.708 3.7e-3 0.696
-gamma 0 0.20
-log_k 2.42; -delta_h 19.0
-analytical_expression 0 9.64e-3 -136 # epsomite/hexahydrite/kieserite solubilities, 0 - 200 oC
-Vm 11.92 -27.758 29.752 -10.302 -0.1
-viscosity -0.799 1 2.2e-4 8.53e-2 -4.6e-3 1.35 -0.796
-dw 4.45e-10
SO4-2 + MgSO4 = Mg(SO4)2-2
-gamma 7 0.047
-log_k 0.52; -delta_h -13.6 kJ
-analytical_expression 0 -1.51e-3 0 0 8.604e4 # mean salt gamma from Pitzer.dat and epsomite/hexahydrite/kieserite solubilities, 0 - 200 oC
-Vm -8.14 -62.2 -15.96 3.29 -3.01 0 150 0 0.153 3.79e-2
-viscosity -0.169 5e-4 -5.69e-2 0.11 2.03e-3 2.027 -1e-3
-dw 0.845e-9 -200 8 0 0.965
-log_k 0.52; -delta_h -13.6
-analytical_expression 0 -1.51e-3 0 0 8.604e4 # epsomite/hexahydrite/kieserite solubilities, 0 - 200 oC
-Vm 4.248 9.83 -7 -2.672 2 3.5 5 100 0.3359 9.518e-2
-viscosity 0.324 6.84e-2 -2.09e-2 0.104 6.19e-3 1.983 1e-3
-dw 1.11e-9 -500 3.5 0.5 0.731
Mg+2 + PO4-3 = MgPO4-
-log_k 6.589
-delta_h 3.1 kcal
@ -457,12 +458,19 @@ Na+ + HCO3- = NaHCO3
-viscosity -4e-2 -2.717 1.67e-5
-dw 6.73e-10
Na+ + SO4-2 = NaSO4-
-gamma 5.5 0
-log_k 0.6; -delta_h -14.4 kJ
-analytical_expression 255.903 0.10057 0 -1.11138e2 -8.5983e5 # mirabilite/thenardite solubilities, 0 - 200 oC
-Vm 1.99 -10.78 21.88 -12.7 1.601 5 32.38 501 1.565e-2 0.2325
-viscosity 0.2 -5.93e-2 -4e-4 8.46e-3 1.78e-3 2.308 -0.208
-dw 1.13e-9 -23 8.5 0.392 0.521
-gamma 3.5 0.1072
-log_k 0.94; -delta_h 8.23
-analytical_expression -0.304 4.51e-3 -28.9 # mirabilite/thenardite solubilities, 0 - 200 oC
-Vm 8.523 -4.685 -8.61 0.106 2.7 25 3.634 13.4 3.738e-2 0.5476
-viscosity -1 0.33 0.128 1.143 7.7e-4 1.9e-2 -0.387
-dw 4e-10 -200 3.5 0.5 0.5
2 Na+ + SO4-2 = Na2SO4
-gamma 0 8.85e-2
-log_k -2.37; -delta_h 82
-analytical_expression 15.432 -5.75e-3 -4796 # sulfates solubilities in NaCl
-Vm 9.405 -15.5 25 8.4 0.25
-viscosity -0.5 0.485 -1e-3 0.147 0 0.947 -0.175
-dw 0.8e-9
Na+ + HPO4-2 = NaHPO4-
-log_k 0.29
-gamma 5.4 0
@ -477,11 +485,11 @@ K+ + HCO3- = KHCO3
-viscosity 0.7 -1.289 9e-2
K+ + SO4-2 = KSO4-
-gamma 5.4 0.19
-log_k 0.6; -delta_h -10.4 kJ
-log_k 1.18; -delta_h 3
-analytical_expression -3.0246 9.986e-3 0 0 1.093e5 # arcanite solubility, 0 - 200 oC
-Vm 13.48 -18.03 61.74 -19.6 2.046 5.4 -17.32 0 0.1522 1.919
-viscosity -1 1.06 1e-4 -0.464 3.78e-2 0.539 -0.69
-dw 0.9e-9 63 8.48 0 1.8
-Vm 3.443 5.04 13 -3.324 2.447 0 20 0 7.77e-3 0.3497
-viscosity 0.107 0.19 2.23e-2 -0.148 -4.91e-2 0.537 0.195
-dw 1.22e-9 100 25 0.5 2.5
K+ + HPO4-2 = KHPO4-
-log_k 0.29
-gamma 5.4 0
@ -501,9 +509,8 @@ Fe+2 + CO3-2 = FeCO3
Fe+2 + HCO3- = FeHCO3+
-log_k 2
Fe+2 + SO4-2 = FeSO4
-log_k 2.25
-delta_h 3.23 kcal
-Vm -13 0 123
-log_k 2.25; -delta_h 3.23 kcal
-Vm 5.8 6.5 3.7 -3 -0.09
Fe+2 + HSO4- = FeHSO4+
-log_k 1.08
Fe+2 + 2 HS- = Fe(HS)2
@ -605,9 +612,9 @@ Mn+2 + HCO3- = MnHCO3+
-log_k 1.95
-gamma 5 0
Mn+2 + SO4-2 = MnSO4
-log_k 2.25
-delta_h 3.37 kcal
-Vm -1.31 -1.83 62.3 -2.7
-gamma 0 -0.098
-log_k 1.408; -delta_h 21.55
-Vm 1.88 6.5 10 -3 0.1
Mn+2 + 2 NO3- = Mn(NO3)2
-log_k 0.6
-delta_h -0.396 kcal
@ -700,7 +707,8 @@ Ba+2 + HCO3- = BaHCO3+
-delta_h 5.56 kcal
-analytic -3.0938 0.013669
Ba+2 + SO4-2 = BaSO4
-log_k 2.7
-log_k 3.457; -delta_h 26.15
-vm -6.25 24.66 -4.38 10.97 0.5
Sr+2 + H2O = SrOH+ + H+
-log_k -13.29
-gamma 5 0
@ -819,12 +827,13 @@ Zn+2 + 2 CO3-2 = Zn(CO3)2-2
Zn+2 + HCO3- = ZnHCO3+
-log_k 2.1
Zn+2 + SO4-2 = ZnSO4
-log_k 2.37
-delta_h 1.36 kcal
-Vm 2.51 0 18.8
-gamma 0 0.1
-log_k 2.26; -delta_h 16.15
-Vm 0.409 6.5 2 -3 0
Zn+2 + 2 SO4-2 = Zn(SO4)2-2
-log_k 3.28
-Vm 10.9 0 -98.7 0 0 0 24 0 -0.236 1
-gamma 0.59 0.1
-log_k 1.15; -delta_h 17.52
-Vm 9.21 10.6 9 -3.2 3.8 25 0 100 -1e-3 0.256
Zn+2 + Br- = ZnBr+
-log_k -0.58
Zn+2 + 2 Br- = ZnBr2
@ -870,12 +879,13 @@ Cd+2 + 2 CO3-2 = Cd(CO3)2-2
Cd+2 + HCO3- = CdHCO3+
-log_k 1.5
Cd+2 + SO4-2 = CdSO4
-log_k 2.46
-delta_h 1.08 kcal
-Vm 10.4 0 57.9
-gamma 0 0.1
-log_k 1.016; -delta_h 6.84
-Vm 2.11 6.5 10 -3 0.1
Cd+2 + 2 SO4-2 = Cd(SO4)2-2
-log_k 3.5
-Vm -6.29 0 -93 0 9.5 7 0 0 0 1
-gamma 5.201 -0.1
-log_k 2.688; -delta_h 0.19
-Vm 9.14 10.6 -3.06 -3.2 3.8 7.44 1.27 0.32 -1e-3 2.5
Cd+2 + Br- = CdBr+
-log_k 2.17
-delta_h -0.81 kcal
@ -995,29 +1005,24 @@ Witherite
-Vm 46
Gypsum
CaSO4:2H2O = Ca+2 + SO4-2 + 2 H2O
-log_k -4.58
-delta_h -0.109 kcal
-analytic 68.2401 0 -3221.51 -25.0627
-analytical_expression 93.7 5.99E-3 -4e3 -35.019 # better fits the appendix data of Appelo, 2015, AG 55, 62
-Vm 73.9 # 172.18 / 2.33 (Vm H2O = 13.9 cm3/mol)
-log_k -4.55; -delta_h -6.70
-analytical_expression 72.244 -1.474e-2 -4040 -23.7823 # fits the appendix data of Appelo, 2015, AG 55, 62
-Vm 73.9
Anhydrite
CaSO4 = Ca+2 + SO4-2
-log_k -4.36
-delta_h -1.71 kcal
-analytic 84.9 0 -3135.12 -31.79 # 50 - 160oC, 1 - 1e3 atm, anhydrite dissolution, Blount and Dickson, 1973, Am. Mineral. 58, 323
log_k -4.25; -delta_h -22.4
-analytical_expression 5.725 -2.478e-2 -790.4 # 50 - 160oC, 1 - 1e3 atm, anhydrite dissolution, Blount and Dickson, 1973, Am. Mineral. 58, 323
-Vm 46.1 # 136.14 / 2.95
Celestite
SrSO4 = Sr+2 + SO4-2
-log_k -6.63
-delta_h -4.037 kcal
# -analytic -14805.9622 -2.4660924 756968.533 5436.3588 -40553604.0
-analytic -7.14 6.11e-3 75 0 0 -1.79e-5 # Howell et al., 1992, JCED 37, 464
-Vm 46.4
Barite
BaSO4 = Ba+2 + SO4-2
-log_k -9.97
-delta_h 6.35 kcal
-analytical_expression -282.43 -8.972e-2 5822 113.08 # Blount 1977; Templeton, 1960
-log_k -9.89; -delta_h 11.82
-analytical_expression -34.438 -3.316e-2 -1500 15.9485 # Blount 1977; Templeton, 1960
-Vm 52.9
Arcanite
K2SO4 = SO4-2 + 2 K+
@ -1027,12 +1032,14 @@ Arcanite
-Vm 65.5
Mirabilite
Na2SO4:10H2O = SO4-2 + 2 Na+ + 10 H2O
-analytical_expression -301.9326 -0.16232 0 141.078 # ref. 3
-log_k -0.706; -delta_h 124
-analytical_expression -53.037 0.1242 4562 # ref. 3
Vm 216
Thenardite
Na2SO4 = 2 Na+ + SO4-2
-analytical_expression 57.185 8.6024e-2 0 -30.8341 0 -7.6905e-5 # ref. 3
-Vm 52.9
-log_k 0.65; -delta_h -23.1
-analytical_expression 159.849 1.699e-2 -5000 -59.6073 # ref. 3
Vm 52.9
Epsomite
MgSO4:7H2O = Mg+2 + SO4-2 + 7 H2O
log_k -1.74; -delta_h 10.57 kJ
@ -1905,7 +1912,6 @@ Pyrolusite
110 moles = 2e-3 * 6.98e-5 * (1 - sr_pl) * TIME
200 SAVE moles * SOLN_VOL
-end
END
# =============================================================================================
#(a) means amorphous. (d) means disordered, or less crystalline.
@ -1947,17 +1953,17 @@ END
# Av is the Debye-H<>ckel limiting slope (DH_AV in PHREEQC basic).
# a0 is the ion-size parameter in the extended Debye-H<>ckel equation:
# f(I^0.5) = I^0.5 / (1 + a0 * DH_B * I^0.5),
# a0 = -gamma x for cations, = 0 for anions.
# For details, consult ref. 1.
# a0 = -gamma x for cations, = 0 for anions (or fitted).
# For details, consult ref. 1 and subroutine calc_vm(tc, pa) in prep.cpp.
# =============================================================================================
# The viscosity is calculated with a (modified) Jones-Dole equation:
# viscos / viscos_0 = 1 + A * Sum(0.5 z_i m_i) + fan * Sum(B_i m_i + D_i m_i n_i)
# Parameters are for calculating the B and D terms:
# -viscosity 9.35e-2 -8.31e-2 2.487e-2 4.49e-4 2.01e-2 1.570 0
# # b0 b1 b2 d1 d2 d3 tan
# -viscosity 9.35e-2 -8.31e-2 2.487e-2 4.49e-4 2.01e-2 1.570 0
# # b0 b1 b2 d1 d2 d3 tan
# z_i is absolute charge number, m_i is molality of i
# B_i = b0 + b1 exp(-b2 * tc)
# fan = (2 - tan V_i / V_Cl-), corrects for the volume of anions
# fan = (2 - tan V_i / V_Cl-), corrects for the volume of anions and neutral species
# D_i = d1 * exp(-d2 tc)
# n_i = (I^d3 * (1 + fI) + ((z_i^2 + z_i) / 2 <20> m_i)^d3) / (2 + fI), fI is an ionic strength term.
# For details, consult ref. 4.

View File

@ -1,10 +1,10 @@
# PHREEQC.DAT for calculating temperature and pressure dependence of reactions, and the specific conductance and viscosity of the solution. Augmented with kinetic rates for minerals from compilations. Based on:
# phreeqc_rates.dat for calculating temperature and pressure dependence of reactions, and the specific conductance and viscosity of the solution. Augmented with kinetic rates for minerals from compilations. Based on:
# diffusion coefficients and molal volumina of aqueous species, solubility and volume of minerals, and critical temperatures and pressures of gases in Peng-Robinson's EOS.
# Details are given at the end of this file.
SOLUTION_MASTER_SPECIES
#
#element species alk gfw_formula element_gfw
#element species alk gfw_formula element_gfw
#
H H+ -1 H 1.008
H(0) H2 0 H
@ -40,7 +40,7 @@ N(+5) NO3- 0 N
N(+3) NO2- 0 N
N(0) N2 0 N
N(-3) NH4+ 0 N 14.0067
#Amm AmmH+ 0 AmmH 17.031
#Amm AmmH+ 0 AmmH 17.031
B H3BO3 0 B 10.81
P PO4-3 2 P 30.9738
F F- 0 F 18.9984
@ -66,7 +66,7 @@ H+ = H+
-dw 9.31e-9 838 6.96 -2.285 0.206 24.01 0
# Dw(25 C) dw_T a a2 visc a3 a_v_dif
# Dw(TK) = 9.31e-9 * exp(838 / TK - 838 / 298.15) * viscos_0_25 / viscos_0_tc
# a = DH ion size, a2 = exponent, visc = viscosity exponent, a3(H+) = 24.01 = new dw calculation from A.D. 2024, a_v_dif = exponent in (viscos_0_tc / viscos)^a_v_dif for tracer diffusion.
# a = DH ion size (= 3.5 - 25), a2 = exponent (= 0 2.5), visc = viscosity exponent (= 0 2.5), a3 = switch [a3(H+) = 24.01 = new dw calculation from A.D. 2024], a_v_dif = exponent in (viscos_0_tc / viscos)^a_v_dif for tracer diffusion.
# For SC, Dw(TK) *= (viscos_0_tc / viscos)^visc (visc = 0.206 for H+)
# a3 > 5 or a3 = 0 or not defined ? ka = DH_B * a * (1 + (vm - v0))^a2 * mu^0.5, in Onsager-Falkenhagen eqn. (For H+, the reference ion, vm = v0 = 0, a *= (1 + mu)^a2.)
@ -76,7 +76,7 @@ H+ = H+
# If a_v_dif <> 0, Dw(TK) *= (viscos_0_tc / viscos)^a_v_dif in TRANSPORT.
e- = e-
H2O = H2O
-dw 2.299e-9 -254
-dw 2.299e-9 -249 # Holz et al., Phys. Chem. Chem. Phys., 2000, 2, 4740.
# H2O + 0.01e- = H2O-0.01; -log_k -9 # aids convergence
Li+ = Li+
-gamma 6 0 # The apparent volume parameters are defined in ref. 1 & 2
@ -107,9 +107,9 @@ Ca+2 = Ca+2
-dw 0.792e-9 34 5.411 0 1.046
Sr+2 = Sr+2
-gamma 5.26 0.121
-Vm -1.57e-2 -10.15 10.18 -2.36 0.86 5.26 0.859 -27 -4.1e-3 1.97
-viscosity 0.472 -0.252 5.51e-3 3.67e-3 0 1.876
-dw 0.794e-9 149 0.805 1.961 1e-9 0.7876
-Vm -5.6e-2 -10.15 9.90 -2.36 0.807 5.26 2.72 -82.7 -1.37e-2 0.956
-viscosity 0.493 -0.255 2.3e-3 4.2e-3 -3.8e-3 1.762
-dw 0.794e-9 18 0.681 2.069 0.965 0.271
Ba+2 = Ba+2
-gamma 5 0
-gamma 4 0.153 # Barite solubility
@ -143,20 +143,20 @@ CO3-2 = CO3-2
-viscosity -0.5 0.6521 5.44e-3 1.06e-3 -2.18e-2 1.208 -2.147
-dw 0.955e-9 -103 2.246 7.13e-2 0.3686
SO4-2 = SO4-2
-gamma 5 -0.04
-Vm -7.77 43.17 176 -51.45 3.794 0 42.99 -541 -0.145 0.45 # with analytical_expressions for log K of NaSO4-, KSO4- & MgSO4, 0 - 200 oC
-viscosity -0.3 0.501 2.57e-3 0.195 3.14e-2 2.015 0.605
-dw 1.07e-9 -114 17 6.02e-2 4.94e-2
-gamma 5.0 -0.04
-Vm 5.36 10.69 33.566 -15.03 4.2582 25 0.341 153.8 1.089e-2 0.9224 # with Na2SO4 & better calculation of sulfates' solubilities in NaCl
-viscosity -0.5 0.521 4.2e-4 9.78e-3 1.24e-2 2.5 -4.94e-2
-dw 1.07e-9 -77.4 10.14 0.5 0.5549
NO3- = NO3-
-gamma 3 0
-Vm 6.32 6.78 0 -3.06 0.346 0 0.93 0 -0.012 1
-viscosity 8.37e-2 -0.458 1.54e-2 0.34 1.79e-2 5.02e-2 0.7381
-dw 1.9e-9 104 1.11
# AmmH+ = AmmH+
# -gamma 2.50
# -Vm 5.35 2.345 3.72 -2.88 1.55 2.5 -4.54 217 2.344e-2 0.569
# -viscosity 9.9e-2 -0.159 1.36e-2 6.51e-3 3.21e-2 0.972
# -dw 1.98e-9 203 1.47 2.644 6.81e-2
#AmmH+ = AmmH+
# -gamma 2.5 0
# -Vm 5.35 2.345 3.72 -2.88 1.55 2.5 -4.54 217 2.344e-2 0.569
# -viscosity 6.94e-2 -0.141 2.04e-2 9.4e-3 3.73e-2 0.898
# -dw 1.98e-9 203 1.47 2.644 6.81e-2
H3BO3 = H3BO3
-Vm 7.0643 8.8547 3.5844 -3.1451 -0.2 # supcrt
-dw 1.1e-9
@ -170,7 +170,7 @@ F- = F-
-viscosity 0 2.85e-2 1.35e-2 6.11e-2 4.38e-3 1.384 0.586
-dw 1.46e-9 -36 4.352
Br- = Br-
-gamma 3 0
-gamma 3 0.045
-Vm 6.72 2.85 4.21 -3.14 1.38 0 -9.56e-2 7.08 -1.56e-3 1
-viscosity -6.98e-2 -0.141 1.78e-2 0.159 7.76e-3 6.25e-2 0.859
-dw 2.09e-9 208 3.5 0 0.5737
@ -206,14 +206,14 @@ H2Sg = H2Sg # H2S
-dw 2.1e-9
# aqueous species
H2O = OH- + H+
-analytic 293.29227 0.1360833 -10576.913 -123.73158 0 -6.996455e-5
-gamma 3.5 0
-analytic 293.29227 0.1360833 -10576.913 -123.73158 0 -6.996455e-5
-Vm -9.66 28.5 80 -22.9 1.89 0 1.09 0 0 1
-viscosity -2.26e-2 0.106 2.184e-2 -3.2e-3 0 0.4082 -1.634 # < 5 M Li,Na,KOH
-dw 5.27e-9 478 0.8695
2 H2O = O2 + 4 H+ + 4 e-
-log_k -86.08
-delta_h 134.79 kcal
-log_k -86.06; -delta_h 138.43 kcal
-analytic -1e3 -0.322 -5897.7 416.82 0 -1.88e-5
-Vm 5.7889 6.3536 3.2528 -3.0417 -0.3943 # supcrt
-dw 2.35e-9
2 H+ + 2 e- = H2
@ -300,11 +300,11 @@ NO3- + 2 H+ + 2 e- = NO2- + H2O
-Vm 7 # Pray et al., 1952, IEC 44 1146
-dw 1.96e-9 -90 # Cadogan et al. 2014, JCED 59, 519
NO3- + 10 H+ + 8 e- = NH4+ + 3 H2O
-log_k 119.077
-delta_h -187.055 kcal
-log_k 119.077
-delta_h -187.055 kcal
-gamma 2.5 0
-Vm 5.35 2.345 3.72 -2.88 1.55 2.5 -4.54 217 2.344e-2 0.569
-viscosity 9.9e-2 -0.159 1.36e-2 6.51e-3 3.21e-2 0.972
-viscosity 6.94e-2 -0.141 2.04e-2 9.4e-3 3.73e-2 0.898
-dw 1.98e-9 203 1.47 2.644 6.81e-2
#AmmH+ = Amm + H+
NH4+ = NH3 + H+
@ -312,15 +312,15 @@ NH4+ = NH3 + H+
-delta_h 12.48 kcal
-analytic 0.6322 -0.001225 -2835.76
-Vm 6.69 2.8 3.58 -2.88 1.43
-viscosity 0.08 0 0 7.82e-3 -0.134 -0.986
-viscosity 0 -2.24e-2 0.101 8.66e-3 2.86e-2 -0.143 -0.769
-dw 2.28e-9
#AmmH+ + SO4-2 = AmmHSO4-
NH4+ + SO4-2 = NH4SO4-
-gamma 2.08 -0.0416
-log_k 1.211; -delta_h 8.56 kJ
-Vm -8.78 0 -36.09 0 -8.60 0 87.62 0 -0.3123 0.1172
-viscosity 0 0.116 -8.6e-3 0.159 -9.3e-3 0.522 0.627
-dw 0.9e-9 100 2.1 2 0
-gamma 3.64 -4.75e-2
-log_k 1.276; -delta_h -3.24 kcal
-Vm 6.64 8.5 -5.84 -3.1 2 0 19.24 0 -7.84e-2 0.289
-viscosity 0.267 -0.207 9.75e-2 6.18e-2 1.99e-2 1.166 0.61
-dw 1.56e-9 498 25 0.5 0.684
H3BO3 = H2BO3- + H+
-log_k -9.24
-delta_h 3.224 kcal
@ -372,13 +372,14 @@ Ca+2 + CO3-2 + H+ = CaHCO3+
-log_k 10.91; -delta_h 4.38 kcal
-analytic -6.009 3.377e-2 2044
-gamma 6 0
-Vm 30.19 .01 5.75 -2.78 .308 5.4
-Vm 3.19 .01 5.75 -2.78 .308 5.4
-dw 5.06e-10
Ca+2 + SO4-2 = CaSO4
-log_k 2.25
-delta_h 1.325 kcal
-dw 4.71e-10
-Vm 2.791 -.9666 6.13 -2.739 -.001 # supcrt
-gamma 0 4.45e-2
-log_k 2.14; -delta_h 24.4
-analytical_expression 1.478 8.29e-3 -538.2
-vm 2.7 2 2 -3.7
-dw 4.71e-9
Ca+2 + HSO4- = CaHSO4+
-log_k 1.08
Ca+2 + PO4-3 = CaPO4-
@ -415,19 +416,19 @@ Mg+2 + H+ + CO3-2 = MgHCO3+
-Vm 2.7171 -1.1469 6.2008 -2.7316 .5985 4 # supcrt
-dw 4.78e-10
Mg+2 + SO4-2 = MgSO4
-gamma 0 0.2
-log_k 2.42; -delta_h 19 kJ
-analytical_expression 0 9.64e-3 -136 # mean salt gamma from Pitzer.dat and epsomite/hexahydrite/kieserite solubilities, 0 - 200 oC
-Vm 8.65 -10.21 29.58 -18.6 1.061
-viscosity 0.318 -5.4e-4 -3.42e-2 0.708 3.7e-3 0.696
-gamma 0 0.20
-log_k 2.42; -delta_h 19.0
-analytical_expression 0 9.64e-3 -136 # epsomite/hexahydrite/kieserite solubilities, 0 - 200 oC
-Vm 11.92 -27.758 29.752 -10.302 -0.1
-viscosity -0.799 1 2.2e-4 8.53e-2 -4.6e-3 1.35 -0.796
-dw 4.45e-10
SO4-2 + MgSO4 = Mg(SO4)2-2
-gamma 7 0.047
-log_k 0.52; -delta_h -13.6 kJ
-analytical_expression 0 -1.51e-3 0 0 8.604e4 # mean salt gamma from Pitzer.dat and epsomite/hexahydrite/kieserite solubilities, 0 - 200 oC
-Vm -8.14 -62.2 -15.96 3.29 -3.01 0 150 0 0.153 3.79e-2
-viscosity -0.169 5e-4 -5.69e-2 0.11 2.03e-3 2.027 -1e-3
-dw 0.845e-9 -200 8 0 0.965
-log_k 0.52; -delta_h -13.6
-analytical_expression 0 -1.51e-3 0 0 8.604e4 # epsomite/hexahydrite/kieserite solubilities, 0 - 200 oC
-Vm 4.248 9.83 -7 -2.672 2 3.5 5 100 0.3359 9.518e-2
-viscosity 0.324 6.84e-2 -2.09e-2 0.104 6.19e-3 1.983 1e-3
-dw 1.11e-9 -500 3.5 0.5 0.731
Mg+2 + PO4-3 = MgPO4-
-log_k 6.589
-delta_h 3.1 kcal
@ -453,12 +454,19 @@ Na+ + HCO3- = NaHCO3
-viscosity -4e-2 -2.717 1.67e-5
-dw 6.73e-10
Na+ + SO4-2 = NaSO4-
-gamma 5.5 0
-log_k 0.6; -delta_h -14.4 kJ
-analytical_expression 255.903 0.10057 0 -1.11138e2 -8.5983e5 # mirabilite/thenardite solubilities, 0 - 200 oC
-Vm 1.99 -10.78 21.88 -12.7 1.601 5 32.38 501 1.565e-2 0.2325
-viscosity 0.2 -5.93e-2 -4e-4 8.46e-3 1.78e-3 2.308 -0.208
-dw 1.13e-9 -23 8.5 0.392 0.521
-gamma 3.5 0.1072
-log_k 0.94; -delta_h 8.23
-analytical_expression -0.304 4.51e-3 -28.9 # mirabilite/thenardite solubilities, 0 - 200 oC
-Vm 8.523 -4.685 -8.61 0.106 2.7 25 3.634 13.4 3.738e-2 0.5476
-viscosity -1 0.33 0.128 1.143 7.7e-4 1.9e-2 -0.387
-dw 4e-10 -200 3.5 0.5 0.5
2 Na+ + SO4-2 = Na2SO4
-gamma 0 8.85e-2
-log_k -2.37; -delta_h 82
-analytical_expression 15.432 -5.75e-3 -4796 # sulfates solubilities in NaCl
-Vm 9.405 -15.5 25 8.4 0.25
-viscosity -0.5 0.485 -1e-3 0.147 0 0.947 -0.175
-dw 0.8e-9
Na+ + HPO4-2 = NaHPO4-
-log_k 0.29
-gamma 5.4 0
@ -473,11 +481,11 @@ K+ + HCO3- = KHCO3
-viscosity 0.7 -1.289 9e-2
K+ + SO4-2 = KSO4-
-gamma 5.4 0.19
-log_k 0.6; -delta_h -10.4 kJ
-log_k 1.18; -delta_h 3
-analytical_expression -3.0246 9.986e-3 0 0 1.093e5 # arcanite solubility, 0 - 200 oC
-Vm 13.48 -18.03 61.74 -19.6 2.046 5.4 -17.32 0 0.1522 1.919
-viscosity -1 1.06 1e-4 -0.464 3.78e-2 0.539 -0.69
-dw 0.9e-9 63 8.48 0 1.8
-Vm 3.443 5.04 13 -3.324 2.447 0 20 0 7.77e-3 0.3497
-viscosity 0.107 0.19 2.23e-2 -0.148 -4.91e-2 0.537 0.195
-dw 1.22e-9 100 25 0.5 2.5
K+ + HPO4-2 = KHPO4-
-log_k 0.29
-gamma 5.4 0
@ -497,9 +505,8 @@ Fe+2 + CO3-2 = FeCO3
Fe+2 + HCO3- = FeHCO3+
-log_k 2
Fe+2 + SO4-2 = FeSO4
-log_k 2.25
-delta_h 3.23 kcal
-Vm -13 0 123
-log_k 2.25; -delta_h 3.23 kcal
-Vm 5.8 6.5 3.7 -3 -0.09
Fe+2 + HSO4- = FeHSO4+
-log_k 1.08
Fe+2 + 2 HS- = Fe(HS)2
@ -601,9 +608,9 @@ Mn+2 + HCO3- = MnHCO3+
-log_k 1.95
-gamma 5 0
Mn+2 + SO4-2 = MnSO4
-log_k 2.25
-delta_h 3.37 kcal
-Vm -1.31 -1.83 62.3 -2.7
-gamma 0 -0.098
-log_k 1.408; -delta_h 21.55
-Vm 1.88 6.5 10 -3 0.1
Mn+2 + 2 NO3- = Mn(NO3)2
-log_k 0.6
-delta_h -0.396 kcal
@ -672,7 +679,7 @@ H4SiO4 = H3SiO4- + H+
-delta_h 6.12 kcal
-analytic -302.3724 -0.050698 15669.69 108.18466 -1119669
-gamma 4 0
-Vm 7.94 1.0881 5.3224 -2.824 1.4767 # supcrt H2O in a1
-Vm 7.94 1.0881 5.3224 -2.824 1.4767 # supcrt + H2O in a1
H4SiO4 = H2SiO4-2 + 2 H+
-log_k -23
-delta_h 17.6 kcal
@ -696,7 +703,8 @@ Ba+2 + HCO3- = BaHCO3+
-delta_h 5.56 kcal
-analytic -3.0938 0.013669
Ba+2 + SO4-2 = BaSO4
-log_k 2.7
-log_k 3.457; -delta_h 26.15
-vm -6.25 24.66 -4.38 10.97 0.5
Sr+2 + H2O = SrOH+ + H+
-log_k -13.29
-gamma 5 0
@ -815,12 +823,13 @@ Zn+2 + 2 CO3-2 = Zn(CO3)2-2
Zn+2 + HCO3- = ZnHCO3+
-log_k 2.1
Zn+2 + SO4-2 = ZnSO4
-log_k 2.37
-delta_h 1.36 kcal
-Vm 2.51 0 18.8
-gamma 0 0.1
-log_k 2.26; -delta_h 16.15
-Vm 0.409 6.5 2 -3 0
Zn+2 + 2 SO4-2 = Zn(SO4)2-2
-log_k 3.28
-Vm 10.9 0 -98.7 0 0 0 24 0 -0.236 1
-gamma 0.59 0.1
-log_k 1.15; -delta_h 17.52
-Vm 9.21 10.6 9 -3.2 3.8 25 0 100 -1e-3 0.256
Zn+2 + Br- = ZnBr+
-log_k -0.58
Zn+2 + 2 Br- = ZnBr2
@ -866,12 +875,13 @@ Cd+2 + 2 CO3-2 = Cd(CO3)2-2
Cd+2 + HCO3- = CdHCO3+
-log_k 1.5
Cd+2 + SO4-2 = CdSO4
-log_k 2.46
-delta_h 1.08 kcal
-Vm 10.4 0 57.9
-gamma 0 0.1
-log_k 1.016; -delta_h 6.84
-Vm 2.11 6.5 10 -3 0.1
Cd+2 + 2 SO4-2 = Cd(SO4)2-2
-log_k 3.5
-Vm -6.29 0 -93 0 9.5 7 0 0 0 1
-gamma 5.201 -0.1
-log_k 2.688; -delta_h 0.19
-Vm 9.14 10.6 -3.06 -3.2 3.8 7.44 1.27 0.32 -1e-3 2.5
Cd+2 + Br- = CdBr+
-log_k 2.17
-delta_h -0.81 kcal
@ -991,29 +1001,24 @@ Witherite
-Vm 46
Gypsum
CaSO4:2H2O = Ca+2 + SO4-2 + 2 H2O
-log_k -4.58
-delta_h -0.109 kcal
-analytic 68.2401 0 -3221.51 -25.0627
-analytical_expression 93.7 5.99E-3 -4e3 -35.019 # better fits the appendix data of Appelo, 2015, AG 55, 62
-Vm 73.9 # 172.18 / 2.33 (Vm H2O = 13.9 cm3/mol)
-log_k -4.55; -delta_h -6.70
-analytical_expression 72.244 -1.474e-2 -4040 -23.7823 # fits the appendix data of Appelo, 2015, AG 55, 62
-Vm 73.9
Anhydrite
CaSO4 = Ca+2 + SO4-2
-log_k -4.36
-delta_h -1.71 kcal
-analytic 84.9 0 -3135.12 -31.79 # 50 - 160oC, 1 - 1e3 atm, anhydrite dissolution, Blount and Dickson, 1973, Am. Mineral. 58, 323
log_k -4.25; -delta_h -22.4
-analytical_expression 5.725 -2.478e-2 -790.4 # 50 - 160oC, 1 - 1e3 atm, anhydrite dissolution, Blount and Dickson, 1973, Am. Mineral. 58, 323
-Vm 46.1 # 136.14 / 2.95
Celestite
SrSO4 = Sr+2 + SO4-2
-log_k -6.63
-delta_h -4.037 kcal
# -analytic -14805.9622 -2.4660924 756968.533 5436.3588 -40553604.0
-analytic -7.14 6.11e-3 75 0 0 -1.79e-5 # Howell et al., 1992, JCED 37, 464
-Vm 46.4
Barite
BaSO4 = Ba+2 + SO4-2
-log_k -9.97
-delta_h 6.35 kcal
-analytical_expression -282.43 -8.972e-2 5822 113.08 # Blount 1977; Templeton, 1960
-log_k -9.89; -delta_h 11.82
-analytical_expression -34.438 -3.316e-2 -1500 15.9485 # Blount 1977; Templeton, 1960
-Vm 52.9
Arcanite
K2SO4 = SO4-2 + 2 K+
@ -1023,12 +1028,14 @@ Arcanite
-Vm 65.5
Mirabilite
Na2SO4:10H2O = SO4-2 + 2 Na+ + 10 H2O
-analytical_expression -301.9326 -0.16232 0 141.078 # ref. 3
-log_k -0.706; -delta_h 124
-analytical_expression -53.037 0.1242 4562 # ref. 3
Vm 216
Thenardite
Na2SO4 = 2 Na+ + SO4-2
-analytical_expression 57.185 8.6024e-2 0 -30.8341 0 -7.6905e-5 # ref. 3
-Vm 52.9
-log_k 0.65; -delta_h -23.1
-analytical_expression 159.849 1.699e-2 -5000 -59.6073 # ref. 3
Vm 52.9
Epsomite
MgSO4:7H2O = Mg+2 + SO4-2 + 7 H2O
log_k -1.74; -delta_h 10.57 kJ
@ -1240,7 +1247,7 @@ CH4(g)
#Amm(g)
# Amm = Amm
NH3(g)
NH3 = NH3
NH3 = NH3
-log_k 1.7966
-analytic -18.758 3.367e-4 2.5113e3 4.8619 39.192
-T_c 405.6; -P_c 111.3; -Omega 0.25
@ -3133,17 +3140,17 @@ Wollastonite -6.97 700 56 0.4 0 0
# Av is the Debye-H<>ckel limiting slope (DH_AV in PHREEQC basic).
# a0 is the ion-size parameter in the extended Debye-H<>ckel equation:
# f(I^0.5) = I^0.5 / (1 + a0 * DH_B * I^0.5),
# a0 = -gamma x for cations, = 0 for anions.
# For details, consult ref. 1.
# a0 = -gamma x for cations, = 0 for anions (or fitted).
# For details, consult ref. 1 and subroutine calc_vm(tc, pa) in prep.cpp.
# =============================================================================================
# The viscosity is calculated with a (modified) Jones-Dole equation:
# viscos / viscos_0 = 1 + A * Sum(0.5 z_i m_i) + fan * Sum(B_i m_i + D_i m_i n_i)
# Parameters are for calculating the B and D terms:
# -viscosity 9.35e-2 -8.31e-2 2.487e-2 4.49e-4 2.01e-2 1.570 0
# # b0 b1 b2 d1 d2 d3 tan
# -viscosity 9.35e-2 -8.31e-2 2.487e-2 4.49e-4 2.01e-2 1.570 0
# # b0 b1 b2 d1 d2 d3 tan
# z_i is absolute charge number, m_i is molality of i
# B_i = b0 + b1 exp(-b2 * tc)
# fan = (2 - tan V_i / V_Cl-), corrects for the volume of anions
# fan = (2 - tan V_i / V_Cl-), corrects for the volume of anions and neutral species
# D_i = d1 * exp(-d2 tc)
# n_i = (I^d3 * (1 + fI) + ((z_i^2 + z_i) / 2 <20> m_i)^d3) / (2 + fI), fI is an ionic strength term.
# For details, consult ref. 4.

View File

@ -1,8 +1,4 @@
# File 1 = C:\GitPrograms\phreeqc3-1\database\pitzer.dat, 22/05/2024 19:46, 1033 lines, 38088 bytes, md5=d70476773ed110a269ebbcaf334f1133
# Created 22 May 2024 19:49:25
# C:\3rdParty\lsp\lsp.exe -f2 -k=asis -ts pitzer.dat
# Pitzer.DAT for calculating temperature and pressure dependence of reactions, and the specific conductance and viscosity of the solution, using
# pitzer.dat for calculating temperature and pressure dependence of reactions, and the specific conductance and viscosity of the solution, using
# diffusion coefficients of species, molal volumina of aqueous species and minerals, and critical temperatures and pressures of gases used in Peng-Robinson's EOS.
# Details are given at the end of this file.
@ -73,13 +69,13 @@ Mg+2 = Mg+2
-viscosity 0.426 0 0 1.66e-3 4.32e-3 2.461
-dw 0.705e-9 -4 5.569 0 1.047
Ca+2 = Ca+2
-Vm -0.3456 -7.252 6.149 -2.479 1.239 5 1.6 -57.1 -6.12e-3 1 # The apparent volume parameters are defined in ref. 1 & 2
-Vm -0.3456 -7.252 6.149 -2.479 1.239 5 1.6 -57.1 -6.12e-3 1
-viscosity 0.359 -0.158 4.2e-2 1.5e-3 8.04e-3 2.3 # ref. 4, CaCl2 < 6 M
-dw 0.792e-9 34 5.411 0 1.046
Sr+2 = Sr+2
-Vm -1.57e-2 -10.15 10.18 -2.36 0.86 5.26 0.859 -27 -4.1e-3 1.97
-viscosity 0.472 -0.252 5.51e-3 3.67e-3 0 1.876
-dw 0.794e-9 149 0.805 1.961 1e-9 0.7876
-Vm -5.6e-2 -10.15 9.90 -2.36 0.807 5.26 2.72 -82.7 -1.37e-2 0.956
-viscosity 0.493 -0.255 2.3e-3 4.2e-3 -3.8e-3 1.762
-dw 0.794e-9 18 0.681 2.069 0.965 0.271
Ba+2 = Ba+2
-Vm 2.063 -10.06 1.9534 -2.36 0.4218 5 1.58 -12.03 -8.35e-3 1
-viscosity 0.338 -0.227 1.39e-2 3.07e-2 0 0.768
@ -217,11 +213,11 @@ Anthophyllite
log_k 66.8
-delta_H -483 kJ/mol
Vm 269
Antigorite
Mg48Si34O85(OH)62 + 96 H+ = 34 H4SiO4 + 48 Mg+2 + 11 H2O # llnl.dat
log_k 477.19
-delta_H -3364 kJ/mol
Vm 1745
# Antigorite
# Mg48Si34O85(OH)62 + 96 H+ = 34 H4SiO4 + 48 Mg+2 + 11 H2O # llnl.dat
# log_k 477.19 # seawater is impossibly supersaturated
# -delta_H -3364 kJ/mol
# Vm 1745
Aragonite
CaCO3 = CO3-2 + Ca+2
log_k -8.336
@ -1030,7 +1026,7 @@ END
# # b0 b1 b2 d1 d2 d3 tan
# z_i is absolute charge number, m_i is molality of i
# B_i = b0 + b1 exp(-b2 * tc)
# fan = (2 - tan V_i / V_Cl-), corrects for the volume of anions
# fan = (2 - tan V_i / V_Cl-), corrects for the volume of anions and neutral species
# D_i = d1 * exp(-d2 tc)
# n_i = (I^d3 * (1 + fI) + ((z_i^2 + z_i) / 2 <20> m_i)^d3) / (2 + fI), fI is an ionic strength term.
# For details, consult ref. 5.

View File

@ -6,153 +6,153 @@ SOLUTION_SPECIES
# Name : ThermoChimie project
# Database date: 22/08/2023 0:00:00
# Generated by XCheck Tool v5.2.0
# Comment: tidied with lsp.exe from https://phreeplot.org/lsp/lsp.html
# Comment: tidied with lsp.exe from https://phreeplot.org/lsp/lsp.html
# Redox states modified by David Parkhurst May 18, 2024
# GFW of S(6) and Si modified by David Parkhurst May 18, 2024
SOLUTION_MASTER_SPECIES
#element species alk gfw_formula element_gfw
E e- 1 0 0
# DLP: Set Alkalinity to 1 to account for non-master species with e- in equations
Alkalinity CO3-2 1 Ca0.5(CO3)0.5 50.0436
Adipate Adipate-2 1 Adipate 144.0700
Acetate Acetate- 1 Acetate 59.0100
Ag Ag+ -2 Ag 107.8682
Al Al+3 0 Al 26.9815
Am Am+3 0 Am 243.0000
Am(+3) Am+3 0 Am 243.0000
Am(+2) Am+2 0 Am 243.0000
Am(+4) Am+4 0 Am 243.0000
Am(+5) AmO2+ 0 Am 243.0000
Am(+6) AmO2+2 0 Am 243.0000
As AsO4-3 2 As 74.9216
As(+5) AsO4-3 2 As 74.9216
As(+3) H3(AsO3) 0 As 74.9216
B B(OH)4- 1 B 10.8110
Ba Ba+2 0 Ba 137.3270
Be Be+2 0 Be 9.0122
Br Br- 0 Br 79.9040
C CO3-2 2 C 12.0110
#element species alk gfw_formula element_gfw
E e- 1 0 0
# DLP: Set Alkalinity to 1 to account for non-master species with e- in equations
Alkalinity CO3-2 1 Ca0.5(CO3)0.5 50.0436
Adipate Adipate-2 1 Adipate 144.0700
Acetate Acetate- 1 Acetate 59.0100
Ag Ag+ -2 Ag 107.8682
Al Al+3 0 Al 26.9815
Am Am+3 0 Am 243.0000
Am(+3) Am+3 0 Am 243.0000
Am(+2) Am+2 0 Am 243.0000
Am(+4) Am+4 0 Am 243.0000
Am(+5) AmO2+ 0 Am 243.0000
Am(+6) AmO2+2 0 Am 243.0000
As AsO4-3 2 As 74.9216
As(+5) AsO4-3 2 As 74.9216
As(+3) H3(AsO3) 0 As 74.9216
B B(OH)4- 1 B 10.8110
Ba Ba+2 0 Ba 137.3270
Be Be+2 0 Be 9.0122
Br Br- 0 Br 79.9040
C CO3-2 2 C 12.0110
C(2) CO 0 C # DLP
C(+4) CO3-2 2 C 12.0110
C(-4) CH4 0 C 12.0110
Ca Ca+2 0 Ca 40.0780
Cd Cd+2 -1 Cd 112.4110
Cit Cit-3 1 Cit 189.1013
Cl Cl- 0 Cl 35.4527
C(+4) CO3-2 2 C 12.0110
C(-4) CH4 0 C 12.0110
Ca Ca+2 0 Ca 40.0780
Cd Cd+2 -1 Cd 112.4110
Cit Cit-3 1 Cit 189.1013
Cl Cl- 0 Cl 35.4527
Cl(-1) Cl- 0 Cl # DLP
Cl(0) Cl2 0 Cl # DLP
Cl(7) ClO4- 0 Cl # DLP
Cm Cm+3 0 Cm 247.0000
Co Co+2 0 Co 58.9332
Cr CrO4-2 1 Cr 51.9961
Cr(+6) CrO4-2 1 Cr 51.9961
Cr(+2) Cr+2 -1 Cr 51.9961
Cr(+3) Cr+3 2 Cr 51.9961
Cs Cs+ 0 Cs 132.9054
Cu Cu+2 0 Cu 63.5460
Cu(+2) Cu+2 0 Cu 63.5460
Cu(+1) Cu+ -2 Cu 63.5460
Edta Edta-4 2 Edta 288.2134
Eu Eu+3 0 Eu 151.9650
Eu(+3) Eu+3 0 Eu 151.9650
Eu(+2) Eu+2 0 Eu 151.9650
F F- 0 F 18.9984
Fe Fe+2 0 Fe 55.8470
Fe(+2) Fe+2 0 Fe 55.8470
Fe(+3) Fe+3 -2 Fe 55.8470
Glu HGlu- 0 Glu 194.1380
H H+ -1 H 1.0079
H(+1) H+ -1 H 1.0079
H(0) H2 0 H 1.0079
Hf Hf+4 -4 Hf 178.4900
Hg Hg+2 -2 Hg 200.5900
Hg(+2) Hg+2 -2 Hg 200.5900
Hg(+1) Hg2+2 0 Hg 200.5900
Ho Ho+3 0 Ho 164.9303
I I- 0 I 126.9045
I(-1) I- 0 I 126.9045
I(1) IO- 0 I # DLP
I(+5) IO3- 0 I 126.9045
Cm Cm+3 0 Cm 247.0000
Co Co+2 0 Co 58.9332
Cr CrO4-2 1 Cr 51.9961
Cr(+6) CrO4-2 1 Cr 51.9961
Cr(+2) Cr+2 -1 Cr 51.9961
Cr(+3) Cr+3 2 Cr 51.9961
Cs Cs+ 0 Cs 132.9054
Cu Cu+2 0 Cu 63.5460
Cu(+2) Cu+2 0 Cu 63.5460
Cu(+1) Cu+ -2 Cu 63.5460
Edta Edta-4 2 Edta 288.2134
Eu Eu+3 0 Eu 151.9650
Eu(+3) Eu+3 0 Eu 151.9650
Eu(+2) Eu+2 0 Eu 151.9650
F F- 0 F 18.9984
Fe Fe+2 0 Fe 55.8470
Fe(+2) Fe+2 0 Fe 55.8470
Fe(+3) Fe+3 -2 Fe 55.8470
Glu HGlu- 0 Glu 194.1380
H H+ -1 H 1.0079
H(+1) H+ -1 H 1.0079
H(0) H2 0 H 1.0079
Hf Hf+4 -4 Hf 178.4900
Hg Hg+2 -2 Hg 200.5900
Hg(+2) Hg+2 -2 Hg 200.5900
Hg(+1) Hg2+2 0 Hg 200.5900
Ho Ho+3 0 Ho 164.9303
I I- 0 I 126.9045
I(-1) I- 0 I 126.9045
I(1) IO- 0 I # DLP
I(+5) IO3- 0 I 126.9045
I(7) IO4- 0 I # DLP
Isa HIsa- 0 Isa 178.1421
K K+ 0 K 39.0983
Li Li+ 0 Li 6.9410
Malonate Malonate-2 1 Malonate 102.0464
Mg Mg+2 0 Mg 24.3050
Mn Mn+2 0 Mn 54.9380
Isa HIsa- 0 Isa 178.1421
K K+ 0 K 39.0983
Li Li+ 0 Li 6.9410
Malonate Malonate-2 1 Malonate 102.0464
Mg Mg+2 0 Mg 24.3050
Mn Mn+2 0 Mn 54.9380
Mn(+2) Mn+2 0 Mn # DLP
Mn(+3) Mn+3 0 Mn # DLP
Mn(+5) MnO4-3 0 Mn # DLP
Mn(+6) MnO4-2 0 Mn # DLP
Mn(+7) MnO4- 0 Mn # DLP
Mo MoO4-2 0 Mo 95.9400
Mn(+7) MnO4- 0 Mn # DLP
Mo MoO4-2 0 Mo 95.9400
Mo(6) MoO4-2 0 Mo # DLP
Mo(3) Mo+3 0 Mo # DLP
N NO3- 0 N 14.0067
N(+5) NO3- 0 N 14.0067
N(-3) NH3 1 N 14.0067
Na Na+ 0 Na 22.9898
Nb Nb(OH)6- 1 Nb 92.9064
Ni Ni+2 0 Ni 58.6900
Np NpO2+2 0 Np 237.0480
Np(+6) NpO2+2 0 Np 237.0480
Np(+3) Np+3 0 Np 237.0480
Np(+4) Np+4 -3 Np 237.0480
Np(+5) NpO2+ 0 Np 237.0480
Nta Nta-3 1 Nta 188.1165
O H2O 0 O 15.9994
O(-2) H2O 0 O 15.9994
O(0) O2 0 O 15.9994
Ox Ox-2 0 Ox 88.0196
P H2(PO4)- 0 P 30.9738
Pa Pa+4 -3 Pa 231.0359
Pa(+4) Pa+4 -3 Pa 231.0359
Pa(+5) PaO2+ 0 Pa 231.0359
Pb Pb+2 -1 Pb 207.2000
Pd Pd+2 -4 Pd 106.4200
Phthalat Phthalat-2 2 Phthalat 164.0840
Pu PuO2+2 0 Pu 244.0000
Pu(+6) PuO2+2 0 Pu 244.0000
Pu(+3) Pu+3 0 Pu 244.0000
Pu(+4) Pu+4 -3 Pu 244.0000
Pu(+5) PuO2+ -1 Pu 244.0000
Pyrophos Pyrophos-4 2 Pyrophos 173.9500
Ra Ra+2 0 Ra 226.0250
Rb Rb+ 0 Rb 85.4678
S SO4-2 0 S 32.0660
S(+6) SO4-2 0 SO4 32.0660 # DLP
S(-2) HS- 1 S 32.0660
S(+2) S2O3-2 0 S 32.0660
S(+3) S2O4-2 0 S 32.0660
S(+4) SO3-2 1 S 32.0660
Mo(3) Mo+3 0 Mo # DLP
N NO3- 0 N 14.0067
N(+5) NO3- 0 N 14.0067
N(-3) NH3 1 N 14.0067
Na Na+ 0 Na 22.9898
Nb Nb(OH)6- 1 Nb 92.9064
Ni Ni+2 0 Ni 58.6900
Np NpO2+2 0 Np 237.0480
Np(+6) NpO2+2 0 Np 237.0480
Np(+3) Np+3 0 Np 237.0480
Np(+4) Np+4 -3 Np 237.0480
Np(+5) NpO2+ 0 Np 237.0480
Nta Nta-3 1 Nta 188.1165
O H2O 0 O 15.9994
O(-2) H2O 0 O 15.9994
O(0) O2 0 O 15.9994
Ox Ox-2 0 Ox 88.0196
P H2(PO4)- 0 P 30.9738
Pa Pa+4 -3 Pa 231.0359
Pa(+4) Pa+4 -3 Pa 231.0359
Pa(+5) PaO2+ 0 Pa 231.0359
Pb Pb+2 -1 Pb 207.2000
Pd Pd+2 -4 Pd 106.4200
Phthalat Phthalat-2 2 Phthalat 164.0840
Pu PuO2+2 0 Pu 244.0000
Pu(+6) PuO2+2 0 Pu 244.0000
Pu(+3) Pu+3 0 Pu 244.0000
Pu(+4) Pu+4 -3 Pu 244.0000
Pu(+5) PuO2+ -1 Pu 244.0000
Pyrophos Pyrophos-4 2 Pyrophos 173.9500
Ra Ra+2 0 Ra 226.0250
Rb Rb+ 0 Rb 85.4678
S SO4-2 0 S 32.0660
S(+6) SO4-2 0 SO4 32.0660 # DLP
S(-2) HS- 1 S 32.0660
S(+2) S2O3-2 0 S 32.0660
S(+3) S2O4-2 0 S 32.0660
S(+4) SO3-2 1 S 32.0660
S(8) HSO5- 0 S # DLP
Sb Sb(OH)3 0 Sb 121.7600
Sb(+3) Sb(OH)3 0 Sb 121.7600
Sb(+5) Sb(OH)5 -6 Sb 121.7600
Se SeO4-2 0 Se 78.9600
Se(+6) SeO4-2 0 Se 78.9600
Se(-2) HSe- -1 Se 78.9600
Se(+4) SeO3-2 1 Se 78.9600
Sb Sb(OH)3 0 Sb 121.7600
Sb(+3) Sb(OH)3 0 Sb 121.7600
Sb(+5) Sb(OH)5 -6 Sb 121.7600
Se SeO4-2 0 Se 78.9600
Se(+6) SeO4-2 0 Se 78.9600
Se(-2) HSe- -1 Se 78.9600
Se(+4) SeO3-2 1 Se 78.9600
Si H4(SiO4) 0 SiO2 28.0855 # DLP
Sm Sm+3 0 Sm 150.3600
Sn Sn+2 -2 Sn 118.7100
Sn(+2) Sn+2 -2 Sn 118.7100
Sn(+4) Sn+4 -4 Sn 118.7100
Sr Sr+2 0 Sr 87.6200
Succinat Succinat-2 1 Succinat 116.0700
Suberate Suberate-2 1 Suberate 172.1804
Tc TcO(OH)2 0 Tc 98.0000
Tc(+4) TcO(OH)2 0 Tc 98.0000
Tc(+7) TcO4- 0 Tc 98.0000
Tc(+6) TcO4-2 0 Tc 98.0000
Th Th+4 0 Th 232.0381
U UO2+2 0 U 238.0289
U(+6) UO2+2 0 U 238.0289
U(+3) U+3 0 U 238.0289
U(+4) U+4 -3 U 238.0289
U(+5) UO2+ 0 U 238.0289
Zn Zn+2 0 Zn 65.3900
Zr Zr+4 -4 Zr 91.2200
Sm Sm+3 0 Sm 150.3600
Sn Sn+2 -2 Sn 118.7100
Sn(+2) Sn+2 -2 Sn 118.7100
Sn(+4) Sn+4 -4 Sn 118.7100
Sr Sr+2 0 Sr 87.6200
Succinat Succinat-2 1 Succinat 116.0700
Suberate Suberate-2 1 Suberate 172.1804
Tc TcO(OH)2 0 Tc 98.0000
Tc(+4) TcO(OH)2 0 Tc 98.0000
Tc(+7) TcO4- 0 Tc 98.0000
Tc(+6) TcO4-2 0 Tc 98.0000
Th Th+4 0 Th 232.0381
U UO2+2 0 U 238.0289
U(+6) UO2+2 0 U 238.0289
U(+3) U+3 0 U 238.0289
U(+4) U+4 -3 U 238.0289
U(+5) UO2+ 0 U 238.0289
Zn Zn+2 0 Zn 65.3900
Zr Zr+4 -4 Zr 91.2200
SIT
-epsilon
@ -4547,12 +4547,12 @@ H+ + S2O4-2 = HS2O4-
delta_h 118.877 #kJ/mol
# Enthalpy of formation: -51.463 kJ/mol 92JOH/OEL
-analytic 26.56356E-1 00E+0 -62.09378E+2 00E+0 00E+0
- 2 e- + 2 Cl- + I- = ICl2-
# DLP: This species will be in the I(-1) and Cl(-1) mole balances
log_k -26.8 #96FAL/REA
-analytic -26.8E+0 00E+0 00E+0 00E+0 00E+0
- 2 H+ - 2 e- + I- + H2O = IO-
log_k -44 #96FAL/REA
-analytic -44E+0 00E+0 00E+0 00E+0 00E+0
@ -14345,4 +14345,3 @@ SO2 = 2 H+ + SO3-2 - H2O
delta_h -48.42 #kJ/mol
# Enthalpy of formation: -296.810 kJ/mol 89COX/WAG
-analytic -17.42282E+0 00E+0 25.29153E+2 00E+0 00E+0

2129
database/stimela.dat Normal file

File diff suppressed because it is too large Load Diff

View File

@ -7,72 +7,72 @@
SOLUTION_MASTER_SPECIES
Ag Ag+ 0 107.868 107.868
Al Al+3 0 26.9815 26.9815
Alkalinity CO3-2 1 50.05 50.05
As H3AsO4 -1 74.9216 74.9216
As(+3) H3AsO3 0 74.9216 74.9216
As(+5) H3AsO4 -1 74.9216
B H3BO3 0 10.81 10.81
Ba Ba+2 0 137.34 137.34
Br Br- 0 79.904 79.904
C CO3-2 2 61.0173 12.0111
C(+4) CO3-2 2 61.0173
C(-4) CH4 0 16.042
Ca Ca+2 0 40.08 40.08
Cd Cd+2 0 112.4 112.4
Cl Cl- 0 35.453 35.453
Cs Cs+ 0 132.905 132.905
Cu Cu+2 0 63.546 63.546
Cu(+1) Cu+1 0 63.546
Cu(+2) Cu+2 0 63.546
E e- 1 0 0
F F- 0 18.9984 18.9984
Fe Fe+2 0 55.847 55.847
Fe(+2) Fe+2 0 55.847
Fe(+3) Fe+3 -2 55.847
Fulvate Fulvate-2 0 650 650
H H+ -1 1.008 1.008
H(0) H2 0 1.008
H(1) H+ -1 1.008
Humate Humate-2 0 2000 2000
I I- 0 126.9044 126.9044
K K+ 0 39.102 39.102
Li Li+ 0 6.939 6.939
Mg Mg+2 0 24.312 24.312
Mn Mn+2 0 54.938 54.938
Mn(2) Mn+2 0 54.938
Mn(3) Mn+3 0 54.938
Mn(6) MnO4-2 0 54.938
Mn(7) MnO4- 0 54.938
N NO3- 0 14.0067 14.0067
N(-3) NH4+ 0 14.0067
N(0) N2 0 14.0067
N(+3) NO2- 0 14.0067
N(+5) NO3- 0 14.0067
Na Na+ 0 22.9898 22.9898
Ni Ni+2 0 58.71 58.71
O H2O 0 16 16
O(-2) H2O 0 18.016
O(0) O2 0 16
P PO4-3 2 30.9738 30.9738
Pb Pb+2 0 207.19 207.19
Rb Rb+ 0 85.47 85.47
S SO4-2 0 96.0616 32.064
S(-2) H2S 0 32.064
S(6) SO4-2 0 96.0616
Se SeO4-2 0 78.96 78.96
Se(-2) HSe- 0 78.96
Se(4) SeO3-2 0 78.96
Se(6) SeO4-2 0 78.96
Si H4SiO4 0 60.0843 28.0843
Sr Sr+2 0 87.62 87.62
Zn Zn+2 0 65.37 65.37
U UO2+2 0 238.029 238.029
U(3) U+3 0 238.029 238.029
U(4) U+4 0 238.029 238.029
U(5) UO2+ 0 238.029 238.029
U(6) UO2+2 0 238.029 238.029
Ag Ag+ 0 107.868 107.868
Al Al+3 0 26.9815 26.9815
Alkalinity CO3-2 1 50.05 50.05
As H3AsO4 -1 74.9216 74.9216
As(+3) H3AsO3 0 74.9216 74.9216
As(+5) H3AsO4 -1 74.9216
B H3BO3 0 10.81 10.81
Ba Ba+2 0 137.34 137.34
Br Br- 0 79.904 79.904
C CO3-2 2 61.0173 12.0111
C(+4) CO3-2 2 61.0173
C(-4) CH4 0 16.042
Ca Ca+2 0 40.08 40.08
Cd Cd+2 0 112.4 112.4
Cl Cl- 0 35.453 35.453
Cs Cs+ 0 132.905 132.905
Cu Cu+2 0 63.546 63.546
Cu(+1) Cu+1 0 63.546
Cu(+2) Cu+2 0 63.546
E e- 1 0 0
F F- 0 18.9984 18.9984
Fe Fe+2 0 55.847 55.847
Fe(+2) Fe+2 0 55.847
Fe(+3) Fe+3 -2 55.847
Fulvate Fulvate-2 0 650 650
H H+ -1 1.008 1.008
H(0) H2 0 1.008
H(1) H+ -1 1.008
Humate Humate-2 0 2000 2000
I I- 0 126.9044 126.9044
K K+ 0 39.102 39.102
Li Li+ 0 6.939 6.939
Mg Mg+2 0 24.312 24.312
Mn Mn+2 0 54.938 54.938
Mn(2) Mn+2 0 54.938
Mn(3) Mn+3 0 54.938
Mn(6) MnO4-2 0 54.938
Mn(7) MnO4- 0 54.938
N NO3- 0 14.0067 14.0067
N(-3) NH4+ 0 14.0067
N(0) N2 0 14.0067
N(+3) NO2- 0 14.0067
N(+5) NO3- 0 14.0067
Na Na+ 0 22.9898 22.9898
Ni Ni+2 0 58.71 58.71
O H2O 0 16 16
O(-2) H2O 0 18.016
O(0) O2 0 16
P PO4-3 2 30.9738 30.9738
Pb Pb+2 0 207.19 207.19
Rb Rb+ 0 85.47 85.47
S SO4-2 0 96.0616 32.064
S(-2) H2S 0 32.064
S(6) SO4-2 0 96.0616
Se SeO4-2 0 78.96 78.96
Se(-2) HSe- 0 78.96
Se(4) SeO3-2 0 78.96
Se(6) SeO4-2 0 78.96
Si H4SiO4 0 60.0843 28.0843
Sr Sr+2 0 87.62 87.62
Zn Zn+2 0 65.37 65.37
U UO2+2 0 238.029 238.029
U(3) U+3 0 238.029 238.029
U(4) U+4 0 238.029 238.029
U(5) UO2+ 0 238.029 238.029
U(6) UO2+2 0 238.029 238.029
SOLUTION_SPECIES
@ -1345,53 +1345,53 @@ SOLUTION_SPECIES
Fe+2 + 3 HS- = Fe(HS)3-
log_k 10.987
#H2AsO3- 478
H3AsO3 = H2AsO3- + H+
log_k -9.15
delta_h 27.54 kJ
#H2AsO3- 478
H3AsO3 = H2AsO3- + H+
log_k -9.15
delta_h 27.54 kJ
#HAsO3-2 479
H3AsO3 = HAsO3-2 + 2 H+
log_k -23.85
delta_h 59.41 kJ
#HAsO3-2 479
H3AsO3 = HAsO3-2 + 2 H+
log_k -23.85
delta_h 59.41 kJ
#AsO3-3 480
H3AsO3 = AsO3-3 + 3 H+
log_k -39.55
delta_h 84.73 kJ
#AsO3-3 480
H3AsO3 = AsO3-3 + 3 H+
log_k -39.55
delta_h 84.73 kJ
#H4AsO3+ 481
H3AsO3 + H+ = H4AsO3+
log_k -0.305
#H2AsO4- 482
H3AsO4 = H2AsO4- + H+
log_k -2.3
delta_h -7.066 kJ
#H2AsO4- 482
H3AsO4 = H2AsO4- + H+
log_k -2.3
delta_h -7.066 kJ
#HAsO4-2 483
H3AsO4 = HAsO4-2 + 2 H+
log_k -9.46
delta_h -3.846 kJ
#HAsO4-2 483
H3AsO4 = HAsO4-2 + 2 H+
log_k -9.46
delta_h -3.846 kJ
#AsO43- 484
H3AsO4 = AsO4-3 + 3 H+
log_k -21.11
delta_h 14.354 kJ
#AsO43- 484
H3AsO4 = AsO4-3 + 3 H+
log_k -21.11
delta_h 14.354 kJ
#As3 secondary master species 487
H3AsO4 + H2 = H3AsO3 + H2O
log_k 22.5
delta_h -117.480344 kJ
H3AsO4 + H2 = H3AsO3 + H2O
log_k 22.5
delta_h -117.480344 kJ
#As3S4(HS)-2 631
3 H3AsO3 + 6 HS- + 5 H+ = As3S4(HS)2- + 9 H2O
log_k 72.314
#As3S4(HS)-2 631
3 H3AsO3 + 6 HS- + 5 H+ = As3S4(HS)2- + 9 H2O
log_k 72.314
-gamma 5 0
#AsS(OH)(HS)- 637
H3AsO3 + 2 HS- + H+ = AsS(OH)(HS)- + 2 H2O
log_k 18.038
#AsS(OH)(HS)- 637
H3AsO3 + 2 HS- + H+ = AsS(OH)(HS)- + 2 H2O
log_k 18.038
-gamma 5 0
#
@ -3136,8 +3136,8 @@ Basaluminite 472
As_native 557
As + 3 H2O = H3AsO3 + 3 H+ + 3 e-
log_k -12.532
delta_h 115.131 kJ
log_k -12.532
delta_h 115.131 kJ
As2O5(cr) 488
As2O5 + 3 H2O = 2 H3AsO4
@ -3180,17 +3180,17 @@ Arsenolite 497
# As4O6 + 6H2O = 4H3AsO3
# log_k -2.801
# delta_h 14.330 kcal
As2O3 + 3 H2O = 2 H3AsO3
log_k -1.38
delta_h 30.041 kJ
As2O3 + 3 H2O = 2 H3AsO3
log_k -1.38
delta_h 30.041 kJ
Claudetite 498
# As4O6 + 6H2O = 4H3AsO3
# log_k -3.065
# delta_h 13.290 kcal
As2O3 + 3 H2O = 2 H3AsO3
log_k -1.34
delta_h 28.443 kJ
As2O3 + 3 H2O = 2 H3AsO3
log_k -1.34
delta_h 28.443 kJ
AsI3 499
AsI3 + 3 H2O = H3AsO3 + 3 I- + 3 H+
@ -3201,20 +3201,20 @@ Orpiment 500
As2S3 + 6 H2O = 2 H3AsO3 + 3 HS- + 3 H+
# log_k -60.971
# delta_h 82.890 kcal
log_k -46.3
delta_h 263.1 kJ
log_k -46.3
delta_h 263.1 kJ
As2S3(am) 132
As2S3 + 6 H2O = 2 H3AsO3 + 3 HS- + 3 H+
log_k -44.9
delta_h 244.2 kJ
log_k -44.9
delta_h 244.2 kJ
Realgar 501
AsS + 3 H2O = H3AsO3 + HS- + 2 H+ + e-
# log_k -19.747
# delta_h 30.545 kcal
log_k -19.944
delta_h 129.2625 kJ
log_k -19.944
delta_h 129.2625 kJ
BlaubleiI 533
Cu0.9Cu0.2S + H+ = 0.9 Cu+2 + 0.2 Cu+ + HS-
@ -3432,7 +3432,7 @@ O2(g)
O2 = O2
# log_k -2.960
# delta_h -1.844 kcal
# log K from llnl.dat Aug 23, 2005
# log K from llnl.dat Aug 23, 2005
log_k -2.8983
-analytic -7.5001e+0 7.8981e-3 0e+0 0e+0 2.0027e+5
@ -3727,9 +3727,9 @@ SURFACE_SPECIES
#
# Silicate: Swedlund, P.J. and Webster, J.G., 1999. Water Research, 33, 3413-3422.
#
Hfo_wOH + H4SiO4 = Hfo_wH3SiO4 + H2O; log_K 4.28
Hfo_wOH + H4SiO4 = Hfo_wH2SiO4- + H+ + H2O; log_K -3.22
Hfo_wOH + H4SiO4 = Hfo_wHSiO4-2 + 2 H+ + H2O; log_K -11.69
Hfo_wOH + H4SiO4 = Hfo_wH3SiO4 + H2O; log_K 4.28
Hfo_wOH + H4SiO4 = Hfo_wH2SiO4- + H+ + H2O; log_K -3.22
Hfo_wOH + H4SiO4 = Hfo_wHSiO4-2 + 2 H+ + H2O; log_K -11.69
RATES
###########
@ -3738,12 +3738,12 @@ RATES
#
#######
# Example of quartz kinetic rates block:
# KINETICS
# Quartz
# -m0 158.8 # 90 % Qu
# -parms 0.146 1.5
# -step 3.1536e8 in 10
# -tol 1e-12
# KINETICS
# Quartz
# -m0 158.8 # 90 % Qu
# -parms 0.146 1.5
# -step 3.1536e8 in 10
# -tol 1e-12
Quartz
-start
@ -3756,7 +3756,7 @@ Quartz
10 dif_temp = 1/TK - 1/298
20 pk_w = 13.7 + 4700.4 * dif_temp
40 moles = PARM(1) * M0 * PARM(2) * (M/M0)^0.67 * 10^-pk_w * (1 - SR("Quartz"))
# Integrate...
# Integrate...
50 SAVE moles * TIME
-end
@ -4033,4 +4033,3 @@ Pyrolusite
200 SAVE moles * SOLN_VOL
-end
END

1
examples/c/.github/subtrees.json vendored Normal file
View File

@ -0,0 +1 @@
[]

9
examples/c/.github/superprojects.json vendored Normal file
View File

@ -0,0 +1,9 @@
{
"usgs-coupled-subtrees/phreeqc-commanuscript-cgfinal-examples-c": {
"superprojects": [
"usgs-coupled-subtrees/iphreeqc",
"usgs-coupled-subtrees/iphreeqccom",
"usgs-coupled-subtrees/phreeqc"
]
}
}

View File

@ -0,0 +1,19 @@
name: Lint subtrees.json
on:
pull_request:
paths:
- '.github/subtrees.json'
workflow_call:
workflow_dispatch:
jobs:
lint-subtrees:
runs-on: ubuntu-latest
env:
CI_SERVER_HOST: github.com
GROUP: usgs-coupled
steps:
- uses: usgs-coupled-subtrees/sync-subtrees-action/lint-subtrees/@main
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

View File

@ -0,0 +1,16 @@
name: Lint superprojects.json
on:
pull_request:
paths:
- '.github/superprojects.json'
workflow_call:
workflow_dispatch:
jobs:
lint-superprojects:
runs-on: ubuntu-latest
steps:
- uses: usgs-coupled-subtrees/sync-subtrees-action/lint-superprojects/@main
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

View File

@ -0,0 +1,37 @@
name: Sync Subtrees
on:
push:
branches:
- master
workflow_dispatch:
inputs:
dryRun:
description: 'If true, dont push any changes (for testing only).'
required: true
default: false
type: boolean
testMerge:
description: 'Run in test mode, pushing to a test branch.'
required: true
default: false
type: boolean
jobs:
sync-subtrees:
if: startsWith(github.repository, 'usgs-coupled-subtrees/')
runs-on: ubuntu-latest
env:
CI_SERVER_HOST: github.com
GROUP: usgs-coupled
GH_TOKEN: ${{ secrets.WORKFLOW_PAT }}
steps:
- name: Run sync-subtrees-action
uses: usgs-coupled-subtrees/sync-subtrees-action@main
with:
dryRun: ${{ inputs.dryRun }}
testMerge: ${{ inputs.testMerge }}
repository_name: ${{ github.event.repository.name }}
default_branch: ${{ github.event.repository.default_branch }}
run_number: ${{ github.run_number }}
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}

1
examples/com/.github/subtrees.json vendored Normal file
View File

@ -0,0 +1 @@
[]

View File

@ -0,0 +1,9 @@
{
"usgs-coupled-subtrees/phreeqc-commanuscript-cgfinal-examples-com": {
"superprojects": [
"usgs-coupled-subtrees/iphreeqc",
"usgs-coupled-subtrees/iphreeqccom",
"usgs-coupled-subtrees/phreeqc"
]
}
}

View File

@ -0,0 +1,19 @@
name: Lint subtrees.json
on:
pull_request:
paths:
- '.github/subtrees.json'
workflow_call:
workflow_dispatch:
jobs:
lint-subtrees:
runs-on: ubuntu-latest
env:
CI_SERVER_HOST: github.com
GROUP: usgs-coupled
steps:
- uses: usgs-coupled-subtrees/sync-subtrees-action/lint-subtrees/@main
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

View File

@ -0,0 +1,16 @@
name: Lint superprojects.json
on:
pull_request:
paths:
- '.github/superprojects.json'
workflow_call:
workflow_dispatch:
jobs:
lint-superprojects:
runs-on: ubuntu-latest
steps:
- uses: usgs-coupled-subtrees/sync-subtrees-action/lint-superprojects/@main
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

View File

@ -0,0 +1,37 @@
name: Sync Subtrees
on:
push:
branches:
- master
workflow_dispatch:
inputs:
dryRun:
description: 'If true, dont push any changes (for testing only).'
required: true
default: false
type: boolean
testMerge:
description: 'Run in test mode, pushing to a test branch.'
required: true
default: false
type: boolean
jobs:
sync-subtrees:
if: startsWith(github.repository, 'usgs-coupled-subtrees/')
runs-on: ubuntu-latest
env:
CI_SERVER_HOST: github.com
GROUP: usgs-coupled
GH_TOKEN: ${{ secrets.WORKFLOW_PAT }}
steps:
- name: Run sync-subtrees-action
uses: usgs-coupled-subtrees/sync-subtrees-action@main
with:
dryRun: ${{ inputs.dryRun }}
testMerge: ${{ inputs.testMerge }}
repository_name: ${{ github.event.repository.name }}
default_branch: ${{ github.event.repository.default_branch }}
run_number: ${{ github.run_number }}
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}

View File

@ -214,7 +214,7 @@ class ReactionModel(object):
class PhreeqcCalculator(object):
"""All PHREEQC calculations happen here.
This is the only place where we interact wit IPhreeqc.
This is the only place where we interact with IPhreeqc.
Each instance of this class might run in a different
process using `multiprocessing`.
"""

View File

@ -0,0 +1 @@
[]

View File

@ -0,0 +1,9 @@
{
"usgs-coupled-subtrees/phreeqc-COMManuscript-CGfinal-examples-fortran": {
"superprojects": [
"usgs-coupled-subtrees/iphreeqc",
"usgs-coupled-subtrees/iphreeqccom",
"usgs-coupled-subtrees/phreeqc"
]
}
}

View File

@ -0,0 +1,19 @@
name: Lint subtrees.json
on:
pull_request:
paths:
- '.github/subtrees.json'
workflow_call:
workflow_dispatch:
jobs:
lint-subtrees:
runs-on: ubuntu-latest
env:
CI_SERVER_HOST: github.com
GROUP: usgs-coupled
steps:
- uses: usgs-coupled-subtrees/sync-subtrees-action/lint-subtrees/@main
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

View File

@ -0,0 +1,16 @@
name: Lint superprojects.json
on:
pull_request:
paths:
- '.github/superprojects.json'
workflow_call:
workflow_dispatch:
jobs:
lint-superprojects:
runs-on: ubuntu-latest
steps:
- uses: usgs-coupled-subtrees/sync-subtrees-action/lint-superprojects/@main
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

View File

@ -0,0 +1,37 @@
name: Sync Subtrees
on:
push:
branches:
- master
workflow_dispatch:
inputs:
dryRun:
description: 'If true, dont push any changes (for testing only).'
required: true
default: false
type: boolean
testMerge:
description: 'Run in test mode, pushing to a test branch.'
required: true
default: false
type: boolean
jobs:
sync-subtrees:
if: startsWith(github.repository, 'usgs-coupled-subtrees/')
runs-on: ubuntu-latest
env:
CI_SERVER_HOST: github.com
GROUP: usgs-coupled
GH_TOKEN: ${{ secrets.WORKFLOW_PAT }}
steps:
- name: Run sync-subtrees-action
uses: usgs-coupled-subtrees/sync-subtrees-action@main
with:
dryRun: ${{ inputs.dryRun }}
testMerge: ${{ inputs.testMerge }}
repository_name: ${{ github.event.repository.name }}
default_branch: ${{ github.event.repository.default_branch }}
run_number: ${{ github.run_number }}
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}

View File

@ -128,6 +128,12 @@ configure_file(
COPYONLY
)
configure_file(
../database/stimela.dat
stimela.dat
COPYONLY
)
configure_file(
../database/ColdChem.dat
ColdChem.dat

View File

@ -26,7 +26,7 @@ TEST(TestIPhreeqc, TestLoadDatabase)
std::string FILES[] = { "phreeqc.dat", "pitzer.dat", "wateq4f.dat",
"Amm.dat", "frezchem.dat", "iso.dat",
"llnl.dat", "minteq.dat", "minteq.v4.dat",
"sit.dat","ColdChem.dat","core10.dat",
"sit.dat", "stimela.dat" ,"ColdChem.dat","core10.dat",
"Tipping_Hurley.dat"
};
@ -283,7 +283,7 @@ TEST(TestIPhreeqc, TestSetErrorOn)
ASSERT_EQ(false, ::FileExists("missing.file"));
IPhreeqc obj;
ASSERT_EQ(true, obj.GetErrorOn()); // intial setting is true
ASSERT_EQ(true, obj.GetErrorOn()); // initial setting is true
obj.SetErrorOn(false);
ASSERT_EQ(false, obj.GetErrorOn());
@ -314,7 +314,7 @@ TEST(TestIPhreeqc, TestSetErrorOn2)
obj.SetErrorFileOn(true);
obj.SetErrorFileName(ERR_FILENAME);
ASSERT_EQ(true, obj.GetErrorOn()); // intial setting is true
ASSERT_EQ(true, obj.GetErrorOn()); // initial setting is true
obj.SetErrorOn(false);
ASSERT_EQ(false, obj.GetErrorOn());
@ -3829,7 +3829,7 @@ TEST(TestIPhreeqc, TestCErrorReporter)
TEST(TestIPhreeqc, TestDelete)
{
const char input[] =
"SOLUTION 1 # definition of intial condition 1\n"
"SOLUTION 1 # definition of initial condition 1\n"
"COPY cell 1 7405 # copy cell 1 to placeholder cell with index larger than the number of cells in the model domain\n"
"END\n"
"DELETE # delete initial condition 1 to allow for a redefinition of all reactions\n"

View File

@ -128,7 +128,7 @@ TEST(TestIPhreeqcLib, TestLoadDatabase)
std::string FILES[] = { "phreeqc.dat", "pitzer.dat", "wateq4f.dat",
"Amm.dat", "frezchem.dat", "iso.dat",
"llnl.dat", "minteq.dat", "minteq.v4.dat",
"sit.dat","ColdChem.dat","core10.dat",
"sit.dat", "stimela.dat", "ColdChem.dat","core10.dat",
"Tipping_Hurley.dat"
};
@ -190,7 +190,7 @@ TEST(TestIPhreeqcLib, TestSetErrorOn)
int n = ::CreateIPhreeqc();
ASSERT_TRUE(n >= 0);
ASSERT_EQ(1, ::GetErrorOn(n)); // intial setting is true
ASSERT_EQ(1, ::GetErrorOn(n)); // initial setting is true
ASSERT_EQ(IPQ_OK, ::SetErrorOn(n, 0));
ASSERT_EQ(0, ::GetErrorOn(n));
@ -4005,7 +4005,7 @@ TEST(TestIPhreeqcLib, TestIEEE)
TEST(TestIPhreeqcLib, TestDelete)
{
const char input[] =
"SOLUTION 1 # definition of intial condition 1\n"
"SOLUTION 1 # definition of initial condition 1\n"
"COPY cell 1 7405 # copy cell 1 to placeholder cell with index larger than the number of cells in the model domain\n"
"END\n"
"DELETE # delete initial condition 1 to allow for a redefinition of all reactions\n"

View File

@ -17,7 +17,7 @@
# from the top-level of a branches/0.24.2 working copy will create
# the 0.24.2 release tarball.
#
# When building a alpha, beta or rc tarballs pass the apppropriate flag
# When building a alpha, beta or rc tarballs pass the appropriate flag
# followed by the number for that release. For example you'd do
# the following for a Beta 1 release:
# ./dist.sh -v 1.1.0 -r 10277 -pr branches/1.1.x -beta 1

View File

@ -1,4 +1,5 @@
set(POET_SOURCE_FILES
set(LPQC_SOURCE_FILES
src/Engine.cpp
src/Runner.cpp
src/Knobs.cpp
@ -20,19 +21,19 @@ set(POET_SOURCE_FILES
src/PhreeqcMatrix/Misc.cpp
)
add_library(IPhreeqcPOET ${POET_SOURCE_FILES})
target_link_libraries(IPhreeqcPOET PUBLIC IPhreeqc)
target_include_directories(IPhreeqcPOET PUBLIC
add_library(litephreeqc STATIC ${LPQC_SOURCE_FILES})
target_link_libraries(litephreeqc PUBLIC IPhreeqc)
target_include_directories(litephreeqc PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>)
# Set C++20 standard
target_compile_features(IPhreeqcPOET PUBLIC cxx_std_20)
target_compile_features(litephreeqc PUBLIC cxx_std_20)
if (BUILD_TESTING AND STANDALONE_BUILD)
enable_testing()
set(POET_TEST_SOURCE_FILES
set(LPQC_TEST_SOURCE_FILES
test/testPhreeqcEngine.cpp
test/testPhreeqcMatrix.cpp
test/testPhreeqcRunner.cpp
@ -41,15 +42,15 @@ if (BUILD_TESTING AND STANDALONE_BUILD)
test/IPhreeqcReader.cpp
)
add_executable(poet_test ${POET_TEST_SOURCE_FILES})
add_executable(litephreeqc_test ${LPQC_TEST_SOURCE_FILES})
target_link_libraries(
poet_test
IPhreeqcPOET
litephreeqc_test
litephreeqc
GTest::gtest_main
)
target_include_directories(poet_test PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
target_include_directories(litephreeqc_test PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
# read file and store in variable
file(REAL_PATH "${PROJECT_SOURCE_DIR}/database/phreeqc.dat" POET_PHREEQCDAT_DB)
@ -59,11 +60,11 @@ if (BUILD_TESTING AND STANDALONE_BUILD)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/test/testInput.hpp.in" "${CMAKE_CURRENT_BINARY_DIR}/testInput.hpp")
include(GoogleTest)
gtest_discover_tests(poet_test)
gtest_discover_tests(litephreeqc_test)
endif()
add_executable(testGolemRunner test/testGolemRunner.cpp)
target_link_libraries(testGolemRunner IPhreeqcPOET)
add_executable(golemrunner test/testGolemRunner.cpp)
target_link_libraries(golemrunner litephreeqc)
add_executable(testGetters test/testGetters.cpp)
target_link_libraries(testGetters IPhreeqcPOET)
target_link_libraries(testGetters litephreeqc)

10
litephreeqc/LICENSE.txt Normal file
View File

@ -0,0 +1,10 @@
This project is subject to the original PHREEQC license. `litephreeqc` is a
version of the PHREEQC code that has been modified to be used as a library.
It adds a C++ interface on top of the original PHREEQC code, with small changes
to the original code base.
Authors of Modifications:
- Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
- Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#pragma once
#include "PhreeqcMatrix.hpp"

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#pragma once
#include <cstdint>

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#pragma once
#include <map>

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#pragma once
#include "PhreeqcEngine.hpp"

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#include "PhreeqcEngine.hpp"
#include <cstddef>
#include <iomanip>

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#include "PhreeqcKnobs.hpp"
#include <Phreeqc.h>

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#include <PhreeqcMatrix.hpp>
#include <algorithm>
#include <cstddef>

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#include "IPhreeqc.hpp"
#include "PhreeqcKnobs.hpp"
#include "PhreeqcMatrix.hpp"

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#include "PhreeqcMatrix.hpp"
#include "../Wrapper/EquilibriumWrapper.hpp"

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#include "PhreeqcMatrix.hpp"
#include <IPhreeqc.hpp>

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#include "PhreeqcEngine.hpp"
#include "PhreeqcMatrix.hpp"
#include "PhreeqcRunner.hpp"

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#include "EquilibriumWrapper.hpp"
EquilibriumWrapper::EquilibriumCompWrapper::EquilibriumCompWrapper(

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#include "EquilibriumWrapper.hpp"
#include <algorithm>

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#pragma once
#include "PPassemblage.h"

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#include "ExchangeWrapper.hpp"
ExchangeWrapper::ExchangeCompWrapper::ExchangeCompWrapper(cxxExchComp &comp)

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#include "ExchangeWrapper.hpp"
ExchangeWrapper::ExchangeWrapper(cxxExchange *exch,
@ -21,36 +34,36 @@ ExchangeWrapper::ExchangeWrapper(cxxExchange *exch,
num_elements += exchange_comps.back()->size();
}
// const std::size_t defined_comps = exchange->Get_exchange_comps().size();
// const std::size_t defined_comps = exchange->Get_exchange_comps().size();
// auto header_it = remaining_field_header.begin();
// auto header_it = remaining_field_header.begin();
// while (header_it != remaining_field_header.end() &&
// exchange_comps.size() < defined_comps) {
// const std::string formular = *header_it;
// while (header_it != remaining_field_header.end() &&
// exchange_comps.size() < defined_comps) {
// const std::string formular = *header_it;
// auto it = std::find_if(exchange->Get_exchange_comps().begin(),
// exchange->Get_exchange_comps().end(),
// [&](const cxxExchComp &comp) {
// return comp.Get_formula() == formular;
// });
// auto it = std::find_if(exchange->Get_exchange_comps().begin(),
// exchange->Get_exchange_comps().end(),
// [&](const cxxExchComp &comp) {
// return comp.Get_formula() == formular;
// });
// if (it != exchange->Get_exchange_comps().end()) {
// const size_t i = this->exchange_comps.size();
// if (it != exchange->Get_exchange_comps().end()) {
// const size_t i = this->exchange_comps.size();
// exchange_comps.push_back(std::make_unique<ExchangeCompWrapper>(*it));
// header_it += this->exchange_comps[i]->size();
// num_elements += this->exchange_comps[i]->size();
// continue;
// }
// exchange_comps.push_back(std::make_unique<ExchangeCompWrapper>(*it));
// header_it += this->exchange_comps[i]->size();
// num_elements += this->exchange_comps[i]->size();
// continue;
// }
// header_it++;
// }
// header_it++;
// }
// if (exchange_comps.size() != defined_comps) {
// throw std::runtime_error(
// "Not all exchange components found in Phreeqc variables");
// }
// if (exchange_comps.size() != defined_comps) {
// throw std::runtime_error(
// "Not all exchange components found in Phreeqc variables");
// }
}
void ExchangeWrapper::get(std::span<LDBLE> &exchange) const {

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#pragma once
#include "ExchComp.h"

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#include "KineticWrapper.hpp"
#include <cstddef>
#include <string>

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#include "KineticWrapper.hpp"
#include <vector>

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#pragma once
#include "KineticsComp.h"

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#include "SolutionWrapper.hpp"
#include "NameDouble.h"
#include <set>

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#pragma once
#include "Solution.h"

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#include "SurfaceWrapper.hpp"
SurfaceWrapper::SurfaceChargeWrapper::SurfaceChargeWrapper(

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#include "SurfaceWrapper.hpp"
SurfaceWrapper::SurfaceCompWrapper::SurfaceCompWrapper(cxxSurfaceComp &comp)

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#include "SurfaceWrapper.hpp"
#include "SurfaceComp.h"

View File

@ -1,3 +1,16 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#pragma once
#include "Surface.h"

View File

@ -0,0 +1,31 @@
/*
* This project is subject to the original PHREEQC license. `litephreeqc` is a
* version of the PHREEQC code that has been modified to be used as a library.
*
* It adds a C++ interface on top of the original PHREEQC code, with small
* changes to the original code base.
*
* Authors of Modifications:
* - Max Luebke (mluebke@uni-potsdam.de) - University of Potsdam
* - Marco De Lucia (delucia@gfz.de) - GFZ Helmholz Centre for Geosciences
*
*/
#pragma once
#include <phrqtype.h>
#include <span>
class WrapperBase {
public:
virtual ~WrapperBase() = default;
std::size_t size() const { return this->num_elements; };
virtual void get(std::span<LDBLE> &data) const = 0;
virtual void set(const std::span<LDBLE> &data) = 0;
protected:
std::size_t num_elements = 0;
};

View File

@ -0,0 +1,147 @@
// Time-stamp: "Last modified 2025-07-28 13:03:01 delucia"
#include <algorithm>
#include <cmath>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <linux/limits.h>
#include <memory>
#include <sstream>
#include <string>
#include <vector>
#include "PhreeqcEngine.hpp"
#include "PhreeqcMatrix.hpp"
#include "PhreeqcRunner.hpp"
std::string readFile(const std::string &path) {
std::string string_rpath(PATH_MAX, '\0');
if (realpath(path.c_str(), string_rpath.data()) == nullptr) {
throw std::runtime_error(":: Failed to resolve the realpath to file " +
path);
}
std::ifstream file(string_rpath);
if (!file.is_open()) {
throw std::runtime_error(":: Failed to open file: " + path);
}
std::stringstream buffer;
buffer << file.rdbuf();
return buffer.str();
}
// pretty print a vector, standard implementation from stackoverflow
template <typename T>
std::ostream &operator<<(std::ostream &os, std::vector<T> vec) {
os << "{ ";
std::copy(vec.begin(), vec.end(), std::ostream_iterator<T>(os, ", "));
os << " }";
return os;
}
int main(int argc, char *argv[]) {
if (argc < 3) {
std::cout << "::" << argv[0] << ": two args needed, script and database\n";
return 1;
}
////// INITIALISATION
// read Script and Database and put it in a std::string
auto script = readFile(argv[1]);
auto db = readFile(argv[2]);
// Create the matrix directly from database and init script
PhreeqcMatrix pqc_mat(db, script, true, true);
// How many different SOLUTIONS ("CELLS") are defined in the script?
const auto ids = pqc_mat.getIds();
int n = ids.size();
std::cout << ":: Found " << n << " distinct PHREEQC problems \n";
std::cout << ids << "\n";
const auto solutes = pqc_mat.getSolutionNames();
std::cout << ":: These are the common solutes across all the " << n
<< " problems: \n";
std::cout << solutes << "\n";
// iterate on the ids (THEY start at 1!!)
for (const auto &i : ids) {
auto pphases = pqc_mat.getEquilibriumNames(i);
if (!pphases.empty()) {
std::cout << ":: Equilibrium phases [" << (int)i << "]: \n";
std::cout << pphases << "\n";
}
auto kinetics = pqc_mat.getKineticsNames(i);
if (!kinetics.empty()) {
std::cout << ":: Kinetics [" << i << "]: \n";
std::cout << kinetics << "\n";
}
}
// The exported data type holds the matrix in a "STL format" with
// a "header" of names and their accompanying values. The values
// are stored in a row-major order per default.
auto exported_mat = pqc_mat.get();
// Get the total number of solutes
const int len = exported_mat.names.size();
// Get the values as reference to modify them in place
std::vector<double> &cell_values = exported_mat.values;
std::cout << ":: Values in the PhreeqcMatrix: \n";
//// Phreeqc RUN through the new Runner class
// optional SUBSET the matrix (i.e., the unique ids defined in
// golem map as input)
// const auto subsetted_pqc_mat = pqc_mat.subset({1, 2});
PhreeqcRunner runner(pqc_mat);
const auto stl_mat = pqc_mat.get();
const auto matrix_values = stl_mat.values;
const auto num_columns = stl_mat.names.size();
const auto spec_names = stl_mat.names;
// container to pass in/out
std::vector<std::vector<double>> simulationInOut;
// copy the values to the InOut vector. We replicate cell 1
for (std::size_t index = 0; index < n; ++index) {
simulationInOut.push_back(
std::vector<double>(matrix_values.begin() + num_columns * index,
matrix_values.begin() + num_columns * (index + 1)));
}
const double timestep = 100.;
// compute 1 timestep
runner.run(simulationInOut, timestep);
for (std::size_t cell_index = 0; cell_index < simulationInOut.size();
++cell_index) {
std::cout << "Grid element: " << cell_index << " \n";
for (std::size_t spec = 0; spec < num_columns; ++spec) {
std::cout << ":" << spec_names[spec] << "="
<< simulationInOut[cell_index][spec];
}
std::cout << "\n";
}
return 0;
}
// Oneliner for rz-vm278 relative to iphreeqc/poet/test!!
// g++ testGolemRunner.cpp -o testG -Wall -I../../poet/include -I../../src
// -I../../src/phreeqcpp -I../../src/phreeqcpp/common
// -I../../src/phreeqcpp/PhreeqcKeywords -lIPhreeqc -lIPhreeqcPOET
// -L../../bbuild/ -L../../bbuild/poet

View File

@ -6,7 +6,7 @@
#include <gtest/gtest.h>
#define POET_TEST(name) TEST(TestPOET, name)
#define POET_TEST(name) TEST(litephreeqc, name)
namespace base_test {
const std::string script = R"(SOLUTION 1

Some files were not shown because too many files have changed in this diff Show More