FEMSuite
Public Member Functions | Protected Attributes | List of all members
MediumMap Class Reference

This class sparsely maps a media set to a large address space. More...

#include <MediumMap.h>

Public Member Functions

MediumId GetLastMediumId () const
 
Medium GetLastMedium () const
 
void ReplicateLastMediumId (const GridIndex &gi)
 
void SetMedium (const GridIndex &, const Medium &)
 
bool empty () const
 
std::map< Address, MediumId > GetMediumIdMap () const
 
std::map< MediumId, MediumGetMediumMap () const
 
Address ToAddress (const GridIndex &gridIndex) const
 
DimensionArray< size_t > GetSizes () const
 
void SetSizes (const DimensionArray< size_t > &s)
 
 MediumMap (const MediumMap &)
 
 MediumMap (const DimensionArray< size_t > &dimensionSizes)
 
MediumMapoperator= (class MediumMap const &)
 

Protected Attributes

std::map< Address, MediumId > m_MediumIdMap
 
std::map< MediumId, Mediumm_MediumMap
 
MediumId m_MediumIdCounter
 
DimensionArray< size_t > m_Sizes
 

Detailed Description

This class sparsely maps a media set to a large address space.


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