BUG: PointEdgeWave : n cyclics bool instead of label
[OpenFOAM-1.6.x.git] / src / sampling / graphField / writePatchGraph.C
blob9b9627f5028d6a73c781bb171130c99f16fb76fa
1 #include "writePatchGraph.H"
2 #include "volFields.H"
3 #include "fvMesh.H"
4 #include "graph.H"
7 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
9 namespace Foam
12 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
14 void writePatchGraph
16     const volScalarField& vsf,
17     const label patchLabel,
18     const direction d,
19     const word& graphFormat
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);
33 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
35 } // End namespace Foam
37 // ************************************************************************* //