clear;clc;clear all;
Oa=[0 0 0];
Ra=[0 0 0];
% profile on
mp=Build_Lshape();
top_func(mp,1);

for semiI=1:4
    mp.tmphandle.rcH.semi_len=6-semiI;
    the_primitive_handle=mp.c.nodeMap('rc');
    mp.c.setIschangedFlg(the_primitive_handle);
    
    if mp.isrecord
        tic
        mp.fmt.reflash_table();
        mp.recorder.time_maintain_fmt(end+1)=toc;
    else
        mp.fmt.reflash_table();
    end
    
    top_func(mp,semiI+1);

end
% profile viewer

%

mp.saveKe=[];
save_file_name='NNew_Data/Lshape/Lshape_plot_data.mat';
try
    eval_str=['save ',save_file_name,' mp'];
    eval(eval_str);
catch
    eval_str=['save ',save_file_name,' mp -v7.3'];
    eval(eval_str);
end
