It seems to be working fine. I saw that elsewhere in assemble_cell_term
function, such variables were initialized to zero. Hence wanted to confirm
it. If the constructor is already doing it, I wouldnt want to duplicate the
zero initialization.

Thanks
praveen

On Wed, Apr 20, 2011 at 7:38 PM, Wolfgang Bangerth
<[email protected]>wrote:

> On Wednesday, April 20, 2011 06:58:44 AM Praveen C wrote:
> > In step-33, the variables Wplus and Wminus are not initialized to zero in
> > assemble_face_term function. The code works though. Can we assume that
> they
> > are automatically initialized to zero ? These are of type
> >
> > Table<2,Sacado::Fad::DFad<double> >
>
> The constructor of the Table class should call the default constructor of
> the
> elements of the table. I would imagine this initialized DFad to zero. Do
> you
> have any evidence to the contrary?
>
> Best
>  W.
>
> -------------------------------------------------------------------------
> Wolfgang Bangerth                email:            [email protected]
>                                 www: http://www.math.tamu.edu/~bangerth/
>
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to