1#ifndef __CMA_UTILS_PROXY_CACHE_HPP__
2#define __CMA_UTILS_PROXY_CACHE_HPP__
7#include <cma_read/light_2d_view.hpp>
8#include <cma_read/reactorstate.hpp>
9#include <cma_utils/cache_hydro_state.hpp>
Structure to store hydrodynamic properties from a compartment mesh.
Definition cache_hydro_state.hpp:40
Proxy class for PreCalculatedHydroState used to fill this struct with data from an external library.
Definition proxy_cache.hpp:20
void set_cumulative_probability(const CmaRead::Neighbors::Neighbors_const_view_t &neighbors)
Set the cumulative probability using a constant neighbors view.
Definition proxy_cache.cpp:28
void set_diag_transition(std::vector< double > &&diag)
Set the diagonal elements of the transition matrix.
Definition proxy_cache.cpp:6
void set_transition_matrix(const CmaRead::FlowMap::FlowMap_const_view_t &flows_view)
Set the transition matrix using a constant flow map view.
Definition proxy_cache.cpp:15
PreCalculatedHydroState state
Instance of PreCalculatedHydroState containing the filled data.
Definition proxy_cache.hpp:47
Namespace to handle algorithms and structures related to reading compartment mesh.
Definition host_specific.hpp:17