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

Public Member Functions

 WeightedBox (int b, Long w)
 
Long weight () const
 
int boxid () const
 
bool operator< (const WeightedBox &rhs) const
 

Private Attributes

int m_boxid
 
Long m_weight
 

Constructor & Destructor Documentation

◆ WeightedBox()

amrex::WeightedBox::WeightedBox ( int  b,
Long  w 
)
inline

Member Function Documentation

◆ boxid()

int amrex::WeightedBox::boxid ( ) const
inline

◆ operator<()

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

◆ weight()

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

Member Data Documentation

◆ m_boxid

int amrex::WeightedBox::m_boxid
private

◆ m_weight

Long amrex::WeightedBox::m_weight
private

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