Canoe
Comprehensive Atmosphere N' Ocean Engine
ExchangerBase Class Referenceabstract

#include <exchanger.hpp>

Inheritance diagram for ExchangerBase:
[legend]

Public Member Functions

 ExchangerBase ()
 
virtual ~ExchangerBase ()
 
virtual void PackData (MeshBlock const *pmb)
 Pack data to send buffer. More...
 
virtual bool UnpackData (MeshBlock const *pmb)
 Unpack data from receive buffer. More...
 
virtual void Transfer (MeshBlock const *pmb, int n=-1)=0
 Send and receive data. More...
 

Detailed Description

Definition at line 17 of file exchanger.hpp.

Constructor & Destructor Documentation

◆ ExchangerBase()

ExchangerBase::ExchangerBase ( )
inline

Definition at line 19 of file exchanger.hpp.

◆ ~ExchangerBase()

virtual ExchangerBase::~ExchangerBase ( )
inlinevirtual

Definition at line 24 of file exchanger.hpp.

Member Function Documentation

◆ PackData()

virtual void ExchangerBase::PackData ( MeshBlock const *  pmb)
inlinevirtual

Pack data to send buffer.

Reimplemented in ParticleBase.

Definition at line 27 of file exchanger.hpp.

◆ UnpackData()

virtual bool ExchangerBase::UnpackData ( MeshBlock const *  pmb)
inlinevirtual

Unpack data from receive buffer.

Reimplemented in ParticleBase.

Definition at line 30 of file exchanger.hpp.

◆ Transfer()

virtual void ExchangerBase::Transfer ( MeshBlock const *  pmb,
int  n = -1 
)
pure virtual

Send and receive data.

Implemented in NeighborExchanger< T >, NeighborExchanger< ParticleBase >, and RadiationBand.


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