On Sat, 8 Dec 2012, 蔡园武 wrote:
I found that all examples used DenseSubMatrix to assemble stiffness matrix,
something like Kuu,Kuv,Kvu,Kvv. I used to do like that, but recently I
tried to assemble Ke directly, not using DenseSubMatrix, and I found the
result is the same as using DenseSubMatrix. So why all examples use
DenseSubMatrix to assemble Ke? Is it a consideration of efficiency or
something else?
Just ease of use and flexibility. I wouldn't expect DenseSubMatrix to
be any more (or less!) efficient than doing the local-variable to
local-total element index tranforms by hand.
---
Roy
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users