Skip to content

Commit 8e73154

Browse files
committed
further clean up
1 parent 792fd85 commit 8e73154

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/data_assimilation/f_En4DVar.m

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@
146146

147147
% guess for parameters
148148

149-
%NT = 500; %400 % Ammount of nodes inside the bubble (>=500 is a good to start)
150-
%NTM = 500; %20 % Ammount of nodes outside the bubble (>=10 is a good to start)
149+
%NT = 500; %400 % amount of nodes inside the bubble (>=500 is a good to start)
150+
%NTM = 500; %20 % amount of nodes outside the bubble (>=10 is a good to start)
151151
%Pext_type = 'IC'; % Type of external forcing. Refer to RP_Cav
152152

153153
% find Req and calculate initial partial pressure needed parameters
@@ -187,7 +187,7 @@
187187
D_Matrix_Tm DD_Matrix_Tm x0_true N
188188
%}
189189
%***************************************
190-
% Extract viscoelastic parameters from stuct
190+
% Extract viscoelastic parameters from struct
191191
G = visco_params.G;
192192
G1 = visco_params.G1;
193193
mu = visco_params.mu;
@@ -298,12 +298,12 @@
298298
w_star = Pext_Amp_Freq(3)*t0;
299299
end
300300

301-
% Need to modify intial conditions for the Out-of-Equilibrium Rayleigh
302-
% Collpase:
301+
% Need to modify initial conditions for the Out-of-Equilibrium Rayleigh
302+
% Collapse:
303303
if strcmp(Pext_type,'IC')
304304
Pv = Pvsat(1*T_inf)/P_inf;
305305
P0_star = Pext_Amp_Freq(1)/P_inf + Cgrad*Pvsat(1*T_inf)/P_inf;
306-
% Need to recalculate intital concentration
306+
% Need to recalculate initial concentration
307307
theta = Rv_star/Ra_star*(P0_star-Pv)/Pv; % mass air / mass vapor
308308
C0 = 1/(1+theta);
309309

@@ -314,7 +314,7 @@
314314
REq = Req;
315315
%REq = 1; %removed 6/15/16 by Jon
316316
C0 = C0*ones(1,NT);
317-
%U0_star = -1*(1-P0_star)/(C_star); %Intitial velocity due to shockwave
317+
%U0_star = -1*(1-P0_star)/(C_star); %Initial velocity due to shockwave
318318
U0_star = 0;
319319

320320
if sls == 1 || linkv == 1

src/data_assimilation/f_new.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
xf(3) = log(xf(3));
9191

9292
% Nested function; ODE Solver calls to march governing equations in time
93-
% This function has acess to all parameters above
93+
% This function has access to all parameters above
9494

9595
function dxdt = bubble(t,x)
9696
% Break x vector into indv. values
@@ -531,10 +531,10 @@
531531
end
532532
%*************************************************************************
533533

534-
% Other nested functions used to carry out repetetive calculations
534+
% Other nested functions used to carry out repetitive calculations
535535
% throughout the code
536536
function Tw = TW(Tauw)
537-
%calculates the temperature at the bubble wall as a fuction of \tau
537+
%calculates the temperature at the bubble wall as a function of \tau
538538
Tw = (A_star -1 + sqrt(1+2*Tauw*A_star)) / A_star;
539539
end
540540

0 commit comments

Comments
 (0)