COVISE Core
Classes | Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
covise::File16 Class Reference

#include <File16.h>

Inheritance diagram for covise::File16:
Inheritance graph
[legend]
Collaboration diagram for covise::File16:
Collaboration graph
[legend]

Classes

struct  CoupledCells22
 
struct  CoupledCells23
 
struct  CoupledCells30
 
struct  CycCoup
 
struct  Header1
 
struct  Header2
 
struct  LSRecord
 
struct  PropInfo
 
struct  TitleRead
 

Public Types

enum  {
  HEXAGON = 7 , PRISM = 6 , PYRAMID = 5 , TETRAHEDRON = 4 ,
  QUAD = 3 , TRIANGLE = 2 , BAR = 1 , SAMM = 12
}
 
enum  { MAX_CP = 128 }
 

Public Member Functions

 File16 (int fd, void(*dumpFunct)(const char *)=NULL)
 
 ~File16 ()
 
int isValid ()
 
void getMeshSize (int &numCells, int &numConn, int &numVert)
 
void getMesh (int *elPtr, int *clPtr, int *tlPtr, float *xPtr, float *yPtr, float *zPtr, int *typPtr)
 
void getReducedMesh (int *el, int *cl, int *tl, int *starToCov, float *vx, float *vy, float *vz, int *eLenPtr, int *cLenPtr, int *vLenPtr, int *typPtr)
 
void getRegionPatchSize (int region, int &numPoly, int &numConn, int &numVert)
 
void getRegionPatch (int region, int *elPtr, int *clPtr, float *xPtr, float *yPtr, float *zPtr)
 
int getMaxProstarIdx ()
 
void createMap (int calcSolids)
 
float getScale ()
 
int getVersion ()
 
int getNumMat ()
 
int getNumScal ()
 
const char * getScalName (int i)
 
int isFile (const char *filename)
 check whether this is the file we read More...
 
const int * getCovToStar ()
 
const int * getCovToPro ()
 
void setDumper (void(*newDumper)(const char *))
 
int getNumSAMM ()
 
void getCPsizes (int &numVert, int &numConn, int &numPoly)
 Get allocation size of Coupling Polygons. More...
 
void getface (int cellNo, int faceNo, int &shape, int vert[4])
 
int findNewCell (int oldCell)
 finde new (SAMM-corrected) celltab entry for given one More...
 
void getCPPoly (float *xVert, float *yVert, float *zVert, float *xPoly, float *yPoly, float *zPoly, int *polyTab, int *connTab)
 Build CP match polygons. More...
 
void getMovedRegionPatch (int reqRegion, float *xv, float *yv, float *zv, int *polyPtr, int *connPtr, float *x, float *y, float *z)
 

Public Attributes

int maxn
 
int maxe
 
int is [3]
 
int jvers
 
int numw
 
int ni
 
int nj
 
int nk
 
int nf
 
int maxb
 
int ibfill
 
int novice
 
int maxr
 
int nline
 
int maxcy
 
int lsctype
 
int rmsize
 
int inpech
 
int isver
 
int maxs
 
int mxbl
 
int istop
 
int ncydmf
 
int ncpdmf
 
struct covise::File16::TitleRead title
 
struct CellTabEntrycellTab
 
struct SammTabEntrysammTab
 
struct BounTabEntrybounTab
 
int * regionType
 
struct VertexTabEntryvertexTab
 
struct covise::File16::LSRecord LSrec
 
struct covise::File16::PropInfo propInfo
 
int nbnd [6]
 
int mxtb
 
int lturbi
 
int lturbp
 
int setadd
 
int nsens
 
int npart
 
float scale8
 
int maxcp
 
int loc180
 
int mver
 
int maxscl
 
int istype
 
int mxstb
 
int numcp
 
int ioptbc
 
int lturbf
 
int lturbt
 
int maxcrs
 
int pbtol
 
float keysd [6]
 
struct CellTypeEntrycellType
 
struct covise::File16::CoupledCells22cp22
 
struct covise::File16::CoupledCells23cp23
 
struct covise::File16::CoupledCells30cp30
 
int numRealCP
 
struct RegionSizeregionSize
 
char ** scalName
 
int calcSolids
 
int numCovCells
 
int numCovConn
 
int numOrigStarCells
 
