Flow123d  JS_before_hm-1008-g3dab983
Public Member Functions | Public Attributes | List of all members
ElementCacheMap::RegionData Struct Reference

#include <field_value_cache.hh>

Public Member Functions

 RegionData ()
 Constructor. More...
 
bool add (ElementAccessor< 3 > elm)
 Add element if does not exist. More...
 

Public Attributes

std::array< unsigned int, ElementCacheMap::n_cached_elementselm_indices_
 Array of elements idx, ensures element uniqueness. More...
 
unsigned int n_elements_
 Number of element indices. More...
 

Detailed Description

Holds elements indices of one region stored in cache.

TODO: Auxilliary structure, needs optimization: Proposal -

Definition at line 130 of file field_value_cache.hh.

Constructor & Destructor Documentation

ElementCacheMap::RegionData::RegionData ( )
inline

Constructor.

Definition at line 133 of file field_value_cache.hh.

Member Function Documentation

bool ElementCacheMap::RegionData::add ( ElementAccessor< 3 >  elm)
inline

Add element if does not exist.

Definition at line 136 of file field_value_cache.hh.

Member Data Documentation

std::array<unsigned int, ElementCacheMap::n_cached_elements> ElementCacheMap::RegionData::elm_indices_

Array of elements idx, ensures element uniqueness.

Definition at line 146 of file field_value_cache.hh.

unsigned int ElementCacheMap::RegionData::n_elements_

Number of element indices.

Definition at line 148 of file field_value_cache.hh.


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