45 void Foam::sampledSets::cellSetSampledSet::genSamples()
51 List<point>(IndirectList<point>(
mesh().cellCentres(),
cells)),
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 & cells() const
Access the cells.
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 cell-centres of a given cell set.
virtual ~cellSetSampledSet()
Destructor.
cellSetSampledSet(const word &name, const polyMesh &mesh, const meshSearch &searchEngine, const dictionary &dict)
Construct from dictionary.
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.