Might want to make this a real error and not an assert…. this isn't in a performance critical section….
Derek On May 16, 2012, at 11:00 AM, Roy Stogner wrote: > > On Wed, 16 May 2012, Roy Stogner wrote: > >> Hmm... indeed, it looks like all_second_order() is only implemented >> for "flat" meshes but doesn't even contain a libmesh_assert() testing >> for refinement. I don't have time to implement a >> refinement-compatible all_second_order() right now, but I can at least >> add that assert(). > > No, wait, there already is such an assert, at mesh_modification.C:513. > > In that case I can add a second bit of advice: when running a libMesh > program and seeing something unexpected (or just when running a new > program for the first time), use a METHOD=devel or METHOD=dbg > configuration to make sure all those asserts get tested. An assertion > failure is usually easier to debug than a questionably large error > estimator result. > --- > Roy > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Libmesh-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/libmesh-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
