postprocessor.m

来自「The Finite Element Method Usign MATLAB.p」· M 代码 · 共 16 行

M
16
字号
% postprocessing function 
function postprocessor(d)
include_flags;


    fprintf(1,'\n         Print stresses at the gauss points \n')
    fprintf(1,'Element\t\t x(gauss1) \t\t x(gauss2) \t\t stress(gauss1) \t\t stress(gauss2)\n')
    fprintf(1,'--------------------------------------------------------------------------------- \n')

    % loop over elements to compute the stress
    for e = 1:nel    
    % compute stresses and displacements for each element    
        disp_and_stress(e,d);             
    end
   

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?