Zone_s.h 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. #pragma once
  2. #include "ThirdPartyHeadersBegin.h"
  3. #include <fstream>
  4. #include <map>
  5. #include <set>
  6. #include <string>
  7. #include <vector>
  8. #include <boost/foreach.hpp>
  9. #include <boost/shared_ptr.hpp>
  10. #include "ThirdPartyHeadersEnd.h"
  11. #include "MASTER.h"
  12. #include "GLOBAL.h"
  13. #include "AuxData_s.h"
  14. #include "basicTypes.h"
  15. #include "CodeContract.h"
  16. #include "FieldData_s.h"
  17. #include "fileio.h"
  18. #include "GhostInfo_s.h"
  19. #include "IJK.h"
  20. #include "NodeMap_s.h"
  21. #include "NodeToElemMap_s.h"
  22. namespace tecplot
  23. {
  24. namespace tecioszl
  25. {
  26. class ___3970;
  27. struct Zone_s
  28. {
  29. typedef std::map<___3933::___4636, boost::shared_ptr<Zone_s>> ZoneMap;
  30. typedef std::pair<___1172, ___2227> ___4607;
  31. struct ___1275
  32. {
  33. ___372 ___2488;
  34. std::vector<___4607> ___2678;
  35. ___1275() {}
  36. void writeToFile(tecplot::___3933::FileWriterInterface &outputFile, bool ___4480) const
  37. {
  38. writeScalar(outputFile, ___2488, ___4480);
  39. writeScalar(outputFile, (uint64_t)___2678.size(), ___4480);
  40. BOOST_FOREACH (___4607 const &zoneCell, ___2678)
  41. {
  42. writeScalar(outputFile, zoneCell.first, ___4480);
  43. writeScalar(outputFile, zoneCell.second, ___4480);
  44. }
  45. }
  46. uint64_t sizeInFile(bool ___4480) const
  47. {
  48. uint64_t sizeInFile = 0;
  49. sizeInFile += scalarSizeInFile(___2488, ___4480);
  50. sizeInFile += scalarSizeInFile((uint64_t)___2678.size(), ___4480);
  51. BOOST_FOREACH (___4607 const &zoneCell, ___2678)
  52. {
  53. sizeInFile += scalarSizeInFile(zoneCell.first, ___4480);
  54. sizeInFile += scalarSizeInFile(zoneCell.second, ___4480);
  55. }
  56. return sizeInFile;
  57. }
  58. ___1275(tecplot::___3933::___1399 &inputFile, bool readASCII)
  59. {
  60. readScalar(inputFile, ___2488, readASCII);
  61. uint64_t length;
  62. readScalar(inputFile, length, readASCII);
  63. ___2678.resize((size_t)length);
  64. for (uint64_t i = 0; i < length; ++i)
  65. {
  66. readScalar(inputFile, ___2678[i].first, readASCII);
  67. readScalar(inputFile, ___2678[i].second, readASCII);
  68. }
  69. }
  70. };
  71. typedef std::pair<int32_t, int64_t> ___458;
  72. typedef std::map<___458, ___1275> ___1276;
  73. std::string ___2683;
  74. ZoneType_e ___2684;
  75. tecplot::___3933::___1844 m_partitionOffset;
  76. tecplot::___3933::___1844 ___2682;
  77. double ___2621;
  78. int32_t ___2622;
  79. ___1172 ___2614;
  80. int64_t ___2503;
  81. FaceNeighborMode_e ___2458;
  82. int64_t ___2651;
  83. int64_t ___2501;
  84. int64_t ___2650;
  85. std::vector<FieldDataType_e> ___2460;
  86. std::vector<int> m_passiveVars;
  87. std::vector<ValueLocation_e> ___2670;
  88. std::vector<___1172> m_shareVarFromZone;
  89. bool m_allVarsAreShared;
  90. ___1172 m_shareConnectivityFromZone;
  91. GhostInfo_s m_ghostNodeInfo;
  92. GhostInfo_s m_ghostCellInfo;
  93. std::vector<boost::shared_ptr<___1362>> ___2496;
  94. std::vector<boost::shared_ptr<___1362>> ___2400;
  95. size_t ___2397;
  96. boost::shared_ptr<___2730> ___2497;
  97. boost::shared_ptr<___2743> m_nodeToElemMap;
  98. ___1276 ___2457;
  99. boost::shared_ptr<AuxData_s> ___2345;
  100. ZoneMap m_partitionMap;
  101. std::vector<int> m_partitionOwners;
  102. Zone_s(___3970 const &tecioData, std::string const &___4690, ZoneType_e ___4692, int64_t iMin, int64_t jMin, int64_t kMin, int64_t ___1909, int64_t ___2116, int64_t ___2161, double ___3640, int32_t ___3785, ___1172 ___2974, int64_t ___2802, FaceNeighborMode_e ___1284, int64_t ___4192, int64_t ___2786, int64_t ___4188, std::vector<FieldDataType_e> const &___1372, std::vector<int> const &passiveVarVector, std::vector<ValueLocation_e> const &___4326, std::vector<___1172> const &shareVarFromZoneVector, ___1172 ___3549);
  103. Zone_s(___3970 const &tecioData, Zone_s const *partitionParent, int64_t iMin, int64_t jMin, int64_t kMin, int64_t ___1909, int64_t ___2116, int64_t ___2161);
  104. void ___965(tecplot::___3933::___4352 ___4368);
  105. void deriveCCValues(tecplot::___3933::___4352 ___4368);
  106. void writeToFile(tecplot::___3933::FileWriterInterface &outputFile, bool ___4480) const;
  107. uint64_t sizeInFile(bool ___4480) const;
  108. static boost::shared_ptr<Zone_s> makePtr(tecplot::___3933::___1399 &inputFile, bool readASCII);
  109. private:
  110. Zone_s();
  111. };
  112. }
  113. }