I guess one feature that's pretty useful in exodiff is the ability to determine exactly which nodes two solutions differ at, since sometimes it's only a single node.
I'm too lazy to pull out my laptop and do an svn update to see if your code will do that ;) Oh and also the ability to write out a file with the diff solution on the mesh, both relative and absolute, would be good. -- John On Mar 21, 2011, at 9:11 PM, Roy Stogner <[email protected]> wrote: > > Check out src/apps/meshdiff.C then, and we'll see how far away from > "if it'll work" it is. > > Probably should have committed this to svn five years ago. At least > you guys used a pre-existing utility; I know of other people who > wasted their valuable time writing a less robust implementation into > scripts from scratch... > > Let me know if there's anything about the usage that seems cryptic. > Trying to look at it as if from outside eyes, the only thing that > comes to mind is that I should probably be testing for element > continuity and giving the H1/H2 results more accurate descriptions on > DG/C0 spaces. > --- > Roy > > On Mon, 21 Mar 2011, Cody Permann wrote: > >> I like that idea if it'll work - we only use basic functionality ourselves. >> >> On Mar 21, 2011, at 7:25 PM, Roy Stogner wrote: >> >>> >>> I like the idea of having this functionality distributed with the >>> library, but is it something we need a third-party utility for? My >>> personal "meshdiff" app is one source file, 65 lines. I've only >>> used it with Hilbert norms and xda/xdr files, but I have a hard time >>> believing that extending it further would require trigupling the code. >>> I can't even believe triguple is a real word! >>> --- >>> Roy >>> >>> On Mon, 21 Mar 2011, Cody Permann wrote: >>> >>>> I'll add just a bit more info - it's C++ and around 30 source files or so. >>>> It appears to build cleanly with libMesh's configuration. >>>> >>>> On Mar 21, 2011, at 6:26 PM, John Peterson wrote: >>>> >>>>> Hi, >>>>> >>>>> Since exodus-formatted files have come into more common use in the >>>>> library, we were thinking it might be a good idea to distribute the >>>>> exodiff utility program in libmesh's contrib directory. >>>>> >>>>> It's very useful for testing purposes especially, to see by exactly >>>>> how much two solutions differ and where. >>>>> >>>>> It also appears to be fairly easy to build, and the license is not >>>>> very restrictive (see below). The source code is available on >>>>> sourceforge. >>>>> >>>>> If I don't hear any restrictions, I'll add it to contrib this week. >>>>> >>>>> -- >>>>> John >>>>> >>>>> >>>>> >>>>> Copyright(C) 2008 Sandia Corporation. Under the terms of Contract >>>>> DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains >>>>> certain rights in this software >>>>> >>>>> Redistribution and use in source and binary forms, with or without >>>>> modification, are permitted provided that the following conditions are >>>>> met: >>>>> >>>>> * Redistributions of source code must retain the above copyright >>>>> notice, this list of conditions and the following disclaimer. >>>>> >>>>> * Redistributions in binary form must reproduce the above >>>>> copyright notice, this list of conditions and the following >>>>> disclaimer in the documentation and/or other materials provided >>>>> with the distribution. >>>>> >>>>> * Neither the name of Sandia Corporation nor the names of its >>>>> contributors may be used to endorse or promote products derived >>>>> from this software without specific prior written permission. >>>>> >>>>> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS >>>>> "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT >>>>> LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR >>>>> A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT >>>>> OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, >>>>> SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT >>>>> LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, >>>>> DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY >>>>> THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT >>>>> (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE >>>>> OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Enable your software for Intel(R) Active Management Technology to meet the >>>>> growing manageability and security demands of your customers. Businesses >>>>> are taking advantage of Intel(R) vPro (TM) technology - will your software >>>>> be a part of the solution? Download the Intel(R) Manageability Checker >>>>> today! http://p.sf.net/sfu/intel-dev2devmar >>>>> _______________________________________________ >>>>> Libmesh-devel mailing list >>>>> [email protected] >>>>> https://lists.sourceforge.net/lists/listinfo/libmesh-devel >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Enable your software for Intel(R) Active Management Technology to meet the >>>> growing manageability and security demands of your customers. Businesses >>>> are taking advantage of Intel(R) vPro (TM) technology - will your software >>>> be a part of the solution? Download the Intel(R) Manageability Checker >>>> today! http://p.sf.net/sfu/intel-dev2devmar >>>> _______________________________________________ >>>> Libmesh-devel mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/libmesh-devel >>>> >> >> ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Libmesh-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-devel
