BioCMAMC-ST
iteration_state.hpp
1#ifndef __CMA_UTILS_HPP__
2#define __CMA_UTILS_HPP__
3
4#include <cma_utils/cache_hydro_state.hpp>
5#include <string>
6#include <unordered_map>
7
8namespace CmaUtils
9{
10 template <typename Space>
11 using NeighborsView = Kokkos::
12 View<std::size_t**, Kokkos::LayoutRight, Space, Kokkos::MemoryTraits<Kokkos::RandomAccess>>;
13
21 {
25 std::unordered_map<std::string, std::span<const double>>
27 };
28} // namespace CmaUtils
29
30#endif
Structure to store hydrodynamic properties from a compartment mesh.
Definition cache_hydro_state.hpp:40
Namespace to handle algorithms and structures related to reading compartment mesh.
Definition host_specific.hpp:17
Kokkos:: View< std::size_t **, Kokkos::LayoutRight, Space, Kokkos::MemoryTraits< Kokkos::RandomAccess > > NeighborsView
Definition iteration_state.hpp:11
Structure to store information about the reactor state during simulation.
Definition iteration_state.hpp:21
NeighborsView< HostSpace > neighbors
View of neighboring compartments.
Definition iteration_state.hpp:24
std::unordered_map< std::string, std::span< const double > > infos
Additional information mapped by string keys.
Definition iteration_state.hpp:26
CmaUtils::PreCalculatedHydroState * gas
Pointer to the gas phase hydrodynamic state.
Definition iteration_state.hpp:23
CmaUtils::PreCalculatedHydroState * liq
Pointer to the liquid phase hydrodynamic state.
Definition iteration_state.hpp:22