00001 /*---------------------------------------------------------------------------*\ 00002 ========= | 00003 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox 00004 \\ / O peration | 00005 \\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd. 00006 \\/ M anipulation | 00007 ------------------------------------------------------------------------------- 00008 License 00009 This file is part of OpenFOAM. 00010 00011 OpenFOAM is free software: you can redistribute it and/or modify it 00012 under the terms of the GNU General Public License as published by 00013 the Free Software Foundation, either version 3 of the License, or 00014 (at your option) any later version. 00015 00016 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT 00017 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00018 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00019 for more details. 00020 00021 You should have received a copy of the GNU General Public License 00022 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. 00023 00024 Global 00025 makeGraph 00026 00027 Description 00028 Write a graph file for a field given the data point locations field, 00029 the field of interest and the name of the field to be used for the 00030 graph file name. 00031 00032 SourceFiles 00033 makeGraph.C 00034 00035 \*---------------------------------------------------------------------------*/ 00036 00037 #ifndef makeGraph_H 00038 #define makeGraph_H 00039 00040 #include <OpenFOAM/primitiveFieldsFwd.H> 00041 #include <finiteVolume/volFieldsFwd.H> 00042 00043 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00044 00045 namespace Foam 00046 { 00047 00048 class fileName; 00049 00050 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00051 00052 //- Write a graph file 00053 void makeGraph 00054 ( 00055 const scalarField& x, 00056 const volScalarField& vsf, 00057 const word& graphFormat 00058 ); 00059 00060 00061 //- Write a graph file 00062 void makeGraph 00063 ( 00064 const scalarField& x, 00065 const volScalarField& vsf, 00066 const word& name, 00067 const word& graphFormat 00068 ); 00069 00070 00071 //- Write a graph file 00072 void makeGraph 00073 ( 00074 const scalarField& x, 00075 const scalarField& sf, 00076 const word& name, 00077 const fileName& path, 00078 const word& graphFormat 00079 ); 00080 00081 00082 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00083 00084 } // End namespace Foam 00085 00086 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00087 00088 #endif 00089 00090 // ************************ vim: set sw=4 sts=4 et: ************************ //