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

Class probes

src/sampling/probes/probes.H:69–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67\*---------------------------------------------------------------------------*/
68
69class probes
70:
71 public functionObject,
72 public pointField
73{
74protected:
75
76 // Protected classes
77
78 //- Class used for grouping field types
79 template<class Type>
80 class fieldGroup
81 :
82 public DynamicList<word>
83 {
84 public:
85 //- Construct null
86 fieldGroup()
87 :
88 DynamicList<word>(0)
89 {}
90 };
91
92
93 // Protected member data
94
95 //- Const reference to fvMesh
96 const fvMesh& mesh_;
97
98 //- Load fields from files (not from objectRegistry)
99 bool loadFromFiles_;
100
101
102 // Read from dictonary
103
104 //- Names of fields to probe
105 wordReList fieldSelection_;
106
107 //- Fixed locations, default = yes
108 // Note: set to false for moving mesh calations where locations
109 // should move with the mesh
110 bool fixedLocations_;
111
112 //- Interpolation scheme name
113 // Note: only possible when fixedLocations_ is true
114 word interpolationScheme_;
115
116
117 // Calculated
118
119 //- Categorized scalar/vector/tensor vol fields
120 fieldGroup<scalar> scalarFields_;
121 fieldGroup<vector> vectorFields_;
122 fieldGroup<sphericalTensor> sphericalTensorFields_;
123 fieldGroup<symmTensor> symmTensorFields_;
124 fieldGroup<tensor> tensorFields_;
125
126 //- Categorized scalar/vector/tensor surf fields

Callers 1

probes.CFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected