VTK
9.4.20241124
|
class for reading PIO (Parallel Input Output) data files More...
#include <PIOAdaptor.h>
Public Member Functions | |
PIOAdaptor (vtkMultiProcessController *ctrl) | |
~PIOAdaptor () | |
int | initializeGlobal (const char *DumpDescFile) |
int | initializeDump (int timeStep) |
void | create_geometry (vtkMultiBlockDataSet *grid) |
void | load_variable_data (vtkMultiBlockDataSet *grid, vtkDataArraySelection *cellSelection) |
int | GetNumberOfTimeSteps () |
double | GetSimulationTime (int step) |
double | GetCycleIndex (int step) |
double | GetPIOFileIndex (int step) |
int | GetNumberOfVariables () |
const char * | GetVariableName (int indx) |
int | GetNumberOfDefaultVariables () |
const char * | GetVariableDefault (int indx) |
bool | GetHyperTreeGrid () |
void | SetHyperTreeGrid (bool val) |
bool | GetTracers () |
void | SetTracers (bool val) |
bool | GetFloat64 () |
void | SetFloat64 (bool val) |
Protected Member Functions | |
int | parsePIOFile (const char *DumpDescFile) |
PIO_DATA * | openPIODataFile (const char *filename) |
int | collectMetaData (const char *DumpDescFile) |
void | collectVariableMetaData () |
void | collectMaterialVariableMetaData () |
void | addMaterialVariable (vtkStdString &pioFieldName, std::valarray< std::string > matident) |
void | addMaterialVariableEntries (std::string &prefix, std::string &baseVar, std::string &var, std::valarray< std::string > matident) |
std::string | trimString (const std::string &str) |
void | create_tracer_UG (vtkMultiBlockDataSet *grid) |
void | create_amr_UG (vtkMultiBlockDataSet *grid) |
void | create_amr_UG_1D (vtkMultiBlockDataSet *grid, int numberOfCells, int *cell_level, int64_t *cell_daughter, double *cell_center[1]) |
void | create_amr_UG_2D (vtkMultiBlockDataSet *grid, int numberOfCells, int *cell_level, int64_t *cell_daughter, double *cell_center[2]) |
void | create_amr_UG_3D (vtkMultiBlockDataSet *grid, int numberOfCells, int *cell_level, int64_t *cell_daughter, double *cell_center[3]) |
void | create_amr_HTG (vtkMultiBlockDataSet *grid) |
int | count_hypertree (int64_t curIndex, int64_t *daughter) |
void | build_hypertree (vtkHyperTreeGridNonOrientedCursor *treeCursor, int64_t curIndex, int64_t *daughter) |
void | load_variable_data_UG (vtkMultiBlockDataSet *grid, vtkDataArraySelection *cellSelection) |
void | add_amr_UG_scalar (vtkMultiBlockDataSet *grid, vtkStdString varName, int64_t *daughter, double *data[], int numberOfCells, int numberOfComponents) |
void | load_variable_data_HTG (vtkMultiBlockDataSet *grid, vtkDataArraySelection *cellSelection) |
void | add_amr_HTG_scalar (vtkMultiBlockDataSet *grid, vtkStdString varName, double *data[], int numberOfComponents) |
Protected Attributes | |
vtkMultiProcessController * | Controller |
int | Rank |
int | TotalRank |
PIO_DATA * | pioData |
bool | knownFormat |
bool | isHDF5 |
std::string | descFileName |
std::string | dumpBaseName |
std::vector< std::string > | dumpDirectory |
std::vector< std::string > | dumpFileName |
std::vector< double > | CycleIndex |
std::vector< double > | SimulationTime |
std::vector< double > | PIOFileIndex |
bool | useHTG |
bool | useTracer |
bool | useFloat64 |
bool | hasTracers |
std::vector< std::string > | variableName |
std::vector< std::string > | variableDefault |
int64_t | numCells |
std::vector< int > | indexNodeLeaf |
std::map< std::string, PIOMaterialVariable * > | matVariables |
int | numMaterials |
AdaptorImpl * | Impl |
class for reading PIO (Parallel Input Output) data files
This class reads in dump files generated from xRage, a LANL physics code. The PIO (Parallel Input Output) library is used to create the dump files.
Definition at line 44 of file PIOAdaptor.h.
PIOAdaptor::PIOAdaptor | ( | vtkMultiProcessController * | ctrl | ) |
PIOAdaptor::~PIOAdaptor | ( | ) |
int PIOAdaptor::initializeGlobal | ( | const char * | DumpDescFile | ) |
int PIOAdaptor::initializeDump | ( | int | timeStep | ) |
void PIOAdaptor::create_geometry | ( | vtkMultiBlockDataSet * | grid | ) |
void PIOAdaptor::load_variable_data | ( | vtkMultiBlockDataSet * | grid, |
vtkDataArraySelection * | cellSelection | ||
) |
|
inline |
Definition at line 57 of file PIOAdaptor.h.
|
inline |
Definition at line 58 of file PIOAdaptor.h.
|
inline |
Definition at line 59 of file PIOAdaptor.h.
|
inline |
Definition at line 60 of file PIOAdaptor.h.
|
inline |
Definition at line 62 of file PIOAdaptor.h.
|
inline |
Definition at line 63 of file PIOAdaptor.h.
|
inline |
Definition at line 64 of file PIOAdaptor.h.
|
inline |
Definition at line 65 of file PIOAdaptor.h.
|
inline |
Definition at line 68 of file PIOAdaptor.h.
|
inline |
Definition at line 69 of file PIOAdaptor.h.
|
inline |
Definition at line 72 of file PIOAdaptor.h.
|
inline |
Definition at line 73 of file PIOAdaptor.h.
|
inline |
Definition at line 76 of file PIOAdaptor.h.
|
inline |
Definition at line 77 of file PIOAdaptor.h.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 138 of file PIOAdaptor.h.
|
protected |
Definition at line 139 of file PIOAdaptor.h.
|
protected |
Definition at line 140 of file PIOAdaptor.h.
|
protected |
Definition at line 143 of file PIOAdaptor.h.
|
protected |
Definition at line 145 of file PIOAdaptor.h.
|
protected |
Definition at line 146 of file PIOAdaptor.h.
|
protected |
Definition at line 149 of file PIOAdaptor.h.
|
protected |
Definition at line 150 of file PIOAdaptor.h.
|
protected |
Definition at line 151 of file PIOAdaptor.h.
|
protected |
Definition at line 152 of file PIOAdaptor.h.
|
protected |
Definition at line 155 of file PIOAdaptor.h.
|
protected |
Definition at line 156 of file PIOAdaptor.h.
|
protected |
Definition at line 157 of file PIOAdaptor.h.
|
protected |
Definition at line 160 of file PIOAdaptor.h.
|
protected |
Definition at line 161 of file PIOAdaptor.h.
|
protected |
Definition at line 162 of file PIOAdaptor.h.
|
protected |
Definition at line 163 of file PIOAdaptor.h.
|
protected |
Definition at line 166 of file PIOAdaptor.h.
|
protected |
Definition at line 167 of file PIOAdaptor.h.
|
protected |
Definition at line 171 of file PIOAdaptor.h.
|
protected |
Definition at line 175 of file PIOAdaptor.h.
|
protected |
Definition at line 178 of file PIOAdaptor.h.
|
protected |
Definition at line 179 of file PIOAdaptor.h.
|
protected |
Definition at line 182 of file PIOAdaptor.h.