Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

print_mesh.C

Go to the documentation of this file.
00001 /**********************************************************************
00002  * print_mesh.C:
00003  **********************************************************************/
00004 #include "std/config.H"
00005 #include "mi.H"
00006 
00007 int 
00008 main(int argc, char *argv[])
00009 {
00010    if (argc != 1) {
00011       err_msg("Usage: %s < input.sm", argv[0]);
00012       return 1;
00013    }
00014 
00015    BMESHptr mesh = BMESH::read_jot_stream(cin);
00016    if (!mesh || mesh->empty())
00017       return 1; // didn't work
00018    mesh->print();
00019 
00020    return 0;
00021 }

Generated on Mon Sep 18 11:39:33 2006 for jot by  doxygen 1.4.4