tRemove fluid-pressure argument to max_depth program and clean short option str… | |
git clone git://src.adamsgaard.dk/cngf-pf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit f0c5149085e991fa6b9404c0e783b2560abde557 | |
parent 5f8ea100a1423e8c69f5d8b1a9d2040d1c54d9e0 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 16 Jan 2020 21:01:54 +0100 | |
Remove fluid-pressure argument to max_depth program and clean short option stri… | |
Diffstat: | |
M max_depth_simple_shear.c | 8 +------- | |
1 file changed, 1 insertion(+), 7 deletions(-) | |
--- | |
diff --git a/max_depth_simple_shear.c b/max_depth_simple_shear.c | |
t@@ -41,7 +41,6 @@ usage(void) | |
" -i, --fluid-viscosity VAL fluid viscosity [Pa*s] (defa… | |
" -R, --fluid-density VAL fluid density [kg/m^3] (defa… | |
" -k, --fluid-permeability VAL fluid intrinsic permeability… | |
- " -O, --fluid-pressure-top VAL fluid pressure at +z edge [P… | |
" -a, --fluid-pressure-ampl VAL amplitude of pressure variat… | |
" -q, --fluid-pressure-freq VAL frequency of sinusoidal pres… | |
" (default %g)\n" | |
t@@ -57,7 +56,6 @@ usage(void) | |
sim.mu_f, | |
sim.rho_f, | |
sim.k[0], | |
- sim.p_f_top, | |
sim.p_f_mod_ampl, | |
sim.p_f_mod_freq); | |
free(sim.phi); | |
t@@ -201,7 +199,7 @@ main(int argc, char* argv[]) | |
/* load with default values */ | |
sim = init_sim(); | |
- optstring = "hvNn:G:P:m:s:l:V:A:b:f:C:Fp:d:r:o:L:c:i:R:k:O:a:q:H:T:S:t… | |
+ optstring = "hvG:p:r:c:i:R:k:a:q:"; | |
const struct option longopts[] = { | |
{"help", no_argument, NULL, 'h'}, | |
{"version", no_argument, NULL, 'v'}, | |
t@@ -212,7 +210,6 @@ main(int argc, char* argv[]) | |
{"fluid-viscosity", required_argument, NULL, 'i'}, | |
{"fluid-density", required_argument, NULL, 'R'}, | |
{"fluid-permeability", required_argument, NULL, 'k'}, | |
- {"fluid-pressure-top", required_argument, NULL, 'O'}, | |
{"fluid-pressure-ampl", required_argument, NULL, 'a'}, | |
{"fluid-pressure-freq", required_argument, NULL, 'q'}, | |
{NULL, 0, NULL, 0} | |
t@@ -257,9 +254,6 @@ main(int argc, char* argv[]) | |
case 'k': | |
new_k = atof(optarg); | |
break; | |
- case 'O': | |
- sim.p_f_top = atof(optarg); | |
- break; | |
case 'a': | |
sim.p_f_mod_ampl = atof(optarg); | |
break; |