1#ifndef __CMA_UTILS_PROXY_CACHE_HPP__
2#define __CMA_UTILS_PROXY_CACHE_HPP__
5# pragma GCC diagnostic push
6# pragma GCC diagnostic ignored "-Wunused-but-set-variable"
7# pragma GCC diagnostic ignored "-Wnan-infinity-disabled"
11#include <Eigen/Sparse>
13# pragma GCC diagnostic pop
15#include <cma_read/light_2d_view.hpp>
16#include <cma_read/reactorstate.hpp>
17#include <cma_utils/cache_hydro_state.hpp>
35 const CmaRead::FlowMap::FlowMap_const_view_t& flows_view);
49 const CmaRead::Neighbors::Neighbors_const_view_t& neighbors);
Structure to store hydrodynamic properties from a compartment mesh.
Definition cache_hydro_state.hpp:56
Proxy class for PreCalculatedHydroState used to fill this struct with data from an external library.
Definition proxy_cache.hpp:28
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:29
void set_diag_transition(std::vector< double > &&diag)
Set the diagonal elements of the transition matrix.
Definition proxy_cache.cpp:7
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
Definition proxy_cache.hpp:58
Namespace to handle algorithms and structures related to reading compartment mesh.
Definition host_specific.hpp:18