45 void Foam::sampledSets::faceSetSampledSet::genSamples()
51 List<point>(IndirectList<point>(
mesh().faceCentres(),
faces)),
70 setName_(
dict.lookup(
"set"))
Macros for easy insertion into run-time selection tables.
void size(const label)
Override size to be inconsistent with allocated storage.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Various (local, not parallel) searches on polyMesh; uses (demand driven) octree to search.
Mesh consisting of general polyhedral cells.
Holds list of sampling points which is filled at construction time. Various implementations of this b...
const labelList & faces() const
Access the faces.
void setSamples(const List< point > &samplingPositions, const labelList &samplingSegments, const labelList &samplingCells, const labelList &samplingFaces)
Sets sample data.
const polyMesh & mesh() const
Access the mesh.
Samples at the face-centres of a given face set.
faceSetSampledSet(const word &name, const polyMesh &mesh, const meshSearch &searchEngine, const dictionary &dict)
Construct from dictionary.
virtual ~faceSetSampledSet()
Destructor.
Set of sets to sample. Call sampledSets.write() to sample&write files.
A class for handling words, derived from string.
defineTypeNameAndDebug(arcUniform, 0)
addToRunTimeSelectionTable(sampledSet, arcUniform, word)
List< label > labelList
A List of labels.
word name(const bool)
Return a word representation of a bool.
labelList identityMap(const label len)
Create identity map (map[i] == i) of given length.