gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
VTKData Class Reference

#include <adaptiveData.h>

Public Member Functions

 VTKData (std::string fieldName="unknown", int numComp=-1, int step=-1, int level=-1, double tol=0.0, std::string filename="unknown", int useDefaultName=1, int npart=-1, bool isBinary=true)
 
void clearLocalData ()
 
 ~VTKData ()
 
void incrementTotNod (int increment)
 
void incrementTotElm (int increment)
 
void incrementTotElmLev0 (int increment)
 
bool isLittleEndian ()
 
void SwapArrayByteOrder (void *array, int nbytes, int nItems)
 
int getPVCellType (int numEdges)
 
void writeVTKElmData ()
 
void initVTKFile ()
 
void finalizeVTKFile ()
 
void setFileDistribution ()
 

Public Attributes

std::string vtkFieldName
 
std::string vtkFileName
 
std::string vtkFormat
 
std::string vtkDirName
 
int vtkStep
 
int vtkLevel
 
int vtkNumComp
 
double vtkTol
 
int vtkNpart
 
bool vtkIsBinary
 
int vtkUseDefaultName
 
int minElmPerPart
 
int maxElmPerPart
 
int numPartMinElm
 
int numPartMaxElm
 
FILE * vtkFile
 
FILE * vtkFileCoord
 
FILE * vtkFileConnect
 
FILE * vtkFileCellOffset
 
FILE * vtkFileCellType
 
FILE * vtkFileNodVal
 
int vtkCountFile
 
int vtkTotNumElmLev0
 
int vtkCountTotElmLev0
 
int vtkCountTotNod
 
int vtkCountTotElm
 
int vtkCountCoord
 
int vtkCountTotNodConnect
 
int vtkCountTotVal
 
int vtkCountCellOffset
 
int vtkCountCellType
 
std::vector< vectIntvtkLocalConnectivity
 
std::vector< int > vtkLocalCellType
 
std::vector< PCoordsvtkLocalCoords
 
std::vector< PValuesvtkLocalValues
 

Detailed Description

Definition at line 485 of file adaptiveData.h.

Constructor & Destructor Documentation

◆ VTKData()

VTKData::VTKData ( std::string  fieldName = "unknown",
int  numComp = -1,
int  step = -1,
int  level = -1,
double  tol = 0.0,
std::string  filename = "unknown",
int  useDefaultName = 1,
int  npart = -1,
bool  isBinary = true 
)
inline

Definition at line 529 of file adaptiveData.h.

◆ ~VTKData()

VTKData::~VTKData ( )
inline

Definition at line 568 of file adaptiveData.h.

Here is the call graph for this function:

Member Function Documentation

◆ clearLocalData()

void VTKData::clearLocalData ( )
inline

Definition at line 557 of file adaptiveData.h.

Referenced by adaptiveElements< T >::addInViewForVTK(), and ~VTKData().

Here is the caller graph for this function:

◆ finalizeVTKFile()

void VTKData::finalizeVTKFile ( )

Definition at line 1874 of file adaptiveData.cpp.

Referenced by writeVTKElmData().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getPVCellType()

int VTKData::getPVCellType ( int  numEdges)

Definition at line 2198 of file adaptiveData.cpp.

Referenced by adaptiveElements< T >::addInViewForVTK().

Here is the caller graph for this function:

◆ incrementTotElm()

void VTKData::incrementTotElm ( int  increment)
inline

Definition at line 570 of file adaptiveData.h.

Referenced by adaptiveElements< T >::addInViewForVTK().

Here is the caller graph for this function:

◆ incrementTotElmLev0()

void VTKData::incrementTotElmLev0 ( int  increment)
inline

Definition at line 571 of file adaptiveData.h.

Referenced by adaptiveElements< T >::addInViewForVTK().

Here is the caller graph for this function:

◆ incrementTotNod()

void VTKData::incrementTotNod ( int  increment)
inline

Definition at line 569 of file adaptiveData.h.

Referenced by adaptiveElements< T >::addInViewForVTK().

Here is the caller graph for this function:

◆ initVTKFile()

void VTKData::initVTKFile ( )

Definition at line 1800 of file adaptiveData.cpp.

Referenced by writeVTKElmData().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isLittleEndian()

bool VTKData::isLittleEndian ( )

Definition at line 1602 of file adaptiveData.cpp.

Referenced by finalizeVTKFile(), and initVTKFile().

Here is the caller graph for this function:

◆ setFileDistribution()

void VTKData::setFileDistribution ( )
inline

Definition at line 580 of file adaptiveData.h.

Referenced by adaptiveData::changeResolutionForVTK().

Here is the caller graph for this function:

◆ SwapArrayByteOrder()

void VTKData::SwapArrayByteOrder ( void *  array,
int  nbytes,
int  nItems 
)

Definition at line 1611 of file adaptiveData.cpp.

Here is the call graph for this function:

◆ writeVTKElmData()

void VTKData::writeVTKElmData ( )

Definition at line 1624 of file adaptiveData.cpp.

Referenced by adaptiveElements< T >::addInViewForVTK().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ maxElmPerPart

int VTKData::maxElmPerPart

Definition at line 502 of file adaptiveData.h.

Referenced by setFileDistribution(), and writeVTKElmData().

◆ minElmPerPart

int VTKData::minElmPerPart

Definition at line 502 of file adaptiveData.h.

Referenced by setFileDistribution(), and writeVTKElmData().

◆ numPartMaxElm

int VTKData::numPartMaxElm

Definition at line 502 of file adaptiveData.h.

Referenced by setFileDistribution().

◆ numPartMinElm

int VTKData::numPartMinElm

Definition at line 502 of file adaptiveData.h.

