gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
StreamLines.h
Go to the documentation of this file.
1 // Gmsh - Copyright (C) 1997-2022 C. Geuzaine, J.-F. Remacle
2 //
3 // See the LICENSE.txt file in the Gmsh root directory for license information.
4 // Please report all issues on https://gitlab.onelab.info/gmsh/gmsh/issues.
5 
6 #ifndef STREAM_LINES_H
7 #define STREAM_LINES_H
8 
9 #include "Plugin.h"
10 
11 extern "C" {
13 }
14 
16  static double callback(int num, int action, double value, double *opt,
17  double step, double min, double max);
18 
19 public:
21  std::string getName() const { return "StreamLines"; }
22  std::string getShortHelp() const
23  {
24  return "Compute particle trajectories in velocity field";
25  }
26  std::string getHelp() const;
27  int getNbOptions() const;
28  StringXNumber *getOption(int iopt);
29  PView *execute(PView *);
30 
31  static int getNbU();
32  static int getNbV();
33  static void getPoint(int iU, int iV, double *X);
34 
35  static double callbackX0(int, int, double);
36  static double callbackY0(int, int, double);
37  static double callbackZ0(int, int, double);
38  static double callbackX1(int, int, double);
39  static double callbackY1(int, int, double);
40  static double callbackZ1(int, int, double);
41  static double callbackX2(int, int, double);
42  static double callbackY2(int, int, double);
43  static double callbackZ2(int, int, double);
44  static double callbackU(int, int, double);
45  static double callbackV(int, int, double);
46  static void draw(void *context);
47 };
48 
49 #endif
GMSH_StreamLinesPlugin::execute
PView * execute(PView *)
Definition: StreamLines.cpp:212
GMSH_StreamLinesPlugin::callbackZ2
static double callbackZ2(int, int, double)
Definition: StreamLines.cpp:128
GMSH_StreamLinesPlugin::callbackY1
static double callbackY1(int, int, double)
Definition: StreamLines.cpp:100
PView
Definition: PView.h:27
GMSH_StreamLinesPlugin::callbackY2
static double callbackY2(int, int, double)
Definition: StreamLines.cpp:121
Plugin.h
GMSH_StreamLinesPlugin::getName
std::string getName() const
Definition: StreamLines.h:21
GMSH_Plugin
Definition: Plugin.h:26
GMSH_Plugin::draw
static void(* draw)(void *)
Definition: Plugin.h:77
StringXNumber
Definition: Options.h:918
GMSH_StreamLinesPlugin::callbackX2
static double callbackX2(int, int, double)
Definition: StreamLines.cpp:114
GMSH_RegisterStreamLinesPlugin
GMSH_Plugin * GMSH_RegisterStreamLinesPlugin()
Definition: StreamLines.cpp:36
GMSH_StreamLinesPlugin::callbackV
static double callbackV(int, int, double)
Definition: StreamLines.cpp:141
GMSH_StreamLinesPlugin::callbackZ1
static double callbackZ1(int, int, double)
Definition: StreamLines.cpp:107
GMSH_StreamLinesPlugin::callbackU
static double callbackU(int, int, double)
Definition: StreamLines.cpp:135
GMSH_StreamLinesPlugin::callbackX0
static double callbackX0(int, int, double)
Definition: StreamLines.cpp:72
GMSH_StreamLinesPlugin::callbackY0
static double callbackY0(int, int, double)
Definition: StreamLines.cpp:79
GMSH_StreamLinesPlugin::getNbOptions
int getNbOptions() const
Definition: StreamLines.cpp:174
GMSH_StreamLinesPlugin::getShortHelp
std::string getShortHelp() const
Definition: StreamLines.h:22
GMSH_StreamLinesPlugin
Definition: StreamLines.h:15
GMSH_StreamLinesPlugin::callback
static double callback(int num, int action, double value, double *opt, double step, double min, double max)
Definition: StreamLines.cpp:57
GMSH_StreamLinesPlugin::getPoint
static void getPoint(int iU, int iV, double *X)
Definition: StreamLines.cpp:194
GMSH_StreamLinesPlugin::getOption
StringXNumber * getOption(int iopt)
Definition: StreamLines.cpp:179
GMSH_PostPlugin
Definition: Plugin.h:83
GMSH_StreamLinesPlugin::callbackX1
static double callbackX1(int, int, double)
Definition: StreamLines.cpp:93
GMSH_StreamLinesPlugin::callbackZ0
static double callbackZ0(int, int, double)
Definition: StreamLines.cpp:86
GMSH_StreamLinesPlugin::getNbV
static int getNbV()
Definition: StreamLines.cpp:189
GMSH_StreamLinesPlugin::GMSH_StreamLinesPlugin
GMSH_StreamLinesPlugin()
Definition: StreamLines.h:20
GMSH_StreamLinesPlugin::getNbU
static int getNbU()
Definition: StreamLines.cpp:184
GMSH_StreamLinesPlugin::getHelp
std::string getHelp() const
Definition: StreamLines.cpp:147