VTK
9.5.2
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
Filters
ParallelGeometry
Testing
Cxx
UnstructuredGhostZonesCommon.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-License-Identifier: BSD-3-Clause
3
#ifndef UNSTRUCTUREDGHOSTZONESCOMMON_H_
4
#define UNSTRUCTUREDGHOSTZONESCOMMON_H_
5
6
// VTK includes
7
#include "
vtkMPIUtilities.h
"
8
#include "
vtkMathUtilities.h
"
9
10
// C/C++ includes
11
#include <cmath>
12
#include <iomanip>
13
#include <sstream>
14
15
//------------------------------------------------------------------------------
16
// G L O B A L D A T A
17
//------------------------------------------------------------------------------
18
struct
global
19
{
20
static
double
Origin
[3];
21
static
double
Spacing
[3];
22
static
int
Dims
[3];
23
24
static
int
Rank
;
25
static
int
NRanks
;
26
27
static
vtkUnstructuredGrid
*
Grid
;
28
};
29
30
int
CheckGrid
(
vtkUnstructuredGrid
* ghostGrid,
int
iteration);
31
32
//------------------------------------------------------------------------------
33
void
UpdateGrid
(
int
iteration);
34
35
//------------------------------------------------------------------------------
36
void
SetXYZCellField
();
37
38
//------------------------------------------------------------------------------
39
void
SetXYZNodeField
();
40
41
//------------------------------------------------------------------------------
42
void
WriteDataSet
(
vtkUnstructuredGrid
* grid,
const
std::string
& file);
43
44
//------------------------------------------------------------------------------
45
void
GetPoint
(
int
i,
int
j,
int
k,
double
pnt[3]);
46
47
void
GenerateDataSet
();
48
49
#endif
/* UNSTRUCTUREDGHOSTZONESCOMMON_H_ */
SetXYZNodeField
void SetXYZNodeField()
SetXYZCellField
void SetXYZCellField()
GetPoint
void GetPoint(int i, int j, int k, double pnt[3])
WriteDataSet
void WriteDataSet(vtkUnstructuredGrid *grid, const std::string &file)
CheckGrid
int CheckGrid(vtkUnstructuredGrid *ghostGrid, int iteration)
UpdateGrid
void UpdateGrid(int iteration)
GenerateDataSet
void GenerateDataSet()
vtkUnstructuredGrid
dataset represents arbitrary combinations of all possible cell types
Definition:
vtkUnstructuredGrid.h:43
vtkX3D::string
@ string
Definition:
vtkX3D.h:490
global
Definition:
UnstructuredGhostZonesCommon.h:19
global::Spacing
static double Spacing[3]
Definition:
UnstructuredGhostZonesCommon.h:21
global::Dims
static int Dims[3]
Definition:
UnstructuredGhostZonesCommon.h:22
global::NRanks
static int NRanks
Definition:
UnstructuredGhostZonesCommon.h:25
global::Origin
static double Origin[3]
Definition:
UnstructuredGhostZonesCommon.h:20
global::Grid
static vtkUnstructuredGrid * Grid
Definition:
UnstructuredGhostZonesCommon.h:27
global::Rank
static int Rank
Definition:
UnstructuredGhostZonesCommon.h:24
vtkMPIUtilities.h
vtkMathUtilities.h
Generated on Sun Oct 19 2025 15:30:57 for VTK by
1.9.4