plot.h

来自「利用C」· C头文件 代码 · 共 44 行

H
44
字号
// Copyright (C) 2007 Anders Logg.// Licensed under the GNU LGPL Version 2.1.//// First added:  2007-05-02// Last changed: 2007-05-07#ifndef __PLOT_H#define __PLOT_H#include <string>#include <dolfin/common/types.h>#include <dolfin/mesh/MeshFunction.h>namespace dolfin{  class Function;  class Mesh;  /// Simple built-in plot commands for plotting functions and meshes.  /// For plotting to work, PyDOLFIN and Viper must be installed.  /// Specifying the plotting mode is only relevant for vector-valued  /// functions and relevant plotting modes are then "vector" (default)  /// and "displacement".    /// Plot function  void plot(Function& f, std::string mode = "");  /// Plot mesh  void plot(Mesh& mesh, std::string mode = "");  /// Plot mesh function  void plot(MeshFunction<uint>& f, std::string mode = "");  /// Plot mesh function  void plot(MeshFunction<real>& f, std::string mode = "");  /// Plot mesh function  void plot(MeshFunction<bool>& f, std::string mode = "");}#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?