From a1c7b565ee78e32a20d9d4d34b2f74cc4d107998 Mon Sep 17 00:00:00 2001 From: Ivar Stefansson <ist050@uib.no> Date: Wed, 21 Dec 2016 18:21:39 +0100 Subject: [PATCH] Delete EvaluateAllFractures.m --- scripts/EvaluateAllFractures.m | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 scripts/EvaluateAllFractures.m diff --git a/scripts/EvaluateAllFractures.m b/scripts/EvaluateAllFractures.m deleted file mode 100644 index c4d2386..0000000 --- a/scripts/EvaluateAllFractures.m +++ /dev/null @@ -1,32 +0,0 @@ -% Evaluates the norm in each of the fractures and adds the computed values -% to the input file. This file must contain a cell array with fracxandp for -% each of the fractures, see the Description for details on how each -% fracxandp should be constructed. -clear -load geiger_permeable_reference.mat -load anna_reference_lefttoright.mat -% load geiger_blocking_reference.mat -%load Hydrocoin_reference.mat -%coarsefile = 'coarse file.mat'; - -%coarsefile = '../hydrocoin/results/edfm_fractures.mat'; -coarsefile = '../geiger/results/permeable_edfm.mat'; -%coarsefile = '../geiger/results/blocking_edfm.mat'; - -coarsefile = '/home/elle/Dropbox/2015-fractures-comparison/new_case_4/results_bis/edfm_fractures.mat'; - -load(coarsefile) -nfrac = length(fracxandp); -Erel_f_vec = zeros(nfrac,1); -E2_f = zeros(nfrac,1); -dP2_f = zeros(nfrac,1); -FRAC = true; -%% -for i = 1:nfrac - xandp = fracxandp{i}; - - [Erel_f_vec(i),E2_f(i),dP2_f(i)] = LineNormFucntion(xandp,p,t,x,FRAC); -end -Erel_f = sqrt(sum(E2_f)/sum(dP2_f)) -save(coarsefile,'Erel_f','E2_f','dP2_f','-append') - -- GitLab