gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
MeshVolume.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 MESH_VOLUME_H
7
#define MESH_VOLUME_H
8
9
#include "
Plugin.h
"
10
11
extern
"C"
{
12
GMSH_Plugin
*
GMSH_RegisterMeshVolumePlugin
();
13
}
14
15
class
GMSH_MeshVolumePlugin
:
public
GMSH_PostPlugin
{
16
public
:
17
GMSH_MeshVolumePlugin
() {}
18
std::string
getName
()
const
{
return
"MeshVolume"
; }
19
std::string
getShortHelp
()
const
{
return
"Volume of a mesh"
; }
20
std::string
getHelp
()
const
;
21
std::string
getAuthor
()
const
{
return
"N. Marsic"
; }
22
int
getNbOptions
()
const
;
23
StringXNumber
*
getOption
(
int
iopt);
24
PView
*
execute
(
PView
*);
25
};
26
27
#endif
GMSH_MeshVolumePlugin::GMSH_MeshVolumePlugin
GMSH_MeshVolumePlugin()
Definition:
MeshVolume.h:17
PView
Definition:
PView.h:27
Plugin.h
GMSH_MeshVolumePlugin::getShortHelp
std::string getShortHelp() const
Definition:
MeshVolume.h:19
GMSH_Plugin
Definition:
Plugin.h:26
GMSH_MeshVolumePlugin::getOption
StringXNumber * getOption(int iopt)
Definition:
MeshVolume.cpp:37
GMSH_MeshVolumePlugin
Definition:
MeshVolume.h:15
StringXNumber
Definition:
Options.h:918
GMSH_RegisterMeshVolumePlugin
GMSH_Plugin * GMSH_RegisterMeshVolumePlugin()
Definition:
MeshVolume.cpp:15
GMSH_MeshVolumePlugin::getAuthor
std::string getAuthor() const
Definition:
MeshVolume.h:21
GMSH_MeshVolumePlugin::getNbOptions
int getNbOptions() const
Definition:
MeshVolume.cpp:32
GMSH_PostPlugin
Definition:
Plugin.h:83
GMSH_MeshVolumePlugin::execute
PView * execute(PView *)
Definition:
MeshVolume.cpp:42
GMSH_MeshVolumePlugin::getHelp
std::string getHelp() const
Definition:
MeshVolume.cpp:21
GMSH_MeshVolumePlugin::getName
std::string getName() const
Definition:
MeshVolume.h:18
src
plugin
MeshVolume.h
Generated by
1.8.18