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 VolInternalField< Type > &tf, vtkMultiBlockDataSet *output, const arrayRange &range, const List< polyDecomp > &decompLst)
 
template<class Type >
void convertVolInternalField (const VolInternalField< Type > &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 774 of file vtkPVFoam.H.

◆ PrintSelf()

void PrintSelf ( ostream &  ,
vtkIndent   
) const

Debug information.

◆ printMemory()

static void printMemory ( )
static

Simple memory used debugging information.

◆ operator=()

void operator= ( const vtkPVFoam )
delete

Disallow default bitwise assignment.

◆ addToSelection()

Foam::label addToSelection ( vtkDataArraySelection *  select,
const IOobjectList objectLst,
const string suffix 
)

Definition at line 40 of file vtkPVFoamAddToSelection.H.

References forAll, IOobjectList::names(), and List< T >::size().

Here is the call graph for this function:

◆ convertVolInternalFieldBlock()

void convertVolInternalFieldBlock ( const VolInternalField< Type > &  tf,
vtkMultiBlockDataSet *  output,
const arrayRange &  range,
const List< polyDecomp > &  decompLst 
)

Definition at line 371 of file vtkPVFoamVolFields.H.

References range, and tf.

◆ convertVolInternalField()

void convertVolInternalField ( const VolInternalField< Type > &  tf,
vtkMultiBlockDataSet *  output,
const arrayRange &  range,
const label  datasetNo,
const polyDecomp &  decompInfo 
)

Definition at line 399 of file vtkPVFoamVolFields.H.

References Foam::component(), Foam::endl(), forAll, InfoInFunction, Foam::compressible::New(), range, List< T >::size(), and tf.

Here is the call graph for this function:

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