preprocessor.m

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

M
18
字号
function  [K,f,d] = preprocessor;
include_flags;

% input file to include all variables 
  input_file_example2_2;
%  input_file_example2_8;

% Generate LM array 

for e = 1:nel
    for j = 1:nen
        for m = 1:ndof
            ind = (j-1)*ndof + m;
            LM(ind,e) = ndof*IEN(j,e) - ndof + m;
        end
    end
end

⌨️ 快捷键说明

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