mol_wall_hit_info.h 988 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /******************************************************************************
  2. *
  3. * Copyright (C) 2020 by
  4. * The Salk Institute for Biological Studies
  5. *
  6. * Use of this source code is governed by an MIT-style
  7. * license that can be found in the LICENSE file or at
  8. * https://opensource.org/licenses/MIT.
  9. *
  10. ******************************************************************************/
  11. #ifndef API_MOL_WALL_HIT_INFO_H
  12. #define API_MOL_WALL_HIT_INFO_H
  13. #include "generated/gen_mol_wall_hit_info.h"
  14. #include "api/api_common.h"
  15. namespace MCell {
  16. namespace API {
  17. class MolWallHitInfo: public GenMolWallHitInfo {
  18. public:
  19. MolWallHitInfo() {
  20. }
  21. MolWallHitInfo(DefaultCtorArgType) {
  22. }
  23. void dump() {
  24. std::cout << to_str();
  25. }
  26. // extra information to be converted in Callbacks
  27. geometry_object_id_t geometry_object_id; // to geometry_object
  28. wall_index_t partition_wall_index; // to wall_index
  29. };
  30. } // namespace API
  31. } // namespace MCell
  32. #endif // API_MOL_WALL_HIT_INFO_H