Flow123d  JS_before_hm-946-gd238683
Public Attributes | List of all members
ElementCacheMap::UpdateCacheHelper Class Reference

#include <field_value_cache.hh>

Public Attributes

std::unordered_map< unsigned int, RegionDataregion_cache_indices_map_
 
std::unordered_map< unsigned int, unsigned int > region_cache_indices_range_
 
std::array< unsigned int, ElementCacheMap::n_cached_elements+1 > region_value_cache_range_
 Maps of begin and end positions of different regions data in FieldValueCache. More...
 
std::array< unsigned int, ElementCacheMap::n_cached_elements+1 > region_element_cache_range_
 Maps of begin and end positions of elements of different regions in ElementCacheMap. More...
 
unsigned int n_elements_
 Number of elements in all regions holds in cache. More...
 

Detailed Description

Holds data of regions (and their elements) stored in ElementCacheMap.

TODO: Needs further optimization. Is this like a public par of the data? The name is too generic.

Definition at line 158 of file field_value_cache.hh.

Member Data Documentation

unsigned int ElementCacheMap::UpdateCacheHelper::n_elements_

Number of elements in all regions holds in cache.

Definition at line 181 of file field_value_cache.hh.

std::unordered_map<unsigned int, RegionData> ElementCacheMap::UpdateCacheHelper::region_cache_indices_map_

Maps of data of different regions in cache TODO: auxiliary data membershould be removed or moved to sepaate structure.

Definition at line 162 of file field_value_cache.hh.

std::unordered_map<unsigned int, unsigned int> ElementCacheMap::UpdateCacheHelper::region_cache_indices_range_

Holds positions of regions in cache TODO Elements of the common region forms continuous chunks in the ElementCacheMap table. This array gives start indices of the regions in array of all cached elements. The last value is number of actually cached elements.

Definition at line 170 of file field_value_cache.hh.

std::array<unsigned int, ElementCacheMap::n_cached_elements+1> ElementCacheMap::UpdateCacheHelper::region_element_cache_range_

Maps of begin and end positions of elements of different regions in ElementCacheMap.

Definition at line 176 of file field_value_cache.hh.

std::array<unsigned int, ElementCacheMap::n_cached_elements+1> ElementCacheMap::UpdateCacheHelper::region_value_cache_range_

Maps of begin and end positions of different regions data in FieldValueCache.

Definition at line 173 of file field_value_cache.hh.


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