MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / arraySet

Class arraySet

src/sampling/sampledSet/array/arraySet.H:54–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52\*---------------------------------------------------------------------------*/
53
54class arraySet
55:
56 public sampledSet
57{
58 // Private data
59
60 //- Coordinate syste
61 coordinateSystem coordSys_;
62
63 //- Point density vector
64 Vector<label> pointsDensity_;
65
66 //- Span box
67 Vector<scalar> spanBox_;
68
69
70 // Private Member Functions
71
72 //- Samples all points in sampleCoords.
73 void calcSamples
74 (
75 DynamicList<point>& samplingPts,
76 DynamicList<label>& samplingCells,
77 DynamicList<label>& samplingFaces,
78 DynamicList<label>& samplingSegments,
79 DynamicList<scalar>& samplingCurveDist
80 ) const;
81
82 //- Uses calcSamples to obtain samples. Copies them into *this.
83 void genSamples();
84
85
86public:
87
88 //- Runtime type information
89 TypeName("array");
90
91
92 // Constructors
93
94 //- Construct from components
95 arraySet
96 (
97 const word& name,
98 const polyMesh& mesh,
99 const meshSearch& searchEngine,
100 const word& axis,
101 const coordinateSystem& coordSys,
102 const Vector<label>& pointsDensity,
103 const Vector<scalar>& spanBox
104 );
105
106 //- Construct from dictionary
107 arraySet
108 (
109 const word& name,
110 const polyMesh& mesh,
111 const meshSearch& searchEngine,

Callers 1

arraySet.CFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected