Flow123d  jenkins-Flow123d-linux-release-multijob-282
Public Types | Public Member Functions | Protected Attributes | List of all members
ElementDataCache< T > Class Template Reference

#include <element_data_cache.hh>

Inheritance diagram for ElementDataCache< T >:
Inheritance graph
[legend]
Collaboration diagram for ElementDataCache< T >:
Collaboration graph
[legend]

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...
 

Detailed Description

template<typename T>
class ElementDataCache< T >

Definition at line 45 of file element_data_cache.hh.

Member Typedef Documentation

template<typename T>
typedef std::vector< ComponentDataPtr > ElementDataCache< T >::CacheData

Definition at line 48 of file element_data_cache.hh.

template<typename T>
typedef std::shared_ptr< std::vector<T> > ElementDataCache< T >::ComponentDataPtr

Definition at line 47 of file element_data_cache.hh.

Constructor & Destructor Documentation

template<typename T>
ElementDataCache< T >::ElementDataCache ( double  time,
std::string  quantity_name,
CacheData  data 
)
inline

Constructor.

Definition at line 51 of file element_data_cache.hh.

Member Function Documentation

template<typename T>
ComponentDataPtr ElementDataCache< T >::get_component_data ( unsigned int  component_idx)
inline

Return vector of element data for get component.

Definition at line 58 of file element_data_cache.hh.

Member Data Documentation

template<typename T>
CacheData ElementDataCache< T >::data_
protected

Table of element data.

For every components contains vector of element data.

Definition at line 69 of file element_data_cache.hh.


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