Skip to content

Commit 2f8fdc1

Browse files
ElyesAhmedFrancescaWatson
authored andcommitted
cleanup
1 parent dd3440c commit 2f8fdc1

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

autodiff/ad-core/models/facilities/separators/EOSSeparator.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
if useAD
4545
[x, y, L] = eos.getPhaseFractionAsADI(state, p, temp, z);
4646
acf = eos.CompositionalMixture.acentricFactors;
47-
47+
4848
% if Soreide-Whitson EoS we treat differently mixing
4949
% parameters
5050
if (model.eosType==6)

autodiff/ad-props/imposeRelpermScaling.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ This file is part of The MATLAB Reservoir Simulation Toolbox (MRST).
116116
end
117117
end
118118
if (~model.oil || isfield(fluid, 'krOW')) && ...
119-
(~model.gas || isfield(fluid, 'krWG'))
120-
fluid = rmfield(fluid, 'krW');
119+
(~model.gas || isfield(fluid, 'krWG'))
120+
fluid = rmfield(fluid, 'krW');
121121
else
122122
warning('Scaling of ''krW''-function ignored');
123123
end

autodiff/compositional/utils/validateCompositionalForces.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ This file is part of The MATLAB Reservoir Simulation Toolbox (MRST).
3737
Z = eos.getMassFraction(z);
3838
n = size(z, 1);
3939
[L, x, y, Z_L, Z_V, rhoL, rhoV] = standaloneFlash(repmat(p, n, 1), repmat(T, n, 1), z, eos);
40-
40+
4141
if strcmp(model.EOSModel.shortname,'sw')
4242
% For Søreide-Whitson EoS
4343
for i = 1:numel(wellIndices)

modules/biochemistry/examples/exampleBlackoilVsCompositional.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This file is part of The MATLAB Reservoir Simulation Toolbox (MRST).
3030

3131
clearvars; clc;
3232
mrstModule add ad-blackoil ad-core ad-props mrst-gui deckformat
33-
mrstModule add compositional add-autodiff biochemistry h2store
33+
mrstModule add compositional biochemistry h2store
3434

3535
%% ============ PART 1: BLACK-OIL MODEL (Original Script) =====================
3636
fprintf('=== Setting up Black-Oil Model ===\n');

modules/biochemistry/examples/exampleCompositionalBacterial2D.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
clearvars;
2323
mrstModule add ad-core ad-blackoil ad-props deckformat mrst-gui upr test-suite spe10
24-
mrstModule add compositional add-autodiff biochemistry h2store
24+
mrstModule add compositional biochemistry h2store
2525
%% Define case identifiers and Eclipse deck
2626
baseName = 'H2_STORAGE_DOME_TRAP';
2727
dataPath = getDatasetPath('h2storage');

modules/biochemistry/examples/simple1DBacterialExample.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
% ===========================================================================
2222

2323
mrstModule add ad-core ad-props deckformat mrst-gui
24-
mrstModule add compositional add-autodiff biochemistry
24+
mrstModule add compositional biochemistry
2525
mrstVerbose off;
2626

2727
%% Setup base compositional model

0 commit comments

Comments
 (0)