wall_utils.h 822 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /******************************************************************************
  2. *
  3. * Copyright (C) 2020 by
  4. * The Salk Institute for Biological Studies and
  5. * Pittsburgh Supercomputing Center, Carnegie Mellon University
  6. *
  7. * Use of this source code is governed by an MIT-style
  8. * license that can be found in the LICENSE file or at
  9. * https://opensource.org/licenses/MIT.
  10. *
  11. ******************************************************************************/
  12. #ifndef SRC4_WALL_UTILS_H_
  13. #define SRC4_WALL_UTILS_H_
  14. namespace MCell {
  15. class Partition;
  16. class Wall;
  17. struct Vec3;
  18. namespace WallUtils {
  19. // only the needed functions for now
  20. static int wall_in_box(
  21. const Partition& p,
  22. const Wall& w,
  23. const Vec3& llf, const Vec3& urb
  24. );
  25. } // namespace WallUtil
  26. } // namespace MCell
  27. #endif // SRC4_WALL_UTILS_H_