00001 #ifndef ADINA_DAT_IMPORTER_H 00002 #define ADINA_DAT_IMPORTER_H 00003 00004 #include "MeshFileImporter.h" 00005 00006 namespace MeshRead 00007 { 00008 00009 class AdinaDatImporter : 00010 public MeshRead::MeshFileImporter 00011 { 00012 public: 00013 AdinaDatImporter(const std::string & file_name); 00014 ~AdinaDatImporter(void); 00015 00018 bool Init(const std::string & file_name) ; 00019 00022 //void Free(); 00023 00026 int GetCoordinatesDimension() const ; 00027 00030 int GetVerticesCount() ; 00031 00035 bool GetNextVertex(double coords[]) ; 00036 00039 int GetElementCount() ; 00040 00046 bool GetNextElement(int vertices[], int neighbours[]) ; 00047 00054 bool GetBoundaryConditions(double ** bc, int & bcCount) ; 00055 }; 00056 00057 }// namespace 00058 00059 #endif //ADINA_DAT_IMPORTER_H