From 5d6660448086ff51dd785aa3b6ec536d6e22ee2c Mon Sep 17 00:00:00 2001 From: David L Parkhurst Date: Thu, 20 Dec 2012 01:49:38 +0000 Subject: [PATCH] Removed DATABASE definitions from 15, 17, and 20. Modified Makefile accordingly. Needed to simplify Win/test.bat git-svn-id: svn://136.177.114.72/svn_GW/phreeqc3/trunk@7241 1feff8c3-07ed-0310-ac33-dd36852eb9cd --- Makefile | 18 +++++++++--------- ex15 | 2 +- ex15a | 4 ++-- ex15b | 4 ++-- ex17 | 2 +- ex17b | 2 +- ex20a | 2 +- ex20b | 2 +- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/Makefile b/Makefile index fcdcda0a..8f6d360e 100644 --- a/Makefile +++ b/Makefile @@ -3,8 +3,8 @@ CFG :=$(shell echo $(CFG1) | sed "s/CYGWIN.*/CYGWIN/") INPUT=../examples PHREEQCDAT=../database/phreeqc.dat -WATEQ4FDAT=../database/wateq4f.dat PITZERDAT=../database/pitzer.dat +ISODAT=../database/iso.dat PHREEQC=../src/Class_release_64/phreeqcpp #PHREEQC=../src/Class_debug_64/phreeqcpp @@ -88,11 +88,11 @@ ex15b.out: $(INPUT)/ex15b $(PHREEQC) $(INPUT)/ex15.dat ex16.out: $(INPUT)/ex16 $(PHREEQC) $(PHREEQCDAT) $(PHREEQC) $(INPUT)/ex16 ex16.out $(PHREEQCDAT) ex16.log -ex17.out: $(INPUT)/ex17 $(PHREEQC) - $(PHREEQC) $(INPUT)/ex17 ex17.out ex17.log +ex17.out: $(INPUT)/ex17 $(PHREEQC) $(PITZERDAT) + $(PHREEQC) $(INPUT)/ex17 ex17.out $(PITZERDAT) ex17.log -ex17b.out: $(INPUT)/ex17b $(PHREEQC) - $(PHREEQC) $(INPUT)/ex17b ex17b.out ex17b.log +ex17b.out: $(INPUT)/ex17b $(PHREEQC) $(PITZERDAT) + $(PHREEQC) $(INPUT)/ex17b ex17b.out $(PITZERDAT) ex17b.log ex18.out: $(INPUT)/ex18 $(PHREEQC) $(PHREEQCDAT) $(PHREEQC) $(INPUT)/ex18 ex18.out $(PHREEQCDAT) ex18.log @@ -103,11 +103,11 @@ ex19.out: $(INPUT)/ex19 $(PHREEQC) $(PHREEQCDAT) ex19b.out: $(INPUT)/ex19b $(PHREEQC) $(PHREEQCDAT) $(PHREEQC) $(INPUT)/ex19b ex19b.out $(PHREEQCDAT) ex19b.log -ex20a.out: $(INPUT)/ex20a $(PHREEQC) ../database/iso.dat - $(PHREEQC) $(INPUT)/ex20a ex20a.out ../database/iso.dat ex20a.log +ex20a.out: $(INPUT)/ex20a $(PHREEQC) $(ISODAT) + $(PHREEQC) $(INPUT)/ex20a ex20a.out $(ISODAT) ex20a.log -ex20b.out: $(INPUT)/ex20b $(PHREEQC) ../database/iso.dat - $(PHREEQC) $(INPUT)/ex20b ex20b.out ../database/iso.dat ex20b.log +ex20b.out: $(INPUT)/ex20b $(PHREEQC) $(ISODAT) + $(PHREEQC) $(INPUT)/ex20b ex20b.out $(ISODAT) ex20b.log ex21.out: $(INPUT)/ex21 $(PHREEQC) $(PHREEQCDAT) $(PHREEQC) $(INPUT)/ex21 ex21.out $(PHREEQCDAT) ex21.log diff --git a/ex15 b/ex15 index c0509fc0..c6b73165 100644 --- a/ex15 +++ b/ex15 @@ -1,4 +1,4 @@ -DATABASE ex15.dat +# must use DATABASE ex15.dat TITLE Example 15.--1D Transport: Kinetic Biodegradation, Cell Growth, and Sorption *********** PLEASE NOTE: This problem requires database file ex15.dat!! diff --git a/ex15a b/ex15a index ed723bc1..aa49f946 100644 --- a/ex15a +++ b/ex15a @@ -1,4 +1,4 @@ -DATABASE ex15.dat +# must use DATABASE ex15.dat TITLE Example 15.--1D Transport: Kinetic Biodegradation, Cell Growth, and Sorption *********** PLEASE NOTE: This problem requires database file ex15.dat!! @@ -100,7 +100,7 @@ USER_PUNCH 30 punch KIN("CoNta_sorption")/3.75e3 40 punch KIN("Biomass") -end -USER_GRAPH +USER_GRAPH Example 15A -headings 10_cells: Co+2 CoNTA- HNTA-2 pH -chart_title "Example 15" -axis_titles "Time / hours" "umol / kgw" "pH" diff --git a/ex15b b/ex15b index 281639fa..219074e7 100644 --- a/ex15b +++ b/ex15b @@ -1,4 +1,4 @@ -DATABASE ex15.dat +# must use DATABASE ex15.dat TITLE Example 15.--1D Transport: Kinetic Biodegradation, Cell Growth, and Sorption *********** PLEASE NOTE: This problem requires database file ex15.dat!! @@ -116,7 +116,7 @@ TRANSPORT First 20 hours have NTA and cobalt in infilling solution -print_cells 10 -print_frequency 5 -warnings false -USER_GRAPH +USER_GRAPH Example 15B -headings 10_cells: Co+2 CoNTA- Biomass -chart_title "Example 15, Sorbed Species" -axis_titles "Time / hours" "nmol / kgw" "Biomass / (mg/L)" diff --git a/ex17 b/ex17 index eef6be13..87cebef5 100644 --- a/ex17 +++ b/ex17 @@ -1,4 +1,4 @@ -DATABASE ../database/pitzer.dat +#must use DATABASE pitzer.dat TITLE Example 17.--Inverse modeling of Black Sea water evaporation SOLUTION 1 Black Sea water units mg/L diff --git a/ex17b b/ex17b index da980ccf..ab50e5e3 100644 --- a/ex17b +++ b/ex17b @@ -1,4 +1,4 @@ -DATABASE ../database/pitzer.dat +#must use DATABASE pitzer.dat SOLUTION 1 Black Sea water units mg/L density 1.014 diff --git a/ex20a b/ex20a index 171adbbf..3d91ec08 100644 --- a/ex20a +++ b/ex20a @@ -1,4 +1,4 @@ -DATABASE ../database/iso.dat +#must use DATABASE iso.dat TITLE Example 20A.--Calculate carbonate solid solution PRINT -censor_species 1e-006 diff --git a/ex20b b/ex20b index f577ea6c..9fc9687c 100644 --- a/ex20b +++ b/ex20b @@ -1,4 +1,4 @@ -DATABASE ../database/iso.dat +#must use DATABASE iso.dat TITLE Example 20B.--Isotope evolution. PRINT -censor_species 1e-006