AFEPack
公有类型 | 公有成员 | 静态公有属性 | 私有属性
GmshMesh类参考

#include <GmshMesh.h>

类GmshMesh继承关系图:
SimplestMesh< 3, 3 >

所有成员的列表。

公有类型

typedef int GeometryType

公有成员

 GmshMesh ()
virtual ~GmshMesh ()
void readData (const std::string &)
virtual void generateMesh (Mesh< 3, 3 > &m)
 DeclException1 (ExcMeshData, char *,<< "Mesh data error: "<< arg1)

静态公有属性

static const GeometryType POINT = 15
static const GeometryType LINE = 1
static const GeometryType TRIANGLE = 2
static const GeometryType QUADRANGLE = 3
static const GeometryType TETRAHEDRON = 4
static const GeometryType HEXAHEDRON = 5
static const GeometryType PRISM = 6
static const GeometryType PYRAMID = 7

私有属性

std::list< GeometryBMnode
std::list< GeometryBMline
std::list< GeometryBMsurface

详细描述

This class provides facilities to asscess the mesh data file generated by the mesh generator {gmsh}. For 3-dimensional only. Though we can read in very flexible data format, we currently only use it to read in pure tetrahedron mesh.


成员类型定义文档


构造及析构函数文档

GmshMesh::~GmshMesh ( ) [virtual]

成员函数文档

GmshMesh::DeclException1 ( ExcMeshData  ,
char *  ,
<< "Mesh data error: "<<  arg1 
)
void GmshMesh::generateMesh ( Mesh< 3, 3 > &  m) [virtual]
void GmshMesh::readData ( const std::string &  filename)

$MeshFormat

integer : for example, 2 means the version of Gmsh is 2.0

integer : for example, 0 means the type of data file is ASCII

integer : the size of the floating point numbers used in the file.

$EndMeshFormat$

$Nodes

$EndNodes

$Elements

重要:新版的 Gmsh 的四面体的定向和 AFEPack 的四面体的定向是相 反的,我们通过将 0, 1 两个点的顺序掉换来改变四面体的定向!

$EndElements


成员数据文档

const GeometryType GmshMesh::HEXAHEDRON = 5 [static]
const GeometryType GmshMesh::LINE = 1 [static]
std::list<GeometryBM> GmshMesh::line [private]
std::list<GeometryBM> GmshMesh::node [private]
const GeometryType GmshMesh::POINT = 15 [static]
const GeometryType GmshMesh::PRISM = 6 [static]
const GeometryType GmshMesh::PYRAMID = 7 [static]
const GeometryType GmshMesh::QUADRANGLE = 3 [static]
std::list<GeometryBM> GmshMesh::surface [private]
const GeometryType GmshMesh::TETRAHEDRON = 4 [static]
const GeometryType GmshMesh::TRIANGLE = 2 [static]

该类的文档由以下文件生成: