gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
#include <cstdarg>
#include <algorithm>
#include <list>
#include <vector>
#include "GeomMeshMatcher.h"
#include "Pair.h"
#include "discreteVertex.h"
#include "GmshMessage.h"
#include "SOrientedBoundingBox.h"
#include "MElement.h"
#include "MTriangle.h"
#include "MQuadrangle.h"
#include "MVertex.h"
#include "MLine.h"
#include "MPyramid.h"
#include "MTrihedron.h"
#include "MPrism.h"
#include "MPoint.h"
#include "MHexahedron.h"
#include "MTetrahedron.h"
#include "OS.h"
#include "Context.h"
#include "closestVertex.h"
Go to the source code of this file.
Functions | |
template<class T , class container > | |
void | getIntersection (std::vector< T > &res, std::vector< container > &lists) |
template<class T > | |
T | findMatching (std::vector< Pair< T, T > > &matching, T &entity) |
static GVertex * | getGVertex (MVertex *v1, GModel *gm, const double TOL) |
static GPoint | getGEdge (MVertex *v1, GModel *gm, const double TOL) |
static GPoint | getGFace (MVertex *v1, GModel *gm, const double TOL) |
template<class GEType > | |
static void | copy_periodicity (std::vector< Pair< GEType *, GEType * > > &eCor, std::map< MVertex *, MVertex * > &mesh_to_geom) |
template<class GEType > | |
static bool | apply_periodicity (std::vector< Pair< GEType *, GEType * > > &eCor) |
static void | copy_vertices (GVertex *to, GVertex *from, std::map< MVertex *, MVertex * > &_mesh_to_geom) |
static void | copy_vertices (GRegion *to, GRegion *from, std::map< MVertex *, MVertex * > &_mesh_to_geom) |
static void | copy_vertices (GEdge *to, GEdge *from, std::map< MVertex *, MVertex * > &_mesh_to_geom) |
static void | copy_vertices (GFace *to, GFace *from, std::map< MVertex *, MVertex * > &_mesh_to_geom) |
template<class ELEMENT > | |
static void | copy_elements (std::vector< ELEMENT * > &to, std::vector< ELEMENT * > &from, std::map< MVertex *, MVertex * > &_mesh_to_geom) |
void | copy_vertices (GModel *geom, GModel *mesh, std::map< MVertex *, MVertex * > &_mesh_to_geom, std::vector< Pair< GVertex *, GVertex * > > *coresp_v, std::vector< Pair< GEdge *, GEdge * > > *coresp_e, std::vector< Pair< GFace *, GFace * > > *coresp_f, std::vector< Pair< GRegion *, GRegion * > > *coresp_r) |
void | copy_elements (GModel *geom, GModel *mesh, std::map< MVertex *, MVertex * > &_mesh_to_geom, std::vector< Pair< GVertex *, GVertex * > > *coresp_v, std::vector< Pair< GEdge *, GEdge * > > *coresp_e, std::vector< Pair< GFace *, GFace * > > *coresp_f, std::vector< Pair< GRegion *, GRegion * > > *coresp_r) |
|
static |
Definition at line 654 of file GeomMeshMatcher.cpp.
Referenced by GeomMeshMatcher::match().
void copy_elements | ( | GModel * | geom, |
GModel * | mesh, | ||
std::map< MVertex *, MVertex * > & | _mesh_to_geom, | ||
std::vector< Pair< GVertex *, GVertex * > > * | coresp_v, | ||
std::vector< Pair< GEdge *, GEdge * > > * | coresp_e, | ||
std::vector< Pair< GFace *, GFace * > > * | coresp_f, | ||
std::vector< Pair< GRegion *, GRegion * > > * | coresp_r | ||
) |
Definition at line 809 of file GeomMeshMatcher.cpp.
|
static |
Definition at line 765 of file GeomMeshMatcher.cpp.
Referenced by GeomMeshMatcher::match().
|
static |
Definition at line 597 of file GeomMeshMatcher.cpp.
Referenced by GeomMeshMatcher::match().
void copy_vertices | ( | GModel * | geom, |
GModel * | mesh, | ||
std::map< MVertex *, MVertex * > & | _mesh_to_geom, | ||
std::vector< Pair< GVertex *, GVertex * > > * | coresp_v, | ||
std::vector< Pair< GEdge *, GEdge * > > * | coresp_e, | ||
std::vector< Pair< GFace *, GFace * > > * | coresp_f, | ||
std::vector< Pair< GRegion *, GRegion * > > * | coresp_r | ||
) |
|
static |
Definition at line 684 of file GeomMeshMatcher.cpp.
Referenced by copy_vertices(), and GeomMeshMatcher::match().
T findMatching | ( | std::vector< Pair< T, T > > & | matching, |
T & | entity | ||
) |
Definition at line 64 of file GeomMeshMatcher.cpp.
Definition at line 439 of file GeomMeshMatcher.cpp.
Referenced by GeomMeshMatcher::forceTomatch().
Definition at line 460 of file GeomMeshMatcher.cpp.
Referenced by GeomMeshMatcher::forceTomatch().
Definition at line 410 of file GeomMeshMatcher.cpp.
Referenced by GeomMeshMatcher::forceTomatch().
void getIntersection | ( | std::vector< T > & | res, |
std::vector< container > & | lists | ||
) |
Definition at line 38 of file GeomMeshMatcher.cpp.