Alsvinn
0.5.3
The fast FVM simulator with UQ support
|
Does the cell exchange for a cartesian grid. More...
#include <alsfvm/mpi/CartesianCellExchanger.hpp>
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 |
![]() | |
virtual | ~CellExchanger () |
real | adjustWaveSpeed (real waveSpeed) |
Does the maximum over all wave speeds across processors. More... | |
![]() | |
virtual | ~WaveSpeedAdjuster () |
Does the cell exchange for a cartesian grid.
alsfvm::mpi::CartesianCellExchanger::CartesianCellExchanger | ( | ConfigurationPtr & | configuration, |
const ivec6 & | neighbours | ||
) |
Constructs a new instance
configuration | a pointer to the current MPI configuration |
neighbours | the 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 |
|
overridevirtual |
Does the exchange of data.
Implements alsfvm::mpi::CellExchanger.
|
overridevirtual |
Implements alsfvm::mpi::CellExchanger.
bool alsfvm::mpi::CartesianCellExchanger::hasSide | ( | int | side | ) | const |
Does the maximum over all processors.
Implements alsfvm::mpi::CellExchanger.