1#ifndef __GET_CUMULATIVE_PROBABILITY_HPP__
2#define __GET_CUMULATIVE_PROBABILITY_HPP__
5#include <Kokkos_Core.hpp>
6#include <cma_read/flowmap.hpp>
7#include <cma_read/light_2d_view.hpp>
8#include <cma_read/neighbors.hpp>
9#include <cma_utils/cache_hydro_state.hpp>
33 const FlowMatrixType& m_transition);
Namespace to handle algorithms and structures related to reading compartment mesh.
Definition host_specific.hpp:17
std::vector< double > get_diag_transition(const FlowMatrixType &m_transition)
Return the diagonal of the transition matrix (outflows).
Definition transport.cpp:10
FlowMatrixType get_transition_matrix(const CmaRead::FlowMap::FlowMap_const_view_t &flows)
Calculate the transition matrix representing phase flow.
Definition transport.cpp:20
Eigen::Matrix< double, -1, -1, Eigen::RowMajor > CumulativeProbaType
Definition transport.hpp:14
CumulativeProbaType get_cumulative_probabilities(CmaRead::Neighbors::Neighbors_const_view_t neighbors, const FlowMatrixType &m_transition)
Computes the cumulative probability matrix from the transition matrix and neighbor information.
Definition get_cumulative_proba.cpp:10