Block-Structured AMR Software Framework
amrex::DistributionMapping::Ref Struct Reference

Public Member Functions

 Ref ()=default
 Constructors to match those in DistributionMapping .... More...
 
 Ref (int len)
 
 Ref (const Vector< int > &pmap)
 
 Ref (Vector< int > &&pmap) noexcept
 
void clear ()
 dtor, copy-ctor, copy-op=, move-ctor, and move-op= are compiler generated. More...
 

Public Attributes

Vector< intm_pmap
 index array for all boxes More...
 
Vector< intm_index_array
 index array for local boxes owned by the team More...
 
std::vector< bool > m_ownership
 true ownership More...
 

Friends

class DistributionMapping
 

Constructor & Destructor Documentation

◆ Ref() [1/4]

amrex::DistributionMapping::Ref::Ref ( )
default

Constructors to match those in DistributionMapping ....

◆ Ref() [2/4]

amrex::DistributionMapping::Ref::Ref ( int  len)
inlineexplicit

◆ Ref() [3/4]

amrex::DistributionMapping::Ref::Ref ( const Vector< int > &  pmap)
inlineexplicit

◆ Ref() [4/4]

amrex::DistributionMapping::Ref::Ref ( Vector< int > &&  pmap)
inlineexplicitnoexcept

Member Function Documentation

◆ clear()

void amrex::DistributionMapping::Ref::clear ( )
inline

dtor, copy-ctor, copy-op=, move-ctor, and move-op= are compiler generated.

Friends And Related Function Documentation

◆ DistributionMapping

friend class DistributionMapping
friend

Member Data Documentation

◆ m_index_array

Vector<int> amrex::DistributionMapping::Ref::m_index_array

index array for local boxes owned by the team

◆ m_ownership

std::vector<bool> amrex::DistributionMapping::Ref::m_ownership

true ownership

◆ m_pmap

Vector<int> amrex::DistributionMapping::Ref::m_pmap

index array for all boxes


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