gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
#include <vector>
#include <set>
#include <sstream>
#include <algorithm>
#include <ctime>
#include <limits>
#include <stack>
#include <cstdlib>
#include <map>
#include <unordered_map>
#include "GmshConfig.h"
#include "GmshMessage.h"
#include "GModel.h"
#include "ElementType.h"
Go to the source code of this file.
Classes | |
struct | OriGEntityPtrFullLessThan |
Macros | |
#define | hashmap std::unordered_map |
#define | hashmapentity |
#define | hashmapelement std::unordered_map<MElement *, GEntity *, MElementPtrHash, MElementPtrEqual> |
#define | hashmapelementpart std::unordered_map<MElement *, int, MElementPtrHash, MElementPtrEqual> |
#define | hashmapface |
#define | hashmapedge |
#define | hashmapvertex |
Typedefs | |
typedef std::set< std::pair< int, GEntity * >, OriGEntityPtrFullLessThan > | setorientity |
Functions | |
int | PartitionMesh (GModel *model, int numPart) |
int | UnpartitionMesh (GModel *model) |
int | ConvertOldPartitioningToNewOne (GModel *model) |
int | PartitionUsingThisSplit (GModel *model, std::vector< std::pair< MElement *, int > > &elmToPartition) |
int | PartitionFaceMinEdgeLength (GFace *gf, int np, double tol) |
#define hashmap std::unordered_map |
Definition at line 38 of file meshPartition.cpp.
#define hashmapedge |
Definition at line 50 of file meshPartition.cpp.
#define hashmapelement std::unordered_map<MElement *, GEntity *, MElementPtrHash, MElementPtrEqual> |
Definition at line 42 of file meshPartition.cpp.
#define hashmapelementpart std::unordered_map<MElement *, int, MElementPtrHash, MElementPtrEqual> |
Definition at line 44 of file meshPartition.cpp.
#define hashmapentity |
Definition at line 39 of file meshPartition.cpp.
#define hashmapface |
Definition at line 46 of file meshPartition.cpp.
#define hashmapvertex |
Definition at line 54 of file meshPartition.cpp.
typedef std::set<std::pair<int, GEntity *>, OriGEntityPtrFullLessThan> setorientity |
Definition at line 35 of file meshPartition.cpp.
int ConvertOldPartitioningToNewOne | ( | GModel * | model | ) |
Definition at line 2654 of file meshPartition.cpp.
Referenced by GModel::convertOldPartitioningToNewOne().
int PartitionFaceMinEdgeLength | ( | GFace * | gf, |
int | np, | ||
double | tol | ||
) |
Definition at line 2663 of file meshPartition.cpp.
Referenced by computeEdgeCut().
int PartitionMesh | ( | GModel * | model, |
int | numPart | ||
) |
Definition at line 2646 of file meshPartition.cpp.
Referenced by GModel::partitionMesh().
int PartitionUsingThisSplit | ( | GModel * | model, |
std::vector< std::pair< MElement *, int > > & | elmToPartition | ||
) |
Definition at line 2656 of file meshPartition.cpp.
Referenced by GModel::partitionMesh(), and GMSH_SimplePartitionPlugin::run().
int UnpartitionMesh | ( | GModel * | model | ) |
Definition at line 2652 of file meshPartition.cpp.
Referenced by GModel::partitionMesh(), and GModel::unpartitionMesh().