| 225 | |
| 226 | |
| 227 | void Foam::ensightParts::writeScalarField |
| 228 | ( |
| 229 | ensightFile& os, |
| 230 | const List<scalar>& field, |
| 231 | const bool useFaceData, |
| 232 | const bool perNode |
| 233 | ) const |
| 234 | { |
| 235 | forAll(partsList_, partI) |
| 236 | { |
| 237 | if |
| 238 | ( |
| 239 | useFaceData |
| 240 | ? partsList_[partI].isFaceData() |
| 241 | : partsList_[partI].isCellData() |
| 242 | ) |
| 243 | { |
| 244 | partsList_[partI].writeScalarField(os, field, perNode); |
| 245 | } |
| 246 | } |
| 247 | } |
| 248 | |
| 249 | |
| 250 | void Foam::ensightParts::writeVectorField |
nothing calls this directly
no test coverage detected