Provides a reader interface for OpenFOAM to VTK interaction. More...
Public Member Functions | |
ClassName ("vtkPVFoam") | |
Static data members. More... | |
vtkPVFoam (const char *const FileName, vtkPVFoamReader *reader) | |
Construct from components. More... | |
vtkPVFoam (const vtkPVFoam &)=delete | |
Disallow default bitwise copy construction. More... | |
~vtkPVFoam () | |
Destructor. More... | |
void | updateInfo () |
Update information for selection dialogs. More... | |
void | Update (vtkMultiBlockDataSet *output, vtkMultiBlockDataSet *lagrangianOutput) |
Update. More... | |
void | CleanUp () |
Clean any storage. More... | |
double * | findTimes (int &nTimeSteps) |
Allocate and return a list of selected times. More... | |
void | renderPatchNames (vtkRenderer *, const bool show) |
Add/remove patch names to/from the view. More... | |
int | setTime (int count, const double requestTimes[]) |
Set the runTime to the first plausible request time,. More... | |
int | timeIndex () const |
The current time index. More... | |
void | PrintSelf (ostream &, vtkIndent) const |
Debug information. More... | |
void | operator= (const vtkPVFoam &)=delete |
Disallow default bitwise assignment. More... | |
template<class Type > | |
Foam::label | addToSelection (vtkDataArraySelection *select, const IOobjectList &objectLst, const string &suffix) |
template<class Type > | |
void | convertVolInternalFieldBlock (const typename GeometricField< Type, fvPatchField, volMesh >::Internal &tf, vtkMultiBlockDataSet *output, const arrayRange &range, const List< polyDecomp > &decompLst) |
template<class Type > | |
void | convertVolInternalField (const typename GeometricField< Type, fvPatchField, volMesh >::Internal &tf, vtkMultiBlockDataSet *output, const arrayRange &range, const label datasetNo, const polyDecomp &decompInfo) |
Static Public Member Functions | |
static void | printMemory () |
Simple memory used debugging information. More... | |
Provides a reader interface for OpenFOAM to VTK interaction.
Definition at line 106 of file vtkPVFoam.H.
vtkPVFoam | ( | const char *const | FileName, |
vtkPVFoamReader * | reader | ||
) |
Construct from components.
~vtkPVFoam | ( | ) |
Destructor.
ClassName | ( | "vtkPVFoam" | ) |
Static data members.
void updateInfo | ( | ) |
Update information for selection dialogs.
void Update | ( | vtkMultiBlockDataSet * | output, |
vtkMultiBlockDataSet * | lagrangianOutput | ||
) |
Update.
void CleanUp | ( | ) |
Clean any storage.
double* findTimes | ( | int & | nTimeSteps | ) |
Allocate and return a list of selected times.
returns the count via the parameter
void renderPatchNames | ( | vtkRenderer * | , |
const bool | show | ||
) |
Add/remove patch names to/from the view.
int setTime | ( | int | count, |
const double | requestTimes[] | ||
) |
Set the runTime to the first plausible request time,.
returns the timeIndex sets to "constant" on error
|
inline |
The current time index.
Definition at line 777 of file vtkPVFoam.H.
References vtkPVFoam::operator=(), vtkPVFoam::printMemory(), and vtkPVFoam::PrintSelf().
void PrintSelf | ( | ostream & | , |
vtkIndent | |||
) | const |
Debug information.
Referenced by vtkPVFoam::timeIndex().
|
static |
Simple memory used debugging information.
Referenced by vtkPVFoam::timeIndex().
|
delete |
Disallow default bitwise assignment.
Referenced by vtkPVFoam::timeIndex().
Foam::label addToSelection | ( | vtkDataArraySelection * | select, |
const IOobjectList & | objectLst, | ||
const string & | suffix | ||
) |
Definition at line 41 of file vtkPVFoamAddToSelection.H.
References forAll, IOobjectList::names(), and objects.
void convertVolInternalFieldBlock | ( | const typename GeometricField< Type, fvPatchField, volMesh >::Internal & | tf, |
vtkMultiBlockDataSet * | output, | ||
const arrayRange & | range, | ||
const List< polyDecomp > & | decompLst | ||
) |
Definition at line 372 of file vtkPVFoamVolFields.H.
void convertVolInternalField | ( | const typename GeometricField< Type, fvPatchField, volMesh >::Internal & | tf, |
vtkMultiBlockDataSet * | output, | ||
const arrayRange & | range, | ||
const label | datasetNo, | ||
const polyDecomp & | decompInfo | ||
) |
Definition at line 400 of file vtkPVFoamVolFields.H.
References Foam::component(), Foam::endl(), forAll, InfoInFunction, IOobject::name(), Foam::compressible::New(), and List< T >::size().