mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-15 10:28:34 +05:00
146 lines
2.9 KiB
C++
146 lines
2.9 KiB
C++
|
#ifndef WRITEUSER
|
||
|
#define WRITEUSER
|
||
|
|
||
|
/**************************************************************************/
|
||
|
/* File: writeuser.hh */
|
||
|
/* Authors: many */
|
||
|
/* Date: 10. Dec. 97 */
|
||
|
/**************************************************************************/
|
||
|
|
||
|
|
||
|
extern
|
||
|
void WriteFile (int typ,
|
||
|
const Mesh & mesh,
|
||
|
const CSGeometry & geom,
|
||
|
const char * filename,
|
||
|
const char * geomfile = NULL,
|
||
|
double h = 0);
|
||
|
|
||
|
|
||
|
|
||
|
extern
|
||
|
void ReadFile (Mesh & mesh,
|
||
|
const string & filename);
|
||
|
|
||
|
extern
|
||
|
void ImportSolution (const char * filename);
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
extern
|
||
|
void WriteNeutralFormat (const Mesh & mesh,
|
||
|
const CSGeometry & geom,
|
||
|
const string & filename);
|
||
|
|
||
|
extern
|
||
|
void WriteSurfaceFormat (const Mesh & mesh,
|
||
|
const string & filename);
|
||
|
|
||
|
extern
|
||
|
void WriteSTLFormat (const Mesh & mesh,
|
||
|
const string & filename);
|
||
|
|
||
|
extern
|
||
|
void WriteVRMLFormat (const Mesh & mesh,
|
||
|
bool faces,
|
||
|
const string & filename);
|
||
|
|
||
|
extern
|
||
|
void WriteFEPPFormat (const Mesh & mesh,
|
||
|
const CSGeometry & geom,
|
||
|
const string & filename);
|
||
|
|
||
|
extern
|
||
|
void WriteGmshFormat (const Mesh & mesh,
|
||
|
const CSGeometry & geom,
|
||
|
const string & filename);
|
||
|
|
||
|
extern
|
||
|
void WriteUserChemnitz (const Mesh & mesh,
|
||
|
const string & filename);
|
||
|
|
||
|
extern
|
||
|
void WriteJCMFormat (const Mesh & mesh,
|
||
|
const CSGeometry & geom,
|
||
|
const string & filename);
|
||
|
|
||
|
|
||
|
extern
|
||
|
void WriteDiffPackFormat (const Mesh & mesh,
|
||
|
const CSGeometry & geom,
|
||
|
const string & filename);
|
||
|
|
||
|
extern
|
||
|
void WriteTochnogFormat (const Mesh & mesh,
|
||
|
const string & filename);
|
||
|
|
||
|
extern
|
||
|
void WriteTecPlotFormat (const Mesh & mesh,
|
||
|
const CSGeometry & geom,
|
||
|
const string & filename);
|
||
|
|
||
|
extern
|
||
|
void WriteAbaqusFormat (const Mesh & mesh,
|
||
|
const string & filename);
|
||
|
|
||
|
extern
|
||
|
void WriteFluentFormat (const Mesh & mesh,
|
||
|
const string & filename);
|
||
|
|
||
|
extern
|
||
|
void WritePermasFormat (const Mesh & mesh,
|
||
|
const string & filename);
|
||
|
|
||
|
extern
|
||
|
void WriteFEAPFormat (const Mesh & mesh,
|
||
|
const string & filename);
|
||
|
|
||
|
extern
|
||
|
void WriteElmerFormat (const Mesh & mesh,
|
||
|
const string & filename);
|
||
|
|
||
|
|
||
|
extern
|
||
|
void WriteEdgeElementFormat (const Mesh & mesh,
|
||
|
const CSGeometry & geom,
|
||
|
const string & filename);
|
||
|
|
||
|
|
||
|
|
||
|
#ifdef OLIVER
|
||
|
extern
|
||
|
void WriteTETFormat (const Mesh & mesh,
|
||
|
const string & filename);
|
||
|
|
||
|
#endif
|
||
|
|
||
|
extern void ReadTETFormat (Mesh & mesh,
|
||
|
const string & filename);
|
||
|
|
||
|
|
||
|
extern void ReadFNFFormat (Mesh & mesh,
|
||
|
const string & filename);
|
||
|
|
||
|
|
||
|
|
||
|
void WriteDolfinFormat (const Mesh & mesh,
|
||
|
const string & filename);
|
||
|
|
||
|
|
||
|
extern void RegisterUserFormats (ARRAY<const char*> & names);
|
||
|
|
||
|
extern bool WriteUserFormat (const string & format,
|
||
|
const Mesh & mesh,
|
||
|
const CSGeometry & geom,
|
||
|
const string & filename);
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
#endif
|
||
|
|