gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
HomologyComputation.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 // Contributed by Matti Pellikka <matti.pellikka@microsoft.com>.
7 
8 #ifndef HOMOLOGY_COMPUTATION_H
9 #define HOMOLOGY_COMPUTATION_H
10 
11 #include <string>
12 #include "Plugin.h"
13 
14 #if defined(HAVE_KBIPACK)
15 
16 extern "C" {
17 GMSH_Plugin *GMSH_RegisterHomologyComputationPlugin();
18 }
19 
20 class GMSH_HomologyComputationPlugin : public GMSH_PostPlugin {
21 public:
22  GMSH_HomologyComputationPlugin() {}
23  std::string getName() const { return "HomologyComputation"; }
24  std::string getShortHelp() const
25  {
26  return "Compute relative (co)homology spaces";
27  }
28  std::string getHelp() const;
29  std::string getAuthor() const { return "M. Pellikka"; }
30  int getNbOptions() const;
31  StringXNumber *getOption(int iopt);
32  int getNbOptionsStr() const;
33  StringXString *getOptionStr(int iopt);
34  PView *execute(PView *);
35  bool parseStringOpt(int stringOpt, std::vector<int> &intList);
36 };
37 
38 #endif
39 
40 #endif
StringXString
Definition: Options.h:910
GMSH_Plugin::getHelp
virtual std::string getHelp() const =0
PView
Definition: PView.h:27
Plugin.h
GMSH_Plugin
Definition: Plugin.h:26
StringXNumber
Definition: Options.h:918
GMSH_Plugin::getNbOptions
virtual int getNbOptions() const
Definition: Plugin.h:61
GMSH_PostPlugin::execute
virtual PView * execute(PView *)=0
GMSH_Plugin::getName
virtual std::string getName() const =0
GMSH_Plugin::getNbOptionsStr
virtual int getNbOptionsStr() const
Definition: Plugin.h:65
GMSH_Plugin::getAuthor
virtual std::string getAuthor() const
Definition: Plugin.h:50
GMSH_PostPlugin
Definition: Plugin.h:83
GMSH_Plugin::getOptionStr
virtual StringXString * getOptionStr(int iopt)
Definition: Plugin.h:66
GMSH_Plugin::getShortHelp
virtual std::string getShortHelp() const =0
GMSH_Plugin::getOption
virtual StringXNumber * getOption(int iopt)
Definition: Plugin.h:62