VTKExtensions
FiltersMaterialInterface
vtkMaterialInterfaceProcessRing.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
3
// SPDX-License-Identifier: BSD-3-Clause
13
#ifndef vtkMaterialInterfaceProcessRing_h
14
#define vtkMaterialInterfaceProcessRing_h
15
16
#include "
vtkMaterialInterfaceProcessLoading.h
"
17
#include "
vtkPVVTKExtensionsFiltersMaterialInterfaceModule.h
"
//needed for exports
18
#include <vector>
// needed for Initialize()
19
20
class
VTKPVVTKEXTENSIONSFILTERSMATERIALINTERFACE_EXPORT
vtkMaterialInterfaceProcessRing
21
{
22
public
:
23
vtkMaterialInterfaceProcessRing
();
24
~
vtkMaterialInterfaceProcessRing
();
28
void
Clear();
32
void
Initialize(
int
nProcs);
37
void
Initialize(std::vector<vtkMaterialInterfaceProcessLoading>& Q,
vtkIdType
upperLoadingBound);
41
vtkIdType
GetNextId();
45
void
Print();
46
47
private
:
48
vtkIdType
NextElement;
49
vtkIdType
BufferSize;
50
class
BufferContainer;
51
BufferContainer* Buffer;
52
};
53
#endif
VTKPVVTKEXTENSIONSFILTERSMATERIALINTERFACE_EXPORT
#define VTKPVVTKEXTENSIONSFILTERSMATERIALINTERFACE_EXPORT
Definition:
vtkPVVTKExtensionsFiltersMaterialInterfaceModule.h:15
vtkIdType
int vtkIdType
vtkMaterialInterfaceProcessRing
Data structure used to distribute work amongst available processes.
Definition:
vtkMaterialInterfaceProcessRing.h:20
vtkPVVTKExtensionsFiltersMaterialInterfaceModule.h
vtkMaterialInterfaceProcessLoading.h
Generated by
1.8.13 on Tue Oct 1 2024