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

Function writeScalarField

src/conversion/ensight/part/ensightParts.C:227–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225
226
227void 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
250void Foam::ensightParts::writeVectorField

Callers

nothing calls this directly

Calls 3

isFaceDataMethod · 0.80
isCellDataMethod · 0.80
forAllFunction · 0.50

Tested by

no test coverage detected