Referenced by setFileDistribution(), and writeVTKElmData().

◆ vtkCountCellOffset

int VTKData::vtkCountCellOffset

Definition at line 520 of file adaptiveData.h.

Referenced by finalizeVTKFile(), VTKData(), and writeVTKElmData().

◆ vtkCountCellType

int VTKData::vtkCountCellType

Definition at line 521 of file adaptiveData.h.

Referenced by finalizeVTKFile(), VTKData(), and writeVTKElmData().

◆ vtkCountCoord

int VTKData::vtkCountCoord

Definition at line 517 of file adaptiveData.h.

Referenced by finalizeVTKFile(), VTKData(), and writeVTKElmData().

◆ vtkCountFile

int VTKData::vtkCountFile

Definition at line 511 of file adaptiveData.h.

Referenced by finalizeVTKFile(), initVTKFile(), VTKData(), and writeVTKElmData().

◆ vtkCountTotElm

int VTKData::vtkCountTotElm

Definition at line 516 of file adaptiveData.h.

Referenced by finalizeVTKFile(), incrementTotElm(), and VTKData().

◆ vtkCountTotElmLev0

int VTKData::vtkCountTotElmLev0

Definition at line 514 of file adaptiveData.h.

Referenced by incrementTotElmLev0(), VTKData(), and writeVTKElmData().

◆ vtkCountTotNod

int VTKData::vtkCountTotNod

◆ vtkCountTotNodConnect

int VTKData::vtkCountTotNodConnect

Definition at line 518 of file adaptiveData.h.

Referenced by finalizeVTKFile(), VTKData(), and writeVTKElmData().

◆ vtkCountTotVal

int VTKData::vtkCountTotVal

Definition at line 519 of file adaptiveData.h.

Referenced by finalizeVTKFile(), VTKData(), and writeVTKElmData().

◆ vtkDirName

std::string VTKData::vtkDirName

Definition at line 492 of file adaptiveData.h.

Referenced by finalizeVTKFile(), and initVTKFile().

◆ vtkFieldName

std::string VTKData::vtkFieldName

Definition at line 489 of file adaptiveData.h.

Referenced by finalizeVTKFile(), initVTKFile(), and VTKData().

◆ vtkFile

FILE* VTKData::vtkFile

Definition at line 505 of file adaptiveData.h.

Referenced by finalizeVTKFile(), and initVTKFile().

◆ vtkFileCellOffset

FILE* VTKData::vtkFileCellOffset

Definition at line 508 of file adaptiveData.h.

Referenced by finalizeVTKFile(), initVTKFile(), and writeVTKElmData().

◆ vtkFileCellType

FILE* VTKData::vtkFileCellType

Definition at line 509 of file adaptiveData.h.

Referenced by finalizeVTKFile(), initVTKFile(), and writeVTKElmData().

◆ vtkFileConnect

FILE* VTKData::vtkFileConnect

Definition at line 507 of file adaptiveData.h.

Referenced by finalizeVTKFile(), initVTKFile(), and writeVTKElmData().

◆ vtkFileCoord

FILE* VTKData::vtkFileCoord

Definition at line 506 of file adaptiveData.h.

Referenced by finalizeVTKFile(), initVTKFile(), and writeVTKElmData().

◆ vtkFileName

std::string VTKData::vtkFileName

Definition at line 490 of file adaptiveData.h.

Referenced by initVTKFile(), and VTKData().

◆ vtkFileNodVal

FILE* VTKData::vtkFileNodVal

Definition at line 510 of file adaptiveData.h.

Referenced by finalizeVTKFile(), initVTKFile(), and writeVTKElmData().

◆ vtkFormat

std::string VTKData::vtkFormat

Definition at line 491 of file adaptiveData.h.

Referenced by finalizeVTKFile(), initVTKFile(), VTKData(), and writeVTKElmData().

◆ vtkIsBinary

bool VTKData::vtkIsBinary

Definition at line 500 of file adaptiveData.h.

Referenced by finalizeVTKFile(), VTKData(), and writeVTKElmData().

◆ vtkLevel

int VTKData::vtkLevel

Definition at line 495 of file adaptiveData.h.

Referenced by adaptiveData::changeResolutionForVTK(), initVTKFile(), and VTKData().

◆ vtkLocalCellType

std::vector<int> VTKData::vtkLocalCellType

◆ vtkLocalConnectivity

std::vector<vectInt> VTKData::vtkLocalConnectivity

◆ vtkLocalCoords

std::vector<PCoords> VTKData::vtkLocalCoords

◆ vtkLocalValues

std::vector<PValues> VTKData::vtkLocalValues

◆ vtkNpart

int VTKData::vtkNpart

Definition at line 498 of file adaptiveData.h.

Referenced by initVTKFile(), setFileDistribution(), and VTKData().

◆ vtkNumComp

int VTKData::vtkNumComp

Definition at line 496 of file adaptiveData.h.

Referenced by finalizeVTKFile(), initVTKFile(), VTKData(), and writeVTKElmData().

◆ vtkStep

int VTKData::vtkStep

Definition at line 494 of file adaptiveData.h.

Referenced by initVTKFile(), and VTKData().

◆ vtkTol

double VTKData::vtkTol

Definition at line 497 of file adaptiveData.h.

Referenced by adaptiveElements< T >::addInViewForVTK(), initVTKFile(), and VTKData().

◆ vtkTotNumElmLev0

int VTKData::vtkTotNumElmLev0

◆ vtkUseDefaultName

int VTKData::vtkUseDefaultName

Definition at line 501 of file adaptiveData.h.

Referenced by initVTKFile(), and VTKData().


The documentation for this class was generated from the following files: