Loading...
Searching...
No Matches
convertVolumeFields.H File Reference

Go to the source code of this file.

Functions

 if (doInternal||doBoundary)
 if (doInternal)
fileName vtmOutputBase (outputDir/regionDir/vtkName+timeDesc)
 if (doBoundary)
 if (oneBoundary &&patchIds.size())
else if (patchIds.size())
 if (doPointValues &&(nVolFields||nDimFields))
 writeAllDimFields (internalWriter, meshProxy, objects, true, cacheFieldsPtr.get())
 if (doPointValues)
 if (internalWriter)
 for (auto &writer :patchWriters)
pInterp clear ()
 if (UPstream::master())

Variables

const label nVolFields
const label nDimFields
label nPointFields
vtk::vtmWriter vtmWriter
vtk::vtmWriter vtmBoundaries
autoPtr< vtk::internalWriter > internalWriter
autoPtr< volPointInterpolation > pInterp
const polyBoundaryMesh & patches = mesh.boundaryMesh()
PtrList< vtk::patchWriter > patchWriters
PtrList< PrimitivePatchInterpolation< primitivePatch > > patchInterps
labelList patchIds
std::unique_ptr< objectRegistry > cacheFieldsPtr

Detailed Description

Original source file convertVolumeFields.H

Definition in file convertVolumeFields.H.

Function Documentation

◆ if() [1/9]

if ( doInternal|| doBoundary)

Definition at line 48 of file convertVolumeFields.H.

◆ if() [2/9]

if ( doInternal )

Definition at line 52 of file convertVolumeFields.H.

◆ vtmOutputBase()

fileName vtmOutputBase ( outputDir/regionDir/vtkName+ timeDesc)

References regionDir.

◆ if() [3/9]

if ( doBoundary )

Definition at line 144 of file convertVolumeFields.H.

References patches, and patchIds.

◆ if() [4/9]

if ( oneBoundary &&patchIds. size())

Definition at line 149 of file convertVolumeFields.H.

References args, patchIds, patchInterps, patchWriters, regionDir, vtmOutputBase(), vtmWriter, and writer().

Here is the call graph for this function:

◆ if() [5/9]

else if ( patchIds. size())

Definition at line 197 of file convertVolumeFields.H.

References args, nPatchWriters, patches, patchId(), patchIds, patchInterps, patchWriters, pp(), regionDir, selectedPatchId(), vtmBoundaries, vtmOutputBase(), vtmWriter, and writer().

Here is the call graph for this function:

◆ if() [6/9]

if ( doPointValues && nVolFields||nDimFields)

Definition at line 289 of file convertVolumeFields.H.

References cacheFieldsPtr, nDimFields, nVolFields, and runTime.

◆ writeAllDimFields()

writeAllDimFields ( internalWriter ,
meshProxy ,
objects ,
true ,
cacheFieldsPtr. get() )

References cacheFieldsPtr, and internalWriter.

Referenced by if(), and if().

Here is the caller graph for this function:

◆ if() [7/9]

if ( doPointValues )

Definition at line 371 of file convertVolumeFields.H.

References cacheFieldsPtr, forAll, internalWriter, nDimFields, nPointFields, nVolFields, patchInterps, patchWriters, pInterp, and writeAllDimFields().

Here is the call graph for this function:

◆ if() [8/9]

Definition at line 435 of file convertVolumeFields.H.

References internalWriter.

◆ for()

for ( auto &writer :patchWriters )

Definition at line 440 of file convertVolumeFields.H.

References patchWriters, and writer().

Here is the call graph for this function:

◆ clear()

pInterp clear ( )

References patchInterps, patchWriters, and pInterp.

◆ if() [9/9]

if ( UPstream::master() )

Definition at line 452 of file convertVolumeFields.H.

References outputName(), regionDir, regionName, vtmBoundaries, vtmOutputBase(), and vtmWriter.

Here is the call graph for this function:

Variable Documentation

◆ nVolFields

const label nVolFields
Initial value:
=
(
(doInternal || doBoundary)
? objects.count(Foam::fieldTypes::is_volume)
: 0
)
bool is_volume(const word &clsName)
Test if the class name appears to be a volume field.
Definition volFields.C:165

Definition at line 26 of file convertVolumeFields.H.

◆ nDimFields

const label nDimFields
Initial value:
=
(
(doInternal || doBoundary)
: 0
)
bool is_internal(const word &clsName)
Test if the class name appears to be a volume internal field.
Definition volFields.C:155

Definition at line 33 of file convertVolumeFields.H.

Referenced by if(), and if().

◆ nPointFields

label nPointFields
Initial value:
=
(
doPointValues
? objects.count(Foam::fieldTypes::is_point)
: 0
)
bool is_point(const word &clsName)
Test if the class name appears to be a point field.
Definition pointFields.C:94

Definition at line 40 of file convertVolumeFields.H.

Referenced by if().

◆ vtmWriter

vtk::vtmWriter vtmWriter

Definition at line 67 of file convertVolumeFields.H.

Referenced by if(), if(), and if().

◆ vtmBoundaries

vtk::vtmWriter vtmBoundaries

Definition at line 70 of file convertVolumeFields.H.

Referenced by if(), if(), and if().

◆ internalWriter

autoPtr<vtk::internalWriter> internalWriter

Definition at line 73 of file convertVolumeFields.H.

◆ pInterp

◆ patches

const polyBoundaryMesh& patches = mesh.boundaryMesh()

Definition at line 138 of file convertVolumeFields.H.

◆ patchWriters

PtrList<vtk::patchWriter> patchWriters

Definition at line 140 of file convertVolumeFields.H.

◆ patchInterps

PtrList<PrimitivePatchInterpolation<primitivePatch> > patchInterps

Definition at line 141 of file convertVolumeFields.H.

Referenced by clear(), if(), if(), if(), Foam::writeAllVolFields(), and Foam::writeVolFields().

◆ patchIds

labelList patchIds

Definition at line 143 of file convertVolumeFields.H.

◆ cacheFieldsPtr

std::unique_ptr<objectRegistry> cacheFieldsPtr

Definition at line 287 of file convertVolumeFields.H.

Referenced by if(), if(), and writeAllDimFields().