[Libmesh-devel] calculate_norm()

2010-06-18 Thread Tim Kroeger
Dear all, I found two issues in System::calculate_norm() that are very misleading, see attached patch. This is: 1. If all weights of a norm are 1 and all types are discrete but different (e.g. DISCRETE_L1 for var #0 and DISCRETE_L2 for var #1), the wrong thing is done. 2. Talking about th

Re: [Libmesh-devel] calculate_norm()

2010-06-18 Thread Roy Stogner
On Fri, 18 Jun 2010, Tim Kroeger wrote: > 2. Talking about the non-discrete norms, no other norms than L2, H1, H2, and > H1_SEMINORM are implemented, and the others (for instance L1 and L_INF) just > silently return 0. I added a call to libmesh_not_implemented() for this > case. I think I pu

Re: [Libmesh-devel] calculate_norm()

2010-06-18 Thread Tim Kroeger
On Fri, 18 Jun 2010, Roy Stogner wrote: > On Fri, 18 Jun 2010, Tim Kroeger wrote: > >> 2. Talking about the non-discrete norms, no other norms than L2, H1, H2, >> and H1_SEMINORM are implemented, and the others (for instance L1 and L_INF) >> just silently return 0. I added a call to libmesh_not