output.m
来自「别人的边界元程序」· M 代码 · 共 26 行
M
26 行
function zx=output()
%% output the calculated data from these equations
global tkt tqt
global nodbs
global l sol
%%
fidw=fopen('bem3.out','a');
fprintf(fidw,'******results of the boundary nodes****** ')
fprintf(fidw,'\n');
for nj=1:nodbs
fprintf(fidw,'%4i %4.4e %4.4e \n',nj, tkt(nj),tqt(nj));
end
fprintf(fidw,'******results of the inner nodes****** ')
fprintf(fidw,'\n');
for nj=1:l
fprintf(fidw,'%4i %4.4e',nj, sol(nj));
end
%%
zx=1;
fclose(fidw);
return
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?