Skip to content
Snippets Groups Projects
  1. Jan 30, 2009
    • Christophe Geuzaine's avatar
      52884f9b
    • Christophe Geuzaine's avatar
      · 676a4194
      Christophe Geuzaine authored
      moved all string options to std::string
      
      *****************************************************************
      WARNING: this has the potential to break things in subtle ways...
               PLEASE TEST AND REPORT ANY WEIRDNESSES
      *****************************************************************
      676a4194
  2. Jan 08, 2009
    • Christophe Geuzaine's avatar
      ./configure now creates Common/GmshConfig.h, which contains all the · e6055ddb
      Christophe Geuzaine authored
      HAVE_XXX defines.
      
      This fixes three longstanding problems:
      
      - the API was hard to use because some headers had HAVE_XXX ifdefs, so
        that cient codes had to know how the lib was compiled to compile
        themselves
      
      - we had to do make clean after each ./configure, which erased too
        much (e.g. most of contrib)
      
      - make depend could include unwanted stuff since it redefined FLAGS
      e6055ddb
  3. Jan 07, 2009
  4. Jan 04, 2009
  5. Dec 29, 2008
    • Christophe Geuzaine's avatar
      - (c) update · 0b598844
      Christophe Geuzaine authored
      - fix bb computation to avoid model jumping around when adding points in z=0 plane
      - pass interpol matrices as ref
      0b598844
  6. Dec 07, 2008
  7. Dec 01, 2008
  8. Nov 28, 2008
  9. Nov 27, 2008
  10. Nov 21, 2008
  11. Nov 14, 2008
  12. Aug 28, 2008
  13. Aug 20, 2008
  14. Aug 15, 2008
  15. Aug 11, 2008
  16. Jul 11, 2008
  17. Jul 03, 2008
    • Christophe Geuzaine's avatar
      improved error handling for libGmsh: · 252c55a6
      Christophe Geuzaine authored
      - removed every "throw;", i.e., every throw that did not throw an actual exception.
        throw wihout args should ONLY be used in a catch{} to re-throw the same exception
        (for it to be handled in another catch clause)
      
      - introduced GmshMessage callback class so that clients can easily implement
        their own message handling (see example in driverOCC.cpp)
      252c55a6
  18. Jun 05, 2008
  19. May 06, 2008
  20. May 04, 2008
    • Christophe Geuzaine's avatar
      * replaced old Msg function with message class inspired from what we · 26ff0c6f
      Christophe Geuzaine authored
        did in high
      * added mesh generation error log summary
      * removed Parallel subdir (this is now handled by the message class)
      * removed Box subdir and consolidated batch processing in a single
        routine
      * made List_T into a class
      * reduced dependencies in Pview*.h so we can eventually add the post-pro
        interface to the public API
      26ff0c6f
  21. Apr 30, 2008
  22. Apr 28, 2008
  23. Apr 17, 2008
  24. Mar 20, 2008
  25. Mar 11, 2008
    • Christophe Geuzaine's avatar
      · 9139fe13
      Christophe Geuzaine authored
      - new GmshInitialize(argc, argv) and GmshFinalize() for library version,
        now also used throughout
      
      - GModel::mesh(dimension)
      
      We now have a simple API to do basic stuff. We'll interface more as we go (optimize, adapt, etc.).
      
      #include <stdio.h>
      #include <gmsh/Gmsh.h>
      #include <gmsh/GModel.h>
      #include <gmsh/MElement.h>
      
      int main(int argc, char **argv)
      {
        GmshInitialize(argc, argv);
        GModel *m = new GModel();
        m->readGEO("./tutorial/t5.geo");
        m->mesh(3);
        for(GModel::riter it = m->firstRegion(); it != m->lastRegion(); ++it){
          printf("volume %d contains %d elements:\n", (*it)->tag(), (*it)->getNumMeshElements());
          for(unsigned int i = 0; i < (*it)->getNumMeshElements(); i++)
            printf(" %d", (*it)->getMeshElement(i)->getNum());
          printf("\n");
        }
        m->writeMSH("test.msh");
        m->writeUNV("test.unv");
        GmshFinalize();
      }
      9139fe13
  26. Feb 24, 2008
    • Christophe Geuzaine's avatar
      · 3b3fb9d0
      Christophe Geuzaine authored
      introduce notion of entities in PViewData (in prepa for gmodel stuff)
      3b3fb9d0
  27. Feb 20, 2008
  28. Feb 17, 2008
  29. Feb 05, 2008
  30. Jan 28, 2008
  31. Jan 25, 2008
  32. Jan 19, 2008
    • Christophe Geuzaine's avatar
      · a86ef74c
      Christophe Geuzaine authored
      start reducing header pollution (removed Gmsh.h + cleaned up GModel & co)
      a86ef74c
  33. Dec 03, 2007
  34. Nov 28, 2007
Loading