mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Extended patchSeedSet to generate seed points more uniformly
This commit is contained in:
committed by
Kutalmış Berçin
parent
df71026509
commit
ec48e2f309
@ -58,7 +58,7 @@ namespace Foam
|
||||
{
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class patchSeedSet Declaration
|
||||
Class patchSeedSet Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
class patchSeedSet
|
||||
@ -82,6 +82,30 @@ class patchSeedSet
|
||||
|
||||
// Private Member Functions
|
||||
|
||||
//- Determine (random) samples on patch
|
||||
void calcPatchSamples
|
||||
(
|
||||
const label nAvailable,
|
||||
const label nPatchPoints,
|
||||
DynamicList<point>& samplingPts,
|
||||
DynamicList<label>& samplingCells,
|
||||
DynamicList<label>& samplingFaces,
|
||||
DynamicList<label>& samplingSegments,
|
||||
DynamicList<scalar>& samplingCurveDist
|
||||
);
|
||||
|
||||
//- Determine samples provided by supplied points
|
||||
void calcSelectedLocations
|
||||
(
|
||||
const label nAvailable,
|
||||
const label nPatchPoints,
|
||||
DynamicList<point>& samplingPts,
|
||||
DynamicList<label>& samplingCells,
|
||||
DynamicList<label>& samplingFaces,
|
||||
DynamicList<label>& samplingSegments,
|
||||
DynamicList<scalar>& samplingCurveDist
|
||||
);
|
||||
|
||||
//- Samples all points in sampleCoords.
|
||||
void calcSamples
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user