blue_sky::tpfa::mpfa_impl< strategy_t > Struct Template Reference

#include <fi_operator_block_connections_mpfa.h>

Collaboration diagram for blue_sky::tpfa::mpfa_impl< strategy_t >:

Collaboration graph
[legend]

List of all members.

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 &reg_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_tsaturation_3p_
const item_array_tpressure_
const item_array_tgas_oil_ratio_
const main_var_array_tmain_vars_
const data_array_tdata_
item_t gravity_
index_t n_sec_vars
item_array_trhs_
item_array_treg_values_

template<typename strategy_t>
struct blue_sky::tpfa::mpfa_impl< strategy_t >


Member Typedef Documentation

template<typename strategy_t >
typedef calc_model<strategy_t> blue_sky::tpfa::mpfa_impl< strategy_t >::calc_model_t

template<typename strategy_t >
typedef calc_model_t::data_array_t blue_sky::tpfa::mpfa_impl< strategy_t >::data_array_t

template<typename strategy_t >
typedef calc_model_t::data_t blue_sky::tpfa::mpfa_impl< strategy_t >::data_t

template<typename strategy_t >
typedef strategy_t::index_array_t blue_sky::tpfa::mpfa_impl< strategy_t >::index_array_t

template<typename strategy_t >
typedef strategy_t::index_t blue_sky::tpfa::mpfa_impl< strategy_t >::index_t

template<typename strategy_t >
typedef strategy_t::item_array_t blue_sky::tpfa::mpfa_impl< strategy_t >::item_array_t

template<typename strategy_t >
typedef strategy_t::item_t blue_sky::tpfa::mpfa_impl< strategy_t >::item_t

template<typename strategy_t >
typedef calc_model_t::main_var_array_t blue_sky::tpfa::mpfa_impl< strategy_t >::main_var_array_t

template<typename strategy_t >
typedef boost::array<index_t, FI_PHASE_TOT> blue_sky::tpfa::mpfa_impl< strategy_t >::up_cell_array_t


Constructor & Destructor Documentation

template<typename strategy_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]


Member Function Documentation

template<typename strategy_t >
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]

template<typename strategy_t >
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]

template<typename strategy_t >
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]

template<typename strategy_t >
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]

template<typename strategy_t >
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]


Member Data Documentation

template<typename strategy_t >
index_t blue_sky::tpfa::mpfa_impl< strategy_t >::d_g

template<typename strategy_t >
index_t blue_sky::tpfa::mpfa_impl< strategy_t >::d_o

template<typename strategy_t >
index_t blue_sky::tpfa::mpfa_impl< strategy_t >::d_w

template<typename strategy_t >
const data_array_t& blue_sky::tpfa::mpfa_impl< strategy_t >::data_

template<typename strategy_t >
const fi_operator_impl<strategy_t>& blue_sky::tpfa::mpfa_impl< strategy_t >::fi_operator_

template<typename strategy_t >
const item_array_t& blue_sky::tpfa::mpfa_impl< strategy_t >::gas_oil_ratio_

template<typename strategy_t >
item_t blue_sky::tpfa::mpfa_impl< strategy_t >::gravity_

template<typename strategy_t >
bool blue_sky::tpfa::mpfa_impl< strategy_t >::is_g

template<typename strategy_t >
bool blue_sky::tpfa::mpfa_impl< strategy_t >::is_o

template<typename strategy_t >
bool blue_sky::tpfa::mpfa_impl< strategy_t >::is_w

template<typename strategy_t >
const main_var_array_t& blue_sky::tpfa::mpfa_impl< strategy_t >::main_vars_

template<typename strategy_t >
index_t blue_sky::tpfa::mpfa_impl< strategy_t >::n_phases

template<typename strategy_t >
index_t blue_sky::tpfa::mpfa_impl< strategy_t >::n_sec_vars

template<typename strategy_t >
const item_array_t& blue_sky::tpfa::mpfa_impl< strategy_t >::pressure_

template<typename strategy_t >
item_array_t& blue_sky::tpfa::mpfa_impl< strategy_t >::reg_values_

template<typename strategy_t >
item_array_t& blue_sky::tpfa::mpfa_impl< strategy_t >::rhs_

template<typename strategy_t >
const item_array_t& blue_sky::tpfa::mpfa_impl< strategy_t >::saturation_3p_


The documentation for this struct was generated from the following file:

Generated on Fri Nov 13 12:07:14 2009 for TheBSEagleProject by  doxygen 1.5.8