46 void Foam::sampledSets::lineCell::calcSamples
48 DynamicList<point>& samplingPositions,
49 DynamicList<scalar>& samplingDistances,
50 DynamicList<label>& samplingSegments,
51 DynamicList<label>& samplingCells,
52 DynamicList<label>& samplingFaces
72 void Foam::sampledSets::lineCell::genSamples()
74 DynamicList<point> samplingPositions;
75 DynamicList<scalar> samplingDistances;
76 DynamicList<label> samplingSegments;
77 DynamicList<label> samplingCells;
78 DynamicList<label> samplingFaces;
89 samplingPositions.shrink();
90 samplingDistances.shrink();
91 samplingSegments.shrink();
92 samplingCells.shrink();
93 samplingFaces.shrink();
117 start_(
dict.lookup(
"start")),
118 end_(
dict.lookup(
"end"))
Macros for easy insertion into run-time selection tables.
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 meshSearch & searchEngine() const
Access the search engine.
const polyMesh & mesh() const
Access the mesh.
Cell-samples along a line at the mid-points in-between face-intersections.
virtual ~lineCell()
Destructor.
lineCell(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)
word name(const bool)
Return a word representation of a bool.