source: src/comm/domain_decomposition_mpi.hpp@ 4e8206

Last change on this file since 4e8206 was dfed1c, checked in by Julian Iseringhausen <isering@…>, 14 years ago

Major vmg update.

git-svn-id: https://svn.version.fz-juelich.de/scafacos/trunk@1136 5161e1c8-67bf-11de-9fd5-51895aff932f

  • Property mode set to 100644
File size: 754 bytes
Line 
1/**
2 * @file domain_decomposition_mpi.hpp
3 * @author Julian Iseringhausen <isering@ins.uni-bonn.de>
4 * @date Mon Jun 27 12:53:50 2011
5 *
6 * @brief Computes a domain decomposition which separates
7 * the finest grid equally for all processes.
8 *
9 */
10
11#ifndef DOMAIN_DECOMPOSITION_MPI_HPP_
12#define DOMAIN_DECOMPOSITION_MPI_HPP_
13
14#include "comm/domain_decomposition.hpp"
15
16namespace VMG
17{
18
19class DomainDecompositionMPI : public DomainDecomposition
20{
21public:
22 void Compute(Comm* comm, const Interface* interface, std::vector<GlobalIndices>& global);
23
24private:
25 bool IsActive(Comm* comm, const Index& size_global, Index& procs);
26 void FineToCoarse(Comm* comm, int& begin, int& end, int levels);
27};
28
29}
30
31#endif /* DOMAIN_DECOMPOSITION_MPI_HPP_ */
Note: See TracBrowser for help on using the repository browser.