ParaView
ParaViewCore
VTKExtensions
Default
vtkMaterialInterfaceProcessRing.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: $RCSfile$
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
24
#ifndef vtkMaterialInterfaceProcessRing_h
25
#define vtkMaterialInterfaceProcessRing_h
26
27
#include "
vtkMaterialInterfaceProcessLoading.h
"
28
#include "vtkPVVTKExtensionsDefaultModule.h"
//needed for exports
29
#include <vector>
// needed for Initialize()
30
31
class
VTKPVVTKEXTENSIONSDEFAULT_EXPORT
vtkMaterialInterfaceProcessRing
32
{
33
public
:
34
vtkMaterialInterfaceProcessRing
();
35
~
vtkMaterialInterfaceProcessRing
();
39
void
Clear();
43
void
Initialize(
int
nProcs);
48
void
Initialize(std::vector<vtkMaterialInterfaceProcessLoading>& Q, vtkIdType upperLoadingBound);
52
vtkIdType GetNextId();
56
void
Print();
57
58
private
:
59
vtkIdType NextElement;
60
vtkIdType BufferSize;
61
class
BufferContainer;
62
BufferContainer* Buffer;
63
};
64
#endif
65
66
// VTK-HeaderTest-Exclude: vtkMaterialInterfaceProcessRing.h
vtkMaterialInterfaceProcessRing
Data structure used to distribute work amongst available processes.
Definition:
vtkMaterialInterfaceProcessRing.h:31
vtkMaterialInterfaceProcessLoading.h
Generated by
1.8.12