COVISE Core
|
#include <File16.h>
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) |
Static Public Attributes | |
static const int | numVert [8] = { 0, 0, 0, 0, 4, 5, 6, 8 } |
Private Member Functions | |
File16 (const File16 &) | |
File16 & | operator= (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 *) |
|
private |
read 1st word to determine byte order
SAMM
File16::~File16 | ( | ) |
void File16::createMap | ( | int | calcSolids | ) |
Now calculate some things we need to know
int File16::findNewCell | ( | int | oldCell | ) |
finde new (SAMM-corrected) celltab entry for given one
|
inline |
|
inline |
void File16::getCPPoly | ( | float * | xVert, |
float * | yVert, | ||
float * | zVert, | ||
float * | xPoly, | ||
float * | yPoly, | ||
float * | zPoly, | ||
int * | polyTab, | ||
int * | connTab | ||
) |
Build CP match polygons.
void File16::getCPsizes | ( | int & | numVert, |
int & | numConn, | ||
int & | numPoly | ||
) |
Get allocation size of Coupling Polygons.
void File16::getface | ( | int | cellNo, |
int | faceNo, | ||
int & | shape, | ||
int | vert[4] | ||
) |
int File16::getMaxProstarIdx | ( | ) |
void File16::getMesh | ( | int * | elPtr, |
int * | clPtr, | ||
int * | tlPtr, | ||
float * | xPtr, | ||
float * | yPtr, | ||
float * | zPtr, | ||
int * | typPtr | ||
) |
read type info
void File16::getMeshSize | ( | int & | numCells, |
int & | numConn, | ||
int & | numVert | ||
) |
void File16::getMovedRegionPatch | ( | int | reqRegion, |
float * | xv, | ||
float * | yv, | ||
float * | zv, | ||
int * | polyPtr, | ||
int * | connPtr, | ||
float * | x, | ||
float * | y, | ||
float * | z | ||
) |
|
inline |
|
inline |
|
inline |
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
void File16::getRegionPatch | ( | int | region, |
int * | elPtr, | ||
int * | clPtr, | ||
float * | xPtr, | ||
float * | yPtr, | ||
float * | zPtr | ||
) |
void File16::getRegionPatchSize | ( | int | region, |
int & | numPoly, | ||
int & | numConn, | ||
int & | numVert | ||
) |
|
inline |
const char * File16::getScalName | ( | int | i | ) |
|
inline |
int File16::isFile | ( | const char * | filename | ) |
check whether this is the file we read
int File16::isValid | ( | ) |
|
staticprivate |
|
private |
struct BounTabEntry* covise::File16::bounTab |
int covise::File16::calcSolids |
int* covise::File16::cells_used |
int* covise::File16::cellShapeArr |
struct CellTabEntry* covise::File16::cellTab |
struct CellTypeEntry* covise::File16::cellType |
|
private |
|
private |
struct covise::File16::CoupledCells22 * covise::File16::cp22 |
struct covise::File16::CoupledCells23 * covise::File16::cp23 |
struct covise::File16::CoupledCells30 * covise::File16::cp30 |
|
private |
|
private |
|
private |
int covise::File16::ibfill |
int covise::File16::inpech |
int covise::File16::ioptbc |
int covise::File16::is[3] |
int covise::File16::istop |
int covise::File16::istype |
int covise::File16::isver |
int covise::File16::jvers |
float covise::File16::keysd[6] |
int covise::File16::loc180 |
int covise::File16::lsctype |
struct covise::File16::LSRecord covise::File16::LSrec |
int covise::File16::lturbf |
int covise::File16::lturbi |
int covise::File16::lturbp |
int covise::File16::lturbt |
int covise::File16::maxb |
int covise::File16::maxcp |
int covise::File16::maxcrs |
int covise::File16::maxcy |
int covise::File16::maxe |
int covise::File16::maxn |
int covise::File16::maxr |
int covise::File16::maxs |
int covise::File16::maxscl |
int covise::File16::mver |
int covise::File16::mxbl |
int covise::File16::mxstb |
int covise::File16::mxtb |
int covise::File16::nbnd[6] |
int covise::File16::ncpdmf |
int covise::File16::ncydmf |
int covise::File16::nf |
int covise::File16::ni |
int covise::File16::nj |
int covise::File16::nk |
int covise::File16::nline |
int covise::File16::novice |
int covise::File16::npart |
int covise::File16::nsens |
int covise::File16::numCovCells |
int covise::File16::numCovConn |
int covise::File16::numcp |
int covise::File16::numMaterials |
int covise::File16::numOrigStarCells |
int covise::File16::numRealCP |
|
static |
int covise::File16::numw |
|
private |
int covise::File16::pbtol |
struct covise::File16::PropInfo covise::File16::propInfo |
struct RegionSize* covise::File16::regionSize |
int* covise::File16::regionType |
int covise::File16::rmsize |
struct SammTabEntry* covise::File16::sammTab |
float covise::File16::scale8 |
char** covise::File16::scalName |
int covise::File16::setadd |
struct covise::File16::TitleRead covise::File16::title |
struct VertexTabEntry* covise::File16::vertexTab |