Overture  Version 25
Macros | Functions
DataFormats.C File Reference
#include "DataFormats.h"
#include "conversion.h"
#include "MappingInformation.h"
#include "DataPointMapping.h"
#include "UnstructuredMapping.h"
#include "arrayGetIndex.h"
#include <string.h>
#include "plyFileInterface.h"
#include "display.h"
Include dependency graph for DataFormats.C:

Macros

#define OPPLT3D   EXTERN_C_NAME(opplt3d)
 
#define RDPLT3D   EXTERN_C_NAME(rdplt3d)
 
#define RDPLT3DS   EXTERN_C_NAME(rdplt3ds)
 
#define RDPLT3DD   EXTERN_C_NAME(rdplt3dd)
 
#define RDPLT3DQS   EXTERN_C_NAME(rdplt3dqs)
 
#define RDPLT3DQD   EXTERN_C_NAME(rdplt3dqd)
 
#define OPINGRID   EXTERN_C_NAME(opingrid)
 
#define RDINGRID   EXTERN_C_NAME(rdingrid)
 
#define CLINGRID   EXTERN_C_NAME(clingrid)
 
#define WRPLT3DS   EXTERN_C_NAME(wrplt3ds)
 
#define WRPLT3DD   EXTERN_C_NAME(wrplt3dd)
 
#define WRINGRID   EXTERN_C_NAME(wringrid)
 
#define CLOSEPLT3D   EXTERN_C_NAME(closeplt3d)
 
#define SC   (char *)(const char *)
 

Functions

int getLineFromFile (FILE *file, char s[], int lim)
 
void OPPLT3D (char filename[], int &iunit, int &fileFormat, int &ngd, int &ng, int &nx, int &ny, int &nz, int &nq, int &nqc, const int len_filename)
 
void RDPLT3D (int &fileFormat, int &iunit, const int &grid, int &nx, int &ny, int &nz, int &nd, int &ndra, int &ndrb, int &ndsa, int &ndsb, int &ndta, int &ndtb, real &xy, const int &readIblank, int &iblank, int &ierr)
 
void RDPLT3DS (int &fileFormat, int &iunit, const int &grid, int &nx, int &ny, int &nz, int &nd, int &ndra, int &ndrb, int &ndsa, int &ndsb, int &ndta, int &ndtb, float &xy, const int &readIblank, int &iblank, int &ierr)
 
void RDPLT3DD (int &fileFormat, int &iunit, const int &grid, int &nx, int &ny, int &nz, int &nd, int &ndra, int &ndrb, int &ndsa, int &ndsb, int &ndta, int &ndtb, double &xy, const int &readIblank, int &iblank, int &ierr)
 
void RDPLT3DQS (int &fileFormat, int &iunit, const int &grid, int &nx, int &ny, int &nz, const int &nq, const int &ndra, const int &ndrb, const int &ndsa, const int &ndsb, const int &ndta, const int &ndtb, float &q, int &nqc, float &fsmach, float &alpha, float &re, float &time, float &gaminf, float &rgas, int &ierr)
 
void RDPLT3DQD (int &fileFormat, int &iunit, const int &grid, int &nx, int &ny, int &nz, const int &nq, const int &ndra, const int &ndrb, const int &ndsa, const int &ndsb, const int &ndta, const int &ndtb, double &q, int &nqc, double &fsmach, double &alpha, double &re, double &time, double &gaminf, double &rgas, int &ierr)
 
void OPINGRID (char filename[], char mtype[], int &iunit, int &rdim, int &ddim, int &nnode, int &nelem, int &nemax, const int len_filename, const int len_mtype)
 
void CLINGRID (int &iunit)
 
void RDINGRID (int &iunit, char mtype[], int &rdim, int &ddim, int &nnode, int &nelem, int &nemax, real &xyz, int &elements, int &tags, const int len_mtype)
 
void WRINGRID (char filename[], int &iunit, int &rdim, int &ddim, int &nnode, int &nelem, int &nemax, real &xyz, int &elements, int &tags, const int len_filename)
 
void WRPLT3DS (char filename[], const int &fileFormat, const int &iunit, const int &ng, const int &grid, const int &nx, const int &ny, const int &nz, const int &nd, const int &ndra, const int &ndrb, const int &ndsa, const int &ndsb, const int &ndta, const int &ndtb, const float &xy, const int &writeIblank, const int &iblank, int &ierr, const int len_filename)
 
void WRPLT3DD (char filename[], const int &fileFormat, const int &iunit, const int &ng, const int &grid, const int &nx, const int &ny, const int &nz, const int &nd, const int &ndra, const int &ndrb, const int &ndsa, const int &ndsb, const int &ndta, const int &ndtb, const double &xy, const int &writeIblank, const int &iblank, int &ierr, const int len_filename)
 
void CLOSEPLT3D (const int &iunit)
 

Macro Definition Documentation

#define CLINGRID   EXTERN_C_NAME(clingrid)

Referenced by DataFormats::readIngrid().

#define CLOSEPLT3D   EXTERN_C_NAME(closeplt3d)
#define OPINGRID   EXTERN_C_NAME(opingrid)

Referenced by DataFormats::readIngrid().

#define OPPLT3D   EXTERN_C_NAME(opplt3d)

Referenced by DataFormats::readPlot3d().

