#include <stdio.h>#include <stdlib.h>#include <stdarg.h>#include <string.h>#include <float.h>#include <math.h>#include <ctype.h>#include "libmesh5.h"
Data Structures | |
| struct | KwdSct | 
| struct | GmfMshSct | 
Macros | |
| #define | Asc 1 | 
| #define | Bin 2 | 
| #define | MshFil 4 | 
| #define | SolFil 8 | 
| #define | MaxMsh 100 | 
| #define | InfKwd 1 | 
| #define | RegKwd 2 | 
| #define | SolKwd 3 | 
| #define | WrdSiz 4 | 
| #define | BufSiz 10000 | 
Functions | |
| static void | ScaWrd (GmfMshSct *, unsigned char *) | 
| static void | ScaDblWrd (GmfMshSct *, unsigned char *) | 
| static void | ScaBlk (GmfMshSct *, unsigned char *, int) | 
| static long | GetPos (GmfMshSct *) | 
| static void | RecWrd (GmfMshSct *, unsigned char *) | 
| static void | RecDblWrd (GmfMshSct *, unsigned char *) | 
| static void | RecBlk (GmfMshSct *, unsigned char *, int) | 
| static void | SetPos (GmfMshSct *, long) | 
| static int | ScaKwdTab (GmfMshSct *) | 
| static void | ExpFmt (GmfMshSct *, int) | 
| static void | ScaKwdHdr (GmfMshSct *, int) | 
| int | GmfOpenMesh (const char *FilNam, int mod,...) | 
| int | GmfCloseMesh (int MshIdx) | 
| int | GmfStatKwd (int MshIdx, int KwdCod,...) | 
| int | GmfGotoKwd (int MshIdx, int KwdCod) | 
| int | GmfSetKwd (int MshIdx, int KwdCod,...) | 
| void | GmfGetLin (int MshIdx, int KwdCod,...) | 
| void | GmfSetLin (int MshIdx, int KwdCod,...) | 
| void | GmfCpyLin (int InpIdx, int OutIdx, int KwdCod) | 
Variables | |
| static int | GmfIniFlg =0 | 
| static GmfMshSct * | GmfMshTab [100+1] | 
| static const char * | GmfKwdFmt [80+1][4] | 
| #define Asc 1 | 
Referenced by GmfCloseMesh(), GmfCpyLin(), GmfGetLin(), GmfOpenMesh(), GmfSetKwd(), GmfSetLin(), ScaKwdHdr(), and ScaKwdTab().
| #define Bin 2 | 
Referenced by GmfOpenMesh(), and GmfSetKwd().
| #define BufSiz 10000 | 
Referenced by RecBlk().
| #define InfKwd 1 | 
Referenced by ExpFmt(), and GmfSetKwd().
| #define MaxMsh 100 | 
Referenced by GmfCloseMesh(), GmfGotoKwd(), GmfOpenMesh(), GmfSetKwd(), and GmfStatKwd().
| #define MshFil 4 | 
Referenced by GmfOpenMesh().
| #define RegKwd 2 | 
Referenced by ExpFmt().
| #define SolFil 8 | 
Referenced by GmfOpenMesh().
| #define SolKwd 3 | 
Referenced by ExpFmt(), GmfGetLin(), GmfSetKwd(), GmfSetLin(), and GmfStatKwd().
| #define WrdSiz 4 | 
Referenced by GmfOpenMesh(), GmfSetKwd(), RecBlk(), RecDblWrd(), RecWrd(), ScaBlk(), ScaDblWrd(), and ScaWrd().
References GmfMshSct::dim, KwdSct::fmt, GmfKwdFmt, GmfMat, GmfSca, GmfSymMat, GmfVec, InfKwd, GmfMshSct::KwdTab, KwdSct::NmbTyp, KwdSct::NmbWrd, RegKwd, SolKwd, KwdSct::SolSiz, KwdSct::typ, KwdSct::TypTab, and GmfMshSct::ver.
Referenced by GmfSetKwd(), and ScaKwdHdr().
      
  | 
  static | 
