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

Function writeHeader

src/conversion/ensight/part/ensightPartIO.C:35–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
34
35void Foam::ensightPart::writeHeader
36(
37 ensightFile& os,
38 bool withDescription
39) const
40{
41 os.write("part");
42 os.newline();
43
44 os.write(number() + 1); // Ensight starts with 1
45 os.newline();
46
47 if (withDescription)
48 {
49 os.write(name());
50 os.newline();
51 }
52}
53
54
55void Foam::ensightPart::writeFieldList

Callers 4

writeGeometryFunction · 0.70
writeScalarFieldFunction · 0.70
writeVectorFieldFunction · 0.70

Calls 2

nameFunction · 0.50
writeMethod · 0.45

Tested by

no test coverage detected