gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
SimplePartition.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 SIMPLE_PARTITION_H
7
#define SIMPLE_PARTITION_H
8
9
#include "
Plugin.h
"
10
11
extern
"C"
{
12
GMSH_Plugin
*
GMSH_RegisterSimplePartitionPlugin
();
13
}
14
15
class
GMSH_SimplePartitionPlugin
:
public
GMSH_MeshPlugin
{
16
public
:
17
GMSH_SimplePartitionPlugin
() {}
18
std::string
getName
()
const
{
return
"SimplePartition"
; }
19
std::string
getShortHelp
()
const
{
return
"Simple mesh partitioner"
; }
20
std::string
getHelp
()
const
;
21
int
getNbOptions
()
const
;
22
StringXNumber
*
getOption
(
int
iopt);
23
int
getNbOptionsStr
()
const
;
24
StringXString
*
getOptionStr
(
int
iopt);
25
int
run
();
26
};
27
28
#endif
StringXString
Definition:
Options.h:910
GMSH_SimplePartitionPlugin::getOption
StringXNumber * getOption(int iopt)
Definition:
SimplePartition.cpp:58
Plugin.h
GMSH_Plugin
Definition:
Plugin.h:26
GMSH_SimplePartitionPlugin::getNbOptions
int getNbOptions() const
Definition:
SimplePartition.cpp:53
GMSH_SimplePartitionPlugin::getOptionStr
StringXString * getOptionStr(int iopt)
Definition:
SimplePartition.cpp:68
StringXNumber
Definition:
Options.h:918
GMSH_SimplePartitionPlugin::run
int run()
Definition:
SimplePartition.cpp:73
GMSH_SimplePartitionPlugin
Definition:
SimplePartition.h:15
GMSH_RegisterSimplePartitionPlugin
GMSH_Plugin * GMSH_RegisterSimplePartitionPlugin()
Definition:
SimplePartition.cpp:37
GMSH_SimplePartitionPlugin::getHelp
std::string getHelp() const
Definition:
SimplePartition.cpp:43
GMSH_SimplePartitionPlugin::getShortHelp
std::string getShortHelp() const
Definition:
SimplePartition.h:19
GMSH_SimplePartitionPlugin::getNbOptionsStr
int getNbOptionsStr() const
Definition:
SimplePartition.cpp:63
GMSH_SimplePartitionPlugin::GMSH_SimplePartitionPlugin
GMSH_SimplePartitionPlugin()
Definition:
SimplePartition.h:17
GMSH_SimplePartitionPlugin::getName
std::string getName() const
Definition:
SimplePartition.h:18
GMSH_MeshPlugin
Definition:
Plugin.h:143
src
plugin
SimplePartition.h
Generated by
1.8.18