VTK  9.2.20230201
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 ()
 
bool ReadExtraFabHeader ()
 
int GetNumberOfLevels ()
 
int GetBlockLevel (const int blockIdx)
 
int GetNumberOfBlocks ()
 
int GetBlockIndexWithinLevel (int blockIdx, int level)
 
void GetBlockAttribute (const char *attribute, int blockIdx, vtkDataSet *pDataSet)
 
void GetExtraMultiFabBlockAttribute (const char *attribute, int blockIdx, vtkDataSet *pDataSet)
 
int GetOffsetOfAttribute (const char *attribute)
 
int GetAttributeOffsetExtraMultiFab (const char *attribute, const int fabIndex)
 
int GetExtraMultiFabIndex (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)
 
long ReadBoxArray (std::istream &is, int *boxArray, int *boxArrayDim)
 
void PrintBoxArray (int *boxArray)
 
int ReadNumberOfAttributes (std::istream &is)
 
void ReadBlockAttribute (std::istream &is, long numberOfPoints, long 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 extraMultiFabHeadersAreRead
 
bool debugReader
 
std::string FileName
 
vtkAMReXGridHeaderHeader
 
std::vector< vtkAMReXGridLevelHeader * > LevelHeader
 
std::vector< std::vector< vtkAMReXGridLevelHeader * > > ExtraMultiFabHeader
 

Friends

class vtkAMReXGridHeader
 
class vtkAMReXGridLeveHeader
 

Detailed Description

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

See also
vtkAMReXGridReader

Definition at line 227 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 ( )

◆ ReadExtraFabHeader()

bool vtkAMReXGridReaderInternal::ReadExtraFabHeader ( )

◆ 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 
)

◆ GetExtraMultiFabBlockAttribute()

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

◆ GetOffsetOfAttribute()

int vtkAMReXGridReaderInternal::GetOffsetOfAttribute ( const char *  attribute)

◆ GetAttributeOffsetExtraMultiFab()

int vtkAMReXGridReaderInternal::GetAttributeOffsetExtraMultiFab ( const char *  attribute,
const int  fabIndex 
)

◆ GetExtraMultiFabIndex()

int vtkAMReXGridReaderInternal::GetExtraMultiFabIndex ( 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()

long 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,
long  numberOfPoints,
long  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 283 of file vtkAMReXGridReaderInternal.h.

Friends And Related Function Documentation

◆ vtkAMReXGridHeader

friend class vtkAMReXGridHeader
friend

Definition at line 276 of file vtkAMReXGridReaderInternal.h.

◆ vtkAMReXGridLeveHeader

friend class vtkAMReXGridLeveHeader
friend

Definition at line 279 of file vtkAMReXGridReaderInternal.h.

Member Data Documentation

◆ headersAreRead

bool vtkAMReXGridReaderInternal::headersAreRead

Definition at line 271 of file vtkAMReXGridReaderInternal.h.

◆ extraMultiFabHeadersAreRead

bool vtkAMReXGridReaderInternal::extraMultiFabHeadersAreRead

Definition at line 272 of file vtkAMReXGridReaderInternal.h.

◆ debugReader

bool vtkAMReXGridReaderInternal::debugReader

Definition at line 273 of file vtkAMReXGridReaderInternal.h.

◆ FileName

std::string vtkAMReXGridReaderInternal::FileName

Definition at line 274 of file vtkAMReXGridReaderInternal.h.

◆ Header

vtkAMReXGridHeader* vtkAMReXGridReaderInternal::Header

Definition at line 275 of file vtkAMReXGridReaderInternal.h.

◆ LevelHeader

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

Definition at line 277 of file vtkAMReXGridReaderInternal.h.

◆ ExtraMultiFabHeader

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

Definition at line 278 of file vtkAMReXGridReaderInternal.h.


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