VTK  9.1.0
Public Member Functions | Public Attributes | Friends | List of all members
vtkAMReXGridReaderInternal Class Reference

Consists of the low-level AMReX Reader used by the vtkAMReXGridReader. More...

#include <vtkAMReXGridReaderInternal.h>

Collaboration diagram for vtkAMReXGridReaderInternal:
[legend]

Public Member Functions

 vtkAMReXGridReaderInternal ()
 
 ~vtkAMReXGridReaderInternal ()
 
void DestroyHeader ()
 
void DestroyLevelHeader ()
 
void PrintSelf (std::ostream &os, vtkIndent indent)
 
void SetFileName (char *fName)
 
void ReadMetaData ()
 
bool ReadHeader ()
 
bool ReadLevelHeader ()
 
int GetNumberOfLevels ()
 
int GetBlockLevel (const int blockIdx)
 
int GetNumberOfBlocks ()
 
int GetBlockIndexWithinLevel (int blockIdx, int level)
 
void GetBlockAttribute (const char *attribute, int blockIdx, vtkDataSet *pDataSet)
 
int GetOffsetOfAttribute (const char *attribute)
 
void ReadFAB (std::istream &is)
 
int ReadVersion (std::istream &is)
 
void ReadOrder (std::istream &is, std::vector< int > &ar)
 
void PrintOrder (std::vector< int > &ar)
 
void ReadFormat (std::istream &is, std::vector< long > &ar)
 
void PrintFormat (std::vector< long > &ar)
 
RealDescriptorReadRealDescriptor (std::istream &is)
 
int ReadBoxArray (std::istream &is, int *boxArray, int *boxArrayDim)
 
void PrintBoxArray (int *boxArray)
 
int ReadNumberOfAttributes (std::istream &is)
 
void ReadBlockAttribute (std::istream &is, int numberOfPoints, int size, char *buffer)
 
void Convert (void *out, const void *in, long nitems, const RealDescriptor &ord, const RealDescriptor &ird)
 
void PermuteOrder (void *out, const void *in, long nitems, const int *outord, const int *inord, int REALSIZE)
 
template<typename T >
void CreateVTKAttributeArray (vtkAOSDataArrayTemplate< T > *dataArray, const RealDescriptor *ord, const RealDescriptor *ird, const std::vector< std::vector< char > > &buffers, const int numberOfPoints, const std::string &attribute)
 

Public Attributes

bool headersAreRead
 
bool debugReader
 
std::string FileName
 
vtkAMReXGridHeaderHeader
 
std::vector< vtkAMReXGridLevelHeader * > LevelHeader
 

Friends

class vtkAMReXGridHeader
 
class vtkAMReXGridLeveHeader
 

Detailed Description

Consists of the low-level AMReX Reader used by the vtkAMReXGridReader.

See also
vtkAMReXGridReader

Definition at line 214 of file vtkAMReXGridReaderInternal.h.

Constructor & Destructor Documentation

◆ vtkAMReXGridReaderInternal()

vtkAMReXGridReaderInternal::vtkAMReXGridReaderInternal ( )

◆ ~vtkAMReXGridReaderInternal()

vtkAMReXGridReaderInternal::~vtkAMReXGridReaderInternal ( )

Member Function Documentation

◆ DestroyHeader()

void vtkAMReXGridReaderInternal::DestroyHeader ( )

◆ DestroyLevelHeader()

void vtkAMReXGridReaderInternal::DestroyLevelHeader ( )

◆ PrintSelf()

void vtkAMReXGridReaderInternal::PrintSelf ( std::ostream &  os,
vtkIndent  indent 
)

◆ SetFileName()

void vtkAMReXGridReaderInternal::SetFileName ( char *  fName)

◆ ReadMetaData()

void vtkAMReXGridReaderInternal::ReadMetaData ( )

◆ ReadHeader()

bool vtkAMReXGridReaderInternal::ReadHeader ( )

◆ ReadLevelHeader()

bool vtkAMReXGridReaderInternal::ReadLevelHeader ( )

◆ GetNumberOfLevels()

int vtkAMReXGridReaderInternal::GetNumberOfLevels ( )

◆ GetBlockLevel()

int vtkAMReXGridReaderInternal::GetBlockLevel ( const int  blockIdx)

