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

Does the cell exchange for a cartesian grid. More...

#include <alsfvm/mpi/CartesianCellExchanger.hpp>

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

Public Member Functions

 CartesianCellExchanger (ConfigurationPtr &configuration, const ivec6 &neighbours)
 
virtual RequestContainer exchangeCells (alsfvm::volume::Volume &outputVolume, const alsfvm::volume::Volume &inputVolume) override
 Does the exchange of data. More...
 
bool hasSide (int side) const
 
real max (real value) override
 Does the maximum over all processors. More...
 
ivec6 getNeighbours () const override
 
- Public Member Functions inherited from alsfvm::mpi::CellExchanger
virtual ~CellExchanger ()
 
real adjustWaveSpeed (real waveSpeed)
 Does the maximum over all wave speeds across processors. More...
 
- Public Member Functions inherited from alsfvm::integrator::WaveSpeedAdjuster
virtual ~WaveSpeedAdjuster ()
 

Detailed Description

Does the cell exchange for a cartesian grid.

Constructor & Destructor Documentation

◆ CartesianCellExchanger()

alsfvm::mpi::CartesianCellExchanger::CartesianCellExchanger ( ConfigurationPtr &  configuration,
const ivec6 neighbours 
)

Constructs a new instance

Parameters
configurationa pointer to the current MPI configuration
neighboursthe list of processor neighbours for each side. Has the following format
Index Spatial side 1D Spatial side 2D Spatial side 3D
0 left left left
1 right right right
2 < not used > bottom bottom
3 < not used > top top
4 < not used > < not used > front
5 < not used > < not used > back

Member Function Documentation

◆ exchangeCells()

RequestContainer alsfvm::mpi::CartesianCellExchanger::exchangeCells ( alsfvm::volume::Volume outputVolume,
const alsfvm::volume::Volume inputVolume 
)
overridevirtual

Does the exchange of data.

Implements alsfvm::mpi::CellExchanger.

◆ getNeighbours()

ivec6 alsfvm::mpi::CartesianCellExchanger::getNeighbours ( ) const
overridevirtual

◆ hasSide()

bool alsfvm::mpi::CartesianCellExchanger::hasSide ( int  side) const

◆ max()

real alsfvm::mpi::CartesianCellExchanger::max ( real  number)
overridevirtual

Does the maximum over all processors.

Implements alsfvm::mpi::CellExchanger.


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