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::genSamplesStoreFaces
75 const label storeFaces
78 DynamicList<point> samplingPositions;
79 DynamicList<scalar> samplingDistances;
80 DynamicList<label> samplingSegments;
81 DynamicList<label> samplingCells;
82 DynamicList<label> samplingFaces;
94 samplingPositions.shrink();
95 samplingDistances.shrink();
96 samplingSegments.shrink();
97 samplingCells.shrink();
98 samplingFaces.shrink();
111 void Foam::sampledSets::lineCellFace::genSamples()
113 genSamplesStoreFaces(1);
128 start_(
dict.lookup(
"start")),
129 end_(
dict.lookup(
"end"))
149 genSamplesStoreFaces(2);
Macros for easy insertion into run-time selection tables.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
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 LagrangianState state)
Return a string representation of a Lagrangian state enumeration.