gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
BoundaryAngles.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 BOUNDARY_ANGLES_H
7 #define BOUNDARY_ANGLES_H
8 
9 #include "Plugin.h"
10 
11 extern "C" {
13 }
14 
16  double levelset(double x, double y, double z, double val) const;
17  static double callback(int num, int action, double value, double *opt);
18  static int iview;
19 
20 public:
22  std::string getName() const { return "BoundaryAngles"; }
23  std::string getShortHelp() const
24  {
25  return "Compute angles on boundaries of 2D surface meshes";
26  }
27  std::string getHelp() const;
28  std::string getAuthor() const { return "Bertrand Thierry"; }
29  int getNbOptions() const;
30  StringXNumber *getOption(int iopt);
31  int getNbOptionsStr() const;
32  StringXString *getOptionStr(int iopt);
33  PView *execute(PView *);
34 };
35 
36 #endif
StringXString
Definition: Options.h:910
GMSH_BoundaryAnglesPlugin::getNbOptionsStr
int getNbOptionsStr() const
Definition: BoundaryAngles.cpp:66
GMSH_BoundaryAnglesPlugin::getOptionStr
StringXString * getOptionStr(int iopt)
Definition: BoundaryAngles.cpp:71
GMSH_BoundaryAnglesPlugin::getHelp
std::string getHelp() const
Definition: BoundaryAngles.cpp:39
PView
Definition: PView.h:27
Plugin.h
GMSH_RegisterBoundaryAnglesPlugin
GMSH_Plugin * GMSH_RegisterBoundaryAnglesPlugin()
Definition: BoundaryAngles.cpp:33
GMSH_Plugin
Definition: Plugin.h:26
StringXNumber
Definition: Options.h:918
GMSH_BoundaryAnglesPlugin
Definition: BoundaryAngles.h:15
GMSH_BoundaryAnglesPlugin::levelset
double levelset(double x, double y, double z, double val) const
GMSH_BoundaryAnglesPlugin::getShortHelp
std::string getShortHelp() const
Definition: BoundaryAngles.h:23
GMSH_BoundaryAnglesPlugin::callback
static double callback(int num, int action, double value, double *opt)
GMSH_BoundaryAnglesPlugin::execute
PView * execute(PView *)
Definition: BoundaryAngles.cpp:85
GMSH_BoundaryAnglesPlugin::getAuthor
std::string getAuthor() const
Definition: BoundaryAngles.h:28
GMSH_BoundaryAnglesPlugin::getOption
StringXNumber * getOption(int iopt)
Definition: BoundaryAngles.cpp:61
GMSH_BoundaryAnglesPlugin::getName
std::string getName() const
Definition: BoundaryAngles.h:22
GMSH_BoundaryAnglesPlugin::getNbOptions
int getNbOptions() const
Definition: BoundaryAngles.cpp:56
z
const double z
Definition: GaussQuadratureQuad.cpp:56
GMSH_PostPlugin
Definition: Plugin.h:83
GMSH_BoundaryAnglesPlugin::GMSH_BoundaryAnglesPlugin
GMSH_BoundaryAnglesPlugin()
Definition: BoundaryAngles.h:21
GMSH_BoundaryAnglesPlugin::iview
static int iview
Definition: BoundaryAngles.h:18