Skip to content
Snippets Groups Projects
  1. Jan 20, 2008
  2. Jan 19, 2008
    • Christophe Geuzaine's avatar
      · c6c11d66
      Christophe Geuzaine authored
      more work on header pollution
      c6c11d66
    • Christophe Geuzaine's avatar
      · 0db6fda9
      Christophe Geuzaine authored
      More header cleanups in preparation for embedding.
      
      We now have a self-consistent API for the model foundation classes:
      installing the following header files in a separate directory
      
      gmsh/
       GEdge.h -> ../Geo/GEdge.h
       GEdgeLoop.h -> ../Geo/GEdgeLoop.h
       GEntity.h -> ../Geo/GEntity.h
       GFace.h -> ../Geo/GFace.h
       GModel.h -> ../Geo/GModel.h
       GPoint.h -> ../Geo/GPoint.h
       GRegion.h -> ../Geo/GRegion.h
       GVertex.h -> ../Geo/GVertex.h
       GmshDefines.h -> ../Common/GmshDefines.h
       MEdge.h -> ../Geo/MEdge.h
       MElement.h -> ../Geo/MElement.h
       MFace.h -> ../Geo/MFace.h
       MVertex.h -> ../Geo/MVertex.h
       Pair.h -> ../Geo/Pair.h
       Range.h -> ../Geo/Range.h
       SBoundingBox3d.h -> ../Geo/SBoundingBox3d.h
       SPoint2.h -> ../Geo/SPoint2.h
       SPoint3.h -> ../Geo/SPoint3.h
       SVector3.h -> ../Geo/SVector3.h
      
      and compiling a single "libGmsh.a" lib with "make embed" we can link
      a test.cpp program like this
      
      #include <gmsh/GModel.h>
      
      int main(int argc, char **argv)
      {
        if(argc > 1){
          GModel *m = new GModel();
          m->readMSH(argv[1]);
          m->writeMSH("out.msh");
        }
      }
      
      with
      
      g++ test.cpp -lGmsh -lgsl -lgslcblas
      0db6fda9
    • Christophe Geuzaine's avatar
      · a86ef74c
      Christophe Geuzaine authored
      start reducing header pollution (removed Gmsh.h + cleaned up GModel & co)
      a86ef74c
    • Christophe Geuzaine's avatar
      *** empty log message *** · 50ac2afe
      Christophe Geuzaine authored
      50ac2afe
    • Christophe Geuzaine's avatar
      *** empty log message *** · ad8faddf
      Christophe Geuzaine authored
      ad8faddf
    • Christophe Geuzaine's avatar
      · 5b2534df
      Christophe Geuzaine authored
      simplify Visual C++ stuff: removed hacks from configure and created
      template "variables" file (so that building with msvc only requires
      gnu make)
      5b2534df
    • Christophe Geuzaine's avatar
      *** empty log message *** · 827a03eb
      Christophe Geuzaine authored
      827a03eb
    • Christophe Geuzaine's avatar
      *** empty log message *** · 6e1276f1
      Christophe Geuzaine authored
      6e1276f1
    • Christophe Geuzaine's avatar
      more for vc++ · b977521d
      Christophe Geuzaine authored
      b977521d
    • Christophe Geuzaine's avatar
      vc++ fix · 434b6e1b
      Christophe Geuzaine authored
      434b6e1b
    • Christophe Geuzaine's avatar
      vc++ fix · a4239591
      Christophe Geuzaine authored
      a4239591
  3. Jan 18, 2008
  4. Jan 17, 2008
  5. Jan 16, 2008
  6. Jan 15, 2008
Loading