◆ GetNumberOfBlocks()

int vtkAMReXGridReaderInternal::GetNumberOfBlocks ( )

◆ GetBlockIndexWithinLevel()

int vtkAMReXGridReaderInternal::GetBlockIndexWithinLevel ( int  blockIdx,
int  level 
)

◆ GetBlockAttribute()

void vtkAMReXGridReaderInternal::GetBlockAttribute ( const char *  attribute,
int  blockIdx,
vtkDataSet pDataSet 
)

◆ GetOffsetOfAttribute()

int vtkAMReXGridReaderInternal::GetOffsetOfAttribute ( const char *  attribute)

◆ ReadFAB()

void vtkAMReXGridReaderInternal::ReadFAB ( std::istream &  is)

◆ ReadVersion()

int vtkAMReXGridReaderInternal::ReadVersion ( std::istream &  is)

◆ ReadOrder()

void vtkAMReXGridReaderInternal::ReadOrder ( std::istream &  is,
std::vector< int > &  ar 
)

◆ PrintOrder()

void vtkAMReXGridReaderInternal::PrintOrder ( std::vector< int > &  ar)

◆ ReadFormat()

void vtkAMReXGridReaderInternal::ReadFormat ( std::istream &  is,
std::vector< long > &  ar 
)

◆ PrintFormat()

void vtkAMReXGridReaderInternal::PrintFormat ( std::vector< long > &  ar)

◆ ReadRealDescriptor()

RealDescriptor * vtkAMReXGridReaderInternal::ReadRealDescriptor ( std::istream &  is)

◆ ReadBoxArray()

int vtkAMReXGridReaderInternal::ReadBoxArray ( std::istream &  is,
int *  boxArray,
int *  boxArrayDim 
)

◆ PrintBoxArray()

void vtkAMReXGridReaderInternal::PrintBoxArray ( int *  boxArray)

◆ ReadNumberOfAttributes()

int vtkAMReXGridReaderInternal::ReadNumberOfAttributes ( std::istream &  is)

◆ ReadBlockAttribute()

void vtkAMReXGridReaderInternal::ReadBlockAttribute ( std::istream &  is,
int  numberOfPoints,
int  size,
char *  buffer 
)

◆ Convert()

void vtkAMReXGridReaderInternal::Convert ( void *  out,
const void *  in,
long  nitems,
const RealDescriptor ord,
const RealDescriptor ird 
)

◆ PermuteOrder()

void vtkAMReXGridReaderInternal::PermuteOrder ( void *  out,
const void *  in,
long  nitems,
const int *  outord,
const int *  inord,
int  REALSIZE 
)

◆ CreateVTKAttributeArray()

template<typename T >
void vtkAMReXGridReaderInternal::CreateVTKAttributeArray ( vtkAOSDataArrayTemplate< T > *  dataArray,
const RealDescriptor ord,
const RealDescriptor ird,
const std::vector< std::vector< char > > &  buffers,
const int  numberOfPoints,
const std::string &  attribute 
)

Definition at line 264 of file vtkAMReXGridReaderInternal.h.

Friends And Related Function Documentation

◆ vtkAMReXGridHeader

friend class vtkAMReXGridHeader
friend

Definition at line 258 of file vtkAMReXGridReaderInternal.h.

◆ vtkAMReXGridLeveHeader

friend class vtkAMReXGridLeveHeader
friend

Definition at line 260 of file vtkAMReXGridReaderInternal.h.

Member Data Documentation

◆ headersAreRead

bool vtkAMReXGridReaderInternal::headersAreRead

Definition at line 254 of file vtkAMReXGridReaderInternal.h.

◆ debugReader

bool vtkAMReXGridReaderInternal::debugReader

Definition at line 255 of file vtkAMReXGridReaderInternal.h.

◆ FileName

std::string vtkAMReXGridReaderInternal::FileName

Definition at line 256 of file vtkAMReXGridReaderInternal.h.

◆ Header

vtkAMReXGridHeader* vtkAMReXGridReaderInternal::Header

Definition at line 257 of file vtkAMReXGridReaderInternal.h.

◆ LevelHeader

std::vector<vtkAMReXGridLevelHeader*> vtkAMReXGridReaderInternal::LevelHeader

Definition at line 259 of file vtkAMReXGridReaderInternal.h.


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