⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 adptivesupg.m

📁 C++编译指导
💻 M
字号:
function [mesh,eta, res, osc]=ADPTIVESUPG(mesh, eps, a1, a2, b, f, g_D)
   mesh=SUPG(mesh, eps, a1, a2, b, f, g_D);
   [eta, res, osc]= estimate(mesh,eps,a1,a2,b,f,0);
for i=1:7
   mesh = bisection(mesh,eta,res,osc,0.5,0.5);
   mesh=SUPG(mesh, eps, a1, a2, b, f, g_D);
   [eta, res, osc]= estimate(mesh,eps,a1,a2,b,f,0);
end   























% subplot(1,2,1)
% hold off
% trisurf(mesh.elem, mesh.node(:,1), mesh.node(:,2), u', ...
%         'FaceColor', 'interp', 'EdgeColor', 'interp');
% view(40,15);
% title('Solution to the Poisson equation', 'FontSize', 14)

%--------------------------------------------------------------------------
% end of function CDFM
%--------------------------------------------------------------------------

⌨️ 快捷键说明

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