mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
* Added capability of writing gz compressed STL surface meshes
* Added capability of writing gz compressed OpenFOAM meshes
This commit is contained in:
parent
0ca9193607
commit
f9f8d5481b
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,165 +1,166 @@
|
|||||||
#ifndef WRITEUSER
|
#ifndef WRITEUSER
|
||||||
#define WRITEUSER
|
#define WRITEUSER
|
||||||
|
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
/* File: writeuser.hh */
|
/* File: writeuser.hh */
|
||||||
/* Authors: many */
|
/* Authors: many */
|
||||||
/* Date: 10. Dec. 97 */
|
/* Date: 10. Dec. 97 */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
extern
|
extern
|
||||||
void WriteFile (int typ,
|
void WriteFile (int typ,
|
||||||
const Mesh & mesh,
|
const Mesh & mesh,
|
||||||
const CSGeometry & geom,
|
const CSGeometry & geom,
|
||||||
const char * filename,
|
const char * filename,
|
||||||
const char * geomfile = NULL,
|
const char * geomfile = NULL,
|
||||||
double h = 0);
|
double h = 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
extern
|
extern
|
||||||
void ReadFile (Mesh & mesh,
|
void ReadFile (Mesh & mesh,
|
||||||
const string & filename);
|
const string & filename);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
extern
|
extern
|
||||||
void WriteNeutralFormat (const Mesh & mesh,
|
void WriteNeutralFormat (const Mesh & mesh,
|
||||||
const CSGeometry & geom,
|
const CSGeometry & geom,
|
||||||
const string & filename);
|
const string & filename);
|
||||||
|
|
||||||
extern
|
extern
|
||||||
void WriteSurfaceFormat (const Mesh & mesh,
|
void WriteSurfaceFormat (const Mesh & mesh,
|
||||||
const string & filename);
|
const string & filename);
|
||||||
|
|
||||||
extern
|
extern
|
||||||
void WriteSTLFormat (const Mesh & mesh,
|
void WriteSTLFormat (const Mesh & mesh,
|
||||||
const string & filename);
|
const string & filename);
|
||||||
|
|
||||||
|
|
||||||
// Philippose - 16 August 2010
|
// Philippose - 16 August 2010
|
||||||
// Added the STL Extended format in which
|
// Added the STL Extended format in which
|
||||||
// each face of the geometry is treated as
|
// each face of the geometry is treated as
|
||||||
// a separate "solid" entity in the STL file
|
// a separate "solid" entity in the STL file
|
||||||
extern
|
extern
|
||||||
void WriteSTLExtFormat (const Mesh & mesh,
|
void WriteSTLExtFormat (const Mesh & mesh,
|
||||||
const string & filename);
|
const string & filename);
|
||||||
|
|
||||||
|
|
||||||
extern
|
extern
|
||||||
void WriteVRMLFormat (const Mesh & mesh,
|
void WriteVRMLFormat (const Mesh & mesh,
|
||||||
bool faces,
|
bool faces,
|
||||||
const string & filename);
|
const string & filename);
|
||||||
|
|
||||||
extern
|
extern
|
||||||
void WriteFEPPFormat (const Mesh & mesh,
|
void WriteFEPPFormat (const Mesh & mesh,
|
||||||
const CSGeometry & geom,
|
const CSGeometry & geom,
|
||||||
const string & filename);
|
const string & filename);
|
||||||
|
|
||||||
extern
|
extern
|
||||||
void WriteGmshFormat (const Mesh & mesh,
|
void WriteGmshFormat (const Mesh & mesh,
|
||||||
const CSGeometry & geom,
|
const CSGeometry & geom,
|
||||||
const string & filename);
|
const string & filename);
|
||||||
|
|
||||||
|
|
||||||
// Philippose - 29/01/2009
|
// Philippose - 29/01/2009
|
||||||
// Added GMSH v2.xx Mesh Export support
|
// Added GMSH v2.xx Mesh Export support
|
||||||
void WriteGmsh2Format (const Mesh & mesh,
|
void WriteGmsh2Format (const Mesh & mesh,
|
||||||
const CSGeometry & geom,
|
const CSGeometry & geom,
|
||||||
const string & filename);
|
const string & filename);
|
||||||
|
|
||||||
|
|
||||||
// Philippose - 25/10/2009
|
// Philippose - 25/10/2009
|
||||||
// Added OpenFOAM 1.5+ Mesh Export support
|
// Added OpenFOAM 1.5+ Mesh Export support
|
||||||
extern
|
extern
|
||||||
void WriteOpenFOAM15xFormat (const Mesh & mesh,
|
void WriteOpenFOAM15xFormat (const Mesh & mesh,
|
||||||
const string & casename);
|
const string & casename,
|
||||||
|
const bool compressed);
|
||||||
|
|
||||||
extern
|
|
||||||
void WriteUserChemnitz (const Mesh & mesh,
|
extern
|
||||||
const string & filename);
|
void WriteUserChemnitz (const Mesh & mesh,
|
||||||
|
const string & filename);
|
||||||
extern
|
|
||||||
void WriteJCMFormat (const Mesh & mesh,
|
extern
|
||||||
const CSGeometry & geom,
|
void WriteJCMFormat (const Mesh & mesh,
|
||||||
const string & filename);
|
const CSGeometry & geom,
|
||||||
|
const string & filename);
|
||||||
|
|
||||||
extern
|
|
||||||
void WriteDiffPackFormat (const Mesh & mesh,
|
extern
|
||||||
const CSGeometry & geom,
|
void WriteDiffPackFormat (const Mesh & mesh,
|
||||||
const string & filename);
|
const CSGeometry & geom,
|
||||||
|
const string & filename);
|
||||||
extern
|
|
||||||
void WriteTochnogFormat (const Mesh & mesh,
|
extern
|
||||||
const string & filename);
|
void WriteTochnogFormat (const Mesh & mesh,
|
||||||
|
const string & filename);
|
||||||
extern
|
|
||||||
void WriteTecPlotFormat (const Mesh & mesh,
|
extern
|
||||||
const CSGeometry & geom,
|
void WriteTecPlotFormat (const Mesh & mesh,
|
||||||
const string & filename);
|
const CSGeometry & geom,
|
||||||
|
const string & filename);
|
||||||
extern
|
|
||||||
void WriteAbaqusFormat (const Mesh & mesh,
|
extern
|
||||||
const string & filename);
|
void WriteAbaqusFormat (const Mesh & mesh,
|
||||||
|
const string & filename);
|
||||||
extern
|
|
||||||
void WriteFluentFormat (const Mesh & mesh,
|
extern
|
||||||
const string & filename);
|
void WriteFluentFormat (const Mesh & mesh,
|
||||||
|
const string & filename);
|
||||||
extern
|
|
||||||
void WritePermasFormat (const Mesh & mesh,
|
extern
|
||||||
const string & filename);
|
void WritePermasFormat (const Mesh & mesh,
|
||||||
|
const string & filename);
|
||||||
extern
|
|
||||||
void WriteFEAPFormat (const Mesh & mesh,
|
extern
|
||||||
const string & filename);
|
void WriteFEAPFormat (const Mesh & mesh,
|
||||||
|
const string & filename);
|
||||||
extern
|
|
||||||
void WriteElmerFormat (const Mesh & mesh,
|
extern
|
||||||
const string & filename);
|
void WriteElmerFormat (const Mesh & mesh,
|
||||||
|
const string & filename);
|
||||||
|
|
||||||
extern
|
|
||||||
void WriteEdgeElementFormat (const Mesh & mesh,
|
extern
|
||||||
const CSGeometry & geom,
|
void WriteEdgeElementFormat (const Mesh & mesh,
|
||||||
const string & filename);
|
const CSGeometry & geom,
|
||||||
|
const string & filename);
|
||||||
|
|
||||||
|
|
||||||
#ifdef OLIVER
|
|
||||||
extern
|
#ifdef OLIVER
|
||||||
void WriteTETFormat (const Mesh & mesh,
|
extern
|
||||||
const string & filename);
|
void WriteTETFormat (const Mesh & mesh,
|
||||||
|
const string & filename);
|
||||||
#endif
|
|
||||||
|
#endif
|
||||||
extern void ReadTETFormat (Mesh & mesh,
|
|
||||||
const string & filename);
|
extern void ReadTETFormat (Mesh & mesh,
|
||||||
|
const string & filename);
|
||||||
|
|
||||||
extern void ReadFNFFormat (Mesh & mesh,
|
|
||||||
const string & filename);
|
extern void ReadFNFFormat (Mesh & mesh,
|
||||||
|
const string & filename);
|
||||||
|
|
||||||
|
|
||||||
void WriteDolfinFormat (const Mesh & mesh,
|
|
||||||
const string & filename);
|
void WriteDolfinFormat (const Mesh & mesh,
|
||||||
|
const string & filename);
|
||||||
|
|
||||||
extern void RegisterUserFormats (Array<const char*> & names,
|
|
||||||
Array<const char*> & extensions);
|
extern void RegisterUserFormats (Array<const char*> & names,
|
||||||
|
Array<const char*> & extensions);
|
||||||
|
|
||||||
extern bool WriteUserFormat (const string & format,
|
|
||||||
const Mesh & mesh,
|
extern bool WriteUserFormat (const string & format,
|
||||||
const NetgenGeometry & geom,
|
const Mesh & mesh,
|
||||||
const string & filename);
|
const NetgenGeometry & geom,
|
||||||
|
const string & filename);
|
||||||
#endif
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
2244
ng/menustat.tcl
2244
ng/menustat.tcl
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user