clear;clc;clear all;
% profile on
Oa=[0 0 0];
Ra=[0 0 0];
mp=Build_testCube();
profile on
top_func(mp);
profile viewer      

%

% for i=1
% 
%     st=CSG("STL",[pwd,'/SolidWoks Files/Piston_tmp/piston_t',num2str(i),'.STL']);
%     mp.c.modify_node_by_tag_A_argname('init','V',st.rootH.V);
%     mp.c.modify_node_by_tag_A_argname('init','F',st.rootH.F);
%     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,'fixedNeu','iscontrast','isrecord');
% end
% profile viewer

%

% save_file_name='NNew_Data/Piston_tmp/Piston_tmp_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
