source: src/comm/domain_decomposition_mpi.hpp@ 6f05224

Last change on this file since 6f05224 was f003a9, checked in by Julian Iseringhausen <isering@…>, 14 years ago

Refactored vmg in order to separate the core library and the particle simulation part properly.

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

  • Property mode set to 100644
File size: 768 bytes
RevLine 
[dfed1c]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
[f003a9]19class Index;
20
[dfed1c]21class DomainDecompositionMPI : public DomainDecomposition
22{
23public:
24 void Compute(Comm* comm, const Interface* interface, std::vector<GlobalIndices>& global);
25
26private:
27 bool IsActive(Comm* comm, const Index& size_global, Index& procs);
28 void FineToCoarse(Comm* comm, int& begin, int& end, int levels);
29};
30
31}
32
33#endif /* DOMAIN_DECOMPOSITION_MPI_HPP_ */
Note: See TracBrowser for help on using the repository browser.