Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
bitpit::ParaTree::LoadBalanceRanges Struct Reference

Public Types

enum  ExchangeAction {
  ACTION_UNDEFINED = -1 , ACTION_NONE , ACTION_SEND , ACTION_DELETE ,
  ACTION_RECEIVE
}
 

Public Member Functions

 LoadBalanceRanges ()
 
 LoadBalanceRanges (bool serial, const ExchangeRanges &_sendRanges, const ExchangeRanges &_recvRanges)
 
void clear ()
 

Public Attributes

ExchangeAction recvAction
 
ExchangeRanges recvRanges
 
ExchangeAction sendAction
 
ExchangeRanges sendRanges
 

Detailed Description

Defines the range of local octants that will be exchanged during a load balance.

Definition at line 133 of file ParaTree.hpp.

Constructor & Destructor Documentation

◆ LoadBalanceRanges() [1/2]

bitpit::ParaTree::LoadBalanceRanges::LoadBalanceRanges ( )

Default constructor

Definition at line 84 of file ParaTree.cpp.

◆ LoadBalanceRanges() [2/2]

bitpit::ParaTree::LoadBalanceRanges::LoadBalanceRanges ( bool serial,
const ExchangeRanges & _sendRanges,
const ExchangeRanges & _recvRanges )

Constructor

Parameters
serialcontrols is the tree is currently serial or parallel
_sendRangesare the range of local octants that will be sent to other processes
_recvRangesare the range of local octants that will be received from other processes

Definition at line 96 of file ParaTree.cpp.

Member Function Documentation

◆ clear()

void bitpit::ParaTree::LoadBalanceRanges::clear ( )

Clear the ranges

Definition at line 110 of file ParaTree.cpp.

Member Data Documentation

◆ recvAction

ExchangeAction bitpit::ParaTree::LoadBalanceRanges::recvAction

Definition at line 145 of file ParaTree.hpp.

◆ recvRanges

ExchangeRanges bitpit::ParaTree::LoadBalanceRanges::recvRanges

Definition at line 146 of file ParaTree.hpp.

◆ sendAction

ExchangeAction bitpit::ParaTree::LoadBalanceRanges::sendAction

Definition at line 142 of file ParaTree.hpp.

◆ sendRanges

ExchangeRanges bitpit::ParaTree::LoadBalanceRanges::sendRanges

Definition at line 143 of file ParaTree.hpp.


The documentation for this struct was generated from the following files:
--- layout: doxygen_footer ---