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

#include <AMReX_AlgPartition.H>

Classes

struct  Ref
 

Public Member Functions

 AlgPartition ()
 
 AlgPartition (Long global_size)
 
 AlgPartition (Vector< Long > const &rows)
 
 AlgPartition (Vector< Long > &&rows) noexcept
 
void define (Long global_size)
 
void define (Vector< Long > const &rows)
 
void define (Vector< Long > &&rows)
 
bool empty () const
 
Long operator[] (int i) const
 
Long numGlobalRows () const
 
int numActiveProcs () const
 
Vector< Long > const & dataVector () const
 
bool operator== (AlgPartition const &rhs) const noexcept
 
bool operator!= (AlgPartition const &rhs) const noexcept
 

Private Attributes

std::shared_ptr< Refm_ref
 

Constructor & Destructor Documentation

◆ AlgPartition() [1/4]

amrex::AlgPartition::AlgPartition ( )

◆ AlgPartition() [2/4]

amrex::AlgPartition::AlgPartition ( Long  global_size)
explicit

◆ AlgPartition() [3/4]

amrex::AlgPartition::AlgPartition ( Vector< Long > const &  rows)
explicit

◆ AlgPartition() [4/4]

amrex::AlgPartition::AlgPartition ( Vector< Long > &&  rows)
explicitnoexcept

Member Function Documentation

◆ dataVector()

Vector<Long> const& amrex::AlgPartition::dataVector ( ) const
inline

◆ define() [1/3]

void amrex::AlgPartition::define ( Long  global_size)

◆ define() [2/3]

void amrex::AlgPartition::define ( Vector< Long > &&  rows)

◆ define() [3/3]

void amrex::AlgPartition::define ( Vector< Long > const &  rows)

◆ empty()

bool amrex::AlgPartition::empty ( ) const
inline

◆ numActiveProcs()

int amrex::AlgPartition::numActiveProcs ( ) const
inline

◆ numGlobalRows()

Long amrex::AlgPartition::numGlobalRows ( ) const
inline

◆ operator!=()

bool amrex::AlgPartition::operator!= ( AlgPartition const &  rhs) const
noexcept

◆ operator==()

bool amrex::AlgPartition::operator== ( AlgPartition const &  rhs) const
noexcept

◆ operator[]()

Long amrex::AlgPartition::operator[] ( int  i) const
inline

Member Data Documentation

◆ m_ref

std::shared_ptr<Ref> amrex::AlgPartition::m_ref
private

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