References ScaDblWrd(), ScaWrd(), and GmfMshSct::ver.
Referenced by GmfOpenMesh(), and ScaKwdTab().
References Asc, GmfMshSct::buf, GmfEnd, GmfKwdFmt, GmfSetKwd(), GmfWrite, GmfMshSct::hdl, MaxMsh, GmfMshSct::mod, RecBlk(), and GmfMshSct::typ.
Referenced by DriverGMF_Write::PerformSizeMap(), and DriverGMF::MeshCloser::~MeshCloser().
References Asc, MESHCUT::d, KwdSct::fmt, GmfMshSct::hdl, GmfMshSct::KwdTab, RecDblWrd(), RecWrd(), ScaDblWrd(), ScaWrd(), KwdSct::SolSiz, GmfMshSct::typ, and GmfMshSct::ver.
References Asc, KwdSct::fmt, GmfMshSct::hdl, GmfMshSct::KwdTab, KwdSct::NmbWrd, ScaBlk(), ScaDblWrd(), ScaWrd(), SolKwd, KwdSct::SolSiz, KwdSct::typ, GmfMshSct::typ, and GmfMshSct::ver.
Referenced by DriverGMF_Read::Perform().
References GmfMaxKwd, GmfMshSct::hdl, GmfMshSct::KwdTab, MaxMsh, KwdSct::NmbLin, and KwdSct::pos.
Referenced by DriverGMF_Read::Perform().
References Asc, Bin, GmfMshSct::buf, GmfMshSct::cod, GmfMshSct::DblBuf, GmfMshSct::dim, GmfMshSct::FilNam, GmfMshSct::FltBuf, GetPos(), GmfDimension, GmfKwdFmt, GmfRead, GmfSetKwd(), GmfStrSiz, GmfVersionFormatted, GmfWrite, GmfMshSct::hdl, GmfMshSct::IntBuf, MaxMsh, GmfMshSct::mod, MshFil, RecWrd(), ScaKwdTab(), ScaWrd(), SolFil, GmfMshSct::typ, GmfMshSct::ver, and WrdSiz.
Referenced by DriverGMF_Write::Perform(), DriverGMF_Read::Perform(), and DriverGMF_Write::PerformSizeMap().
References Asc, Bin, GmfMshSct::buf, ExpFmt(), GmfKwdFmt, GmfMaxKwd, GmfMshSct::hdl, InfKwd, GmfMshSct::KwdTab, MaxMsh, GmfMshSct::NexKwdPos, KwdSct::NmbLin, KwdSct::NmbTyp, KwdSct::NmbWrd, GmfMshSct::pos, RecBlk(), RecWrd(), SetPos(), GmfMshSct::siz, SolKwd, KwdSct::typ, GmfMshSct::typ, KwdSct::TypTab, and WrdSiz.
Referenced by GmfCloseMesh(), GmfOpenMesh(), DriverGMF_Write::Perform(), and DriverGMF_Write::PerformSizeMap().
References Asc, GmfMshSct::buf, GmfMshSct::FltBuf, KwdSct::fmt, GmfMshSct::hdl, GmfMshSct::IntBuf, GmfMshSct::KwdTab, KwdSct::NmbWrd, RecBlk(), SolKwd, KwdSct::SolSiz, KwdSct::typ, GmfMshSct::typ, and GmfMshSct::ver.
Referenced by DriverGMF_Write::Perform(), and DriverGMF_Write::PerformSizeMap().
References GmfMaxKwd, GmfMshSct::KwdTab, MaxMsh, KwdSct::NmbLin, KwdSct::NmbTyp, SolKwd, KwdSct::SolSiz, KwdSct::typ, and KwdSct::TypTab.
Referenced by DriverGMF_Read::Perform().
References GmfMshSct::blk, BufSiz, GmfMshSct::hdl, GmfMshSct::pos, and WrdSiz.
Referenced by GmfCloseMesh(), GmfSetKwd(), and GmfSetLin().
      
  | 
  static | 
References GmfMshSct::hdl, and WrdSiz.
Referenced by GmfCpyLin(), and SetPos().
      
  | 
  static | 
References GmfMshSct::hdl, and WrdSiz.
Referenced by GmfCpyLin(), GmfOpenMesh(), GmfSetKwd(), and SetPos().
References GmfMshSct::cod, GmfMshSct::hdl, and WrdSiz.
Referenced by GmfGetLin().
      
  | 
  static | 
References GmfMshSct::cod, GmfMshSct::hdl, and WrdSiz.
Referenced by GetPos(), GmfCpyLin(), and GmfGetLin().
References Asc, ExpFmt(), GmfKwdFmt, GmfMshSct::hdl, GmfMshSct::KwdTab, KwdSct::NmbLin, KwdSct::NmbTyp, KwdSct::pos, ScaWrd(), GmfMshSct::typ, and KwdSct::TypTab.
Referenced by ScaKwdTab().
References Asc, GetPos(), GmfEnd, GmfKwdFmt, GmfMaxKwd, GmfStrSiz, GmfMshSct::hdl, ScaKwdHdr(), ScaWrd(), and GmfMshSct::typ.
Referenced by GmfOpenMesh().
      
  | 
  static | 
References GmfMshSct::cod, GmfMshSct::hdl, and WrdSiz.
Referenced by GetPos(), GmfCpyLin(), GmfGetLin(), GmfOpenMesh(), ScaKwdHdr(), and ScaKwdTab().
      
  | 
  static | 
References RecDblWrd(), RecWrd(), and GmfMshSct::ver.
Referenced by GmfSetKwd().
      
  | 
  static | 
      
  | 
  static | 
Referenced by ExpFmt(), GmfCloseMesh(), GmfOpenMesh(), GmfSetKwd(), ScaKwdHdr(), and ScaKwdTab().
      
  | 
  static |