PolyDiM
C++ library for POLYtopal DIscretization Methods
Loading...
Searching...
No Matches
IMpiProcess.hpp
Go to the documentation of this file.
1// _LICENSE_HEADER_
2//
3// Copyright (C) 2019 - 2025.
4// Terms register on the GPL-3.0 license.
5//
6// This file can be redistributed and/or modified under the license terms.
7//
8// See top level LICENSE file for more details.
9//
10// This file can be used citing references in CITATION.cff file.
11
12#ifndef __GEDIM_IMPIPROCESS_H
13#define __GEDIM_IMPIPROCESS_H
14
15namespace Gedim
16{
20{
21 public:
22 virtual ~IMpiProcess()
23 {
24 }
25
27 virtual unsigned int Rank() const = 0;
29 virtual unsigned int NumberProcesses() const = 0;
31 virtual bool IsActive() const = 0;
32
34 virtual void Summary() = 0;
35};
36} // namespace Gedim
37
38#endif // __GEDIM_IMPIPROCESS_H
Interface used to implement the MPI process.
Definition IMpiProcess.hpp:20
virtual void Summary()=0
Summary of the process.
virtual unsigned int NumberProcesses() const =0
virtual bool IsActive() const =0
virtual unsigned int Rank() const =0
virtual ~IMpiProcess()
Definition IMpiProcess.hpp:22
Definition Eigen_Array.cpp:22