On Fri, 11 Jun 2010, Yujie wrote:
> Thanks, Roy.
>
> You mean like
> std::vector<DenseSubMatrix<Number>* > subA1(N);
Yes
> for i: 1: N
> {
> tempA1(A(i));
> subA1[i]=&tempA1;
> }?
No
http://en.wikipedia.org/wiki/Dangling_pointer
---
Roy
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users