Alsvinn
0.5.3
The fast FVM simulator with UQ support
|
Performs domain decomposition on a regular cartesian grid. More...
#include <alsfvm/mpi/domain/CartesianDecomposition.hpp>
Public Member Functions | |
CartesianDecomposition (const DomainDecompositionParameters ¶meters) | |
CartesianDecomposition (int nx, int ny, int nz) | |
virtual DomainInformationPtr | decompose (ConfigurationPtr configuration, const grid::Grid &grid) override |
![]() | |
virtual | ~DomainDecomposition () |
Performs domain decomposition on a regular cartesian grid.
alsfvm::mpi::domain::CartesianDecomposition::CartesianDecomposition | ( | const DomainDecompositionParameters & | parameters | ) |
Constructs a new decomposition with the parameters, uses the parameters for nx, ny, nz
parameters | used for nx, ny, nz |
alsfvm::mpi::domain::CartesianDecomposition::CartesianDecomposition | ( | int | nx, |
int | ny, | ||
int | nz | ||
) |
Constructs a new decomposition with the parameters, uses the parameters for nx, ny, nz
nx | number of cpus in x direction |
ny | number of cpus in y direction |
nz | number of cpus in z direction |
|
overridevirtual |
Decomposes the domain
configuration | the given mpi configuration |
grid | the whole grid to decompose |
Implements alsfvm::mpi::domain::DomainDecomposition.