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

Function writePatchGraph

src/sampling/graphField/writePatchGraph.C:14–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
13
14void writePatchGraph
15(
16 const volScalarField& vsf,
17 const label patchLabel,
18 const direction d,
19 const word& graphFormat
20)
21{
22 graph
23 (
24 vsf.name(),
25 "position",
26 vsf.name(),
27 vsf.mesh().boundary()[patchLabel].Cf().component(d),
28 vsf.boundaryField()[patchLabel]
29 ).write(vsf.time().timePath()/vsf.name(), graphFormat);
30}
31
32
33// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

Callers

nothing calls this directly

Calls 7

timePathMethod · 0.80
timeMethod · 0.80
graphClass · 0.50
writeMethod · 0.45
nameMethod · 0.45
componentMethod · 0.45
boundaryFieldMethod · 0.45

Tested by

no test coverage detected