|
|
|
writeCellGraph.CGo to the documentation of this file.00001 #include "writeCellGraph.H" 00002 #include "volFields.H" 00003 #include "fvMesh.H" 00004 #include "graph.H" 00005 00006 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00007 00008 namespace Foam 00009 { 00010 00011 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00012 00013 void writeCellGraph 00014 ( 00015 const volScalarField& vsf, 00016 const word& graphFormat 00017 ) 00018 { 00019 graph 00020 ( 00021 vsf.name(), 00022 "x", 00023 vsf.name(), 00024 vsf.mesh().C().internalField().component(vector::X), 00025 vsf.internalField() 00026 ).write(vsf.time().timePath()/vsf.name(), graphFormat); 00027 } 00028 00029 00030 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00031 00032 } // End namespace Foam 00033 00034 // ************************************************************************* // |