Dr. Heister,

I am really a beginner of deal ii, thank you very much for pointing this
out for me.

Btw, on my second question, is it possible to do a loop operation over each
nodes and find their surrounding elements?

Have a good weekend!

Xujun

On Sat, Aug 18, 2012 at 11:56 AM, Timo Heister <[email protected]>wrote:

> Dear Xujun,
>
> > 3. If I assembled two sets of global matrix, say, [ A ], [ B ] and rhs
> {f},
> > respectively
> > [ A ]*{u} + [ B ]*{a} = {f}
> > [ B ]_T *{a} = {g}
> > how can I combine them as a big matrix K ? for example,
> > K = [  A  B ]
> >       [  BT 0 ]
> > F = {f}
> >       {g}
>
> take a look at BlockMatrix etc. explained in step-20:
> http://www.dealii.org/developer/doxygen/deal.II/step_20.html
> You would create a BlockMatrix first and each entry in that
> BlockMatrix is a normal SparseMatrix that you could fill separately
> (or at once as described in the tutorial).
>
> --
> Timo Heister
> http://www.math.tamu.edu/~heister/
>



-- 
PhD Candidate
Department of Mechanical Engineering
Northwestern University
Evanston, IL, United States
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to