Alsvinn  0.5.3
The fast FVM simulator with UQ support
Public Member Functions | List of all members
alsfvm::mpi::CellExchanger Class Referenceabstract

Abstract base class for exchanging cells. More...

#include <alsfvm/mpi/CellExchanger.hpp>

Inheritance diagram for alsfvm::mpi::CellExchanger:
alsfvm::integrator::WaveSpeedAdjuster alsfvm::mpi::CartesianCellExchanger alsfvm::mpi::CudaCartesianCellExchanger

Public Member Functions

virtual ~CellExchanger ()
 
virtual RequestContainer exchangeCells (alsfvm::volume::Volume &outputVolume, const alsfvm::volume::Volume &inputVolume)=0
 Does the exchange of cells between the processors. More...
 
virtual real max (real number)=0
 Does the maximum over all processors. More...
 
real adjustWaveSpeed (real waveSpeed)
 Does the maximum over all wave speeds across processors. More...
 
virtual ivec6 getNeighbours () const =0
 
- Public Member Functions inherited from alsfvm::integrator::WaveSpeedAdjuster
virtual ~WaveSpeedAdjuster ()
 

Detailed Description

Abstract base class for exchanging cells.

Constructor & Destructor Documentation

◆ ~CellExchanger()

virtual alsfvm::mpi::CellExchanger::~CellExchanger ( )
inlinevirtual

Member Function Documentation

◆ adjustWaveSpeed()

real alsfvm::mpi::CellExchanger::adjustWaveSpeed ( real  waveSpeed)
virtual

Does the maximum over all wave speeds across processors.

Implements alsfvm::integrator::WaveSpeedAdjuster.

◆ exchangeCells()

virtual RequestContainer alsfvm::mpi::CellExchanger::exchangeCells ( alsfvm::volume::Volume outputVolume,
const alsfvm::volume::Volume inputVolume 
)
pure virtual

Does the exchange of cells between the processors.

Implemented in alsfvm::mpi::CartesianCellExchanger, and alsfvm::mpi::CudaCartesianCellExchanger.

◆ getNeighbours()

virtual ivec6 alsfvm::mpi::CellExchanger::getNeighbours ( ) const
pure virtual

◆ max()

virtual real alsfvm::mpi::CellExchanger::max ( real  number)
pure virtual

Does the maximum over all processors.

Implemented in alsfvm::mpi::CartesianCellExchanger, and alsfvm::mpi::CudaCartesianCellExchanger.


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