gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
Particles.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 PARTICLES_H
7 #define PARTICLES_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 "Particles"; }
22  std::string getShortHelp() const
23  {
24  return "Compute particle trajectories in force 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_ParticlesPlugin::getOption
StringXNumber * getOption(int iopt)
Definition: Particles.cpp:178
PView
Definition: PView.h:27
Plugin.h
GMSH_ParticlesPlugin::callbackZ0
static double callbackZ0(int, int, double)
Definition: Particles.cpp:88
GMSH_Plugin
Definition: Plugin.h:26
GMSH_ParticlesPlugin::callbackU
static double callbackU(int, int, double)
Definition: Particles.cpp:137
GMSH_ParticlesPlugin::callbackX2
static double callbackX2(int, int, double)
Definition: Particles.cpp:116
GMSH_Plugin::draw
static void(* draw)(void *)
Definition: Plugin.h:77
GMSH_ParticlesPlugin
Definition: Particles.h:15
StringXNumber
Definition: Options.h:918
GMSH_ParticlesPlugin::execute
PView * execute(PView *)
Definition: Particles.cpp:208
GMSH_ParticlesPlugin::callbackY1
static double callbackY1(int, int, double)
Definition: Particles.cpp:102
GMSH_ParticlesPlugin::callbackZ1
static double callbackZ1(int, int, double)
Definition: Particles.cpp:109
GMSH_ParticlesPlugin::callbackX0
static double callbackX0(int, int, double)
Definition: Particles.cpp:74
GMSH_ParticlesPlugin::callbackZ2
static double callbackZ2(int, int, double)
Definition: Particles.cpp:130
GMSH_ParticlesPlugin::callbackY0
static double callbackY0(int, int, double)
Definition: Particles.cpp:81
GMSH_ParticlesPlugin::getName
std::string getName() const
Definition: Particles.h:21
GMSH_ParticlesPlugin::callback
static double callback(int num, int action, double value, double *opt, double step, double min, double max)
Definition: Particles.cpp:59
GMSH_ParticlesPlugin::callbackV
static double callbackV(int, int, double)
Definition: Particles.cpp:143
GMSH_ParticlesPlugin::getPoint
static void getPoint(int iU, int iV, double *X)
Definition: Particles.cpp:193
GMSH_ParticlesPlugin::getNbV
static int getNbV()
Definition: Particles.cpp:188
GMSH_ParticlesPlugin::callbackX1
static double callbackX1(int, int, double)
Definition: Particles.cpp:95
GMSH_ParticlesPlugin::getNbU
static int getNbU()
Definition: Particles.cpp:183
GMSH_ParticlesPlugin::getNbOptions
int getNbOptions() const
Definition: Particles.cpp:173
GMSH_PostPlugin
Definition: Plugin.h:83
GMSH_RegisterParticlesPlugin
GMSH_Plugin * GMSH_RegisterParticlesPlugin()
Definition: Particles.cpp:38
GMSH_ParticlesPlugin::getShortHelp
std::string getShortHelp() const
Definition: Particles.h:22
GMSH_ParticlesPlugin::GMSH_ParticlesPlugin
GMSH_ParticlesPlugin()
Definition: Particles.h:20
GMSH_ParticlesPlugin::getHelp
std::string getHelp() const
Definition: Particles.cpp:149
GMSH_ParticlesPlugin::callbackY2
static double callbackY2(int, int, double)
Definition: Particles.cpp:123