vtkPVFoam Class Reference

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...
 

Detailed Description

Constructor & Destructor Documentation

◆ vtkPVFoam() [1/2]

vtkPVFoam ( const char *const  FileName,
vtkPVFoamReader *  reader 
)

Construct from components.

◆ vtkPVFoam() [2/2]

vtkPVFoam ( const vtkPVFoam )
delete

Disallow default bitwise copy construction.

◆ ~vtkPVFoam()

~vtkPVFoam ( )

Destructor.

Member Function Documentation

◆ ClassName()

ClassName ( "vtkPVFoam"  )

Static data members.

◆ updateInfo()

void updateInfo ( )

Update information for selection dialogs.

◆ Update()

void Update ( vtkMultiBlockDataSet *  output,
vtkMultiBlockDataSet *  lagrangianOutput 
)

Update.

◆ CleanUp()

void CleanUp ( )

Clean any storage.

◆ findTimes()

double* findTimes ( int &  nTimeSteps)

Allocate and return a list of selected times.

returns the count via the parameter

◆ renderPatchNames()

void renderPatchNames ( vtkRenderer *  ,
const bool  show 
)

Add/remove patch names to/from the view.

◆ setTime()

int setTime ( int  count,
const double  requestTimes[] 
)

Set the runTime to the first plausible request time,.

returns the timeIndex sets to "constant" on error

◆ timeIndex()

int timeIndex ( ) const
inline

The current time index.

Definition at line 777 of file vtkPVFoam.H.

References vtkPVFoam::operator=(), vtkPVFoam::printMemory(), and vtkPVFoam::PrintSelf().

Here is the call graph for this function:

◆ PrintSelf()

void PrintSelf ( ostream &  ,
vtkIndent   
) const

Debug information.

Referenced by vtkPVFoam::timeIndex().

Here is the caller graph for this function:

◆ printMemory()

static void printMemory ( )
static

Simple memory used debugging information.

Referenced by vtkPVFoam::timeIndex().

Here is the caller graph for this function:

◆ operator=()

void operator= ( const vtkPVFoam )
delete

Disallow default bitwise assignment.

Referenced by vtkPVFoam::timeIndex().

Here is the caller graph for this function:

◆ addToSelection()

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.

Here is the call graph for this function:

◆ convertVolInternalFieldBlock()

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.

References range, and tf.

◆ convertVolInternalField()

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().

Here is the call graph for this function:

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