mFES - molecular Finite Element Solver  0.4
Namespaces | Enumerations | Functions | Variables
writegmsh2.cpp File Reference

Export Netgen Mesh in the GMSH v2.xx File format. More...

#include <mystdlib.h>
#include <myadt.hpp>
#include <linalg.hpp>
#include <csg.hpp>
#include <meshing.hpp>
#include "writeuser.hpp"

Namespaces

namespace  netgen
 

namespace defined for NETGEN


Enumerations

enum  netgen::GMSH_ELEMENTS {
  netgen::GMSH_TRIG = 2, netgen::GMSH_TRIG6 = 9, netgen::GMSH_QUAD = 3, netgen::GMSH_QUAD8 = 16,
  netgen::GMSH_TET = 4, netgen::GMSH_TET10 = 11
}

Functions

void netgen::WriteFile (int typ, const Mesh &mesh, const CSGeometry &geom, const char *filename, const char *geomfile=NULL, double h=0)
void netgen::ReadFile (Mesh &mesh, const string &filename)
void netgen::WriteNeutralFormat (const Mesh &mesh, const CSGeometry &geom, const string &filename)
void netgen::WriteSurfaceFormat (const Mesh &mesh, const string &filename)
void netgen::WriteSTLFormat (const Mesh &mesh, const string &filename)
void netgen::WriteSTLExtFormat (const Mesh &mesh, const string &filename)
void netgen::WriteVRMLFormat (const Mesh &mesh, bool faces, const string &filename)
void netgen::WriteFEPPFormat (const Mesh &mesh, const CSGeometry &geom, const string &filename)
void netgen::WriteGmshFormat (const Mesh &mesh, const CSGeometry &geom, const string &filename)
void netgen::WriteGmsh2Format (const Mesh &mesh, const CSGeometry &geom, const string &filename)
void netgen::WriteOpenFOAM15xFormat (const Mesh &mesh, const string &casename, const bool compressed)
void netgen::WriteUserChemnitz (const Mesh &mesh, const string &filename)
void netgen::WriteJCMFormat (const Mesh &mesh, const CSGeometry &geom, const string &filename)
void netgen::WriteDiffPackFormat (const Mesh &mesh, const CSGeometry &geom, const string &filename)
void netgen::WriteTochnogFormat (const Mesh &mesh, const string &filename)
void netgen::WriteTecPlotFormat (const Mesh &mesh, const CSGeometry &geom, const string &filename)
void netgen::WriteAbaqusFormat (const Mesh &mesh, const string &filename)
void netgen::WriteFluentFormat (const Mesh &mesh, const string &filename)
void netgen::WritePermasFormat (const Mesh &mesh, const string &filename)
void netgen::WriteFEAPFormat (const Mesh &mesh, const string &filename)
void netgen::WriteElmerFormat (const Mesh &mesh, const string &filename)
void netgen::WriteEdgeElementFormat (const Mesh &mesh, const CSGeometry &geom, const string &filename)
void netgen::ReadTETFormat (Mesh &mesh, const string &filename)
void netgen::ReadFNFFormat (Mesh &mesh, const string &filename)
void netgen::WriteDolfinFormat (const Mesh &mesh, const string &filename)
void netgen::RegisterUserFormats (Array< const char * > &names, Array< const char * > &extensions)
bool netgen::WriteUserFormat (const string &format, const Mesh &mesh, const NetgenGeometry &geom, const string &filename)

Variables

const int netgen::triGmsh [7] = {0,1,2,3,6,4,5}
const int netgen::quadGmsh [9] = {0,1,2,3,4,5,8,6,7}
const int netgen::tetGmsh [11] = {0,1,2,3,4,5,8,6,7,10,9}

Detailed Description

Export Netgen Mesh in the GMSH v2.xx File format.

Author:
Philippose Rajan
Date:
02 November 2008

This function extends the export capabilities of Netgen to include the GMSH v2.xx File Format.

Current features of this function include:

1. Exports Triangles, Quadrangles and Tetrahedra
2. Supports upto second order elements of each type