26 #ifndef vtkPVFoamAddToSelection_H
27 #define vtkPVFoamAddToSelection_H
35 #include "vtkDataArraySelection.h"
42 vtkDataArraySelection *select,
55 (names[nameI] + suffix).c_str()
62 (names[nameI]).c_str()
71 template<
template<
class>
class patchType,
class meshType>
72 void Foam::vtkPVFoam::addFieldsToSelection
74 vtkDataArraySelection *select,
79 addToSelection<GeometricField<scalar, patchType, meshType>>
86 addToSelection<GeometricField<vector, patchType, meshType>>
93 addToSelection<GeometricField<sphericalTensor, patchType, meshType>>
100 addToSelection<GeometricField<symmTensor, patchType, meshType>>
107 addToSelection<GeometricField<tensor, patchType, meshType>>
116 template<
template<
class>
class patchType,
class meshType>
117 void Foam::vtkPVFoam::addInternalFieldsToSelection
119 vtkDataArraySelection *select,
#define forAll(list, i)
Loop across all elements in list.
DimensionedField< Type, GeoMesh > Internal
Type of the internal field from which this GeometricField is derived.
List of IOobjects with searching and retrieving facilities.
wordList names() const
Return the list of names of the IOobjects.
void size(const label)
Override size to be inconsistent with allocated storage.
A list that is sorted upon construction or when explicitly requested with the sort() method.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.