gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
MVertexBoundaryLayerData.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 MVERTEXBOUNDARYLAYERDATA_H
7
#define MVERTEXBOUNDARYLAYERDATA_H
8
9
#include <vector>
10
11
class
MVertex
;
12
13
// A simple data structure to keep track of the "children" of vertices
14
// in a boundary layer mesh. It should be filled for each MVertex on
15
// the boundary of the geometry with the vertices along the normal
16
// direction, in order.
17
18
class
MVertexBoundaryLayerData
{
19
private
:
20
std::vector<std::vector<MVertex *> >
children
;
21
22
public
:
23
MVertexBoundaryLayerData
(){};
24
~MVertexBoundaryLayerData
(){};
25
26
std::vector<MVertex *> *
getChildren
(
int
i);
27
int
getNumChildren
(
int
i);
28
29
int
getNumChildrenFamilies
();
30
void
addChildrenFamily
(
const
std::vector<MVertex *> &family);
31
};
32
33
#endif
MVertex
Definition:
MVertex.h:24
MVertexBoundaryLayerData::getNumChildrenFamilies
int getNumChildrenFamilies()
Definition:
MVertexBoundaryLayerData.cpp:26
MVertexBoundaryLayerData::getChildren
std::vector< MVertex * > * getChildren(int i)
Definition:
MVertexBoundaryLayerData.cpp:8
MVertexBoundaryLayerData::~MVertexBoundaryLayerData
~MVertexBoundaryLayerData()
Definition:
MVertexBoundaryLayerData.h:24
MVertexBoundaryLayerData::addChildrenFamily
void addChildrenFamily(const std::vector< MVertex * > &family)
Definition:
MVertexBoundaryLayerData.cpp:31
MVertexBoundaryLayerData::getNumChildren
int getNumChildren(int i)
Definition:
MVertexBoundaryLayerData.cpp:16
MVertexBoundaryLayerData::MVertexBoundaryLayerData
MVertexBoundaryLayerData()
Definition:
MVertexBoundaryLayerData.h:23
MVertexBoundaryLayerData
Definition:
MVertexBoundaryLayerData.h:18
MVertexBoundaryLayerData::children
std::vector< std::vector< MVertex * > > children
Definition:
MVertexBoundaryLayerData.h:20
src
geo
MVertexBoundaryLayerData.h
Generated by
1.8.18