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

Function writeVectorField

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

Source from the content-addressed store, hash-verified

248
249
250void Foam::ensightParts::writeVectorField
251(
252 ensightFile& os,
253 const List<scalar>& field0,
254 const List<scalar>& field1,
255 const List<scalar>& field2,
256 const bool useFaceData,
257 const bool perNode
258) const
259{
260 forAll(partsList_, partI)
261 {
262 if
263 (
264 useFaceData
265 ? partsList_[partI].isFaceData()
266 : partsList_[partI].isCellData()
267 )
268 {
269 partsList_[partI].writeVectorField
270 (
271 os,
272 field0, field1, field2,
273 perNode
274 );
275 }
276 }
277}
278
279
280// * * * * * * * * * * * * * * * * IOStream operators * * * * * * * * * * * //

Callers

nothing calls this directly

Calls 3

isFaceDataMethod · 0.80
isCellDataMethod · 0.80
forAllFunction · 0.50

Tested by

no test coverage detected