NodeToElemMap_s.h 644 B

1234567891011121314151617181920
  1. #pragma once
  2. #include "ThirdPartyHeadersBegin.h"
  3. #include <boost/scoped_array.hpp>
  4. #include "ThirdPartyHeadersEnd.h"
  5. #include "MASTER.h"
  6. #include "GLOBAL.h"
  7. #include "CodeContract.h"
  8. #include "NodeMap_s.h"
  9. struct ___2743
  10. {
  11. tecplot::___3933::___2718 m_nodeCount;
  12. boost::scoped_array<tecplot::___3933::___465> m_elemIndex;
  13. boost::scoped_array<tecplot::___3933::___465> m_elem;
  14. ___2743(___2730 const &___2723, tecplot::___3933::___2718 nodeCount);
  15. tecplot::___3933::___465 cellCountForNode(tecplot::___3933::___2718 ___2709)
  16. {
  17. REQUIRE(0 <= ___2709 && ___2709 < m_nodeCount);
  18. return m_elemIndex[___2709 + 1] - m_elemIndex[___2709];
  19. }
  20. };