00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef _MyVolumeMeshHexahedronIjk_H
00025 #define _MyVolumeMeshHexahedronIjk_H
00026
00053 #include <MeshVizXLM/mesh/topology/MiHexahedronTopologyExplicitIjk.h>
00057 class MyHexahedronTopologyExplicitIjk : public MiHexahedronTopologyExplicitIjk
00058 {
00059 public:
00063 size_t getNumCellsI() const
00064 {
00065
00066 }
00067
00071 size_t getNumCellsJ() const
00072 {
00073
00074 }
00075
00079 size_t getNumCellsK() const
00080 {
00081
00082 }
00083
00088 void getCellNodeIndices(size_t i, size_t j, size_t k, size_t& n0, size_t& n1, size_t& n2, size_t& n3,
00089 size_t& n4, size_t& n5, size_t& n6, size_t& n7) const
00090 {
00091
00092 }
00093
00099 bool hasDeadCells() const
00100 {
00101
00102
00103
00104 }
00105
00111 bool isDead(size_t i,size_t j, size_t k) const
00112 {
00113
00114
00115
00116 }
00117
00124 size_t getEndNodeId() const
00125 {
00126
00127 }
00128
00135 size_t getBeginNodeId() const
00136 {
00137
00138
00139 }
00140
00144 size_t getTimeStamp() const
00145 {
00146
00147
00148
00149 }
00150
00151 };
00152
00153 #include <MeshVizXLM/mesh/geometry/MiGeometryI.h>
00157 class MyGeometryI : public MiGeometryI
00158
00159 {
00160 public:
00164 MbVec3d getCoord(size_t i) const
00165 {
00166
00167 }
00168
00172 size_t getTimeStamp() const
00173 {
00174
00175
00176
00177 }
00178 };
00179
00180 #include <MeshVizXLM/mesh/MiVolumeMeshHexahedronIjk.h>
00184 class MyVolumeMeshHexahedronIjk : public MiVolumeMeshHexahedronIjk
00185 {
00186
00187 public:
00191 const MiGeometryI& getGeometry() const
00192 {
00193 return m_geometry;
00194 }
00195
00199 const MiHexahedronTopologyExplicitIjk& getTopology() const
00200 {
00201 return m_topology;
00202 }
00203
00204
00205 private:
00206 MyGeometryI m_geometry;
00207 MyHexahedronTopologyExplicitIjk m_topology;
00208
00209 };
00210
00211 #include <MeshVizXLM/mesh/data/MiDataSetI.h>
00215 class MyScalarSetI : public MiScalardSetI
00216
00217 {
00218 public:
00219
00223 double get(size_t i) const
00224 {
00225
00226 }
00227
00231 size_t getTimeStamp() const
00232 {
00233
00234
00235
00236 }
00237
00241 std::string getName() const
00242 {
00243
00244 }
00245
00249 DataBinding getBinding() const
00250 {
00251 return MiDataSet::PER_NODE;
00252 }
00253
00254 };
00255
00256 #include <MeshVizXLM/mesh/data/MiDataSetIjk.h>
00260 class MyScalarSetIjk : public MiScalardSetIjk
00261
00262 {
00263 public:
00264
00268 double get(size_t i,size_t j,size_t k) const
00269 {
00270
00271 }
00272
00276 size_t getTimeStamp() const
00277 {
00278
00279
00280
00281 }
00282
00286 std::string getName() const
00287 {
00288
00289 }
00290
00294 DataBinding getBinding() const
00295 {
00296 return MiDataSet::PER_CELL;
00297 }
00298
00299 };
00300
00301 #include <MeshVizXLM/mesh/data/MiDataSetI.h>
00305 class MyVectorSetI : public MiVec3dSetI
00306
00307 {
00308 public:
00309
00313 MbVec3d get(size_t i) const
00314 {
00315
00316 }
00317
00321 size_t getTimeStamp() const
00322 {
00323
00324
00325
00326 }
00327
00331 std::string getName() const
00332 {
00333
00334 }
00335
00339 DataBinding getBinding() const
00340 {
00341 return MiDataSet::PER_NODE;
00342 }
00343
00344 };
00345
00346 #include <MeshVizXLM/mesh/data/MiDataSetIjk.h>
00350 class MyVectorSetIjk : public MiVec3dSetIjk
00351
00352 {
00353 public:
00354
00358 MbVec3d get(size_t i, size_t j, size_t k) const
00359 {
00360
00361 }
00362
00366 size_t getTimeStamp() const
00367 {
00368
00369
00370
00371 }
00372
00376 std::string getName() const
00377 {
00378
00379 }
00380
00384 DataBinding getBinding() const
00385 {
00386 return MiDataSet::PER_CELL;
00387 }
00388
00389 };
00390
00391 #endif
00392
00393
00394
00395
00396
00397
00398
00399