COVISE Core
star
IllConv.h
Go to the documentation of this file.
1
/* This file is part of COVISE.
2
3
You can use it under the terms of the GNU Lesser General Public License
4
version 2.1 or later, see lgpl-2.1.txt.
5
6
* License: LGPL 2+ */
7
8
#ifndef __ILL_CONV_H_
9
#define __ILL_CONV_H_
10
11
#include <
util/coTypes.h
>
12
13
// 25.10.00
14
#include "
StarFile.h
"
19
namespace
covise
20
{
21
22
class
STAREXPORT
IllConv
23
{
24
public
:
25
// Struct: conversion ILL -> parts + Proc to create conversions
26
enum
27
{
28
MAXPARTS = 2
29
};
30
struct
ConvertILL
31
{
32
signed
short
numParts
;
33
char
conv[MAXPARTS][8];
34
};
35
36
private
:
38
IllConv
(
const
IllConv
&);
39
41
IllConv
&operator=(
const
IllConv
&);
42
43
// Table convILL[case] : 2^12 = 4096 cases -> each Edge cut
44
static
const
ConvertILL
s_convILL[4096];
45
46
void
error
();
47
48
enum
// never 7 adjacent edges away witfout fourth
49
{
50
UNUSED = 0x577
51
};
52
53
public
:
55
virtual
~IllConv
();
56
58
IllConv
();
59
60
// convert cell-table + ill-table -> new cell-table
61
// transform convertMap if given, create new otherwise
62
63
void
convertIll(
StarModelFile::CellTabEntry
*&cellTab,
64
StarModelFile::CellTypeEntry
*cellType,
65
int
*&convertMap,
66
int
&numElem,
int
mxtb,
67
void
(*dumpFunct)(
const
char
*));
68
};
69
}
70
#endif
STAREXPORT
#define STAREXPORT
Definition:
coExport.h:212
coTypes.h
StarFile.h
covise
list of all chemical elements
Definition:
coConfig.h:27
covise::IllConv
Definition:
IllConv.h:23
covise::IllConv::error
void error()
covise::IllConv::ConvertILL
Definition:
IllConv.h:31
covise::IllConv::ConvertILL::numParts
signed short numParts
Definition:
IllConv.h:32
covise::StarModelFile::CellTabEntry
Definition:
StarFile.h:66
covise::StarModelFile::CellTypeEntry
Definition:
StarFile.h:89
Generated by
1.9.4