for(k=1;k<parameters.Nt;k++){ for(i=0;i<parameters.Nz-1;i++){ T[i]+=V2tau_coefficients[i]∗(V[i+1]-V[i]); } for(i=1;i<parameters.Nz;i++){ V[i]+=tau2V_coefficient∗(T[i]-T[i-1]); } V[0]=waveform_use.value[k]; waveform_output.value[k]=V[parameters.Nz-1]; } |
プログラム中の変数 Variable in the program |
物理量 Physical quantity |
V[i] | 位置\(z=z_o+i\Delta z\)での速度
\(V(z_o+i\Delta z,t)\)。 The velocity \(V(z_o+i\Delta z,t)\) at a location \(z=z_o+i\Delta z\). |
T[i] | 位置\(z=z_o+(i+1/2)\Delta z\)での応力
\(\tau’(z_o+(i+1/2)\Delta z,t)\)。 The stress \(\tau’(z_o+(i+1/2)\Delta z,t)\) at a location \(z=z_o+(i+1/2)\Delta z\). |
V2tau_coefficients[i] | (\ref{eq.tau.evolution})式に登場する係数
\(\frac{\Delta t}{\Delta z}V_s(z_o+(i+1/2)\Delta z)^2\)。 The coefficient \(\frac{\Delta t}{\Delta z}V_s(z_o+(i+1/2)\Delta z)^2\) which appears in eq. (\ref{eq.tau.evolution}). |
tau2V_coefficient | (\ref{eq.V.evolution})式に登場する係数
\(\frac{\Delta t}{\Delta z}\)。 The coefficient \(\frac{\Delta t}{\Delta z}\) which appears in eq. (\ref{eq.V.evolution}). |
for(i=0;i<parameters.Nz-1;i++){ T[i]+=V2tau_coefficients[i]∗(V[i+1]-V[i]); } |
for(i=1;i<parameters.Nz;i++){ V[i]+=tau2V_coefficient∗(T[i]-T[i-1]); } V[0]=waveform_use.value[k]; |
waveform_output.value[k]=V[parameters.Nz-1]; |