________________________________ From: Wolfgang Bangerth <[email protected]> To: [email protected] Cc: Pietro Maximoff <[email protected]> Sent: Wednesday, July 29, 2009 4:33:38 AM Subject: Re: [deal.II] 1D Problems > Is there any tutorial floating about on how to use deal.ii to solve 1D > problems. I've just started to learn deal.ii and I'd like to test it > out on some 1D problems. > > I have had a look at Step-15 but at this point it's too complicated (it > is the 15th Step) plus it's tangled with other stuff. Any help is > appreciated. 1d is really no different than 2d, pretty much all the code that we show in the tutorial would compile equally well for 1d. The only thing that is a bit different is the handling of boundary indicators: in 2d and 3d you can ask a face (i.e. a line or a quad) what part of the boundary it is on, but you can't ask a node that in 1d. There, by default the leftmost node has indicator zero, and the rightmost one indicator one. That is pretty much the only difference of any significance. W. You're right, I forgot to scale the right-hand-side appropriately. Thanks. I'll check out step-5 as well. Ted P.S: Apologies for the double post but posting from here as for some reason my other email keeps getting rejected.
_______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
