Block-Structured AMR Software Framework
amrex::WeightedBoxList Class Reference

Public Member Functions

 WeightedBoxList (Long w)
 
 WeightedBoxList (Vector< WeightedBox > *lb)
 
Long weight () const
 
void addWeight (Long dw)
 
void erase (Vector< WeightedBox >::iterator &it)
 
void push_back (const WeightedBox &bx)
 
int size () const
 
Vector< WeightedBox >::const_iterator begin () const
 
Vector< WeightedBox >::iterator begin ()
 
Vector< WeightedBox >::const_iterator end () const
 
Vector< WeightedBox >::iterator end ()
 
bool operator< (const WeightedBoxList &rhs) const
 

Private Attributes

Vector< WeightedBox > * m_lb
 
Long m_weight
 

Constructor & Destructor Documentation

◆ WeightedBoxList() [1/2]

amrex::WeightedBoxList::WeightedBoxList ( Long  w)
inline

◆ WeightedBoxList() [2/2]

amrex::WeightedBoxList::WeightedBoxList ( Vector< WeightedBox > *  lb)
inline

Member Function Documentation

◆ addWeight()

void amrex::WeightedBoxList::addWeight ( Long  dw)
inline

◆ begin() [1/2]

Vector<WeightedBox>::iterator amrex::WeightedBoxList::begin ( )
inline

◆ begin() [2/2]

Vector<WeightedBox>::const_iterator amrex::WeightedBoxList::begin ( ) const
inline

◆ end() [1/2]

Vector<WeightedBox>::iterator amrex::WeightedBoxList::end ( )
inline

◆ end() [2/2]

Vector<WeightedBox>::const_iterator amrex::WeightedBoxList::end ( ) const
inline

◆ erase()

void amrex::WeightedBoxList::erase ( Vector< WeightedBox >::iterator &  it)
inline

◆ operator<()

bool amrex::WeightedBoxList::operator< ( const WeightedBoxList rhs) const
inline

◆ push_back()

void amrex::WeightedBoxList::push_back ( const WeightedBox bx)
inline

◆ size()

int amrex::WeightedBoxList::size ( ) const
inline

◆ weight()

Long amrex::WeightedBoxList::weight ( ) const
inline

Member Data Documentation

◆ m_lb

Vector<WeightedBox>* amrex::WeightedBoxList::m_lb
private

◆ m_weight

Long amrex::WeightedBoxList::m_weight
private

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