46 void Foam::sampledSets::lineCellFace::calcSamples
48 const label storeFaces,
49 DynamicList<point>& samplingPositions,
50 DynamicList<scalar>& samplingDistances,
51 DynamicList<label>& samplingSegments,
52 DynamicList<label>& samplingCells,
53 DynamicList<label>& samplingFaces
73 void Foam::sampledSets::lineCellFace::genSamples(
const label storeFaces)
75 DynamicList<point> samplingPositions;
76 DynamicList<scalar> samplingDistances;
77 DynamicList<label> samplingSegments;
78 DynamicList<label> samplingCells;
79 DynamicList<label> samplingFaces;
91 samplingPositions.shrink();
92 samplingDistances.shrink();
93 samplingSegments.shrink();
94 samplingCells.shrink();
95 samplingFaces.shrink();
119 start_(
dict.lookup(
"start")),
120 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.
Face-intersections along a line, plus cell-samples at the mid-points in-between.
virtual ~lineCellFace()
Destructor.
lineCellFace(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)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const bool)
Return a word representation of a bool.