blue_sky::calc_model_data_tmp_holder< strategy_t > Class Template Reference

holds temporary data (shored on new newton iteration, for example) More...

#include <calc_model.h>

List of all members.

Public Types

typedef strategy_t::item_t item_t
 item type (floating point)
typedef strategy_t::item_array_t item_array_t
typedef strategy_t::template
vec< main_var_type >::type 
main_var_array_t
 type for array of main_var_type values
typedef calc_model< strategy_t > calc_model_t
 calc_model type
typedef smart_ptr
< calc_model_t, true > 
sp_calc_model_t
 smart_ptr to calc_model type

Public Member Functions

void save (const sp_calc_model_t &calc_model)
 stores data from calc_model in holder
void restore (sp_calc_model_t &calc_model)
 restores data from holder to calc_model

Public Attributes

item_array_t pressure
 pressure array
item_array_t saturation_3p
 saturation array (3 phase)
item_array_t gas_oil_ratio
 gas_oil_ratio array
main_var_array_t main_var
 main variables


Detailed Description

template<typename strategy_t>
class blue_sky::calc_model_data_tmp_holder< strategy_t >

holds temporary data (shored on new newton iteration, for example)

Member Typedef Documentation

template<typename strategy_t >
typedef calc_model<strategy_t> blue_sky::calc_model_data_tmp_holder< strategy_t >::calc_model_t

calc_model type

template<typename strategy_t >
typedef strategy_t::item_array_t blue_sky::calc_model_data_tmp_holder< strategy_t >::item_array_t

type for array of item_t values

template<typename strategy_t >
typedef strategy_t::item_t blue_sky::calc_model_data_tmp_holder< strategy_t >::item_t

item type (floating point)

template<typename strategy_t >
typedef strategy_t::template vec<main_var_type>::type blue_sky::calc_model_data_tmp_holder< strategy_t >::main_var_array_t

type for array of main_var_type values

template<typename strategy_t >
typedef smart_ptr<calc_model_t, true> blue_sky::calc_model_data_tmp_holder< strategy_t >::sp_calc_model_t

smart_ptr to calc_model type


Member Function Documentation

template<typename strategy_t >
void blue_sky::calc_model_data_tmp_holder< strategy_t >::restore ( sp_calc_model_t calc_model  ) 

restores data from holder to calc_model

Parameters:
calc_model pointer to calc_model instance

template<typename strategy_t >
void blue_sky::calc_model_data_tmp_holder< strategy_t >::save ( const sp_calc_model_t calc_model  ) 

stores data from calc_model in holder

Parameters:
calc_model pointer to calc_model instance


Member Data Documentation

template<typename strategy_t >
item_array_t blue_sky::calc_model_data_tmp_holder< strategy_t >::gas_oil_ratio

gas_oil_ratio array

template<typename strategy_t >
main_var_array_t blue_sky::calc_model_data_tmp_holder< strategy_t >::main_var

main variables

template<typename strategy_t >
item_array_t blue_sky::calc_model_data_tmp_holder< strategy_t >::pressure

pressure array

template<typename strategy_t >
item_array_t blue_sky::calc_model_data_tmp_holder< strategy_t >::saturation_3p

saturation array (3 phase)


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

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