On Thu, Oct 1, 2009 at 1:46 AM, Petry Stefan <[email protected]> wrote: > Thank you for your help. > > The function Compute_Quadrature_Points evaluates the maximum number of > quadrature points over all elements. This is done because there might be > different types of elements within the mesh. In this example the variable > quadrature_points has the value 4 on return.
If it's the maximum over all elements, then I would be wary of using the following loop for(unsigned int i=0; i<quadrature_points; ++i) for *all* elements, since it will likely be going past the end of an array for elements which have fewer quadrature points... -- John ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
