MAST
plot.h
Go to the documentation of this file.
1 /*
2  * MAST: Multidisciplinary-design Adaptation and Sensitivity Toolkit
3  * Copyright (C) 2013-2019 Manav Bhatia
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 
20 #ifndef __mast_plot_h__
21 #define __mast_plot_h__
22 
23 // MAST includes
24 #include "base/mast_data_types.h"
25 #include "base/mast_config.h"
26 
27 // libMesh includes
28 #include "libmesh/elem.h"
29 #include "libmesh/node.h"
30 
31 #if MAST_ENABLE_GNUPLOT == 1
32 
33 #include "gnuplot-iostream.h"
34 
35 namespace MAST {
36 
37  void plot_elem(Gnuplot& gp, const libMesh::Elem& elem);
38  void plot_node(Gnuplot& gp, const libMesh::Node& node);
39 }
40 
41 #endif // MAST_ENABLE_GNUPLOT
42 
43 #endif // __mast_plot_h__