VTK-m  2.0
EnvironmentTracker.h
Go to the documentation of this file.
1 //============================================================================
2 // Copyright (c) Kitware, Inc.
3 // All rights reserved.
4 // See LICENSE.txt for details.
5 //
6 // This software is distributed WITHOUT ANY WARRANTY; without even
7 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 // PURPOSE. See the above copyright notice for more information.
9 //============================================================================
10 #ifndef vtk_m_cont_EnvironmentTracker_h
11 #define vtk_m_cont_EnvironmentTracker_h
12 
13 #include <vtkm/Types.h>
14 #include <vtkm/cont/vtkm_cont_export.h>
16 
17 #include <vtkm/thirdparty/diy/diy.h>
18 
19 namespace vtkm
20 {
21 namespace cont
22 {
23 
28 class VTKM_CONT_EXPORT EnvironmentTracker
29 {
30 public:
31  VTKM_CONT
32  static void SetCommunicator(const vtkmdiy::mpi::communicator& comm);
33 
34  VTKM_CONT
35  static const vtkmdiy::mpi::communicator& GetCommunicator();
36 };
37 }
38 }
39 
40 
41 #endif // vtk_m_cont_EnvironmentTracker_h
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
Types.h
ExportMacros.h
vtkm::cont::EnvironmentTracker
Maintain MPI controller, if any, for distributed operation.
Definition: EnvironmentTracker.h:28
VTKM_CONT
#define VTKM_CONT
Definition: ExportMacros.h:57