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