資源簡(jiǎn)介
包括Lagrange三角形單元,等參數(shù)單元,以及針對(duì)橢圓方程的幾種自適應(yīng)方法的Matlab源程序。
代碼片段和文件信息
%?AdaptiveExample1
%
%???This?script?illustrates?the?adaptive?solution?of?a?BVP
%???with?a?known?solution.??The?BVP?is
%
%???????????????-lap?u=f?in?Omega
%????????????????????u=0?on?Bndy(Omega)
%
%???where?Omega?is?the?unit?square?and?f?is?chosen?so?that
%???the?exact?solution?is
%
%??????u(xy)=x*y*(1-x)*(1-y)*exp(-1000*((x-0.5)^2+(y-0.117)^2)).
%
%???The?adaptive?routine?Solve?is?invoked.??The?main?user-defined
%???parameters?are?method?(which?chooses?the?error?estimator)
%???and?NtMax?(the?maximum?number?of?triangles?in?the?mesh).
%???The?script?chooses?method=3?(the?element?residual?method)
%???and?NtMax=3000?but?these?choices?can?be?changed?below.
%???This?routine?is?part?of?the?MATLAB?Fem?code?that
%???accompanies?“Understanding?and?Implementing?the?Finite
%???Element?Method“?by?Mark?S.?Gockenbach?(copyright?SIAM?2006).
%?Define?the?solution?its?partial?derivatives?and?the?right-hand
%?side?of?the?PDE:
u=vectorize(inline(‘x*(x-1)*y*(y-1)*exp(-1000*(x-1/2)^2-1000*(y-117/1
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件???????2326??2006-07-17?11:30??femcode\adaptive\AdaptiveExample1.m
?????文件???????1463??2006-07-17?11:29??femcode\adaptive\AdaptiveExample2.m
?????文件??????10918??2006-07-18?13:45??femcode\adaptive\Defineba
?????文件???????1778??2006-07-17?13:34??femcode\adaptive\EJindicator1.m
?????文件???????2842??2006-07-17?13:13??femcode\adaptive\ElementEnergyNormErrs1.m
?????文件???????1332??2006-07-18?13:09??femcode\adaptive\ElementEnergyNorms.m
?????文件???????1669??2006-07-17?13:15??femcode\adaptive\ElementLinfNormErrs1.m
?????文件???????5764??2006-07-17?13:27??femcode\adaptive\ElementResidual1.m
?????文件???????4545??2006-07-17?13:37??femcode\adaptive\ExpResidual1.m
?????文件????????854??2006-07-18?16:18??femcode\adaptive\getAdjacentTriangle.m
?????文件????????925??2006-07-18?16:18??femcode\adaptive\getAdjacentTriangles.m
?????文件???????1042??2006-07-06?12:29??femcode\adaptive\getBubbleVals.m
?????文件????????486??2006-07-18?13:13??femcode\adaptive\getDiameter.m
?????文件????????687??2006-07-18?13:11??femcode\adaptive\getDiameters.m
?????文件????????712??2006-07-18?16:18??femcode\adaptive\getFBndyEdgeNodes.m
?????文件????????834??2006-07-18?16:14??femcode\adaptive\getGrad1.m
?????文件????????580??2006-07-18?16:20??femcode\adaptive\getOppositeVertex.m
?????文件???????1064??2006-07-18?16:23??femcode\adaptive\getOtherEdges.m
?????文件??????11393??2006-07-18?13:38??femcode\adaptive\LocalRefine1.m
?????文件???????1714??2006-07-17?14:05??femcode\adaptive\QuadElementErrEst1.m
?????文件???????1525??2006-07-18?13:18??femcode\adaptive\SelectTris.m
?????文件???????7750??2006-07-17?13:10??femcode\adaptive\Solve.m
?????文件???????3220??2006-07-17?16:50??femcode\adaptive\StiffnessE.m
?????文件???????2766??2009-08-31?10:27??femcode\README.txt
?????文件???????2453??2006-07-19?08:36??femcode\version1\CG.m
?????文件???????2828??2006-07-19?10:27??femcode\version1\CGsing.m
?????文件???????2781??2006-07-19?09:22??femcode\version1\CGSSOR.m
?????文件???????1221??2006-07-06?12:28??femcode\version1\Circlef.m
?????文件????????745??2006-07-06?15:22??femcode\version1\CoarseCircleMeshD1.m
?????文件????????746??2006-07-06?15:23??femcode\version1\CoarseCircleMeshN1.m
............此處省略130個(gè)文件信息
評(píng)論
共有 條評(píng)論