int * cellShapeArr
 
int * cells_used
 
int numMaterials
 

Static Public Attributes

static const int numVert [8] = { 0, 0, 0, 0, 4, 5, 6, 8 }
 

Private Member Functions

 File16 (const File16 &)
 
File16operator= (const File16 &)
 
void unblank (char *str, int length)
 

Static Private Member Functions

static void printStderr (const char *text)
 

Private Attributes

ino_t d_inode
 
dev_t d_device
 
int * oldOfNewCell
 
int * covToStar
 
int * covToPro
 
void(* dumper )(const char *)
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
HEXAGON 
PRISM 
PYRAMID 
TETRAHEDRON 
QUAD 
TRIANGLE 
BAR 
SAMM 

◆ anonymous enum

anonymous enum
Enumerator
MAX_CP 

Constructor & Destructor Documentation

◆ File16() [1/2]

covise::File16::File16 ( const File16 )
private

◆ File16() [2/2]

File16::File16 ( int  fd,
void(*)(const char *)  dumpFunct = NULL 
)

read 1st word to determine byte order

SAMM

◆ ~File16()

File16::~File16 ( )

Member Function Documentation

◆ createMap()

void File16::createMap ( int  calcSolids)

Now calculate some things we need to know

◆ findNewCell()

int File16::findNewCell ( int  oldCell)

finde new (SAMM-corrected) celltab entry for given one

◆ getCovToPro()

const int * covise::File16::getCovToPro ( )
inline

◆ getCovToStar()

const int * covise::File16::getCovToStar ( )
inline

◆ getCPPoly()

void File16::getCPPoly ( float *  xVert,
float *  yVert,
float *  zVert,
float *  xPoly,
float *  yPoly,
float *  zPoly,
int *  polyTab,
int *  connTab 
)

Build CP match polygons.

◆ getCPsizes()

void File16::getCPsizes ( int &  numVert,
int &  numConn,
int &  numPoly 
)

Get allocation size of Coupling Polygons.

◆ getface()

void File16::getface ( int  cellNo,
int  faceNo,
int &  shape,
int  vert[4] 
)

◆ getMaxProstarIdx()

int File16::getMaxProstarIdx ( )

◆ getMesh()

void File16::getMesh ( int *  elPtr,
int *  clPtr,
int *  tlPtr,
float *  xPtr,
float *  yPtr,
float *  zPtr,
int *  typPtr 
)

read type info

◆ getMeshSize()

void File16::getMeshSize ( int &  numCells,
int &  numConn,
int &  numVert 
)

◆ getMovedRegionPatch()

void File16::getMovedRegionPatch ( int  reqRegion,
float *  xv,
float *  yv,
float *  zv,
int *  polyPtr,
int *  connPtr,
float *  x,
float *  y,
float *  z 
)

◆ getNumMat()

int covise::File16::getNumMat ( )
inline

◆ getNumSAMM()

int covise::File16::getNumSAMM ( )
inline

◆ getNumScal()

int covise::File16::getNumScal ( )
inline

◆ getReducedMesh()

void File16::getReducedMesh ( int *  el,
int *  cl,
int *  tl,
int *  starToCov,
float *  vx,
float *  vy,
float *  vz,
int *  eLenPtr,
int *  cLenPtr,
int *  vLenPtr,
int *  typPtr 
)

read type info

◆ getRegionPatch()

void File16::getRegionPatch ( int  region,
int *  elPtr,
int *  clPtr,
float *  xPtr,
float *  yPtr,
float *  zPtr 
)

◆ getRegionPatchSize()

void File16::getRegionPatchSize ( int  region,
int &  numPoly,
int &  numConn,
int &  numVert 
)

◆ getScale()

float covise::File16::getScale ( )
inline

◆ getScalName()

const char * File16::getScalName ( int  i)

◆ getVersion()

int covise::File16::getVersion ( )
inline

◆ isFile()

int File16::isFile ( const char *  filename)

check whether this is the file we read

◆ isValid()

int File16::isValid ( )

◆ operator=()

File16 & covise::File16::operator= ( const File16 )
private

◆ printStderr()

void File16::printStderr ( const char *  text)
staticprivate

◆ setDumper()

void File16::setDumper ( void(*)(const char *)  newDumper)

