| 67 | \*---------------------------------------------------------------------------*/ |
| 68 | |
| 69 | class probes |
| 70 | : |
| 71 | public functionObject, |
| 72 | public pointField |
| 73 | { |
| 74 | protected: |
| 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 |