Skip to content
Snippets Groups Projects
Commit acb4da14 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

print_context

parent 2f46aea1
No related branches found
No related tags found
No related merge requests found
/* $Id: Print_Geo.cpp,v 1.6 2000-11-26 15:43:45 geuzaine Exp $ */
/* $Id: Print_Geo.cpp,v 1.7 2000-12-05 15:47:04 geuzaine Exp $ */
#include "Gmsh.h"
#include "Geo.h"
#include "Mesh.h"
#include "Vertex.h"
#include "CAD.h"
#include "Context.h"
FILE *FOUT;
......@@ -172,6 +173,7 @@ void Print_Geo(Mesh *M, char *filename){
else
FOUT = stdout;
Print_Context(FOUT);
Tree_Action(M->Points,Print_Point);
Tree_Action(M->Curves,Print_Curve);
Tree_Action(M->Surfaces,Print_Surface);
......
/* $Id: Main.cpp,v 1.16 2000-12-05 15:23:58 geuzaine Exp $ */
/* $Id: Main.cpp,v 1.17 2000-12-05 15:47:07 geuzaine Exp $ */
#include <signal.h>
......@@ -581,10 +581,8 @@ int main(int argc, char *argv[]){
mai3d(THEM, CTX.interactive);
Print_Mesh(THEM,NULL,CTX.mesh.format);
}
else{
Print_Context(stdout);
else
Print_Geo(THEM, NULL);
}
exit(1);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment