Skip to content

Commit 3c53d97

Browse files
committed
spell check and file rename
1 parent 77878c2 commit 3c53d97

File tree

8 files changed

+10
-12
lines changed

8 files changed

+10
-12
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,8 +494,8 @@
494494
end
495495

496496
% concentration at the bubble wall
497-
function kv_w = f_kv_of_T(Tw,pres)
498-
theta_var = Rvg_ratio*(pres./(f_pvsat(Tw*T8)/P8)-1);
497+
function kv_w = f_kv_of_T(Tw,pressure)
498+
theta_var = Rvg_ratio*(pressure./(f_pvsat(Tw*T8)/P8)-1);
499499
kv_w = 1./(1+theta_var);
500500
end
501501

toolchain/s_generate_compatibility.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@
116116
'alphax',P.alphax, ...
117117
'lambda1',P.lambda1,...
118118
'stress',P.stress};
119-
[~, Rf] = m_imr_fd(args{:}, 'Nt', 70, 'Mt', 70);
120-
[~, Rs] = m_imr_spectral(args{:}, 'Nt', 12, 'Mt', 12);
119+
[~, Rf] = f_imr_fd(args{:}, 'Nt', 70, 'Mt', 70);
120+
[~, Rs] = f_imr_spectral(args{:}, 'Nt', 12, 'Mt', 12);
121121
end
122122

123123
function f_savefile_fd(filename, data)

toolchain/s_generate_masstransfer.m

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@
6767
'masstrans', masstrans};
6868

6969
futures(idx_mass) = parfeval(@f_imr_fd_wrapper, 1, varin);
70-
% Rm = m_imr_fd_wrapper(varin);
71-
% savefile_fd(filenames_mass{idx_mass}, Rm);
7270
end
7371

7472
% save results in the correct order
@@ -84,7 +82,7 @@
8482
function Rm = f_imr_fd_wrapper(varin)
8583
% fixed RNG seed
8684
rng(12345, 'twister');
87-
[~, Rm] = m_imr_fd(varin{:}, 'Nt', 30, 'Mt', 70);
85+
[~, Rm] = f_imr_fd(varin{:}, 'Nt', 30, 'Mt', 70);
8886
end
8987

9088

toolchain/s_test_suite_compatibility.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969
filename1 = strcat('../tests/',ids{count+0},'.mat');
7070
load(filename1);
71-
[~,Rf_test] = m_imr_fd(varin{:},'Nt',70,'Mt',70);
71+
[~,Rf_test] = f_imr_fd(varin{:},'Nt',70,'Mt',70);
7272
errors_fd(count) = norm(abs(Rf./Rf_test - 1),2);
7373
fprintf('Finite test %d: L2 norm error = %.6e\n', count, errors_fd(count));
7474
if (errors_fd(count) > threshold)
@@ -77,7 +77,7 @@
7777

7878
filename2 = strcat('../tests/',ids{count+num_tests},'.mat');
7979
load(filename2);
80-
[~,Rs_test] = m_imr_spectral(varin{:},'Nt',12,'Mt',12);
80+
[~,Rs_test] = f_imr_spectral(varin{:},'Nt',12,'Mt',12);
8181
errors_sp(count) = norm(abs(Rs./Rs_test - 1),2);
8282
fprintf('Spectral test %d: L2 norm error = %.6e\n', count, errors_sp(count));
8383
if (errors_sp(count) > threshold)

toolchain/s_test_suite_equilibrium.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
'Req',Req,...
4848
'R0',R0,...
4949
't8',T8};
50-
[~,Rf_test] = m_imr_fd(varin{:},'Nt',150,'Mt',150);
51-
[~,Rs_test] = m_imr_spectral(varin{:},'Nt',12,'Mt',12);
50+
[~,Rf_test] = f_imr_fd(varin{:},'Nt',150,'Mt',150);
51+
[~,Rs_test] = f_imr_spectral(varin{:},'Nt',12,'Mt',12);
5252
errors_fd(count) = abs(norm(Rf_test,2)/10-1);
5353
errors_sp(count) = abs(norm(Rs_test,2)/10-1);
5454
fprintf('Test %d: L2 norm error = %.6e\n', count, errors_fd(count));

toolchain/s_test_suite_masstrans.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
'r0',R0,...
5959
'req',Req,...
6060
'masstrans',masstrans};
61-
[~,Rm_test] = m_imr_fd(varin{:},'Nt',30,'Mt',70);
61+
[~,Rm_test] = f_imr_fd(varin{:},'Nt',30,'Mt',70);
6262
errors_fd(count) = norm(abs(Rm./Rm_test - 1),2);
6363
fprintf('Test %d: L2 norm error = %.6e\n', count, errors_fd(count));
6464
if (errors_fd(count) > threshold)

0 commit comments

Comments
 (0)