#define RDINGRID   EXTERN_C_NAME(rdingrid)

Referenced by DataFormats::readIngrid().

#define RDPLT3D   EXTERN_C_NAME(rdplt3d)

Referenced by DataFormats::readPlot3d().

#define RDPLT3DD   EXTERN_C_NAME(rdplt3dd)

Referenced by DataFormats::readPlot3d().

#define RDPLT3DQD   EXTERN_C_NAME(rdplt3dqd)

Referenced by DataFormats::readPlot3d().

#define RDPLT3DQS   EXTERN_C_NAME(rdplt3dqs)

Referenced by DataFormats::readPlot3d().

#define RDPLT3DS   EXTERN_C_NAME(rdplt3ds)

Referenced by DataFormats::readPlot3d().

#define SC   (char *)(const char *)
#define WRINGRID   EXTERN_C_NAME(wringrid)
#define WRPLT3DD   EXTERN_C_NAME(wrplt3dd)
#define WRPLT3DS   EXTERN_C_NAME(wrplt3ds)

Function Documentation

void CLINGRID ( int &  iunit)
void CLOSEPLT3D ( const int &  iunit)
int getLineFromFile ( FILE *  file,
char  s[],
int  lim 
)
void OPINGRID ( char  filename[],
char  mtype[],
int &  iunit,
int &  rdim,
int &  ddim,
int &  nnode,
int &  nelem,
int &  nemax,
const int  len_filename,
const int  len_mtype 
)
void OPPLT3D ( char  filename[],
int &  iunit,
int &  fileFormat,
int &  ngd,
int &  ng,
int &  nx,
int &  ny,
int &  nz,
int &  nq,
int &  nqc,
const int  len_filename 
)
void RDINGRID ( int &  iunit,
char  mtype[],
int &  rdim,
int &  ddim,
int &  nnode,
int &  nelem,
int &  nemax,
real xyz,
int &  elements,
int &  tags,
const int  len_mtype 
)
void RDPLT3D ( int &  fileFormat,
int &  iunit,
const int &  grid,
int &  nx,
int &  ny,
int &  nz,
int &  nd,
int &  ndra,
int &  ndrb,
int &  ndsa,
int &  ndsb,
int &  ndta,
int &  ndtb,
real xy,
const int &  readIblank,
int &  iblank,
int &  ierr 
)
void RDPLT3DD ( int &  fileFormat,
int &  iunit,
const int &  grid,
int &  nx,
int &  ny,
int &  nz,
int &  nd,
int &  ndra,
int &  ndrb,
int &  ndsa,
int &  ndsb,
int &  ndta,
int &  ndtb,
double &  xy,
const int &  readIblank,
int &  iblank,
int &  ierr 
)
void RDPLT3DQD ( int &  fileFormat,
int &  iunit,
const int &  grid,
int &  nx,
int &  ny,
int &  nz,
const int &  nq,
const int &  ndra,
const int &  ndrb,
const int &  ndsa,
const int &  ndsb,
const int &  ndta,
const int &  ndtb,
double &  q,
int &  nqc,
double &  fsmach,
double &  alpha,
double &  re,
double &  time,
double &  gaminf,
double &  rgas,
int &  ierr 
)
void RDPLT3DQS ( int &  fileFormat,
int &  iunit,
const int &  grid,
int &  nx,
int &  ny,
int &  nz,
const int &  nq,
const int &  ndra,
const int &  ndrb,
const int &  ndsa,
const int &  ndsb,
const int &  ndta,
const int &  ndtb,
float &  q,
int &  nqc,
float &  fsmach,
float &  alpha,
float &  re,
float &  time,
float &  gaminf,
float &  rgas,
int &  ierr 
)
void RDPLT3DS ( int &  fileFormat,
int &  iunit,
const int &  grid,
int &  nx,
int &  ny,
int &  nz,
int &  nd,
int &  ndra,
int &  ndrb,
int &  ndsa,
int &  ndsb,
int &  ndta,
int &  ndtb,
float &  xy,
const int &  readIblank,
int &  iblank,
int &  ierr 
)
void WRINGRID ( char  filename[],
int &  iunit,
int &  rdim,
int &  ddim,
int &  nnode,
int &  nelem,
int &  nemax,
real xyz,
int &  elements,
int &  tags,
const int  len_filename 
)
void WRPLT3DD ( char  filename[],
const int &  fileFormat,
const int &  iunit,
const int &  ng,
const int &  grid,
const int &  nx,
const int &  ny,
const int &  nz,
const int &  nd,
const int &  ndra,
const int &  ndrb,
const int &  ndsa,
const int &  ndsb,
const int &  ndta,
const int &  ndtb,
const double &  xy,
const int &  writeIblank,
const int &  iblank,
int &  ierr,
const int  len_filename 
)
void WRPLT3DS ( char  filename[],
const int &  fileFormat,
const int &  iunit,
const int &  ng,
const int &  grid,
const int &  nx,
const int &  ny,
const int &  nz,
const int &  nd,
const int &  ndra,
const int &  ndrb,
const int &  ndsa,
const int &  ndsb,
const int &  ndta,
const int &  ndtb,
const float &  xy,
const int &  writeIblank,
const int &  iblank,
int &  ierr,
const int  len_filename 
)