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

Class cloudSet

src/sampling/sampledSet/cloud/cloudSet.H:53–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

cloudSet.CFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected