gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
meshPartition.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_PARTITION_H
7
#define MESH_PARTITION_H
8
9
class
GModel
;
10
class
MElement
;
11
class
GFace
;
12
13
int
PartitionMesh
(
GModel
*
model
,
int
numPart);
14
int
UnpartitionMesh
(
GModel
*
model
);
15
16
int
PartitionUsingThisSplit
(
GModel
*
model
,
17
std::vector<std::pair<MElement *, int> > &elmToPartition);
18
int
ConvertOldPartitioningToNewOne
(
GModel
*
model
);
19
20
int
PartitionFaceMinEdgeLength
(
GFace
*gf,
int
np,
double
tol = 1.02);
21
22
#endif
GFace
Definition:
GFace.h:33
GEntity::model
GModel * model() const
Definition:
GEntity.h:277
PartitionFaceMinEdgeLength
int PartitionFaceMinEdgeLength(GFace *gf, int np, double tol=1.02)
Definition:
meshPartition.cpp:2663
UnpartitionMesh
int UnpartitionMesh(GModel *model)
Definition:
meshPartition.cpp:2652
ConvertOldPartitioningToNewOne
int ConvertOldPartitioningToNewOne(GModel *model)
Definition:
meshPartition.cpp:2654
PartitionMesh
int PartitionMesh(GModel *model, int numPart)
Definition:
meshPartition.cpp:2646
GModel
Definition:
GModel.h:44
PartitionUsingThisSplit
int PartitionUsingThisSplit(GModel *model, std::vector< std::pair< MElement *, int > > &elmToPartition)
Definition:
meshPartition.cpp:2656
MElement
Definition:
MElement.h:30
src
mesh
meshPartition.h
Generated by
1.8.18