gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
Scal2Tens.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 SCAL2TENS_H
7
#define SCAL2TENS_H
8
9
#include "
Plugin.h
"
10
11
extern
"C"
{
12
GMSH_Plugin
*
GMSH_RegisterScal2TensPlugin
();
13
}
14
15
class
GMSH_Scal2TensPlugin
:
public
GMSH_PostPlugin
{
16
public
:
17
GMSH_Scal2TensPlugin
() {}
18
std::string
getName
()
const
{
return
"Scal2Tens"
; }
19
std::string
getShortHelp
()
const
20
{
21
return
"Convert some scalar fields into a tensor field with several "
22
"components"
;
23
}
24
std::string
getHelp
()
const
;
25
int
getNbOptions
()
const
;
26
StringXNumber
*
getOption
(
int
iopt);
27
int
getNbOptionsStr
()
const
;
28
StringXString
*
getOptionStr
(
int
iopt);
29
PView
*
execute
(
PView
*);
30
};
31
32
#endif
StringXString
Definition:
Options.h:910
GMSH_Scal2TensPlugin
Definition:
Scal2Tens.h:15
PView
Definition:
PView.h:27
GMSH_Scal2TensPlugin::getNbOptionsStr
int getNbOptionsStr() const
Definition:
Scal2Tens.cpp:51
GMSH_Scal2TensPlugin::getNbOptions
int getNbOptions() const
Definition:
Scal2Tens.cpp:41
Plugin.h
GMSH_Scal2TensPlugin::getHelp
std::string getHelp() const
Definition:
Scal2Tens.cpp:32
GMSH_Plugin
Definition:
Plugin.h:26
StringXNumber
Definition:
Options.h:918
GMSH_Scal2TensPlugin::execute
PView * execute(PView *)
Definition:
Scal2Tens.cpp:61
GMSH_Scal2TensPlugin::GMSH_Scal2TensPlugin
GMSH_Scal2TensPlugin()
Definition:
Scal2Tens.h:17
GMSH_Scal2TensPlugin::getShortHelp
std::string getShortHelp() const
Definition:
Scal2Tens.h:19
GMSH_Scal2TensPlugin::getOptionStr
StringXString * getOptionStr(int iopt)
Definition:
Scal2Tens.cpp:56
GMSH_Scal2TensPlugin::getName
std::string getName() const
Definition:
Scal2Tens.h:18
GMSH_RegisterScal2TensPlugin
GMSH_Plugin * GMSH_RegisterScal2TensPlugin()
Definition:
Scal2Tens.cpp:26
GMSH_PostPlugin
Definition:
Plugin.h:83
GMSH_Scal2TensPlugin::getOption
StringXNumber * getOption(int iopt)
Definition:
Scal2Tens.cpp:46
src
plugin
Scal2Tens.h
Generated by
1.8.18