00001 // cabecera para la funcion g2f.cpp : g2f.h 00002 // funcines auxiliares de g2f() 00003 #ifndef G2F_H 00004 #define G2F_H 00005 #include <fstream> 00006 00007 using std::ofstream; 00008 using std::ifstream; 00009 00011 00045 class G2f { // gmsh to fem 00046 00047 public: 00048 00050 00053 G2f( const char*, const char* ); // default constructor 00054 00055 void getOrder(short unsigned = 16); // default float precision 16 00056 private: 00057 ifstream fileIn; 00058 ofstream fileNode, 00059 fileEdge, 00060 fileEle, 00061 fileNodef, 00062 fileData; 00063 unsigned N_N, 00064 N_E; 00065 }; // fin de la clase G2f 00066 00067 #endif