gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
#include <stdlib.h>
#include <string.h>
#include <map>
#include <string>
#include <sstream>
#include <cassert>
#include <iomanip>
#include "GModel.h"
#include "OS.h"
#include "GmshDefines.h"
#include "MPoint.h"
#include "MLine.h"
#include "MTriangle.h"
#include "MQuadrangle.h"
#include "MTetrahedron.h"
#include "MHexahedron.h"
#include "MPrism.h"
#include "MPyramid.h"
#include "MElementCut.h"
#include "StringUtils.h"
#include "GmshMessage.h"
#include "Context.h"
#include "ghostEdge.h"
#include "ghostFace.h"
#include "ghostRegion.h"
Go to the source code of this file.
Functions | |
void | writeMSHPeriodicNodes (FILE *fp, std::vector< GEntity * > &entities, bool renumber, bool saveAll) |
void | readMSHPeriodicNodes (FILE *fp, GModel *gm) |
void | writeMSHEntities (FILE *fp, GModel *gm) |
static bool | getMeshVertices (int num, int *indices, std::map< int, MVertex * > &map, std::vector< MVertex * > &vertices) |
static bool | getMeshVertices (int num, int *indices, std::vector< MVertex * > &vec, std::vector< MVertex * > &vertices, int minVertex=0) |
static MElement * | createElementMSH2 (GModel *m, int num, int typeMSH, int physical, int reg, unsigned int part, std::vector< MVertex * > &v, std::map< int, std::vector< MElement * > > elements[10], std::map< int, std::map< int, std::string > > physicals[4], bool owner=false, MElement *parent=nullptr, MElement *d1=nullptr, MElement *d2=nullptr) |
template<class T > | |
static void | writeElementMSH (FILE *fp, GModel *model, GEntity *ge, T *ele, bool saveAll, double version, bool binary, int &num, int elementary, std::vector< int > &physicals, int parentNum=0, int dom1Num=0, int dom2Num=0) |
template<class T > | |
static void | writeElementsMSH (FILE *fp, GModel *model, GEntity *ge, std::vector< T * > &ele, bool saveAll, int saveSinglePartition, double version, bool binary, int &num, int elementary, std::vector< int > &physicals) |
static int | getNumElementsMSH (GEntity *ge, bool saveAll, int saveSinglePartition) |
static int | getNumElementsMSH (GModel *m, bool saveAll, int saveSinglePartition) |
static int | _getElementary (GEntity *ge) |
|
static |
Definition at line 869 of file GModelIO_MSH2.cpp.
Referenced by GModel::_writeMSH2().
|
static |
Definition at line 70 of file GModelIO_MSH2.cpp.
Referenced by GModel::_readMSH2().
|
static |
Definition at line 39 of file GModelIO_MSH2.cpp.
Referenced by GModel::_readMSH2().
|
static |
Definition at line 788 of file GModelIO_MSH2.cpp.
Referenced by GModel::_writeMSH2(), GModel::_writePartitionedMSH2(), and getNumElementsMSH().
|
static |
void readMSHPeriodicNodes | ( | FILE * | fp, |
GModel * | gm | ||
) |
Definition at line 125 of file GModelIO_MSH3.cpp.
Referenced by GModel::_readMSH2(), and GModel::_readMSH3().
|
static |
Definition at line 695 of file GModelIO_MSH2.cpp.
Referenced by GModel::_writeMSH2(), and writeElementsMSH().
|
static |
Definition at line 736 of file GModelIO_MSH2.cpp.
Referenced by GModel::_writeMSH2().
void writeMSHEntities | ( | FILE * | fp, |
GModel * | gm | ||
) |
Definition at line 574 of file GModelIO_MSH3.cpp.
Referenced by GModel::_writeMSH2(), and GModel::_writeMSH3().
void writeMSHPeriodicNodes | ( | FILE * | fp, |
std::vector< GEntity * > & | entities, | ||
bool | renumber, | ||
bool | saveAll | ||
) |
Definition at line 674 of file GModelIO_MSH3.cpp.
Referenced by GModel::_writeMSH2(), and GModel::_writeMSH3().