#include <fi_operator_block_connections_mpfa.h>
Public Types | |
typedef strategy_t::item_t | item_t |
typedef strategy_t::index_t | index_t |
typedef strategy_t::item_array_t | item_array_t |
typedef strategy_t::index_array_t | index_array_t |
typedef boost::array< index_t, FI_PHASE_TOT > | up_cell_array_t |
typedef calc_model< strategy_t > | calc_model_t |
typedef calc_model_t::data_t | data_t |
typedef calc_model_t::data_array_t | data_array_t |
typedef calc_model_t::main_var_array_t | main_var_array_t |
Public Member Functions | |
mpfa_impl (const fi_operator_impl< strategy_t > &fi_operator_, item_array_t &rhs_, item_array_t ®_values_) | |
void | mpfa_calc_avarage_density (item_t *ave_density, const index_t *cell_ind_block, const int &n_cells_in_conn) const |
BS_FORCE_INLINE void | mpfa_calc_potential (item_t *cell_pot, item_t *sum_cell_pot, item_t *ave_density, const item_t *truns_block, const item_array_t &depth, const index_t *cell_ind_block, index_t cell_m, item_t dt, int n_cells_in_conn) const |
void | mpfa_calc_upstream (up_cell_array_t &up_cell, item_t *sum_cell_pot, const index_t &cell_m, const index_t &cell_p) const |
void | mpfa_fill_rhs (item_t *&rhs_m, item_t *&rhs_p, const up_cell_array_t &up_cell, const item_t *truns_block, item_t *cell_pot, item_array_t &flux_rhs, const item_t &dt, const int &n_cells_in_conn, const index_t &cell_m, const index_t &cell_p, const index_t &equ_w, const index_t equ_g, const index_t &equ_o) const |
void | mpfa_fill_jacobian (boost::array< item_t, 18 > &m_mem, boost::array< item_t, 18 > &p_mem, const up_cell_array_t &up_cell, const item_t *cell_pot, const item_t *truns_block, item_t *&rhs_m, item_t *&rhs_p, const index_t *cell_ind_block, item_array_t &sp_diag, item_array_t &s_rhs, const item_t &dt, const int &n_cells_in_conn, const index_t &cell_m, const index_t &cell_p, const index_t &equ_w, const index_t equ_g, const index_t &equ_o) const |
Public Attributes | |
const fi_operator_impl < strategy_t > & | fi_operator_ |
index_t | n_phases |
bool | is_w |
bool | is_g |
bool | is_o |
index_t | d_w |
index_t | d_g |
index_t | d_o |
const item_array_t & | saturation_3p_ |
const item_array_t & | pressure_ |
const item_array_t & | gas_oil_ratio_ |
const main_var_array_t & | main_vars_ |
const data_array_t & | data_ |
item_t | gravity_ |
index_t | n_sec_vars |
item_array_t & | rhs_ |
item_array_t & | reg_values_ |
typedef calc_model<strategy_t> blue_sky::tpfa::mpfa_impl< strategy_t >::calc_model_t |
typedef calc_model_t::data_array_t blue_sky::tpfa::mpfa_impl< strategy_t >::data_array_t |
typedef calc_model_t::data_t blue_sky::tpfa::mpfa_impl< strategy_t >::data_t |
typedef strategy_t::index_array_t blue_sky::tpfa::mpfa_impl< strategy_t >::index_array_t |
typedef strategy_t::index_t blue_sky::tpfa::mpfa_impl< strategy_t >::index_t |
typedef strategy_t::item_array_t blue_sky::tpfa::mpfa_impl< strategy_t >::item_array_t |
typedef strategy_t::item_t blue_sky::tpfa::mpfa_impl< strategy_t >::item_t |
typedef calc_model_t::main_var_array_t blue_sky::tpfa::mpfa_impl< strategy_t >::main_var_array_t |
typedef boost::array<index_t, FI_PHASE_TOT> blue_sky::tpfa::mpfa_impl< strategy_t >::up_cell_array_t |
blue_sky::tpfa::mpfa_impl< strategy_t >::mpfa_impl | ( | const fi_operator_impl< strategy_t > & | fi_operator_, | |
item_array_t & | rhs_, | |||
item_array_t & | reg_values_ | |||
) | [inline] |
void blue_sky::tpfa::mpfa_impl< strategy_t >::mpfa_calc_avarage_density | ( | item_t * | ave_density, | |
const index_t * | cell_ind_block, | |||
const int & | n_cells_in_conn | |||
) | const [inline] |
References blue_sky::tpfa::mpfa_impl< strategy_t >::d_g, blue_sky::tpfa::mpfa_impl< strategy_t >::d_o, blue_sky::tpfa::mpfa_impl< strategy_t >::d_w, blue_sky::tpfa::mpfa_impl< strategy_t >::data_, blue_sky::calc_model_data< strategy_t >::density, blue_sky::tpfa::mpfa_impl< strategy_t >::is_g, blue_sky::tpfa::mpfa_impl< strategy_t >::is_o, blue_sky::tpfa::mpfa_impl< strategy_t >::is_w, blue_sky::tpfa::mpfa_impl< strategy_t >::n_phases, and blue_sky::tpfa::mpfa_impl< strategy_t >::saturation_3p_.
BS_FORCE_INLINE void blue_sky::tpfa::mpfa_impl< strategy_t >::mpfa_calc_potential | ( | item_t * | cell_pot, | |
item_t * | sum_cell_pot, | |||
item_t * | ave_density, | |||
const item_t * | truns_block, | |||
const item_array_t & | depth, | |||
const index_t * | cell_ind_block, | |||
index_t | cell_m, | |||
item_t | dt, | |||
int | n_cells_in_conn | |||
) | const [inline] |
References blue_sky::calc_model_data< strategy_t >::cap_pressure, blue_sky::tpfa::mpfa_impl< strategy_t >::d_g, blue_sky::tpfa::mpfa_impl< strategy_t >::d_o, blue_sky::tpfa::mpfa_impl< strategy_t >::d_w, blue_sky::tpfa::mpfa_impl< strategy_t >::data_, blue_sky::tpfa::mpfa_impl< strategy_t >::gravity_, blue_sky::tpfa::mpfa_impl< strategy_t >::is_g, blue_sky::tpfa::mpfa_impl< strategy_t >::is_o, blue_sky::tpfa::mpfa_impl< strategy_t >::is_w, blue_sky::tpfa::mpfa_impl< strategy_t >::n_phases, and blue_sky::tpfa::mpfa_impl< strategy_t >::pressure_.
void blue_sky::tpfa::mpfa_impl< strategy_t >::mpfa_calc_upstream | ( | up_cell_array_t & | up_cell, | |
item_t * | sum_cell_pot, | |||
const index_t & | cell_m, | |||
const index_t & | cell_p | |||
) | const [inline] |
void blue_sky::tpfa::mpfa_impl< strategy_t >::mpfa_fill_jacobian | ( | boost::array< item_t, 18 > & | m_mem, | |
boost::array< item_t, 18 > & | p_mem, | |||
const up_cell_array_t & | up_cell, | |||
const item_t * | cell_pot, | |||
const item_t * | truns_block, | |||
item_t *& | rhs_m, | |||
item_t *& | rhs_p, | |||
const index_t * | cell_ind_block, | |||
item_array_t & | sp_diag, | |||
item_array_t & | s_rhs, | |||
const item_t & | dt, | |||
const int & | n_cells_in_conn, | |||
const index_t & | cell_m, | |||
const index_t & | cell_p, | |||
const index_t & | equ_w, | |||
const index_t | equ_g, | |||
const index_t & | equ_o | |||
) | const [inline] |
References blue_sky::tpfa::mpfa_impl< strategy_t >::d_g, blue_sky::tpfa::mpfa_impl< strategy_t >::d_o, blue_sky::tpfa::mpfa_impl< strategy_t >::d_w, blue_sky::tpfa::mpfa_impl< strategy_t >::data_, blue_sky::tpfa::mpfa_impl< strategy_t >::gas_oil_ratio_, blue_sky::tpfa::mpfa_impl< strategy_t >::is_g, blue_sky::tpfa::mpfa_impl< strategy_t >::is_o, blue_sky::tpfa::mpfa_impl< strategy_t >::is_w, blue_sky::tpfa::mpfa_impl< strategy_t >::main_vars_, blue_sky::calc_model_data< strategy_t >::mobility, blue_sky::tpfa::mpfa_impl< strategy_t >::n_phases, blue_sky::tpfa::mpfa_impl< strategy_t >::n_sec_vars, blue_sky::calc_model_data< strategy_t >::p_deriv_gas_oil_ratio, blue_sky::calc_model_data< strategy_t >::p_deriv_mobility, blue_sky::calc_model_data< strategy_t >::s_deriv_mobility, and blue_sky::calc_model_data< strategy_t >::truns_mult.
void blue_sky::tpfa::mpfa_impl< strategy_t >::mpfa_fill_rhs | ( | item_t *& | rhs_m, | |
item_t *& | rhs_p, | |||
const up_cell_array_t & | up_cell, | |||
const item_t * | truns_block, | |||
item_t * | cell_pot, | |||
item_array_t & | flux_rhs, | |||
const item_t & | dt, | |||
const int & | n_cells_in_conn, | |||
const index_t & | cell_m, | |||
const index_t & | cell_p, | |||
const index_t & | equ_w, | |||
const index_t | equ_g, | |||
const index_t & | equ_o | |||
) | const [inline] |
References blue_sky::tpfa::mpfa_impl< strategy_t >::d_g, blue_sky::tpfa::mpfa_impl< strategy_t >::d_o, blue_sky::tpfa::mpfa_impl< strategy_t >::d_w, blue_sky::tpfa::mpfa_impl< strategy_t >::data_, blue_sky::tpfa::mpfa_impl< strategy_t >::gas_oil_ratio_, blue_sky::tpfa::mpfa_impl< strategy_t >::is_g, blue_sky::tpfa::mpfa_impl< strategy_t >::is_o, blue_sky::tpfa::mpfa_impl< strategy_t >::is_w, blue_sky::calc_model_data< strategy_t >::mobility, blue_sky::tpfa::mpfa_impl< strategy_t >::n_phases, and blue_sky::calc_model_data< strategy_t >::truns_mult.
index_t blue_sky::tpfa::mpfa_impl< strategy_t >::d_g |
index_t blue_sky::tpfa::mpfa_impl< strategy_t >::d_o |
index_t blue_sky::tpfa::mpfa_impl< strategy_t >::d_w |
const data_array_t& blue_sky::tpfa::mpfa_impl< strategy_t >::data_ |
const fi_operator_impl<strategy_t>& blue_sky::tpfa::mpfa_impl< strategy_t >::fi_operator_ |
const item_array_t& blue_sky::tpfa::mpfa_impl< strategy_t >::gas_oil_ratio_ |
item_t blue_sky::tpfa::mpfa_impl< strategy_t >::gravity_ |
bool blue_sky::tpfa::mpfa_impl< strategy_t >::is_g |
bool blue_sky::tpfa::mpfa_impl< strategy_t >::is_o |
bool blue_sky::tpfa::mpfa_impl< strategy_t >::is_w |
const main_var_array_t& blue_sky::tpfa::mpfa_impl< strategy_t >::main_vars_ |
index_t blue_sky::tpfa::mpfa_impl< strategy_t >::n_phases |
Referenced by blue_sky::tpfa::mpfa_impl< strategy_t >::mpfa_calc_avarage_density(), blue_sky::tpfa::mpfa_impl< strategy_t >::mpfa_calc_potential(), blue_sky::tpfa::mpfa_impl< strategy_t >::mpfa_calc_upstream(), blue_sky::tpfa::mpfa_impl< strategy_t >::mpfa_fill_jacobian(), and blue_sky::tpfa::mpfa_impl< strategy_t >::mpfa_fill_rhs().
index_t blue_sky::tpfa::mpfa_impl< strategy_t >::n_sec_vars |
const item_array_t& blue_sky::tpfa::mpfa_impl< strategy_t >::pressure_ |
item_array_t& blue_sky::tpfa::mpfa_impl< strategy_t >::reg_values_ |
item_array_t& blue_sky::tpfa::mpfa_impl< strategy_t >::rhs_ |
const item_array_t& blue_sky::tpfa::mpfa_impl< strategy_t >::saturation_3p_ |