How can I adjust the tolerance parameter for pdeadgsc from adaptmesh?
1 次查看(过去 30 天)
显示 更早的评论
I am trying to use adaptmesh to solve an elliptic PDE, and I would like to use pdeadgsc as the triangle selection method. Here is an example of code:
[u,p,e,t] = adaptmesh(g,pdem,c,a,f,'Mesh',p1,e1,t1,'Tripick','pdeadgsc')
I pass an initial mesh to the function for refinement. But when I run the code, it does not refine the mesh. It just stops immediately and says "adaption completed." When I use pdeadworst, it refines the mesh as intended.
How can I set the tolerance parameter that is used in pdeadgsc?
0 个评论
回答(1 个)
Alan Weiss
2015-10-19
If I am not mistaken, you can set the 'Par' name-value pair to something less than 0.5 to have the effect you want.
Alan Weiss
MATLAB mathematical toolbox documentation
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Geometry and Mesh 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!