hp2FEM
0.1
|
00001 #ifndef _DISCRETEMODEL_H_ 00002 #define _DISCRETEMODEL_H_ 00003 //============================================================== 00004 // File : DiscreteModel.h 00005 // Generated : 23 May 2011 15:02 00006 // by : Gilberto Luis 00007 // Company : Faculdade de Engenharia Mecānica - UNICAMP 00008 //-------------------------------------------------------------- 00009 // !! Note: This file was generated by Metamill 5.0. 00010 // !! Make changes only inside user blocks. 00011 // !! Full code markers generated. 00012 //============================================================== 00013 00014 //#UBLK-BEG-HEADERH 00015 //============================================================== 00016 // Description : 00017 //-------------------------------------------------------------- 00018 // Author : Gilberto Luis 00019 // Created : 23 May 2011 00020 //-------------------------------------------------------------- 00021 // Change history : 00022 // 23 May 2011 (Gilberto Luis) Initial version generated 00023 // 00024 //============================================================== 00025 //#UBLK-END-HEADERH 00026 00027 00028 #include "Model/Nodes.h" 00029 #include "Model/DOFs.h" 00030 00031 00041 class DiscreteModel 00042 { 00043 //#UBLK-BEG-CLASSDEF mm:4527a72f-f997-11df-9ddc-963be5e4332b 00044 //#UBLK-END-CLASSDEF 00045 00046 public: 00047 00051 // METHOD=mm:149526b2-f99a-11df-9ddd-963be5e4332b 00052 DiscreteModel(); 00053 00057 // METHOD=mm:3c36c18b-f997-11df-9ddc-963be5e4332b 00058 DiscreteModel(char* Title); 00059 00063 // METHOD=mm:ac810f85-0304-11e0-843e-b9717acb62a7 00064 DiscreteModel(DiscreteModel& Instance); 00065 00069 // METHOD=mm:ac8116bf-0304-11e0-843e-b9717acb62a7 00070 ~DiscreteModel(); 00071 00072 // METHOD=mm:d12fea07-3a9c-11e0-87c1-fb85dddc7efb 00073 void operator =(DiscreteModel& Instance); 00074 00078 // METHOD=mm:09cfe0dd-3a9d-11e0-87c1-fb85dddc7efb 00079 operator Nodes&(); 00080 00084 // METHOD=mm:41d7233e-3a9d-11e0-87c1-fb85dddc7efb 00085 operator Nodes* const(); 00086 00090 // METHOD=mm:4e0f9e1d-3a9e-11e0-87c1-fb85dddc7efb 00091 operator DOFs&(); 00092 00096 // METHOD=mm:739cba5d-3a9e-11e0-87c1-fb85dddc7efb 00097 operator DOFs* const(); 00098 00102 // METHOD=mm:96c76357-3a9e-11e0-87c1-fb85dddc7efb 00103 operator MeshTopology&(); 00104 00108 // METHOD=mm:a47cde87-3a9e-11e0-87c1-fb85dddc7efb 00109 operator MeshTopology* const(); 00110 00114 // METHOD=mm:c5ddd5bd-3a9e-11e0-87c1-fb85dddc7efb 00115 operator Equations&(); 00116 00120 // METHOD=mm:bbbbd6ed-3a9e-11e0-87c1-fb85dddc7efb 00121 operator Equations* const(); 00122 00126 // METHOD=mm:d5f5a63d-3a9e-11e0-87c1-fb85dddc7efb 00127 operator FEGroups&(); 00128 00132 // METHOD=mm:e27a0011-3a9e-11e0-87c1-fb85dddc7efb 00133 operator FEGroups* const(); 00134 00138 // METHOD=mm:0b9a90cd-3a9f-11e0-87c1-fb85dddc7efb 00139 operator LoadSets&(); 00140 00144 // METHOD=mm:ffaed977-3a9e-11e0-87c1-fb85dddc7efb 00145 operator LoadSets* const(); 00146 00150 // METHOD=mm:3684e24d-3a9f-11e0-87c1-fb85dddc7efb 00151 operator BoundaryConditions&(); 00152 00156 // METHOD=mm:2d941d4d-3a9f-11e0-87c1-fb85dddc7efb 00157 operator BoundaryConditions* const(); 00158 00162 // METHOD=mm:4bfa00bd-3a9f-11e0-87c1-fb85dddc7efb 00163 operator GeometryMesh&(); 00164 00168 // METHOD=mm:5288963d-3a9f-11e0-87c1-fb85dddc7efb 00169 operator GeometryMesh* const(); 00170 00174 // METHOD=mm:3c36c18c-f997-11df-9ddc-963be5e4332b 00175 void Save(FILE* File); 00176 00180 // METHOD=mm:3c36c18d-f997-11df-9ddc-963be5e4332b 00181 void Save(char* Tabname, int Version, char* Filename); 00182 00186 // METHOD=mm:3c36c18e-f997-11df-9ddc-963be5e4332b 00187 void Restore(FILE* File); 00188 00192 // METHOD=mm:3c36c18f-f997-11df-9ddc-963be5e4332b 00193 void Restore(char* Tabname, int Version, char* Filename); 00194 00200 // METHOD=mm:3c36c190-f997-11df-9ddc-963be5e4332b 00201 void Read(FILE* FileFEM, FILE* FileDEF, FILE* LogFile, std::string DBaux); 00202 00206 // METHOD=mm:3c36c226-f997-11df-9ddc-963be5e4332b 00207 void Print(FILE* File, std::string AuxDB, char* Message); 00208 00214 // METHOD=mm:3c36c227-f997-11df-9ddc-963be5e4332b 00215 void Free(); 00216 00220 // METHOD=mm:3c36c228-f997-11df-9ddc-963be5e4332b 00221 unsigned long GetNumberNodes(); 00222 00226 // METHOD=mm:3c36c229-f997-11df-9ddc-963be5e4332b 00227 unsigned long GetNumberLoadSets(); 00228 00232 // METHOD=mm:3c36c22a-f997-11df-9ddc-963be5e4332b 00233 unsigned long GetCurrentLoadSet(); 00234 00238 // METHOD=mm:3c36c22b-f997-11df-9ddc-963be5e4332b 00239 unsigned long GetNumberElements(); 00240 00244 // METHOD=mm:3c36c22c-f997-11df-9ddc-963be5e4332b 00245 unsigned long GetNumberFEGroups(); 00246 00250 // METHOD=mm:3c36c22d-f997-11df-9ddc-963be5e4332b 00251 unsigned long GetNumberEquations(); 00252 00253 // METHOD=mm:3c36c22e-f997-11df-9ddc-963be5e4332b 00254 unsigned short GetDimension(); 00255 00256 00257 00261 // attr=mm:e3b3eae3-f997-11df-9ddc-963be5e4332b 00262 DOFs DOFs; 00263 00267 // attr=mm:3c839c63-f998-11df-9ddc-963be5e4332b 00268 Nodes Coords; 00269 00273 // attr=mm:781e4c23-f998-11df-9ddc-963be5e4332b 00274 MeshTopology MeshTopo; 00275 00279 // attr=mm:88362a6d-f998-11df-9ddc-963be5e4332b 00280 Equations Eqs; 00281 00285 // attr=mm:aa2fc2eb-f998-11df-9ddc-963be5e4332b 00286 FEGroups FEGrps; 00287 00293 // attr=mm:13173e8d-f999-11df-9ddc-963be5e4332b 00294 LoadSets LS; 00295 00299 // attr=mm:3641f565-f999-11df-9ddc-963be5e4332b 00300 BoundaryConditions BCs; 00301 00305 // attr=mm:288c532f-f999-11df-9ddd-963be5e4332b 00306 GeometryMesh GeoMsh; 00307 00308 00309 protected: 00310 00311 // attr=mm:3c36c18a-f997-11df-9ddc-963be5e4332b 00312 char* Tit; 00313 00314 00315 private: 00316 00317 //#UBLK-BEG-CLASSMEMB mm:4527a72f-f997-11df-9ddc-963be5e4332b 00318 //#UBLK-END-CLASSMEMB 00319 }; 00320 00321 //#UBLK-BEG-GLOBALH 00322 //#UBLK-END-GLOBALH 00323 00324 #endif // _DISCRETEMODEL_H_ 00325