Skip to content
Snippets Groups Projects
  1. Jan 21, 2012
  2. Mar 26, 2011
  3. Feb 10, 2010
  4. Jun 27, 2009
  5. 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
  6. 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
  7. Jul 11, 2008
  8. May 14, 2008
  9. 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
  10. Jan 21, 2008
    • Christophe Geuzaine's avatar
      · 904af370
      Christophe Geuzaine authored
      API cleanup: FVertex, FEdge, etc. -> fourierVertex, fourierEdge, etc.
      904af370
  11. Aug 07, 2007
  12. May 24, 2007
  13. May 10, 2007
Loading