Flow123d
release_2.1.0-87-gfbc1563
|
#include <element_data_cache.hh>
Public Types | |
typedef std::shared_ptr< std::vector< T > > | ComponentDataPtr |
typedef std::vector< ComponentDataPtr > | CacheData |
Public Member Functions | |
ElementDataCache (double time, std::string quantity_name, CacheData data) | |
Constructor. More... | |
ComponentDataPtr | get_component_data (unsigned int component_idx) |
Return vector of element data for get component. More... | |
Public Member Functions inherited from ElementDataCacheBase | |
ElementDataCacheBase () | |
Constructor. More... | |
double | get_time () |
Getter for time of cache. More... | |
std::string | get_quantity_name () |
Getter for quantity name of cache. More... | |
bool | is_actual (double time, std::string quantity_name) |
Check if cache stored actual data. More... | |
Protected Attributes | |
CacheData | data_ |
Protected Attributes inherited from ElementDataCacheBase | |
double | time_ |
time step stored in cache More... | |
std::string | quantity_name_ |
name of quantity stored in cache More... | |
Definition at line 55 of file element_data_cache.hh.
typedef std::vector< ComponentDataPtr > ElementDataCache< T >::CacheData |
Definition at line 58 of file element_data_cache.hh.
typedef std::shared_ptr< std::vector<T> > ElementDataCache< T >::ComponentDataPtr |
Definition at line 57 of file element_data_cache.hh.
|
inline |
Constructor.
Definition at line 61 of file element_data_cache.hh.
|
inline |
Return vector of element data for get component.
Definition at line 68 of file element_data_cache.hh.
|
protected |
Table of element data.
For every components contains vector of element data.
Definition at line 79 of file element_data_cache.hh.