46 const ivec6& neighbours);
61 const ivec6 neighbours;
63 std::vector<MpiIndexTypePtr> datatypesReceive;
64 std::vector<MpiIndexTypePtr> datatypesSend;
68 void createDataTypeReceive(
int side,
const volume::Volume& volume);
Does the cell exchange for a cartesian grid.
Definition: CartesianCellExchanger.hpp:28
real max(real value) override
Does the maximum over all processors.
Definition: CartesianCellExchanger.cpp:38
virtual RequestContainer exchangeCells(alsfvm::volume::Volume &outputVolume, const alsfvm::volume::Volume &inputVolume) override
Does the exchange of data.
Definition: CartesianCellExchanger.cpp:51
bool hasSide(int side) const
Definition: CartesianCellExchanger.cpp:33
The Volume class represents a volume (a collection of cells with values for each cell (eg...
Definition: Volume.hpp:30
Abstract base class for exchanging cells.
Definition: CellExchanger.hpp:26
double real
Definition: types.hpp:65
Holds a collection of requests.
Definition: RequestContainer.hpp:23
alsfvm::shared_ptr< Configuration > ConfigurationPtr
Definition: Configuration.hpp:53
Various utility functions to implement the tecno flux.
Definition: types.hpp:30
ivec6 getNeighbours() const override
Definition: CartesianCellExchanger.cpp:47
CartesianCellExchanger(ConfigurationPtr &configuration, const ivec6 &neighbours)
Definition: CartesianCellExchanger.cpp:27