◆ unblank()

void covise::File16::unblank ( char *  str,
int  length 
)
private

Member Data Documentation

◆ bounTab

struct BounTabEntry* covise::File16::bounTab

◆ calcSolids

int covise::File16::calcSolids

◆ cells_used

int* covise::File16::cells_used

◆ cellShapeArr

int* covise::File16::cellShapeArr

◆ cellTab

struct CellTabEntry* covise::File16::cellTab

◆ cellType

struct CellTypeEntry* covise::File16::cellType

◆ covToPro

int* covise::File16::covToPro
private

◆ covToStar

int* covise::File16::covToStar
private

◆ cp22

struct covise::File16::CoupledCells22 * covise::File16::cp22

◆ cp23

struct covise::File16::CoupledCells23 * covise::File16::cp23

◆ cp30

struct covise::File16::CoupledCells30 * covise::File16::cp30

◆ d_device

dev_t covise::File16::d_device
private

◆ d_inode

ino_t covise::File16::d_inode
private

◆ dumper

void(* covise::File16::dumper) (const char *)
private

◆ ibfill

int covise::File16::ibfill

◆ inpech

int covise::File16::inpech

◆ ioptbc

int covise::File16::ioptbc

◆ is

int covise::File16::is[3]

◆ istop

int covise::File16::istop

◆ istype

int covise::File16::istype

◆ isver

int covise::File16::isver

◆ jvers

int covise::File16::jvers

◆ keysd

float covise::File16::keysd[6]

◆ loc180

int covise::File16::loc180

◆ lsctype

int covise::File16::lsctype

◆ LSrec

struct covise::File16::LSRecord covise::File16::LSrec

◆ lturbf

int covise::File16::lturbf

◆ lturbi

int covise::File16::lturbi

◆ lturbp

int covise::File16::lturbp

◆ lturbt

int covise::File16::lturbt

◆ maxb

int covise::File16::maxb

◆ maxcp

int covise::File16::maxcp

◆ maxcrs

int covise::File16::maxcrs

◆ maxcy

int covise::File16::maxcy

◆ maxe

int covise::File16::maxe

◆ maxn

int covise::File16::maxn

◆ maxr

int covise::File16::maxr

◆ maxs

int covise::File16::maxs

◆ maxscl

int covise::File16::maxscl

◆ mver

int covise::File16::mver

◆ mxbl

int covise::File16::mxbl

◆ mxstb

int covise::File16::mxstb

◆ mxtb

int covise::File16::mxtb

◆ nbnd

int covise::File16::nbnd[6]

◆ ncpdmf

int covise::File16::ncpdmf

◆ ncydmf

int covise::File16::ncydmf

◆ nf

int covise::File16::nf

◆ ni

int covise::File16::ni

◆ nj

int covise::File16::nj

◆ nk

int covise::File16::nk

◆ nline

int covise::File16::nline

◆ novice

int covise::File16::novice

◆ npart

int covise::File16::npart

◆ nsens

int covise::File16::nsens

◆ numCovCells

int covise::File16::numCovCells

◆ numCovConn

int covise::File16::numCovConn

◆ numcp

int covise::File16::numcp

◆ numMaterials

int covise::File16::numMaterials

◆ numOrigStarCells

int covise::File16::numOrigStarCells

◆ numRealCP

int covise::File16::numRealCP

◆ numVert

const int covise::File16::numVert = { 0, 0, 0, 0, 4, 5, 6, 8 }
static

◆ numw

int covise::File16::numw

◆ oldOfNewCell

int* covise::File16::oldOfNewCell
private

◆ pbtol

int covise::File16::pbtol

◆ propInfo

struct covise::File16::PropInfo covise::File16::propInfo

◆ regionSize

struct RegionSize* covise::File16::regionSize

◆ regionType

int* covise::File16::regionType

◆ rmsize

int covise::File16::rmsize

◆ sammTab

struct SammTabEntry* covise::File16::sammTab

◆ scale8

float covise::File16::scale8

◆ scalName

char** covise::File16::scalName

◆ setadd

int covise::File16::setadd

◆ title

struct covise::File16::TitleRead covise::File16::title

◆ vertexTab

struct VertexTabEntry* covise::File16::vertexTab

The documentation for this class was generated from the following files: