From: Derek G. <fri...@gm...> - 2007-03-21 17:04:10
|
If you're going to be finding which element contains the point and then trying to get a value at that point... you really are best off to use MeshFunction. That's pretty much what it was meant to do, and will do a fairly efficient search (well, better than linear in most cases)... But it does come with the caveats that Roy mentioned... Derek On 3/21/07, li pan <li...@ya...> wrote: > I'm using tetrahedron. The variable is displacement. I > interpolate the point displacement in two steps: > first, figure out the element which contains this > point. Second, using linear interpolation > u=3Dshape1*u1+shape2*u2+shape3*u3+shape4*u4. > Shape(number) are the shape functions, u(number) are > the node displacements. > > best > > pan > > > --- Paulo Correia <pco...@ue...> wrote: > > > Hi all, > > > > Is there any function to interpolate the solution on > > a given point (say in an element basis)? > > > > Thank you, > > > > Paulo Correia > > Mathematics Department > > University of =C9vora > > Portugal > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get > > the chance to share your > > opinions on IT & business topics through brief > > surveys-and earn cash > > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > > _______________________________________________ > > Libmesh-users mailing list > > Lib...@li... > > > https://lists.sourceforge.net/lists/listinfo/libmesh-users > > > > > > > > _________________________________________________________________________= ___________ > Need Mail bonding? > Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. > http://answers.yahoo.com/dir/?link=3Dlist&sid=3D396546091 > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share y= our > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Libmesh-users mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libmesh-users > |